Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.compile
Class IFSCompileManager

java.lang.Object
  extended by SystemCompileManager
      extended by com.ibm.etools.iseries.rse.ui.compile.IFSCompileManager

public class IFSCompileManager
extends SystemCompileManager

Specialization of SystemCompileManager for ISeries IFS compile support


Field Summary
static String Copyright
           
protected  String osTypeWithSubsystem
           
 
Constructor Summary
IFSCompileManager()
          Constructor
 
Method Summary
protected  SystemCompileProfile createCompileProfile(ISystemProfile profile)
           
protected  SystemCompileProfile createCompileProfile(SystemProfile profile)
          Overridable method to instantiate the SystemCompileProfile for the given system profile.
 ISystemCompileCommandSubstitutor createSubstitutor(IHost connection)
          Return the substitutor for doing variable substitution.
 ISystemCompileCommandSubstitutor createSubstitutor(IHost connection, boolean qsysCommand)
          Return the substitutor for doing variable substitution, depending on whether it is a qsys or qshell command
 SystemCompileCommandEditPane getCompileCommandEditPane(Shell shell, ISystemCompileCommandEditPaneHoster hoster, boolean caseSensitive)
          For support of the Work With Compile Commands dialog.
 SystemDefaultCompileCommands getDefaultCompileCommands()
          Return the default (supplied) compile commands to prime the compile commands with.
protected  SystemNewCompileSrcTypeDialog getNewSrcTypeDialog(Shell shell, boolean caseSensitive)
          For support of the Work With Compile Commands dialog.
 String getOSType()
           
 SystemCmdSubstVarList getSubstitutionVariableList()
          For support of the Work With Compile Commands dialog.
 SystemCmdSubstVarList getSubstitutionVariableList(boolean qsysCommand)
          For support of the Work With Compile Commands dialog.
protected  ISystemCompileCommandSubstitutor getSubstitutor()
          Return the substitutor for doing variable substitution.
 boolean isMultiSelectSupported(SystemCompileCommand compileCmd)
          Return true if multiple-select is supported for the compile 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

osTypeWithSubsystem

protected String osTypeWithSubsystem
Constructor Detail

IFSCompileManager

public IFSCompileManager()
Constructor

Method Detail

isMultiSelectSupported

public boolean isMultiSelectSupported(SystemCompileCommand compileCmd)
Return true if multiple-select is supported for the compile action. We return false for QSYS commands, true for QSHELL commands


createCompileProfile

protected SystemCompileProfile createCompileProfile(SystemProfile profile)
Overridable method to instantiate the SystemCompileProfile for the given system profile.

We return an instance of ISeriesCompileProfileIFS


getDefaultCompileCommands

public SystemDefaultCompileCommands getDefaultCompileCommands()
Return the default (supplied) compile commands to prime the compile commands with.


getSubstitutionVariableList

public SystemCmdSubstVarList getSubstitutionVariableList()
For support of the Work With Compile Commands dialog.

Return the substitution variables supported by compile commands managed by this manager. We return an instance of ISeriesCompileSubstListIFS


getSubstitutionVariableList

public SystemCmdSubstVarList getSubstitutionVariableList(boolean qsysCommand)
For support of the Work With Compile Commands dialog.

Return the substitution variables supported by compile commands managed by this manager. We return an instance of ISeriesCompileSubstListIFS for qsys, and UniversalCompileSubstList for qshell


getSubstitutor

protected ISystemCompileCommandSubstitutor getSubstitutor()
Return the substitutor for doing variable substitution.

Override to return a class that implements ISystemCompileCommandSubstitutor, that knows how to substitute the variables found in getSubstitutionVariableList().


createSubstitutor

public ISystemCompileCommandSubstitutor createSubstitutor(IHost connection)
Return the substitutor for doing variable substitution.

We create and return ISeriesCompileSubstitutorIFS


createSubstitutor

public ISystemCompileCommandSubstitutor createSubstitutor(IHost connection,
                                                          boolean qsysCommand)
Return the substitutor for doing variable substitution, depending on whether it is a qsys or qshell command

We create and return ISeriesCompileSubstitutorIFS or UniversalCompileSubstitutor


getCompileCommandEditPane

public SystemCompileCommandEditPane getCompileCommandEditPane(Shell shell,
                                                              ISystemCompileCommandEditPaneHoster hoster,
                                                              boolean caseSensitive)
For support of the Work With Compile Commands dialog.

Return our edit pane. Overriding this is an alternative to calling setEditPane. This is called in createContents


getNewSrcTypeDialog

protected SystemNewCompileSrcTypeDialog getNewSrcTypeDialog(Shell shell,
                                                            boolean caseSensitive)
For support of the Work With Compile Commands dialog.

Return the dialog used to prompt for a new source type when "Add..." is pressed beside the source type combo. This returns an instance of the default SystemNewCompileSrcTypeDialog.


createCompileProfile

protected SystemCompileProfile createCompileProfile(ISystemProfile profile)

getOSType

public String getOSType()

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.