|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.jface.action.AbstractAction
org.eclipse.jface.action.Action
org.eclipse.rse.ui.actions.SystemBaseAction
org.eclipse.rse.ui.actions.SystemRemotePropertiesAction
The action shows properties for remote objects
| Field Summary |
|---|
| Fields inherited from class org.eclipse.rse.ui.actions.SystemBaseAction |
|---|
allowOnMultipleSelection, arrowCursor, helpId, selectionSensitive, shell, sSelection, traceSelections, traceTarget, viewer, waitCursor |
| Fields inherited from interface org.eclipse.jface.action.IAction |
|---|
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, HANDLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT |
| Constructor Summary | |
|---|---|
SystemRemotePropertiesAction(Shell shell)
Constructor |
|
| Method Summary | |
|---|---|
boolean |
hasPropertyPagesFor(Object object)
Returns whether the provided object has pages registered in the property page manager. |
boolean |
isApplicableForSelection()
Returns whether this action is actually applicable to the current selection. |
void |
run()
The PropertyDialogAction implementation of this
IAction method performs the action by opening the Property Page
Dialog for the current selection. |
boolean |
updateSelection(IStructuredSelection selection)
We override from parent to do unique checking... |
| Methods inherited from class org.eclipse.jface.action.AbstractAction |
|---|
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener |
| Methods inherited from class org.eclipse.core.commands.common.EventManager |
|---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.jface.action.IAction |
|---|
addPropertyChangeListener, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isHandled, removePropertyChangeListener, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText |
| Constructor Detail |
public SystemRemotePropertiesAction(Shell shell)
| Method Detail |
public boolean updateSelection(IStructuredSelection selection)
It is too expense to check for registered property pages at popup time, so we just return true.
updateSelection in class SystemBaseActionSystemBaseAction.updateSelection(IStructuredSelection)public boolean hasPropertyPagesFor(Object object)
public boolean isApplicableForSelection()
This method is generally too expensive to use when updating the enabled state of the action.
true if there are property pages for the currently
selected element, and false otherwisepublic void run()
PropertyDialogAction implementation of this
IAction method performs the action by opening the Property Page
Dialog for the current selection. If no pages are found, an informative
message dialog is presented instead.
run in interface IActionrun in class SystemBaseActionAction.run()
|
RSE Release 1.0 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||