Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.edit.ui.actions
Class InvokeRPGWizardAction

java.lang.Object
  extended by TextEditorAction
      extended by com.ibm.etools.iseries.edit.ui.actions.InvokeRPGWizardAction

public class InvokeRPGWizardAction
extends TextEditorAction

This class is used to open an include for a file (or copy book, or copy member)


Field Summary
protected static ResourceBundle _bundle
           
static String Copyright
           
static int CRT_DSPEC
          Create D Spec
static int CRT_JCONSTANTS
          Create Java Constant
static int CRT_JMC
          Create Java Method Call
static int CRT_PROCEDURE
          Create Procedure
static String DSPEC_ID
          the ID for the create D spec action
static String JCONSTANTS_ID
          the ID for the create D spec action
static String JMC_ID
          the ID for the create Java method call action
static String PROCEDURE_ID
          the ID for the create procedure action
static int RPGWIZARD
          Show RPG Wizard
static String RPGWIZARD_ID
          the ID for the main menu action
 
Constructor Summary
InvokeRPGWizardAction(ITextEditor editor, int actionType)
           
InvokeRPGWizardAction(ITextEditor editor, int actionType, IBMiConnection connection)
          Constructor for ActionOpenInclude.
 
Method Summary
 void run()
           
 void update()
          Updates the validity of the action.
 
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

CRT_PROCEDURE

public static final int CRT_PROCEDURE
Create Procedure

See Also:
Constant Field Values

CRT_DSPEC

public static final int CRT_DSPEC
Create D Spec

See Also:
Constant Field Values

CRT_JMC

public static final int CRT_JMC
Create Java Method Call

See Also:
Constant Field Values

CRT_JCONSTANTS

public static final int CRT_JCONSTANTS
Create Java Constant

See Also:
Constant Field Values

RPGWIZARD

public static final int RPGWIZARD
Show RPG Wizard

See Also:
Constant Field Values

RPGWIZARD_ID

public static final String RPGWIZARD_ID
the ID for the main menu action

See Also:
Constant Field Values

PROCEDURE_ID

public static final String PROCEDURE_ID
the ID for the create procedure action

See Also:
Constant Field Values

DSPEC_ID

public static final String DSPEC_ID
the ID for the create D spec action

See Also:
Constant Field Values

JMC_ID

public static final String JMC_ID
the ID for the create Java method call action

See Also:
Constant Field Values

JCONSTANTS_ID

public static final String JCONSTANTS_ID
the ID for the create D spec action

See Also:
Constant Field Values
Constructor Detail

InvokeRPGWizardAction

public InvokeRPGWizardAction(ITextEditor editor,
                             int actionType,
                             IBMiConnection connection)
Constructor for ActionOpenInclude.

Parameters:
editor - the text editor for this actions
mriStyle - the MRI to use for this action (either RPG or COBOL)
actionType - the action type
connection - the Connection to use

InvokeRPGWizardAction

public InvokeRPGWizardAction(ITextEditor editor,
                             int actionType)
Method Detail

run

public void run()
See Also:
IAction

update

public void update()
Updates the validity of the action. Queries the parser if the parser is in Browser state

See Also:
IUpdate

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.