|
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.RSECreateISeriesProjectAction
public class RSECreateISeriesProjectAction
This action creates an iSeries Project from the selected iSeries library.
It is only contributed to iSeries libraries that appear in the RSE
perspective. It is made public because the code for this action is a good
sample on how to use both RSE and iSeries Project perspective APIs and
extension points to create custom actions.
Field Summary | |
---|---|
static String |
COPYRIGHT
|
Fields inherited from class com.ibm.etools.iseries.rse.ui.actions.QSYSSystemBaseAction |
---|
copyright |
Constructor Summary | |
---|---|
RSECreateISeriesProjectAction()
|
|
RSECreateISeriesProjectAction(Shell shell)
|
Method Summary | |
---|---|
AbstractISeriesProject |
createISeriesProject(IQSYSLibrary library,
IBMiConnection connection,
Shell shell)
This method creates an iSeries Project given an IQSYSLibrary and ISeriesConnection. |
boolean |
getEnabled(Object[] currentlySelected)
The user has selected one or more objects. |
protected static AbstractISeriesProject |
getFirstExistingProject(Properties projectProperties,
Shell shell)
Gets an existing project given the parameters. |
void |
run()
Creates an iSeries project from the selected RSE library. |
void |
run(IAction a)
|
protected void |
selectInISeriesPerspective(AbstractISeriesResource resource)
This method will open the iSeries Project perspective, and select the given project. |
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 RSECreateISeriesProjectAction(Shell shell)
public RSECreateISeriesProjectAction()
Method Detail |
---|
public void selectionChanged(IAction action, ISelection selection)
public void run(IAction a)
public void setActivePart(IAction action, IWorkbenchPart targetPart)
public void run()
com.ibm.etools.systems.core.ui.actions.SystemAbstractPopupMenuExtensionAction#run()
public AbstractISeriesProject createISeriesProject(IQSYSLibrary library, IBMiConnection connection, Shell shell)
library
- the associated library of the new project.connection
- the connection associated with the project.shell
- the parent shell used to present dialogs.
protected static AbstractISeriesProject getFirstExistingProject(Properties projectProperties, Shell shell)
protected void selectInISeriesPerspective(AbstractISeriesResource resource)
public boolean getEnabled(Object[] currentlySelected)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |