Rational Developer for Power Systems Software
V7.6

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

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

public class CompileAction
extends Action


Field Summary
protected static ResourceBundle _bundle
           
 ITextEditor _editor
          the editor for this action
static String COMPILE_ID
          the string ID for compile key
static String Copyright
           
 
Constructor Summary
CompileAction(ITextEditor editor)
          Method ErrorAction.
 
Method Summary
 boolean available(LpexView lpexView)
           
 void cleanup()
          Performs necessary cleanup
static void compileItemInEditor(StructuredSelection selection)
          Does the compiles
 void doAction(LpexView lpexView)
           
 void registerView(LpexView lpexView)
          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

_bundle

protected static ResourceBundle _bundle

COMPILE_ID

public static final String COMPILE_ID
the string ID for compile key

See Also:
Constant Field Values

_editor

public ITextEditor _editor
the editor for this action

Constructor Detail

CompileAction

public CompileAction(ITextEditor editor)
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 lpexView)
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

compileItemInEditor

public static void compileItemInEditor(StructuredSelection selection)
Does the compiles

Parameters:
selection - The slection item in the RSE tree

cleanup

public void cleanup()
Performs necessary cleanup


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.