Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.resources
Class QSYSEditableRemoteSourceFileMember.DisplayUploadConflictDialog

java.lang.Object
  extended by UIJob
      extended by com.ibm.etools.iseries.rse.ui.resources.QSYSEditableRemoteSourceFileMember.DisplayUploadConflictDialog
Enclosing class:
QSYSEditableRemoteSourceFileMember

protected class QSYSEditableRemoteSourceFileMember.DisplayUploadConflictDialog
extends UIJob


Constructor Summary
QSYSEditableRemoteSourceFileMember.DisplayUploadConflictDialog(ISeriesHostObjectLock lock, SystemMessage message)
           
 
Method Summary
protected  boolean handleUpLoadMbrLock(ISeriesHostObjectLock lock, IProgressMonitor monitor)
          Handle the situation that a member is locked during download.
 boolean isDone()
          Check if this job is done.
 boolean isUnlocked()
           
 IStatus runInUIThread(IProgressMonitor monitor)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QSYSEditableRemoteSourceFileMember.DisplayUploadConflictDialog

public QSYSEditableRemoteSourceFileMember.DisplayUploadConflictDialog(ISeriesHostObjectLock lock,
                                                                      SystemMessage message)
Method Detail

runInUIThread

public IStatus runInUIThread(IProgressMonitor monitor)

handleUpLoadMbrLock

protected boolean handleUpLoadMbrLock(ISeriesHostObjectLock lock,
                                      IProgressMonitor monitor)
                               throws Exception
Handle the situation that a member is locked during download. 01/07/2007 dy changed logic to return false if user cancels or locks were not cleared and true if the locks where cleared and it's okay to continue with the upload (instead of re-invoking upload from here).

Throws:
Exception

isDone

public boolean isDone()
Check if this job is done.


isUnlocked

public boolean isUnlocked()

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.