|
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 TextEditorAction com.ibm.etools.iseries.edit.ui.actions.ISeriesEditorParserAction
public class 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
|
String |
_strId
|
protected String |
_strPrefix
|
static String |
copyright
|
protected boolean |
m_enabled
|
protected boolean |
m_enabledSet
|
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(LpexView view)
If disableWhenOffline is set, the the action is available when not working offline. |
void |
doAction(LpexView view)
|
int |
getAccelerator()
Return "no accelerator" for this action. |
String |
getId()
Returns the action identifier. |
protected void |
removeAccelerator(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 java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static String copyright
protected IISeriesEditorParser _parser
protected static ResourceBundle _bundle
protected String _strPrefix
protected boolean m_enabledSet
protected boolean m_enabled
public String _strId
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()
com.ibm.lpex.core#LpexContextContributor.LpexEditorAction.getAccelerator()
protected void removeAccelerator(LpexView lpexView, int actionId)
lpexView
- the LpexView for this actionactionId
- the LPEX id for this action.public String getId()
public void run()
public void doAction(LpexView view)
com.ibm.lpex.core.LpexAction#doAction(LpexView)
public boolean available(LpexView view)
com.ibm.lpex.core.LpexAction#available(LpexView)
public void setDisabledWhenOffline(boolean value)
value
- true if the action should be enabled when working offline, false otherwisepublic void update()
IUpdate
public void setEnabled(boolean value)
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |