Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.editor.actions
Class ErrorAction

java.lang.Object
  extended by Action
      extended by com.ibm.etools.systems.editor.actions.ErrorAction

public class ErrorAction
extends Action


Field Summary
 ITextEditor _editor
          the editor for this action
static String Copyright
           
static String LPEX_ACTION_NEXT_ERROR
           
static String LPEX_ACTION_PREV_ERROR
           
static int NEXT_ERROR
          the style which indicates next error
static String NEXT_ID
          the string ID for the next action
static String PREV_ID
          the string ID for the previous action
static int PREVIOUS_ERROR
          the style which indicates previous error
 
Constructor Summary
ErrorAction(ITextEditor editor, int style)
          Method ErrorAction.
 
Method Summary
 boolean available(LpexView lpexView)
           
 void doAction(LpexView lpexView)
           
 void registerView(LpexView view)
          Register a view with the action Defines the key combination for the action in the view and adds a cursor listener
 void run()
           
 
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

PREVIOUS_ERROR

public static final int PREVIOUS_ERROR
the style which indicates previous error

See Also:
Constant Field Values

NEXT_ERROR

public static final int NEXT_ERROR
the style which indicates next error

See Also:
Constant Field Values

PREV_ID

public static final String PREV_ID
the string ID for the previous action

See Also:
Constant Field Values

NEXT_ID

public static final String NEXT_ID
the string ID for the next action

See Also:
Constant Field Values

_editor

public ITextEditor _editor
the editor for this action


LPEX_ACTION_NEXT_ERROR

public static final String LPEX_ACTION_NEXT_ERROR
See Also:
Constant Field Values

LPEX_ACTION_PREV_ERROR

public static final String LPEX_ACTION_PREV_ERROR
See Also:
Constant Field Values
Constructor Detail

ErrorAction

public ErrorAction(ITextEditor editor,
                   int style)
Method ErrorAction. The action which implements

Parameters:
style -
Method Detail

available

public boolean available(LpexView lpexView)
See Also:
com.ibm.lpex.core.LpexAction#available(LpexView)

doAction

public void doAction(LpexView lpexView)
See Also:
com.ibm.lpex.core.LpexAction#doAction(LpexView)

run

public void run()
See Also:
IAction

registerView

public void registerView(LpexView view)
Register a view with the action Defines the key combination for the action in the view and adds a cursor listener

Parameters:
view -
Since:
6.0.1 59720

Rational Developer for Power Systems Software
V7.6

Copyright 2011 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.