com.ibm.etools.iseries.editor
Class EnterKeyCOBOLAction
java.lang.Object
org.eclipse.jface.action.Action
org.eclipse.ui.texteditor.ResourceAction
org.eclipse.ui.texteditor.TextEditorAction
com.ibm.etools.iseries.editor.ISeriesEditorParserAction
com.ibm.etools.iseries.editor.EnterKeyCOBOLAction
- All Implemented Interfaces:
- IAction, IUpdate, com.ibm.lpex.core.LpexAction
- public class EnterKeyCOBOLAction
- extends ISeriesEditorParserAction
Define the behaviour of the Enter key when editing COBOL source
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 |
Method Summary |
boolean |
available(com.ibm.lpex.core.LpexView arg0)
Method available
this action is always available. |
void |
run()
Method run
calls doAction |
void |
setDefaultEnterKeyActionName(String action)
set the default Enter key behaviour |
Methods inherited from class org.eclipse.jface.action.Action |
addPropertyChangeListener, convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, firePropertyChange, firePropertyChange, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, notifyResult, removeAcceleratorText, removeMnemonics, removePropertyChangeListener, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
copyright
public static final String copyright
- See Also:
- Constant Field Values
_bundle
protected static ResourceBundle _bundle
STRID
public static final String STRID
- the string ID for this action
- See Also:
- Constant Field Values
EnterKeyCOBOLAction
public EnterKeyCOBOLAction(IISeriesEditorParser parser,
ITextEditor editor)
- Constructor for SelectFormatLineAction.
- Parameters:
parser
- editor
-
available
public boolean available(com.ibm.lpex.core.LpexView arg0)
- Method available
this action is always available.
- Specified by:
available
in interface com.ibm.lpex.core.LpexAction
- Overrides:
available
in class ISeriesEditorParserAction
- Parameters:
arg0
- the view to see if the action is available
- Returns:
- always returns true
- See Also:
LpexAction.available(LpexView)
run
public void run()
- Method run
calls doAction
- Specified by:
run
in interface IAction
- Overrides:
run
in class ISeriesEditorParserAction
- See Also:
IAction.run()
setDefaultEnterKeyActionName
public void setDefaultEnterKeyActionName(String action)
- set the default Enter key behaviour
Copyright © 2005 IBM Corp. All Rights Reserved.
Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.