iSeries Remote Systems
v6.0.0

com.ibm.etools.iseries.core.ui.widgets
Class ISeriesWidgetFillerFromSelection

java.lang.Object
  extended bycom.ibm.etools.iseries.core.ui.widgets.ISeriesWidgetFillerFromSelection
All Implemented Interfaces:
IISeriesDataElementDescriptorTypes

public class ISeriesWidgetFillerFromSelection
extends Object
implements IISeriesDataElementDescriptorTypes

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


Field Summary
 
Fields inherited from interface com.ibm.etools.iseries.core.descriptors.IISeriesDataElementDescriptorTypes
Copyright, DSPF_FILE_TYPE, DTA_FILE_TYPE, FILE_TYPE, LF_FILE_TYPE, LIB_TYPE, MBR_TYPE, MESSAGE_DESCRIPTION_TYPE, MODULE_TYPE, MSG_FILE_TYPE, OBJ_TYPE, PGM_MODULE_TYPE, PGM_TYPE, PROCEDURE_TYPE, QRYDFN_TYPE, SAVF_FILE_TYPE, SRC_FILE_TYPE, SRC_MBR_TYPE, SRVPGM_TYPE, UNKNOWN_TYPE
 
Constructor Summary
ISeriesWidgetFillerFromSelection(ISelection selection, ISeriesConnectionCombo connCombo, ISeriesBasePrompt basePrompt)
          Call this constructor to prefill with given selection.
ISeriesWidgetFillerFromSelection(ISeriesConnectionCombo connCombo, ISeriesBasePrompt basePrompt)
          Call this contructor to prefill with selection from currently active view.
 
Method Summary
 void fillWidgets()
          Fill the widgets from the selection information.
 boolean hasSelectedConnection()
          Returns whether a connection was selected.
 void setBasePrompt(ISeriesBasePrompt basePrompt)
          Set the base prompt.
 void setConnectionCombo(ISeriesConnectionCombo 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

ISeriesWidgetFillerFromSelection

public ISeriesWidgetFillerFromSelection(ISeriesConnectionCombo connCombo,
                                        ISeriesBasePrompt 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.

ISeriesWidgetFillerFromSelection

public ISeriesWidgetFillerFromSelection(ISelection selection,
                                        ISeriesConnectionCombo connCombo,
                                        ISeriesBasePrompt 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(ISeriesConnectionCombo connCombo)
Set the connection combo.


setBasePrompt

public void setBasePrompt(ISeriesBasePrompt 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.


iSeries Remote Systems
v6.0.0

Copyright © 2005 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.