|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAdapterFactoryImpl
org.eclipse.graphiti.mm.algorithms.styles.util.StylesAdapterFactory
public class StylesAdapterFactory
The Adapter Factory for the model.
It provides an adapter createXXX
method for each class of the model.
StylesPackage
Field Summary | |
---|---|
protected static StylesPackage |
modelPackage
The cached model package. |
protected StylesSwitch<Adapter> |
modelSwitch
The switch that delegates to the createXXX methods. |
Constructor Summary | |
---|---|
StylesAdapterFactory()
Creates an instance of the adapter factory. |
Method Summary | |
---|---|
Adapter |
createAbstractStyleAdapter()
Creates a new adapter for an object of class ' Abstract Style '. |
Adapter |
createAdaptedGradientColoredAreasAdapter()
Creates a new adapter for an object of class ' Adapted Gradient Colored Areas '. |
Adapter |
createAdapter(Notifier target)
Creates an adapter for the target . |
Adapter |
createColorAdapter()
Creates a new adapter for an object of class ' Color '. |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case. |
Adapter |
createFontAdapter()
Creates a new adapter for an object of class ' Font '. |
Adapter |
createGradientColoredAreaAdapter()
Creates a new adapter for an object of class ' Gradient Colored Area '. |
Adapter |
createGradientColoredAreasAdapter()
Creates a new adapter for an object of class ' Gradient Colored Areas '. |
Adapter |
createGradientColoredLocationAdapter()
Creates a new adapter for an object of class ' Gradient Colored Location '. |
Adapter |
createPointAdapter()
Creates a new adapter for an object of class ' Point '. |
Adapter |
createPrecisionPointAdapter()
Creates a new adapter for an object of class ' Precision Point '. |
Adapter |
createRenderingStyleAdapter()
Creates a new adapter for an object of class ' Rendering Style '. |
Adapter |
createStyleAdapter()
Creates a new adapter for an object of class ' Style '. |
Adapter |
createStyleContainerAdapter()
Creates a new adapter for an object of class ' Style Container '. |
Adapter |
createTextStyleAdapter()
Creates a new adapter for an object of class ' Text Style '. |
Adapter |
createTextStyleRegionAdapter()
Creates a new adapter for an object of class ' Text Style Region '. |
boolean |
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static StylesPackage modelPackage
protected StylesSwitch<Adapter> modelSwitch
createXXX
methods.
Constructor Detail |
---|
public StylesAdapterFactory()
Method Detail |
---|
public boolean isFactoryForType(Object object)
true
if the object is either the model's package or is an instance object of the model.
public Adapter createAdapter(Notifier target)
target
.
target
- the object to adapt.
target
.public Adapter createRenderingStyleAdapter()
Rendering Style
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
RenderingStyle
public Adapter createStyleAdapter()
Style
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Style
public Adapter createAbstractStyleAdapter()
Abstract Style
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
AbstractStyle
public Adapter createGradientColoredLocationAdapter()
Gradient Colored Location
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
GradientColoredLocation
public Adapter createGradientColoredAreaAdapter()
Gradient Colored Area
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
GradientColoredArea
public Adapter createGradientColoredAreasAdapter()
Gradient Colored Areas
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
GradientColoredAreas
public Adapter createAdaptedGradientColoredAreasAdapter()
Adapted Gradient Colored Areas
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
AdaptedGradientColoredAreas
public Adapter createFontAdapter()
Font
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Font
public Adapter createPointAdapter()
Point
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Point
public Adapter createColorAdapter()
Color
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Color
public Adapter createPrecisionPointAdapter()
Precision Point
'.
This default
implementation returns null so that we can easily ignore cases; it's
useful to ignore a case when inheritance will catch all the cases anyway.
PrecisionPoint
public Adapter createTextStyleAdapter()
Text Style
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
TextStyle
public Adapter createTextStyleRegionAdapter()
Text Style Region
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
TextStyleRegion
public Adapter createStyleContainerAdapter()
Style Container
'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
StyleContainer
public Adapter createEObjectAdapter()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |