Package org.eclipse.graphiti.internal
Class DefaultFeatureAndContext
java.lang.Object
org.eclipse.graphiti.internal.DefaultFeatureAndContext
- All Implemented Interfaces:
IContextHolder
,IFeatureAndContext
,IFeatureHolder
The Class DefaultFeatureAndContext.
-
Constructor Summary
ConstructorDescriptionDefaultFeatureAndContext
(IFeature feature, IContext context) Instantiates a new default feature and context. -
Method Summary
-
Constructor Details
-
DefaultFeatureAndContext
Instantiates a new default feature and context.- Parameters:
feature
- the featurecontext
- the context
-
-
Method Details
-
getFeature
Description copied from interface:IFeatureHolder
Gets the feature.- Specified by:
getFeature
in interfaceIFeatureHolder
- Returns:
- the feature
-
getContext
Description copied from interface:IContextHolder
Gets the context.- Specified by:
getContext
in interfaceIContextHolder
- Returns:
- the context
-
toString
-