|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectAbstractActionDelegate
com.ibm.etools.systems.application.visual.editor.actions.ChangeContainerExpandActionDelegate
public class ChangeContainerExpandActionDelegate
Action for changing expand/collapse state of container.
| Field Summary | |
|---|---|
static String |
copyright
|
| Constructor Summary | |
|---|---|
ChangeContainerExpandActionDelegate(boolean collpase)
Constructor. |
|
| Method Summary | |
|---|---|
protected void |
autoLayoutDiagram()
Auto lay out the diagram. |
void |
dispose()
Disposes this action delegate. |
protected void |
doRun(IProgressMonitor progressMonitor)
|
protected ApplicationModelEditPart |
getApplicationModelEditPart()
Helper to return diagram editpart. |
protected boolean |
getCollapse()
Getter of the given collapse state. |
protected boolean |
getCurrentFigureCollapsState(IFigure figure)
Return current figure's current collapse state. |
protected List |
getOperationSet()
Get a set of objects for expanding/collapsing. |
protected List |
getSelectedObjects()
Helper to return a list of objects in the current structured selection. |
protected boolean |
ignoreCollapseRequest(ICollapsableEditPart editPart)
Check if collapse / expand request should be ignored. |
protected boolean |
isCollapsableEditPart(EditPart ep)
check if the given editpart is collapsable. |
protected boolean |
isValidSelection()
Return true if current selection is valid input to the action, false otherwise. |
void |
selectionChanged(IAction act,
ISelection selection)
Notifies this action delegate that the selection in the workbench has changed. |
void |
setActivePart(IAction action,
IWorkbenchPart targetPart)
Sets the active part for this delegate. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static String copyright
| Constructor Detail |
|---|
public ChangeContainerExpandActionDelegate(boolean collpase)
| Method Detail |
|---|
protected boolean getCollapse()
public void selectionChanged(IAction act,
ISelection selection)
act - The action proxy that handles presentation portion of the
action.selection - The current selection, or null if there is
no selection.
public void setActivePart(IAction action,
IWorkbenchPart targetPart)
action - The action proxy that handles presentation portion of the
action.targetPart - The new part target.protected boolean isValidSelection()
protected boolean isCollapsableEditPart(EditPart ep)
ep -
protected boolean ignoreCollapseRequest(ICollapsableEditPart editPart)
protected boolean getCurrentFigureCollapsState(IFigure figure)
protected void doRun(IProgressMonitor progressMonitor)
protected List getOperationSet()
public void dispose()
protected List getSelectedObjects()
protected void autoLayoutDiagram()
protected ApplicationModelEditPart getApplicationModelEditPart()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||