com.ibm.etools.iseries.editor
Class RemoveMessagesAction
java.lang.Object
org.eclipse.jface.action.Action
org.eclipse.ui.texteditor.ResourceAction
org.eclipse.ui.texteditor.TextEditorAction
com.ibm.etools.iseries.editor.RemoveMessagesAction
- All Implemented Interfaces:
- IAction, IUpdate, com.ibm.lpex.core.LpexAction
- public class RemoveMessagesAction
- extends TextEditorAction
- implements com.ibm.lpex.core.LpexAction
RemoveMessagesAction - remove all messages in all views of the 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 available if there are show lines in the source |
void |
doAction(com.ibm.lpex.core.LpexView arg0)
|
void |
run()
Method run
calls doAction |
Methods inherited from class org.eclipse.jface.action.Action |
addPropertyChangeListener, convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, firePropertyChange, firePropertyChange, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, notifyResult, removeAcceleratorText, removeMnemonics, removePropertyChangeListener, runWithEvent, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, 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
RemoveMessagesAction
public RemoveMessagesAction(ITextEditor editor)
- Constructor for RefreshAction.
- Parameters:
editor
-
doAction
public void doAction(com.ibm.lpex.core.LpexView arg0)
- Specified by:
doAction
in interface com.ibm.lpex.core.LpexAction
- See Also:
LpexAction.doAction(LpexView)
available
public boolean available(com.ibm.lpex.core.LpexView arg0)
- Method available
this action is available if there are show lines in the source
- Specified by:
available
in interface com.ibm.lpex.core.LpexAction
- Parameters:
arg0
- the view to see if the action is available
- Returns:
- true if there are show lines
- See Also:
LpexAction.available(LpexView)
run
public void run()
- Method run
calls doAction
- Specified by:
run
in interface IAction
- See Also:
IAction.run()
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.