Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by TextEditorAction
      extended by com.ibm.etools.systems.editor.actions.RefreshAction

public class RefreshAction
extends TextEditorAction


Field Summary
protected static ResourceBundle _bundle
           
static String copyright
           
static String LPEX_ACTION
           
static String STRID
          the string ID for this action
 
Constructor Summary
RefreshAction(ITextEditor editor)
          Constructor for RefreshAction.
 
Method Summary
 boolean available(LpexView arg0)
          Method available this action is always available.
 void doAction(LpexView arg0)
           
 int getAccelerator()
          Return "no accelerator" for this action.
 void registerView(LpexView view)
          Register a view with the action Defines the key combination for the action in the view
 void run()
          Method run calls doAction
 
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

LPEX_ACTION

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

RefreshAction

public RefreshAction(ITextEditor editor)
Constructor for RefreshAction.

Parameters:
editor -
Method Detail

registerView

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


doAction

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

available

public boolean available(LpexView arg0)
Method available this action is always available.

Parameters:
arg0 - the view to see if the action is available
Returns:
always returns true
See Also:
com.ibm.lpex.core.LpexAction#available(LpexView)

run

public void run()
Method run calls doAction

See Also:
IAction

getAccelerator

public int getAccelerator()
Return "no accelerator" for this action. Overrides org.eclipse.jface.action.Action's to circumvent a bug

See Also:
Action

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.