private void updateFilterActions(IAction[] filterActions) { if (filterActions != null) { for (IAction curr : filterActions) { if (curr instanceof IUpdate) { ((IUpdate) curr).update(); } } } }
private void update(IAction action) { if (action instanceof IUpdate) ((IUpdate) action).update(); }
private void updateFilterActions(IAction[] filterActions) { if (filterActions != null) { for (int i= 0; i < filterActions.length; i++) { IAction curr= filterActions[i]; if (curr instanceof IUpdate) { ((IUpdate) curr).update(); } } } }
/** * Updates all the registered updatables. */ public void updateObjects() { for (IUpdate update : fUpdateables) { update.update(); } }
/** * Updates the enabled state of all <code>IUpdate</code> actions associated with the project viewer. */ private void updateProjectActions() { for (IUpdate update : updateProjectActions) { update.update(); } }
protected void updateAction(String actionId) { IAction action= fGlobalActions.get(actionId); if (action instanceof IUpdate) ((IUpdate) action).update(); }
private void updateAction(String actionId) { IAction action= fGlobalActions.get(actionId); if (action instanceof IUpdate) ((IUpdate) action).update(); }
private void updateUndoAction() { IAction action = (IAction) _fGlobalActions.get(ITextEditorActionConstants.UNDO); if (action instanceof IUpdate) { ((IUpdate) action).update(); } }
/** * Updates the global action with the given id * * @param actionId action definition id */ protected void updateAction(String actionId) { IAction action= (IAction)fGlobalActions.get(actionId); if (action instanceof IUpdate) { ((IUpdate) action).update(); } }
private void updateUndoAction() { IAction action= (IAction) fGlobalActions.get(ITextEditorActionConstants.UNDO); if (action instanceof IUpdate) ((IUpdate) action).update(); }
private void updateAction(String actionId) { IAction action= (IAction) fGlobalActions.get(actionId); if (action instanceof IUpdate) ((IUpdate) action).update(); }
protected void updateAction(String actionId) { IAction action= (IAction) fGlobalActions.get(actionId); if (action instanceof IUpdate) ((IUpdate) action).update(); }
private void updateAction(String actionId) { IAction action= fGlobalActions.get(actionId); if (action instanceof IUpdate) ((IUpdate) action).update(); }
protected void updateAction(String actionId) { IAction action= fGlobalActions.get(actionId); if (action instanceof IUpdate) ((IUpdate) action).update(); }
protected void updateUndoAction() { IAction action= (IAction) fGlobalActions.get(ITextEditorActionConstants.UNDO); if (action instanceof IUpdate) ((IUpdate) action).update(); }
protected void updateAction(String actionId) { IAction action= (IAction)fGlobalActions.get(actionId); if (action instanceof IUpdate) { ((IUpdate) action).update(); } } /**
private void updateAction(String actionId) { IAction action = (IAction) _fGlobalActions.get(actionId); if (action instanceof IUpdate) { ((IUpdate) action).update(); } }
/** * Updates the global action with the given id * * @param actionId action definition id */ protected void updateAction(String actionId) { IAction action= fGlobalActions.get(actionId); if (action instanceof IUpdate) { ((IUpdate) action).update(); } }
/** * Updates the specified action by calling <code>IUpdate.update</code> * if applicable. * * @param actionId the action id */ private void updateAction(String actionId) { Assert.isNotNull(actionId); if (fActions != null) { IAction action= fActions.get(actionId); if (action instanceof IUpdate) ((IUpdate) action).update(); } }
/** * Updates the specified action by calling <code>IUpdate.update</code> * if applicable. * * @param actionId the action id */ private void updateAction(String actionId) { Assert.isNotNull(actionId); if (fActions != null) { IAction action= fActions.get(actionId); if (action instanceof IUpdate) ((IUpdate) action).update(); } }