Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.widgets
Class QSYSWidgetFillerFromSelection

java.lang.Object
  extended by com.ibm.etools.iseries.rse.ui.widgets.QSYSWidgetFillerFromSelection

public class QSYSWidgetFillerFromSelection
extends Object

A helper class for filling in iSeries specific widgets from selections.


Constructor Summary
QSYSWidgetFillerFromSelection(IBMiConnectionCombo connCombo, QSYSBasePrompt basePrompt)
          Call this contructor to prefill with selection from currently active view.
QSYSWidgetFillerFromSelection(ISelection selection, IBMiConnectionCombo connCombo, QSYSBasePrompt basePrompt)
          Call this constructor to prefill with given selection.
 
Method Summary
 void fillWidgets()
          Fill the widgets from the selection information.
 boolean hasSelectedConnection()
          Returns whether a connection was selected.
 void setBasePrompt(QSYSBasePrompt basePrompt)
          Set the base prompt.
 void setConnectionCombo(IBMiConnectionCombo connCombo)
          Set the connection combo.
 void setSelection(ISelection selection)
          Set the selection.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QSYSWidgetFillerFromSelection

public QSYSWidgetFillerFromSelection(IBMiConnectionCombo connCombo,
                                     QSYSBasePrompt basePrompt)
Call this contructor to prefill with selection from currently active view.

Parameters:
connCombo - a connection combo. Can be null.
basePrompt - a base prompt. Must be either a library, object or member prompt. Can be null.

QSYSWidgetFillerFromSelection

public QSYSWidgetFillerFromSelection(ISelection selection,
                                     IBMiConnectionCombo connCombo,
                                     QSYSBasePrompt basePrompt)
Call this constructor to prefill with given selection.

Parameters:
selection - the selection from which to prefill widgets.
connCombo - a connection combo. Can be null.
basePrompt - a base prompt. Must be either a library, object or member prompt. Can be null.
Method Detail

setSelection

public void setSelection(ISelection selection)
Set the selection.


setConnectionCombo

public void setConnectionCombo(IBMiConnectionCombo connCombo)
Set the connection combo.


setBasePrompt

public void setBasePrompt(QSYSBasePrompt basePrompt)
Set the base prompt.


fillWidgets

public void fillWidgets()
Fill the widgets from the selection information.


hasSelectedConnection

public boolean hasSelectedConnection()
Returns whether a connection was selected.


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.