|
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.ObjectTextEditorAction
com.ibm.etools.iseries.editor.ActionOpenInclude
public class ActionOpenInclude
This class is used to open an include for a file (or copy book, or copy member)
| Field Summary | |
|---|---|
protected static ResourceBundle |
_bundle
|
static int |
ACTION_BROWSE
create the browse version |
static int |
ACTION_EDIT
create the edit version |
static int |
ACTION_INCLUDE
create the top menu |
static String |
BROWSE_ID
the ID for the browse action |
static String |
copyright
|
static String |
EDIT_ID
the ID for the edit action |
static String |
MAIN_ID
the ID for the main menu action |
static int |
STYLE_CL
use the CL (include member) MRI |
static int |
STYLE_COBOL
use the COBOL (copy book) MRI |
static int |
STYLE_RPG
use the RPG (copy member) MRI |
| Constructor Summary | |
|---|---|
ActionOpenInclude(ITextEditor editor,
int mriStyle,
int actionType)
Constructor for ActionOpenInclude. |
|
| Method Summary | |
|---|---|
static IProject |
getISeriesProject(LpexView view)
Used to retrieve the iSeries project for the file currently open in the view. |
IMenuListener |
getMainMenuListener()
Method getMainMenuListener. |
void |
run()
|
void |
update()
Updates the validity of the action. |
| 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
protected static ResourceBundle _bundle
public static final int STYLE_RPG
public static final int STYLE_COBOL
public static final int STYLE_CL
public static final int ACTION_INCLUDE
public static final int ACTION_EDIT
public static final int ACTION_BROWSE
public static final String MAIN_ID
public static final String EDIT_ID
public static final String BROWSE_ID
| Constructor Detail |
|---|
public ActionOpenInclude(ITextEditor editor,
int mriStyle,
int actionType)
editor - the text editor for this actionsmriStyle - the MRI to use for this action (either RPG or COBOL)actionType - the action type| Method Detail |
|---|
public IMenuListener getMainMenuListener()
public void run()
IActionpublic void update()
IUpdatepublic static IProject getISeriesProject(LpexView view)
view - The view that the file is open in
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||