public class DebugFeature extends AbstractCustomFeature
Modifier and Type | Field and Description |
---|---|
static int |
TYPE_DUMP_ALL |
static int |
TYPE_DUMP_EDIT_PART_DATA |
static int |
TYPE_DUMP_FIGURE_DATA |
static int |
TYPE_DUMP_FIGURE_INCL_CONNECTION_DATA |
static int |
TYPE_DUMP_PICTOGRAM_DATA |
static int |
TYPE_REFRESH |
Constructor and Description |
---|
DebugFeature(IFeatureProvider fp,
int type) |
Modifier and Type | Method and Description |
---|---|
boolean |
canExecute(ICustomContext context)
Can execute.
|
void |
execute(ICustomContext context)
Execute.
|
java.lang.String |
getName()
Gets the name.
|
canExecute, execute, getDescription, getImageId, isAvailable
canUndo, getFeatureProvider, hasDoneChanges, manageFont, manageFont, setProgressCallback, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
canUndo, hasDoneChanges
getFeatureProvider
public static final int TYPE_DUMP_PICTOGRAM_DATA
public static final int TYPE_DUMP_FIGURE_DATA
public static final int TYPE_DUMP_EDIT_PART_DATA
public static final int TYPE_DUMP_ALL
public static final int TYPE_REFRESH
public static final int TYPE_DUMP_FIGURE_INCL_CONNECTION_DATA
public DebugFeature(IFeatureProvider fp, int type)
public void execute(ICustomContext context)
ICustomFeature
context
- the contextpublic boolean canExecute(ICustomContext context)
ICustomFeature
canExecute
in interface ICustomFeature
canExecute
in class AbstractCustomFeature
context
- the contextpublic java.lang.String getName()
IName
getName
in interface IName
getName
in class AbstractFeature