|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpl.edu.agh.cast.schema.editor.action.layout.AbstractSetLayoutAction
public abstract class AbstractSetLayoutAction
Context menu action for setting nodes layout.
Field Summary | |
---|---|
protected org.eclipse.gef.commands.CommandStack |
commandStack
GEF command stack |
protected ISchemaDiagram |
diagram
Schema diagram which contains nodes to layout |
protected List<ISchemaNode> |
selectedNodes
Nodes to layout. |
Constructor Summary | |
---|---|
AbstractSetLayoutAction()
|
Method Summary | |
---|---|
protected abstract ILayoutAlgorithm |
getAlgorithm()
Returns used current layout algorithm. |
void |
run(org.eclipse.jface.action.IAction action)
|
void |
selectionChanged(org.eclipse.jface.action.IAction arg0,
org.eclipse.jface.viewers.ISelection selection)
|
void |
setActiveEditor(org.eclipse.jface.action.IAction action,
org.eclipse.ui.IEditorPart activeEditor)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected org.eclipse.gef.commands.CommandStack commandStack
protected ISchemaDiagram diagram
protected List<ISchemaNode> selectedNodes
Constructor Detail |
---|
public AbstractSetLayoutAction()
Method Detail |
---|
public void selectionChanged(org.eclipse.jface.action.IAction arg0, org.eclipse.jface.viewers.ISelection selection)
selectionChanged
in interface org.eclipse.ui.IActionDelegate
IActionDelegate.selectionChanged(org.eclipse.jface.action.IAction,
org.eclipse.jface.viewers.ISelection)
public void setActiveEditor(org.eclipse.jface.action.IAction action, org.eclipse.ui.IEditorPart activeEditor)
setActiveEditor
in interface org.eclipse.ui.IEditorActionDelegate
IEditorActionDelegate.setActiveEditor(org.eclipse.jface.action.IAction,
org.eclipse.ui.IEditorPart)
public void run(org.eclipse.jface.action.IAction action)
run
in interface org.eclipse.ui.IActionDelegate
IActionDelegate.run(org.eclipse.jface.action.IAction)
protected abstract ILayoutAlgorithm getAlgorithm()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |