1 | /* |
2 | *Copyright 2007, SDQ, IPD, Uni Karlsruhe (TH) |
3 | */ |
4 | package de.uka.ipd.sdq.pcm.gmf.composite.view.factories; |
5 | |
6 | import java.util.ArrayList; |
7 | import java.util.List; |
8 | |
9 | import org.eclipse.core.runtime.IAdaptable; |
10 | |
11 | import org.eclipse.gmf.runtime.diagram.ui.view.factories.DiagramViewFactory; |
12 | |
13 | import org.eclipse.gmf.runtime.notation.MeasurementUnit; |
14 | import org.eclipse.gmf.runtime.notation.NotationFactory; |
15 | import org.eclipse.gmf.runtime.notation.View; |
16 | |
17 | /** |
18 | * @generated |
19 | */ |
20 | public class ComposedProvidingRequiringEntityViewFactory extends |
21 | DiagramViewFactory { |
22 | |
23 | /** |
24 | * @generated |
25 | */ |
26 | protected List createStyles(View view) { |
27 | List styles = new ArrayList(); |
28 | styles.add(NotationFactory.eINSTANCE.createPageStyle()); |
29 | styles.add(NotationFactory.eINSTANCE.createGuideStyle()); |
30 | styles.add(NotationFactory.eINSTANCE.createDescriptionStyle()); |
31 | return styles; |
32 | } |
33 | |
34 | /** |
35 | * @generated |
36 | */ |
37 | protected void decorateView(View view, IAdaptable semanticAdapter, |
38 | String diagramKind) { |
39 | super.decorateView(view, semanticAdapter, diagramKind); |
40 | } |
41 | |
42 | /** |
43 | * @generated |
44 | */ |
45 | protected MeasurementUnit getMeasurementUnit() { |
46 | return MeasurementUnit.PIXEL_LITERAL; |
47 | } |
48 | |
49 | } |