|
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.ObjectDiagramAction
com.ibm.etools.systems.application.visual.editor.actions.SwitchViewBaseAction
public class SwitchViewBaseAction
The action to apply a specific model view filter to the Application Diagram.
| Field Summary | |
|---|---|
static String |
copyright
|
| Constructor Summary | |
|---|---|
SwitchViewBaseAction(IWorkbenchPart workbenchpart)
Constructor. |
|
SwitchViewBaseAction(IWorkbenchPart workbenchpart,
String filterID,
String filterName,
boolean isCurrentView)
Constructor. |
|
| Method Summary | |
|---|---|
protected boolean |
calculateEnabled()
Calculates the enblement state of the action |
protected Request |
createTargetRequest()
|
protected void |
doRun(IProgressMonitor progressMonitor)
Run the action. |
String |
getFilterID()
Get current filter ID. |
protected boolean |
isSelectionListener()
|
protected boolean |
isUsingRectilinear()
Return true if using Rectilinear style. |
void |
refresh()
Refresh the enablement status based on whether the action is enabled or not. |
void |
setFilterID(String filterID)
Set selected filter ID. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String copyright
| Constructor Detail |
|---|
public SwitchViewBaseAction(IWorkbenchPart workbenchpart)
public SwitchViewBaseAction(IWorkbenchPart workbenchpart,
String filterID,
String filterName,
boolean isCurrentView)
| Method Detail |
|---|
protected void doRun(IProgressMonitor progressMonitor)
public String getFilterID()
public void setFilterID(String filterID)
protected boolean isUsingRectilinear()
protected Request createTargetRequest()
protected boolean isSelectionListener()
public void refresh()
org.eclipse.gmf.runtime.common.ui.action.IActionWithProgress#refresh()protected boolean calculateEnabled()
true if action should be enabled,
false otherwise
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||