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
ConstructorsConstructorDescriptionDefaultFeatureAndContext(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:IFeatureHolderGets the feature.- Specified by:
getFeaturein interfaceIFeatureHolder- Returns:
- the feature
-
getContext
Description copied from interface:IContextHolderGets the context.- Specified by:
getContextin interfaceIContextHolder- Returns:
- the context
-
toString
-