|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.graphiti.features.impl.AbstractFeature
org.eclipse.graphiti.ui.features.DefaultDeleteFeature
de.cau.cs.kieler.core.model.graphiti.features.DefaultKielerDeleteFeature
public class DefaultKielerDeleteFeature
Default feature that removes outgoing and incoming links of any node when the node is removed. This feature also doesn't prompt the user to confirm the deletion.
Constructor Summary | |
---|---|
DefaultKielerDeleteFeature(org.eclipse.graphiti.features.IFeatureProvider fp)
Creates a new KaomDeleteFeature.java. |
Method Summary | |
---|---|
protected boolean |
getUserDecision()
|
void |
postDelete(org.eclipse.graphiti.features.context.IDeleteContext context)
|
void |
preDelete(org.eclipse.graphiti.features.context.IDeleteContext context)
|
Methods inherited from class org.eclipse.graphiti.ui.features.DefaultDeleteFeature |
---|
canDelete, canExecute, delete, deleteBusinessObject, deleteBusinessObjects, execute, getDeleteName, getName, getUserDecision, hasDoneChanges |
Methods inherited from class org.eclipse.graphiti.features.impl.AbstractFeature |
---|
addGraphicalRepresentation, canUndo, getAllBusinessObjectsForPictogramElement, getBusinessObjectForPictogramElement, getDescription, getDiagram, getDiagramEditor, getFeatureProvider, getProgressCallback, isAvailable, layoutPictogramElement, link, link, manageColor, manageColor, setProgressCallback, toString, updatePictogramElement |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.graphiti.features.IFeature |
---|
canUndo, isAvailable |
Methods inherited from interface org.eclipse.graphiti.IDescription |
---|
getDescription |
Methods inherited from interface org.eclipse.graphiti.features.IFeatureProviderHolder |
---|
getFeatureProvider |
Constructor Detail |
---|
public DefaultKielerDeleteFeature(org.eclipse.graphiti.features.IFeatureProvider fp)
fp
- the feature providerMethod Detail |
---|
protected boolean getUserDecision()
getUserDecision
in class org.eclipse.graphiti.features.impl.AbstractFeature
public void preDelete(org.eclipse.graphiti.features.context.IDeleteContext context)
preDelete
in interface org.eclipse.graphiti.func.IDelete
preDelete
in class org.eclipse.graphiti.ui.features.DefaultDeleteFeature
public void postDelete(org.eclipse.graphiti.features.context.IDeleteContext context)
postDelete
in interface org.eclipse.graphiti.func.IDelete
postDelete
in class org.eclipse.graphiti.ui.features.DefaultDeleteFeature
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |