oracle.ide.navigator
Class ContentSetSupport
java.lang.Object
oracle.ide.navigator.NavigatorInit
oracle.ide.navigator.ContentSetSupport
- All Implemented Interfaces:
- Controller
public final class ContentSetSupport
- extends NavigatorInit
- implements Controller
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ADD_URL_TO_PROJECT_CMD_ID
public static final int ADD_URL_TO_PROJECT_CMD_ID
ADD_TO_PROJECT_CMD_ID
public static final int ADD_TO_PROJECT_CMD_ID
init
public static void init(ProjectNavigatorManager nav)
loadPreferences
public void loadPreferences(PropertyAccess prefs)
- Overrides:
loadPreferences
in class NavigatorInit
savePreferences
public void savePreferences(PropertyAccess prefs)
- Overrides:
savePreferences
in class NavigatorInit
copyPreferencesTo
public void copyPreferencesTo(Context context)
- Overrides:
copyPreferencesTo
in class NavigatorInit
initToolbar
public void initToolbar(Toolbar toolbar)
- Overrides:
initToolbar
in class NavigatorInit
handleEvent
public boolean handleEvent(IdeAction action,
Context context)
- Description copied from interface:
Controller
- This method is called when a user interaction with a
View
triggers the execution of a command.
- Specified by:
handleEvent
in interface Controller
- Parameters:
action
- action whose command is to be executed.
- Returns:
- true if the controller handles the specified command.
update
public boolean update(IdeAction action,
Context context)
- Description copied from interface:
Controller
- This method updates the enabled status of the specified action within the
specified context. It should generally be called on the controller
associated with the active view to allow that controller to take the
first crack at determining its enabled status. If that controller
wants to update its enabled status, it does so and returns true to
indicate that further controllers do not need to be consulted. If the
controller does not deal with setting the enabled status of an action,
it delegates the request to its supervising controller, all the way up
to the Ide. The Ide has a special implementation of update(xx) that
further delegates the request to root controllers, until one of them
returns true indicating the request was handled by the controller.
- Specified by:
update
in interface Controller
- Parameters:
action
- action whose command is to be executed.context
- the current context
- Returns:
- true if the controller handles the specified command.
findDisplayOptionsMenu
public static MenuToolButton findDisplayOptionsMenu(Toolbar toolbar)
Copyright © 1997, 2011, Oracle. All rights reserved.