Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.dialogs.cmds
Class QSYSMoveLiblEntryDialog

java.lang.Object
  extended by SystemPromptDialog
      extended by com.ibm.etools.iseries.rse.ui.dialogs.cmds.QSYSMoveLiblEntryDialog

public class QSYSMoveLiblEntryDialog
extends SystemPromptDialog

Dialog to prompt for the target library and position to move a library within the library list


Field Summary
static String copyright
           
static int POSITION_AFTER
           
static int POSITION_BEFORE
           
 
Constructor Summary
QSYSMoveLiblEntryDialog(Shell shell)
          Constructor
 
Method Summary
protected  void buildCommandString()
          Build up the iSeries command from current contents...
protected  Control createInner(Composite parent)
           
 String[] getCommands()
          Return the command strings to execute remotely
protected  Control getInitialFocusControl()
           
 String getPosition()
          Get the position selected to place the additional library
 String getReferenceLibrary()
          Return the name of the referenced library.
 boolean isPageComplete()
          Return true if the page values are sufficient to enable OK button
protected  boolean processOK()
           
 void setLibrary(String lib)
          Set the input library for the library to move.
 void setPosition(int pos)
          Set the input position for where to place selected library.
 void setReferenceLibrary(String lib)
          Set the input library for the library to reference.
 void setUserLibraryList(String[] libs)
          Set user library list
 void widgetDefaultSelected(SelectionEvent event)
          From SelectionListener.
 void widgetSelected(SelectionEvent event)
          From SelectionListener.
 
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

POSITION_AFTER

public static final int POSITION_AFTER
See Also:
Constant Field Values

POSITION_BEFORE

public static final int POSITION_BEFORE
See Also:
Constant Field Values
Constructor Detail

QSYSMoveLiblEntryDialog

public QSYSMoveLiblEntryDialog(Shell shell)
Constructor

Method Detail

getInitialFocusControl

protected Control getInitialFocusControl()
See Also:
SystemPromptDialog#getInitialFocusControl()

setUserLibraryList

public void setUserLibraryList(String[] libs)
Set user library list


setLibrary

public void setLibrary(String lib)
Set the input library for the library to move.


setReferenceLibrary

public void setReferenceLibrary(String lib)
Set the input library for the library to reference.


setPosition

public void setPosition(int pos)
Set the input position for where to place selected library. See constants in this class for position enumeration.


createInner

protected Control createInner(Composite parent)
See Also:
SystemPromptDialog#createInner(Composite)

widgetSelected

public void widgetSelected(SelectionEvent event)
From SelectionListener. Called when widget selected


widgetDefaultSelected

public void widgetDefaultSelected(SelectionEvent event)
From SelectionListener. Called when widget selected via Enter


buildCommandString

protected void buildCommandString()
Build up the iSeries command from current contents...


isPageComplete

public boolean isPageComplete()
Return true if the page values are sufficient to enable OK button


processOK

protected boolean processOK()
See Also:
SystemPromptDialog#processOK()

getCommands

public String[] getCommands()
Return the command strings to execute remotely


getReferenceLibrary

public String getReferenceLibrary()
Return the name of the referenced library. Only applicable for certain positions


getPosition

public String getPosition()
Get the position selected to place the additional library


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.