|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.action.Action
com.ibm.etools.systems.core.ui.actions.SystemBaseAction
com.ibm.etools.systems.core.ui.actions.SystemBaseDialogAction
com.ibm.etools.iseries.core.ui.actions.ISeriesSystemBaseDialogAction
Base dialog class for iSeries dialog actions. This adds support to disable the action if user has chosen to work offline. It also adds a couple helper methods for dataelements and AS00Connections
Field Summary | |
---|---|
static String |
copyright
|
Fields inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseDialogAction |
---|
cancelled, dlgHelpId, needsProgressMonitor, needsProgressMonitorSet, processAll, value |
Fields inherited from class com.ibm.etools.systems.core.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, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT |
Constructor Summary | |
---|---|
protected |
ISeriesSystemBaseDialogAction(ResourceBundle rb,
String prefix,
ImageDescriptor image,
Shell parent)
Constructor for ISeriesSystemBaseDialogAction given a resource bundle from which the label, tooltip and description can be retrieved, and there is a image to display in a menu. |
protected |
ISeriesSystemBaseDialogAction(ResourceBundle rb,
String prefix,
Shell parent)
Constructor for ISeriesSystemBaseDialogAction given a resource bundle from which the label, tooltip and description can be retrieved, and there is no image for this action. |
protected |
ISeriesSystemBaseDialogAction(String text,
ImageDescriptor image,
Shell parent)
Constructor for ISeriesSystemBaseDialogAction when translated label is known. |
protected |
ISeriesSystemBaseDialogAction(String text,
String tooltip,
ImageDescriptor image,
Shell parent)
Constructor for ISeriesSystemBaseDialogAction when translated label and tooltip are known. |
protected |
ISeriesSystemBaseDialogAction(String text,
String tooltip,
String description,
ImageDescriptor image,
Shell parent)
Constructor for ISeriesSystemBaseDialogAction when translated label and tooltip and description are all known. |
Method Summary | |
---|---|
static com.ibm.etools.systems.dstore.core.model.DataElement |
getDataElement(Object element)
Get the DataElement given the input. |
ISeriesConnection |
getISeriesConnection(Object element)
Returns the ISeriesConnection from which this object originated |
boolean |
updateSelection(IStructuredSelection selection)
|
Methods inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseDialogAction |
---|
createDialog, getDialogHelpContextId, getDialogValue, getNeedsProgressMonitor, getProcessAllSelections, getValue, run, setDialogHelp, setNeedsProgressMonitor, setProcessAllSelections, setValue, wasCancelled, wasNeedsProgressMonitorSet |
Methods inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseAction |
---|
allowOnMultipleSelection, checkObjectType, getAdapter, getContextMenuGroup, getCurrentTreeView, getDescription, getFirstSelection, getHelpContextId, getLabel, getNextSelection, getRemoteAdapter, getSelection, getSelectionProvider, getShell, getShell, getString, getStringOrNull, getSystemConnection, getToolTip, getViewer, isDummy, isEnabled, isSelectionSensitive, issueTraceMessage, selectionChanged, setAvailableOffline, setBusyCursor, setContextMenuGroup, setDisplayCursor, setDisplayCursor, setHelp, setInputs, setSelection, setSelectionProvider, setSelectionSensitive, setShell, setSystemConnection, setTracing, setTracing, setViewer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.ibm.etools.systems.core.ui.actions.ISystemAction |
---|
allowOnMultipleSelection, getContextMenuGroup, getHelpContextId, getSelection, getShell, getViewer, isDummy, isSelectionSensitive, setContextMenuGroup, setHelp, setInputs, setSelection, setSelectionSensitive, setShell, setViewer |
Methods inherited from interface org.eclipse.jface.action.IAction |
---|
addPropertyChangeListener, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, removePropertyChangeListener, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText |
Methods inherited from interface org.eclipse.jface.viewers.ISelectionChangedListener |
---|
selectionChanged |
Field Detail |
public static final String copyright
Constructor Detail |
protected ISeriesSystemBaseDialogAction(String text, ImageDescriptor image, Shell parent)
text
- string to display in menu or toolbarimage
- icon to display in menu or toolbar. Can be null.parent
- Shell of parent window. Can be null if you don't know it, but call setShell when you do.protected ISeriesSystemBaseDialogAction(String text, String tooltip, ImageDescriptor image, Shell parent)
text
- string to display in menu or toolbartooltip
- string to display when user hovers mouse over action.image
- icon to display in menu or toolbar. Can be null.parent
- Shell of parent window. Can be null if you don't know it, but call setShell when you do.protected ISeriesSystemBaseDialogAction(String text, String tooltip, String description, ImageDescriptor image, Shell parent)
text
- string to display in menu or toolbartooltip
- string to display when user hovers mouse over action.description
- string displayed in status bar of some displays. Longer than tooltip.image
- icon to display in menu or toolbar. Can be null.parent
- Shell of parent window. Can be null if you don't know it, but call setShell when you do.protected ISeriesSystemBaseDialogAction(ResourceBundle rb, String prefix, ImageDescriptor image, Shell parent)
rb
- ResourceBundle that label (+".label") and tip (+".tooltip")
are derived from.prefix
- resource properties prefix that suffixes are added to, to find label, tip and desc.image
- icon to display in menu or toolbar. can be null.protected ISeriesSystemBaseDialogAction(ResourceBundle rb, String prefix, Shell parent)
rb
- ResourceBundle that label (+".label"), tip (+".tooltip") and description (+".description")
are derived from.prefix
- resource properties prefix that suffixes are added to, to find label, tip and desc.Method Detail |
public boolean updateSelection(IStructuredSelection selection)
public static com.ibm.etools.systems.dstore.core.model.DataElement getDataElement(Object element)
public ISeriesConnection getISeriesConnection(Object element)
|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |