iSeries Remote Systems
v6.0.0

com.ibm.etools.iseries.core.compile
Class ISeriesCompileManagerIFS

java.lang.Object
  extended bycom.ibm.etools.systems.core.ui.compile.SystemCompileManager
      extended bycom.ibm.etools.iseries.core.compile.ISeriesCompileManagerIFS

public class ISeriesCompileManagerIFS
extends com.ibm.etools.systems.core.ui.compile.SystemCompileManager

Specialization of SystemCompileManager for ISeries IFS compile support


Field Summary
static String Copyright
           
 
Fields inherited from class com.ibm.etools.systems.core.ui.compile.SystemCompileManager
copyright, currentCompileCommand, subsystemFactory, systemConnection
 
Constructor Summary
ISeriesCompileManagerIFS()
          Constructor
 
Method Summary
protected  com.ibm.etools.systems.core.ui.compile.SystemCompileProfile createCompileProfile(com.ibm.etools.systems.model.SystemProfile profile)
          Overridable method to instantiate the SystemCompileProfile for the given system profile.
 com.ibm.etools.systems.core.ui.compile.ISystemCompileCommandSubstitutor createSubstitutor(com.ibm.etools.systems.model.SystemConnection connection)
          Return the substitutor for doing variable substitution.
 com.ibm.etools.systems.core.ui.compile.ISystemCompileCommandSubstitutor createSubstitutor(com.ibm.etools.systems.model.SystemConnection connection, boolean qsysCommand)
          Return the substitutor for doing variable substitution, depending on whether it is a qsys or qshell command
 com.ibm.etools.systems.core.ui.compile.SystemCompileCommandEditPane getCompileCommandEditPane(Shell shell, com.ibm.etools.systems.core.ui.compile.ISystemCompileCommandEditPaneHoster hoster, boolean caseSensitive)
          For support of the Work With Compile Commands dialog.
 com.ibm.etools.systems.core.ui.compile.SystemDefaultCompileCommands getDefaultCompileCommands()
          Return the default (supplied) compile commands to prime the compile commands with.
protected  com.ibm.etools.systems.core.ui.compile.SystemNewCompileSrcTypeDialog getNewSrcTypeDialog(Shell shell, boolean caseSensitive)
          For support of the Work With Compile Commands dialog.
 String getSourceTypePromptMRIKey()
          For support of the Work With Compile Commands dialog.
 ResourceBundle getSourceTypePromptMRIResourceBundle()
          For support of the Work With Compile Commands dialog.
 com.ibm.etools.systems.core.ui.commands.SystemCmdSubstVarList getSubstitutionVariableList()
          For support of the Work With Compile Commands dialog.
 com.ibm.etools.systems.core.ui.commands.SystemCmdSubstVarList getSubstitutionVariableList(boolean qsysCommand)
          For support of the Work With Compile Commands dialog.
protected  com.ibm.etools.systems.core.ui.compile.ISystemCompileCommandSubstitutor getSubstitutor()
          Return the substitutor for doing variable substitution.
 boolean isMultiSelectSupported(com.ibm.etools.systems.core.ui.compile.SystemCompileCommand compileCmd)
          Return true if multiple-select is supported for the compile action.
 
Methods inherited from class com.ibm.etools.systems.core.ui.compile.SystemCompileManager
addCompileActions, addMultipleSelectionCompileActions, addSingleSelectionCompileActions, getAllCompileProfiles, getCompileProfile, getCompileProfileFolder, getCurrentCompileCommand, getDefaultSuppliedCommand, getSubSystemFactory, getSystemConnection, isCompilable, profileRenamed, setCurrentCompileCommand, setSubSystemFactory, setSystemConnection, wantToPrimeWithDefaults
 
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
Constructor Detail

ISeriesCompileManagerIFS

public ISeriesCompileManagerIFS()
Constructor

Method Detail

isMultiSelectSupported

public boolean isMultiSelectSupported(com.ibm.etools.systems.core.ui.compile.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 com.ibm.etools.systems.core.ui.compile.SystemCompileProfile createCompileProfile(com.ibm.etools.systems.model.SystemProfile profile)
Overridable method to instantiate the SystemCompileProfile for the given system profile.

We return an instance of ISeriesCompileProfileIFS


getDefaultCompileCommands

public com.ibm.etools.systems.core.ui.compile.SystemDefaultCompileCommands getDefaultCompileCommands()
Return the default (supplied) compile commands to prime the compile commands with.


getSubstitutionVariableList

public com.ibm.etools.systems.core.ui.commands.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 com.ibm.etools.systems.core.ui.commands.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 com.ibm.etools.systems.core.ui.compile.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 com.ibm.etools.systems.core.ui.compile.ISystemCompileCommandSubstitutor createSubstitutor(com.ibm.etools.systems.model.SystemConnection connection)
Return the substitutor for doing variable substitution.

We create and return ISeriesCompileSubstitutorIFS


createSubstitutor

public com.ibm.etools.systems.core.ui.compile.ISystemCompileCommandSubstitutor createSubstitutor(com.ibm.etools.systems.model.SystemConnection 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 com.ibm.etools.systems.core.ui.compile.SystemCompileCommandEditPane getCompileCommandEditPane(Shell shell,
                                                                                                     com.ibm.etools.systems.core.ui.compile.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 com.ibm.etools.systems.core.ui.compile.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.


getSourceTypePromptMRIResourceBundle

public ResourceBundle getSourceTypePromptMRIResourceBundle()
For support of the Work With Compile Commands dialog.

Get the mri resource bundle for the source type prompt.


getSourceTypePromptMRIKey

public String getSourceTypePromptMRIKey()
For support of the Work With Compile Commands dialog.

Get the mri resource bundle key for the source type prompt. Will add ".label" and ".tooltip" to it.


iSeries Remote Systems
v6.0.0

Copyright © 2005 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.