Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by SystemNewFilterAction
      extended by com.ibm.etools.iseries.rse.ui.actions.QSYSNewFilterAction
Direct Known Subclasses:
QSYSNewCommandFilterAction, QSYSNewJobFilterAction, QSYSNewLibraryFilterAction, QSYSNewLibraryListFilterAction, QSYSNewMemberFilterAction, QSYSNewObjectFilterAction

public class QSYSNewFilterAction
extends SystemNewFilterAction

The action that displays the New File Filter wizard. File Filters are typed filters that allow users to get a list of files meeting the filtering criteria.


Constructor Summary
QSYSNewFilterAction(Shell shell, ISystemFilterPool parentPool, String label, String tooltip, ImageDescriptor image)
          Constructor
 
Method Summary
 void run()
           
 void setParentFilterPool(ISystemFilterPool parentPool)
          Set the parent filter pool that the new-filter actions need.
 boolean updateSelection(IStructuredSelection selection)
          Called when the selection changes in the systems view.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

QSYSNewFilterAction

public QSYSNewFilterAction(Shell shell,
                           ISystemFilterPool parentPool,
                           String label,
                           String tooltip,
                           ImageDescriptor image)
Constructor

Method Detail

setParentFilterPool

public void setParentFilterPool(ISystemFilterPool parentPool)
Set the parent filter pool that the new-filter actions need.


run

public void run()

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.

Parameters:
selection - the current seleciton
Returns:
whether to enable or disable the action

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.