01: package newprocess.diagram.view.factories;
02:
03: import java.util.ArrayList;
04: import java.util.List;
05:
06: import org.eclipse.core.runtime.IAdaptable;
07:
08: import org.eclipse.gmf.runtime.diagram.ui.view.factories.DiagramViewFactory;
09:
10: import org.eclipse.gmf.runtime.notation.MeasurementUnit;
11: import org.eclipse.gmf.runtime.notation.NotationFactory;
12: import org.eclipse.gmf.runtime.notation.View;
13:
14: /**
15: * @generated
16: */
17: public class ProcessViewFactory extends DiagramViewFactory {
18:
19: /**
20: * @generated
21: */
22: protected List createStyles(View view) {
23: List styles = new ArrayList();
24: styles.add(NotationFactory.eINSTANCE.createPageStyle());
25: styles.add(NotationFactory.eINSTANCE.createGuideStyle());
26: styles.add(NotationFactory.eINSTANCE.createDescriptionStyle());
27: return styles;
28: }
29:
30: /**
31: * @generated
32: */
33: protected void decorateView(View view, IAdaptable semanticAdapter,
34: String diagramKind) {
35: super .decorateView(view, semanticAdapter, diagramKind);
36: }
37:
38: /**
39: * @generated
40: */
41: protected MeasurementUnit getMeasurementUnit() {
42: return MeasurementUnit.PIXEL_LITERAL;
43: }
44:
45: }
|