|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectSelectionAction
com.pnp.xfeature.actions.RemoveConstraintAction
public class RemoveConstraintAction
The visual represenation of the RemoveConstraintCommand
| Field Summary | |
|---|---|
static java.lang.String |
ID
unique ID of the class |
| Constructor Summary | |
|---|---|
RemoveConstraintAction(IWorkbenchPart part,
org.w3c.dom.Element constraint)
calls the super class constructor only |
|
| Method Summary | |
|---|---|
void |
init()
initializes the unique ID |
void |
run()
creates and executes the RemoveConstraintCommand using GEF command stack; applies the action on each item of the selection |
void |
setConstraint(org.w3c.dom.Element constraint)
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ID
| Constructor Detail |
|---|
public RemoveConstraintAction(IWorkbenchPart part,
org.w3c.dom.Element constraint)
part - the workbench part to which the action belongs, here the 'part' is the editor instance| Method Detail |
|---|
public void init()
org.eclipse.gef.ui.actions.WorkbenchPartAction#init()public void run()
org.eclipse.jface.action.IAction#run()public void setConstraint(org.w3c.dom.Element constraint)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||