|
iSeries Remote Systems v6.0.0 |
||||||||||
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.ISeriesEditorParserAction
Field Summary | |
---|---|
protected boolean |
_bDisabledWhenOffline
indicates whether or not the action should be disabled when work offline is selected |
protected static ResourceBundle |
_bundle
|
protected IISeriesEditorParser |
_parser
|
protected String |
_strId
|
protected String |
_strPrefix
|
static String |
copyright
|
protected boolean |
m_enabled
|
protected boolean |
m_enabledSet
|
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 | |
---|---|
ISeriesEditorParserAction(IISeriesEditorParser parser,
String strId,
String strPrefix,
ITextEditor editor)
Constructor. |
|
ISeriesEditorParserAction(IISeriesEditorParser parser,
String strId,
String strPrefix,
String strHelpContextId,
ITextEditor editor)
Constructor with Help ContextId. |
Method Summary | |
---|---|
boolean |
available(com.ibm.lpex.core.LpexView view)
If disableWhenOffline is set, the the action is available when not working offline. |
void |
doAction(com.ibm.lpex.core.LpexView view)
|
int |
getAccelerator()
Return "no accelerator" for this action. |
String |
getId()
Returns the action identifier. |
protected void |
removeAccelerator(com.ibm.lpex.core.LpexView lpexView,
int actionId)
Method removeAccelerator. |
void |
run()
Declared in Action. |
void |
setDisabledWhenOffline(boolean value)
Method setDisabledWhenOffline. |
void |
setEnabled(boolean value)
|
void |
update()
If disableWhenOffline is set, the the action is enabled when not working offline. |
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
protected IISeriesEditorParser _parser
protected String _strId
protected String _strPrefix
protected boolean m_enabledSet
protected boolean m_enabled
protected boolean _bDisabledWhenOffline
Constructor Detail |
public ISeriesEditorParserAction(IISeriesEditorParser parser, String strId, String strPrefix, ITextEditor editor)
public ISeriesEditorParserAction(IISeriesEditorParser parser, String strId, String strPrefix, String strHelpContextId, ITextEditor editor)
Method Detail |
public int getAccelerator()
getAccelerator
in interface IAction
com.ibm.lpex.core#LpexContextContributor.LpexEditorAction.getAccelerator()
protected void removeAccelerator(com.ibm.lpex.core.LpexView lpexView, int actionId)
lpexView
- the LpexView for this actionactionId
- the LPEX id for this action.public String getId()
getId
in interface IAction
public void run()
run
in interface IAction
public void doAction(com.ibm.lpex.core.LpexView view)
doAction
in interface com.ibm.lpex.core.LpexAction
LpexAction.doAction(LpexView)
public boolean available(com.ibm.lpex.core.LpexView view)
available
in interface com.ibm.lpex.core.LpexAction
LpexAction.available(LpexView)
public void setDisabledWhenOffline(boolean value)
value
- true if the action should be enabled when working offline, false otherwisepublic void update()
update
in interface IUpdate
IUpdate.update()
public void setEnabled(boolean value)
setEnabled
in interface IAction
|
iSeries Remote Systems v6.0.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |