|
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.ObjectSystemBaseDialogAction
com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseDialogAction
public abstract class QSYSSystemBaseDialogAction
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 IBMiConnection.
| Field Summary | |
|---|---|
static String |
copyright
|
| Constructor Summary | |
|---|---|
protected |
QSYSSystemBaseDialogAction(String text,
ImageDescriptor image,
Shell parent)
Constructor for ISeriesSystemBaseDialogAction when translated label is known. |
protected |
QSYSSystemBaseDialogAction(String text,
String tooltip,
ImageDescriptor image,
Shell parent)
Constructor for ISeriesSystemBaseDialogAction when translated label and tooltip are known. |
protected |
QSYSSystemBaseDialogAction(String text,
String tooltip,
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 |
QSYSSystemBaseDialogAction(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 | |
|---|---|
IBMiConnection |
getIBMiConnection(Object element)
Returns the ISeriesConnection from which this object originated |
boolean |
updateSelection(IStructuredSelection selection)
|
| 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 |
|---|
protected QSYSSystemBaseDialogAction(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 QSYSSystemBaseDialogAction(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 QSYSSystemBaseDialogAction(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 QSYSSystemBaseDialogAction(String text,
String tooltip,
Shell parent)
text - string to display in menu or toolbar.tooltip - string to display when user hovers mouse over action.shell - parent. Can be null if you don't know it, but call setShell when you do.| Method Detail |
|---|
public boolean updateSelection(IStructuredSelection selection)
public IBMiConnection getIBMiConnection(Object element)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||