Rational Developer for Power Systems Software
V7.6

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

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

public class QSYSCompileManager
extends SystemCompileManager

Specialization of SystemCompileManager for ISeries native qsys compile support


Field Summary
static String Copyright
           
protected  String osTypeWithSubsystem
           
 
Constructor Summary
QSYSCompileManager()
          Constructor for ISeriesCompileManager
 
Method Summary
 void addMultipleSelectionCompileActions(Shell shell, IStructuredSelection selection, SystemMenuManager menu, String menuGroup)
           
protected  SystemCompileProfile createCompileProfile(ISystemProfile profile)
           
protected  SystemCompileProfile createCompileProfile(SystemProfile profile)
          Overridable method to instantiate the SystemCompileProfile for the given system profile.
protected  ISystemCompileCommandSubstitutor createSubstitutor(IHost connection)
           
 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.
 boolean isCompilable(Object selection)
          Return true if the given remote object is potentially compilable.
 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

QSYSCompileManager

public QSYSCompileManager()
Constructor for ISeriesCompileManager

Method Detail

isMultiSelectSupported

public boolean isMultiSelectSupported(SystemCompileCommand compileCmd)
Return true if multiple-select is supported for the compile action. We return false. Todo: support multi-select QSYS compiles


createCompileProfile

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

We return an instance of ISeriesCompileProfile


getDefaultCompileCommands

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


isCompilable

public boolean isCompilable(Object selection)
Return true if the given remote object is potentially compilable. This decides the existence of the Compile menu item. It is possible to enable/disable this if there is no current compile command... this is a more course grained decision.


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. This is overridable, and typically is overridden.


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.


addMultipleSelectionCompileActions

public void addMultipleSelectionCompileActions(Shell shell,
                                               IStructuredSelection selection,
                                               SystemMenuManager menu,
                                               String menuGroup)
See Also:
com.ibm.etools.systems.core.ui.compile.SystemCompileManager#addMultipleSelectionCompileActions(org.eclipse.swt.widgets.Shell, org.eclipse.jface.viewers.IStructuredSelection, com.ibm.etools.systems.core.ui.SystemMenuManager, java.lang.String)

createCompileProfile

protected SystemCompileProfile createCompileProfile(ISystemProfile profile)

createSubstitutor

protected ISystemCompileCommandSubstitutor createSubstitutor(IHost connection)

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.