|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object SystemBaseAction com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseAction com.ibm.etools.iseries.perspective.rse.actions.RSEMakeOfflineAction
public class RSEMakeOfflineAction
This action downloads the selected source file or source member locally to its corresponding iSeries project. It allows multiple source files and members in a single selection, but all must be in a single library. The corresponding iSeries project has the same host and the same library properties as the host name, and the library of the select source physical file or member. There may be several of these projects, the first one found is used.
Field Summary | |
---|---|
static String |
COPYRIGHT
|
Fields inherited from class com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseAction |
---|
copyright |
Constructor Summary | |
---|---|
RSEMakeOfflineAction()
|
|
RSEMakeOfflineAction(Shell shell)
|
Method Summary | |
---|---|
protected boolean |
checkLibraryName(String libraryName)
Test if the parent library is valid using ISeriesNativeLibraryModelValidator |
protected void |
doDownloadAction(List<IQSYSResource> objectsToDownload,
AbstractISeriesProject project,
Properties projectProperties)
|
protected AbstractISeriesProject[] |
findProjects(Properties projectProperties)
Returns projects that match the criteria presented in the properties. |
boolean |
getEnabled(Object[] currentlySelected)
The user has selected one or more objects. |
void |
run()
Creates local iSeries source physical files and members from the selected RSE source physical files and members. |
void |
run(IAction a)
|
static void |
scheduleDownloadJob(Object[] objectsToDownload,
IProject project,
Properties projectProperties,
Shell shell)
|
protected void |
selectInISeriesPerspective(IResource resource)
This method will open the iSeries Project perspective, and select the given resource. |
void |
selectionChanged(IAction action,
ISelection selection)
|
void |
setActivePart(IAction action,
IWorkbenchPart targetPart)
|
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 |
---|
public static final String COPYRIGHT
Constructor Detail |
---|
public RSEMakeOfflineAction(Shell shell)
public RSEMakeOfflineAction()
Method Detail |
---|
public void selectionChanged(IAction action, ISelection selection)
public void run(IAction a)
public void setActivePart(IAction action, IWorkbenchPart targetPart)
public void run()
protected AbstractISeriesProject[] findProjects(Properties projectProperties)
This implementation tries to find iSeries projects with the library and connection. that are specified in the properties. If any are found they are returned.
projectProperties
- contains the properties to match. Matches the connection name
and the library and potentially the user.
protected void doDownloadAction(List<IQSYSResource> objectsToDownload, AbstractISeriesProject project, Properties projectProperties)
public static void scheduleDownloadJob(Object[] objectsToDownload, IProject project, Properties projectProperties, Shell shell)
protected void selectInISeriesPerspective(IResource resource)
resource
- The IResource
to select.public boolean getEnabled(Object[] currentlySelected)
protected boolean checkLibraryName(String libraryName)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |