|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.jface.action.Action
org.eclipse.ui.texteditor.ResourceAction
org.eclipse.ui.texteditor.TextEditorAction
com.ibm.etools.iseries.editor.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_COBOL
use the COBOL (copy book) MRI |
static int |
STYLE_RPG
use the RPG (copy member) MRI |
Fields inherited from interface org.eclipse.jface.action.IAction |
---|
AS_CHECK_BOX, AS_DROP_DOWN_MENU, AS_PUSH_BUTTON, AS_RADIO_BUTTON, AS_UNSPECIFIED, CHECKED, DESCRIPTION, ENABLED, IMAGE, RESULT, TEXT, TOOL_TIP_TEXT |
Constructor Summary | |
---|---|
ActionOpenInclude(ITextEditor editor,
int mriStyle,
int actionType)
Constructor for ActionOpenInclude. |
Method Summary | |
---|---|
static IProject |
getISeriesProject(com.ibm.lpex.core.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 org.eclipse.ui.texteditor.TextEditorAction |
---|
canModifyEditor, getTextEditor, setEditor, validateEditorInputState |
Methods inherited from class org.eclipse.ui.texteditor.ResourceAction |
---|
getString, initialize, setHelpContextId |
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 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 typeMethod Detail |
public IMenuListener getMainMenuListener()
public void run()
IAction.run()
public void update()
IUpdate.update()
public static IProject getISeriesProject(com.ibm.lpex.core.LpexView view)
view
- The view that the file is open in
|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |