Remote Systems
v6.4.1

com.ibm.etools.systems.core.ui.actions
Class SystemShowPreferencesPageAction

java.lang.Object
  extended byAction
      extended bycom.ibm.etools.systems.core.ui.actions.SystemBaseAction
          extended bycom.ibm.etools.systems.core.ui.actions.SystemShowPreferencesPageAction
All Implemented Interfaces:
ISystemAction

public class SystemShowPreferencesPageAction
extends SystemBaseAction

This action will launch the Prefences dialog, but only rooted at a given preference page (it will include its children underneath), including the child pages registered under that page ("category").

This is used by the com.ibm.etools.systems.core.remoteSystemsViewPreferencesActions extension point.

See Also:
SystemCascadingPreferencesAction, Serialized Form

Field Summary
static String copyright
           
 
Fields inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseAction
allowOnMultipleSelection, arrowCursor, helpId, selectionSensitive, shell, sSelection, traceSelections, traceTarget, viewer, waitCursor
 
Constructor Summary
SystemShowPreferencesPageAction()
          Constructor.
 
Method Summary
 PreferenceManager getPreferenceManager()
           
 void init(IViewPart view)
           
 void run()
          This is the method called when the user selects this action.
 void run(IAction action)
           
 void selectionChanged(IAction action, ISelection selection)
           
 void setPreferencePageCategory(String preferencePageCategory)
          Set the category of the pages to be shown.
 void setPreferencePageID(String preferencePageID)
          Set ID of the preference root page to show.
 void setPreferencePageID(String[] preferencePageIDs)
          Set IDs of the preference root pages to show.
 
Methods inherited from class com.ibm.etools.systems.core.ui.actions.SystemBaseAction
allowOnMultipleSelection, checkObjectType, getAdapter, getContextMenuGroup, getCurrentTreeView, getDescription, getFirstSelection, getHelpContextId, getLabel, getNextSelection, getRemoteAdapter, getSelection, getSelectionProvider, getShell, getShell, getString, getStringOrNull, getSystemConnection, getToolTip, getViewer, isDummy, isEnabled, isSelectionSensitive, issueTraceMessage, selectionChanged, setAvailableOffline, setBusyCursor, setContextMenuGroup, setDisplayCursor, setDisplayCursor, setHelp, setInputs, setSelection, setSelectionProvider, setSelectionSensitive, setShell, setSystemConnection, setTracing, setTracing, setViewer, updateSelection
 
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

SystemShowPreferencesPageAction

public SystemShowPreferencesPageAction()
Constructor. We are instantiated inside SystemPlugin#getPreferencePageActionPlugins() for each extension of our extension point com.ibm.etools.systems.core.remoteSystemsViewPreferencesActions

Method Detail

setPreferencePageID

public void setPreferencePageID(String preferencePageID)
Set ID of the preference root page to show.

Parameters:
preferencePageID - The ID of the preference page root to show. All child nodes will also be shown.

setPreferencePageID

public void setPreferencePageID(String[] preferencePageIDs)
Set IDs of the preference root pages to show.

Parameters:
preferencePageIDs - The IDs of the preference page roots to show. All child nodes will also be shown.

setPreferencePageCategory

public void setPreferencePageCategory(String preferencePageCategory)
Set the category of the pages to be shown. This only needs to be called for non-root pages. Note that the ID to give here is not of the immediate parent, but that of the root parent. It tells us which root subtree to search for the given page(s).


init

public void init(IViewPart view)
See Also:
IViewActionDelegate#init(IViewPart)

run

public void run(IAction action)
See Also:
IActionDelegate#run(IAction)

selectionChanged

public void selectionChanged(IAction action,
                             ISelection selection)
See Also:
IActionDelegate#selectionChanged(IAction, ISelection)

run

public void run()
This is the method called when the user selects this action.

Overrides:
run in class SystemBaseAction
See Also:
Action

getPreferenceManager

public PreferenceManager getPreferenceManager()

Remote Systems
v6.4.1

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.