Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.ui.actions
Class ISeriesVerifyLocalSourceAction

java.lang.Object
  extended by SystemBaseAction
      extended by com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseAction
          extended by com.ibm.etools.iseries.edit.ui.actions.ISeriesVerifySourceAction
              extended by com.ibm.etools.iseries.edit.ui.actions.ISeriesVerifyLocalSourceAction

public class ISeriesVerifyLocalSourceAction
extends ISeriesVerifySourceAction

Verify local source from the Remote Systems view


Field Summary
protected  boolean _bprompt
           
static String copyright
           
 
Fields inherited from class com.ibm.etools.iseries.edit.ui.actions.ISeriesVerifySourceAction
Copyright
 
Constructor Summary
ISeriesVerifyLocalSourceAction()
          Constructor.
ISeriesVerifyLocalSourceAction(Shell parent, boolean prompt)
          Constructor.
 
Method Summary
 ISystemRemoteElementAdapter getRemoteAdapter(Object o)
          Returns the implementation of ISystemRemoteElementAdapter for the given object.
 void run()
          Run method - do the verify, this will download the member if necessary.
static void runVerify(IRemoteFile selectedFile, ISystemRemoteElementAdapter remoteAdapter, boolean prompt)
          verify a selected local file - copies file to temp files project and runs verifier for file's source type
 
Methods inherited from class com.ibm.etools.iseries.edit.ui.actions.ISeriesVerifySourceAction
checkObjectType, isVerifierAvailable, run, setEnabled, setSelection
 
Methods inherited from class com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseAction
getIBMiConnection, isAvailableOffline, updateSelection
 
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

_bprompt

protected boolean _bprompt
Constructor Detail

ISeriesVerifyLocalSourceAction

public ISeriesVerifyLocalSourceAction()
Constructor.


ISeriesVerifyLocalSourceAction

public ISeriesVerifyLocalSourceAction(Shell parent,
                                      boolean prompt)
Constructor.

Method Detail

run

public void run()
Description copied from class: ISeriesVerifySourceAction
Run method - do the verify, this will download the member if necessary. If the member is open in editor, it will verify the open member. If not, it will verify the host member.

Overrides:
run in class ISeriesVerifySourceAction

getRemoteAdapter

public ISystemRemoteElementAdapter getRemoteAdapter(Object o)
Returns the implementation of ISystemRemoteElementAdapter for the given object. Returns null if this object does not adaptable to this.


runVerify

public static void runVerify(IRemoteFile selectedFile,
                             ISystemRemoteElementAdapter remoteAdapter,
                             boolean prompt)
verify a selected local file - copies file to temp files project and runs verifier for file's source type

Parameters:
selectedFile -
prompt -
Throws:
Exception

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.