01: package newprocess.diagram.view.factories;
02:
03: import org.eclipse.core.runtime.IAdaptable;
04: import org.eclipse.gmf.runtime.notation.View;
05: import java.util.ArrayList;
06: import java.util.List;
07:
08: import org.eclipse.gmf.runtime.diagram.ui.view.factories.AbstractShapeViewFactory;
09:
10: import org.eclipse.gmf.runtime.notation.NotationFactory;
11:
12: /**
13: * @generated
14: */
15: public class ActorNameViewFactory extends AbstractShapeViewFactory {
16:
17: /**
18: * @generated
19: */
20: protected void decorateView(View containerView, View view,
21: IAdaptable semanticAdapter, String semanticHint, int index,
22: boolean persisted) {
23: super .decorateView(containerView, view, semanticAdapter,
24: semanticHint, index, persisted);
25: }
26:
27: /**
28: * @generated
29: */
30: protected List createStyles(View view) {
31: List styles = new ArrayList();
32: styles.add(NotationFactory.eINSTANCE.createDescriptionStyle());
33: styles.add(NotationFactory.eINSTANCE.createFillStyle());
34: styles.add(NotationFactory.eINSTANCE.createLineStyle());
35: styles.add(NotationFactory.eINSTANCE.createFontStyle());
36: return styles;
37: }
38: }
|