1 | /* |
2 | *Copyright 2007, SDQ, IPD, U KA |
3 | */ |
4 | package de.uka.ipd.sdq.pcm.gmf.allocation.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 AllocationViewFactory extends DiagramViewFactory { |
21 | |
22 | /** |
23 | * @generated |
24 | */ |
25 | protected List createStyles(View view) { |
26 | List styles = new ArrayList(); |
27 | styles.add(NotationFactory.eINSTANCE.createDiagramStyle()); |
28 | return styles; |
29 | } |
30 | |
31 | /** |
32 | * @generated |
33 | */ |
34 | protected MeasurementUnit getMeasurementUnit() { |
35 | return MeasurementUnit.PIXEL_LITERAL; |
36 | } |
37 | |
38 | } |