iSeries Remote Systems
v6.0.1

com.ibm.etools.iseries.editor
Class RemoveMessagesAction

java.lang.Object
  extended byorg.eclipse.jface.action.Action
      extended byorg.eclipse.ui.texteditor.ResourceAction
          extended byorg.eclipse.ui.texteditor.TextEditorAction
              extended bycom.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


Field Summary
protected static ResourceBundle _bundle
           
static String copyright
           
static String STRID
          the string ID for this action
 
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
RemoveMessagesAction(ITextEditor editor)
          Constructor for RefreshAction.
 
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.ui.texteditor.TextEditorAction
canModifyEditor, getTextEditor, setEditor, update, validateEditorInputState
 
Methods inherited from class org.eclipse.ui.texteditor.ResourceAction
getString, initialize, setHelpContextId
 
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
 

Field Detail

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
Constructor Detail

RemoveMessagesAction

public RemoveMessagesAction(ITextEditor editor)
Constructor for RefreshAction.

Parameters:
editor -
Method Detail

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()

iSeries Remote Systems
v6.0.1

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.