Class DebugFeature
java.lang.Object
org.eclipse.graphiti.features.impl.AbstractFeature
org.eclipse.graphiti.features.custom.AbstractCustomFeature
org.eclipse.graphiti.ui.internal.feature.DebugFeature
- All Implemented Interfaces:
ICustomFeature,IFeature,IFeatureProviderHolder,IDescription,IName
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleancanExecute(ICustomContext context) Can execute.voidexecute(ICustomContext context) Execute.getName()Gets the name.protected intgetType()protected voidsetType(int type) Methods inherited from class org.eclipse.graphiti.features.custom.AbstractCustomFeature
canExecute, execute, getDescription, getImageId, isAvailableMethods inherited from class org.eclipse.graphiti.features.impl.AbstractFeature
addGraphicalRepresentation, canUndo, getAllBusinessObjectsForPictogramElement, getBusinessObjectForPictogramElement, getDiagram, getDiagramBehavior, getFeatureProvider, getProgressCallback, getUserDecision, hasDoneChanges, layoutPictogramElement, link, link, manageColor, manageColor, manageDefaultFont, manageFont, manageFont, setProgressCallback, toString, updatePictogramElementMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.eclipse.graphiti.features.IFeature
canUndo, hasDoneChangesMethods inherited from interface org.eclipse.graphiti.features.IFeatureProviderHolder
getFeatureProvider
-
Field Details
-
TYPE_DUMP_PICTOGRAM_DATA
public static final int TYPE_DUMP_PICTOGRAM_DATA- See Also:
-
TYPE_DUMP_FIGURE_DATA
public static final int TYPE_DUMP_FIGURE_DATA- See Also:
-
TYPE_DUMP_EDIT_PART_DATA
public static final int TYPE_DUMP_EDIT_PART_DATA- See Also:
-
TYPE_DUMP_ALL
public static final int TYPE_DUMP_ALL- See Also:
-
TYPE_REFRESH
public static final int TYPE_REFRESH- See Also:
-
TYPE_DUMP_FIGURE_INCL_CONNECTION_DATA
public static final int TYPE_DUMP_FIGURE_INCL_CONNECTION_DATA- See Also:
-
-
Constructor Details
-
DebugFeature
-
-
Method Details
-
execute
Description copied from interface:ICustomFeatureExecute.- Parameters:
context- the context
-
canExecute
Description copied from interface:ICustomFeatureCan execute.- Specified by:
canExecutein interfaceICustomFeature- Overrides:
canExecutein classAbstractCustomFeature- Parameters:
context- the context- Returns:
- true, if successful
-
getName
Description copied from interface:INameGets the name.- Specified by:
getNamein interfaceIName- Overrides:
getNamein classAbstractFeature- Returns:
- the name
-
getType
protected int getType() -
setType
protected void setType(int type)
-