Rational Developer for Power Systems Software
V7.6

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

java.lang.Object
  extended by SystemBaseAction
      extended by com.ibm.etools.iseries.rse.ui.actions.QSYSRemotePropertiesAction

public class QSYSRemotePropertiesAction
extends SystemBaseAction


Field Summary
static String copyright
           
 
Constructor Summary
QSYSRemotePropertiesAction(Shell shell)
          Constructor
 
Method Summary
 boolean hasPropertyPagesFor(Object object)
          Returns whether the provided object has pages registered in the property page manager.
 boolean isApplicableForSelection()
          Returns whether this action is actually applicable to the current selection.
 void run()
          The PropertyDialogAction implementation of this IAction method performs the action by opening the Property Page Dialog for the current selection.
 boolean updateSelection(IStructuredSelection selection)
          We override from parent to do unique checking...
 
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

QSYSRemotePropertiesAction

public QSYSRemotePropertiesAction(Shell shell)
Constructor

Method Detail

updateSelection

public boolean updateSelection(IStructuredSelection selection)
We override from parent to do unique checking...

It is too expense to check for registered property pages at popup time, so we just return true.

See Also:
SystemBaseAction#updateSelection(IStructuredSelection)

hasPropertyPagesFor

public boolean hasPropertyPagesFor(Object object)
Returns whether the provided object has pages registered in the property page manager.


isApplicableForSelection

public boolean isApplicableForSelection()
Returns whether this action is actually applicable to the current selection. Returns true if there are any registered property pages applicable for the given input object.

This method is generally too expensive to use when updating the enabled state of the action.

Returns:
true if there are property pages for the currently selected element, and false otherwise

run

public void run()
The PropertyDialogAction implementation of this IAction method performs the action by opening the Property Page Dialog for the current selection. If no pages are found, an informative message dialog is presented instead.


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.