Rational Developer for Power Systems Software
V7.6

com.ibm.etools.iseries.rse.ui.actions
Class QSYSNewObjectFilterFromLibAction

java.lang.Object
  extended by SystemNewFilterAction
      extended by com.ibm.etools.iseries.rse.ui.actions.QSYSNewFilterAction
          extended by com.ibm.etools.iseries.rse.ui.actions.QSYSNewObjectFilterAction
              extended by com.ibm.etools.iseries.rse.ui.actions.QSYSNewObjectFilterFromLibAction

public class QSYSNewObjectFilterFromLibAction
extends QSYSNewObjectFilterAction

Class for defining a new filter from an ISeries library.


Field Summary
static String copyright
           
 
Constructor Summary
QSYSNewObjectFilterFromLibAction(Shell shell, ISystemFilterPool parentPool)
          Create a QSYSNewObjectFilterFromLibAction from given shell and filter pool.
 
Method Summary
protected  void configureNewFilterWizard(SystemNewFilterWizard wizard)
          Parent intercept.
 ISystemFilterPoolReferenceManagerProvider getSystemFilterPoolReferenceManagerProvider()
          Output method.
 void run()
           
 boolean updateSelection(IStructuredSelection selection)
          Called when the selection changes in the systems view.
 
Methods inherited from class com.ibm.etools.iseries.rse.ui.actions.QSYSNewObjectFilterAction
setParentFilterPool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static String copyright
Constructor Detail

QSYSNewObjectFilterFromLibAction

public QSYSNewObjectFilterFromLibAction(Shell shell,
                                        ISystemFilterPool parentPool)
Create a QSYSNewObjectFilterFromLibAction from given shell and filter pool.

Parameters:
shell -
parentPool -
Method Detail

run

public void run()
Overrides:
run in class QSYSNewFilterAction

updateSelection

public boolean updateSelection(IStructuredSelection selection)
Called when the selection changes in the systems view. This determines the input object for the command and whether to enable or disable the action.

Overrides:
updateSelection in class QSYSNewFilterAction
Parameters:
selection - the current selection
Returns:
whether to enable or disable the action

getSystemFilterPoolReferenceManagerProvider

public ISystemFilterPoolReferenceManagerProvider getSystemFilterPoolReferenceManagerProvider()
Output method. Do not override.
Get the contextual system filter pool reference manager provider. Will return non-null if the current selection is a reference to a filter pool or filter, or a reference manager provider.


configureNewFilterWizard

protected void configureNewFilterWizard(SystemNewFilterWizard wizard)
Parent intercept.

Overridable extension. For those cases when you don't want to create your own wizard subclass, but prefer to simply configure the default wizard.

Note, at the point this is called, all the base configuration, based on the setters for this action, have been called.

We do it here versus via setters as it defers some work until the user actually selects this action.

Overrides:
configureNewFilterWizard in class QSYSNewObjectFilterAction

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.