org.eclipse.etrice.ui.structure.support
Class InterfaceItemSupport.FeatureProvider
java.lang.Object
DefaultFeatureProvider
org.eclipse.etrice.ui.structure.support.InterfaceItemSupport.FeatureProvider
- Enclosing class:
- InterfaceItemSupport
protected static class InterfaceItemSupport.FeatureProvider
- extends DefaultFeatureProvider
Field Summary |
protected IFeatureProvider |
fp
|
Method Summary |
protected static void |
adjustLabel(Text label,
int x,
int y,
int width,
int margin,
int size)
|
IDeleteFeature |
getDeleteFeature(IDeleteContext context)
|
IMoveShapeFeature |
getMoveShapeFeature(IMoveShapeContext context)
|
IRemoveFeature |
getRemoveFeature(IRemoveContext context)
|
IResizeShapeFeature |
getResizeShapeFeature(IResizeShapeContext context)
|
protected static boolean |
isInherited(InterfaceItem item,
java.lang.Object container,
ContainerShape cs)
|
protected static boolean |
isInternal(InterfaceItem item)
|
protected static boolean |
isRefItem(PictogramElement pe)
|
protected static boolean |
isValidPosition(ILocationContext loc,
ITargetContext tgt,
boolean internal,
int margin)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fp
protected IFeatureProvider fp
InterfaceItemSupport.FeatureProvider
protected InterfaceItemSupport.FeatureProvider(IDiagramTypeProvider dtp,
IFeatureProvider fp)
isRefItem
protected static boolean isRefItem(PictogramElement pe)
isInternal
protected static boolean isInternal(InterfaceItem item)
isInherited
protected static boolean isInherited(InterfaceItem item,
java.lang.Object container,
ContainerShape cs)
isValidPosition
protected static boolean isValidPosition(ILocationContext loc,
ITargetContext tgt,
boolean internal,
int margin)
getMoveShapeFeature
public IMoveShapeFeature getMoveShapeFeature(IMoveShapeContext context)
getResizeShapeFeature
public IResizeShapeFeature getResizeShapeFeature(IResizeShapeContext context)
getRemoveFeature
public IRemoveFeature getRemoveFeature(IRemoveContext context)
getDeleteFeature
public IDeleteFeature getDeleteFeature(IDeleteContext context)
adjustLabel
protected static void adjustLabel(Text label,
int x,
int y,
int width,
int margin,
int size)