public final class ContentSetSupport extends NavigatorInit implements Controller
| Modifier and Type | Field and Description |
|---|---|
static int |
ADD_TO_PROJECT_CMD_ID |
static int |
ADD_URL_TO_PROJECT_CMD_ID |
UPDATE_FROM_ACTION_PERFORMED, UPDATE_FROM_ACTIVE_VIEW_CHANGED, UPDATE_FROM_UNDO, UPDATE_FROM_USER_EXTENSION, UPDATE_FROM_VIEW_SELECTION_CHANGED| Modifier and Type | Method and Description |
|---|---|
void |
copyPreferencesTo(Context context) |
static MenuToolButton |
findDisplayOptionsMenu(Toolbar toolbar)
Returns the MenuToolButton for the navigator display-option actions.
|
boolean |
handleEvent(IdeAction action,
Context context)
This method is called when a user interaction with a
View
triggers the execution of a command. |
static void |
init() |
void |
initToolbar(Toolbar toolbar) |
void |
loadPreferences(PropertyAccess prefs) |
void |
savePreferences(PropertyAccess prefs) |
boolean |
update(IdeAction action,
Context context)
This method updates the enabled status of the specified action within the
specified context.
|
boolean2Str, getController, getNavigatorWindow, int2Str, setToolTipText, str2Boolean, str2Intpublic static final int ADD_URL_TO_PROJECT_CMD_ID
public static final int ADD_TO_PROJECT_CMD_ID
public static void init()
public void loadPreferences(PropertyAccess prefs)
loadPreferences in class NavigatorInitpublic void savePreferences(PropertyAccess prefs)
savePreferences in class NavigatorInitpublic void copyPreferencesTo(Context context)
copyPreferencesTo in class NavigatorInitpublic void initToolbar(Toolbar toolbar)
initToolbar in class NavigatorInitpublic boolean handleEvent(IdeAction action, Context context)
ControllerView
triggers the execution of a command.handleEvent in interface Controlleraction - action whose command is to be executed.public boolean update(IdeAction action, Context context)
Controllerupdate in interface Controlleraction - action whose command is to be executed.context - the current contextpublic static MenuToolButton findDisplayOptionsMenu(Toolbar toolbar)
toolbar - the parent navigator toolbar to search for the
display-options button