Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.actions
Class QSYSSystemBaseWizardAction

java.lang.Object
  extended by SystemBaseWizardAction
      extended by com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseWizardAction
Direct Known Subclasses:
AbstractQSYSNewObjectAction

public abstract class QSYSSystemBaseWizardAction
extends SystemBaseWizardAction

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
           
 
Constructor Summary
protected QSYSSystemBaseWizardAction(String text, ImageDescriptor image, Shell parent)
          Constructor for when translated label is known.
protected QSYSSystemBaseWizardAction(String text, String tooltip, ImageDescriptor image, Shell parent)
          Constructor when translated label and tooltip are known.
protected QSYSSystemBaseWizardAction(String text, String tooltip, String description, ImageDescriptor image, Shell parent)
          Constructor 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

copyright

public static final String copyright
See Also:
Constant Field Values
Constructor Detail

QSYSSystemBaseWizardAction

protected QSYSSystemBaseWizardAction(String text,
                                     ImageDescriptor image,
                                     Shell parent)
Constructor for when translated label is known. You must separately call setToolTipText and setDescription to enable these if desired.

Parameters:
text - string to display in menu or toolbar
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.

QSYSSystemBaseWizardAction

protected QSYSSystemBaseWizardAction(String text,
                                     String tooltip,
                                     ImageDescriptor image,
                                     Shell parent)
Constructor when translated label and tooltip are known. You must separately call setDescription to enable this if desired.

Parameters:
text - string to display in menu or toolbar
tooltip - 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.

QSYSSystemBaseWizardAction

protected QSYSSystemBaseWizardAction(String text,
                                     String tooltip,
                                     String description,
                                     ImageDescriptor image,
                                     Shell parent)
Constructor when translated label and tooltip and description are all known.

Parameters:
text - string to display in menu or toolbar
tooltip - 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.
Method Detail

updateSelection

public boolean updateSelection(IStructuredSelection selection)

getIBMiConnection

public IBMiConnection getIBMiConnection(Object element)
Returns the ISeriesConnection from which this object originated


Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.