Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.dialogs.tableview
Class ISeriesTableViewExportDialog

java.lang.Object
  extended by SystemPromptDialog
      extended by com.ibm.etools.iseries.rse.ui.dialogs.tableview.ISeriesTableViewExportDialog

public class ISeriesTableViewExportDialog
extends SystemPromptDialog

Dialog for specifying a target file for exporting the table view.


Field Summary
static String copyright
           
 
Constructor Summary
ISeriesTableViewExportDialog(Shell shell)
          Constructor
 
Method Summary
protected  Control createInner(Composite parent)
           
protected  ISystemMessageLine createMessageLine(Composite c)
          Create message line.
 boolean getExportSelected()
          Returns whether to exported only the selected
protected static IRemoteFileSubSystem getFileSubSystem(IHost connection)
          Get the file subsystem given a connection
protected  IFSFileServiceSubSystem getIFSFileServiceSubSystem(IHost host)
           
protected  Control getInitialFocusControl()
           
 String getTargetFileName()
          Returns the Position To name
 boolean getWithHeadingAndFooting()
          Returns whether to include the heading and footing
 void handleEvent(Event event)
          Handle list selection event for BROWSE button
 boolean isPageComplete()
          This method can be called by the dialog or wizard page host, to decide whether to enable or disable the next, final or ok buttons.
protected  boolean processOK()
          Called when user presses OK button.
 void setPageComplete()
          Inform caller of page-complete status of this form
protected  SystemMessage validateNameInput()
          This hook method is called whenever the text changes in the input field.
 boolean verify()
          Verifies all input.
 
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

ISeriesTableViewExportDialog

public ISeriesTableViewExportDialog(Shell shell)
Constructor

Method Detail

createMessageLine

protected ISystemMessageLine createMessageLine(Composite c)
Create message line. Intercept so we can set msg line of form.


getInitialFocusControl

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

createInner

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

processOK

protected boolean processOK()
Called when user presses OK button. Return true to close dialog. Return false to not close dialog.


verify

public boolean verify()
Verifies all input.

Returns:
true if there are no errors in the user input

validateNameInput

protected SystemMessage validateNameInput()
This hook method is called whenever the text changes in the input field. The default implementation delegates the request to an ISystemValidator object. If the ISystemValidator reports an error the error message is displayed in the Dialog's message line.

See Also:
setNameValidator(ISystemValidator)

isPageComplete

public boolean isPageComplete()
This method can be called by the dialog or wizard page host, to decide whether to enable or disable the next, final or ok buttons. It returns true if the minimal information is available and is correct.


setPageComplete

public void setPageComplete()
Inform caller of page-complete status of this form


getTargetFileName

public String getTargetFileName()
Returns the Position To name


getExportSelected

public boolean getExportSelected()
Returns whether to exported only the selected


getWithHeadingAndFooting

public boolean getWithHeadingAndFooting()
Returns whether to include the heading and footing


getIFSFileServiceSubSystem

protected IFSFileServiceSubSystem getIFSFileServiceSubSystem(IHost host)

getFileSubSystem

protected static IRemoteFileSubSystem getFileSubSystem(IHost connection)
Get the file subsystem given a connection


handleEvent

public void handleEvent(Event event)
Handle list selection event for BROWSE button


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.