Package org.eclipse.graphiti.internal
Class DefaultFeatureAndContext
- java.lang.Object
-
- org.eclipse.graphiti.internal.DefaultFeatureAndContext
-
- All Implemented Interfaces:
IContextHolder
,IFeatureAndContext
,IFeatureHolder
public class DefaultFeatureAndContext extends java.lang.Object implements IFeatureAndContext
The Class DefaultFeatureAndContext.
-
-
Constructor Summary
Constructors Constructor Description DefaultFeatureAndContext(IFeature feature, IContext context)
Instantiates a new default feature and context.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IContext
getContext()
Gets the context.IFeature
getFeature()
Gets the feature.java.lang.String
toString()
-
-
-
Method Detail
-
getFeature
public IFeature getFeature()
Description copied from interface:IFeatureHolder
Gets the feature.- Specified by:
getFeature
in interfaceIFeatureHolder
- Returns:
- the feature
-
getContext
public IContext getContext()
Description copied from interface:IContextHolder
Gets the context.- Specified by:
getContext
in interfaceIContextHolder
- Returns:
- the context
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-