Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.dialogs
Class QSYSSourceMemberLockDialog

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

public class QSYSSourceMemberLockDialog
extends SystemPromptDialog

Dialog to handle a member that has been locked. Let the user see the job properties and to end the job


Field Summary
static String copyright
           
static int RC_CANCEL
           
static int RC_END_JOB
           
static int RC_OPEN_BROWSE
           
 
Constructor Summary
QSYSSourceMemberLockDialog(Shell shell, IQSYSMember member, boolean downLoad, String jobId, IBMiConnection connection)
          Constructor
QSYSSourceMemberLockDialog(Shell shell, String title)
          Constructor with a title
 
Method Summary
protected  Control createInner(Composite parent)
           
protected  ISystemMessageLine createMessageLine(Composite c)
          Create message line.
protected  Control getInitialFocusControl()
           
 int getResult()
          Returns the result of this dialog
 void handleEvent(Event e)
          Handles event
protected  boolean processOK()
          Called when user presses OK button.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static String copyright

RC_CANCEL

public static final int RC_CANCEL
See Also:
Constant Field Values

RC_OPEN_BROWSE

public static final int RC_OPEN_BROWSE
See Also:
Constant Field Values

RC_END_JOB

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

QSYSSourceMemberLockDialog

public QSYSSourceMemberLockDialog(Shell shell,
                                  IQSYSMember member,
                                  boolean downLoad,
                                  String jobId,
                                  IBMiConnection connection)
Constructor


QSYSSourceMemberLockDialog

public QSYSSourceMemberLockDialog(Shell shell,
                                  String title)
Constructor with a title

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.


getResult

public int getResult()
Returns the result of this dialog


handleEvent

public void handleEvent(Event e)
Handles event


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.