Home
last modified time | relevance | path

Searched refs:handlerActivations (Results 1 – 6 of 6) sorted by relevance

/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/handlers/
H A DLegacyHandlerService.java103 if (handlerActivations != null) { in compute()
174 if (handlerActivations != null) { in registerLegacyHandler()
175 handlerActivations.add(activation); in registerLegacyHandler()
184 if (handlerActivations == null) { in addHandlerActivation()
190 handlerActivations = new ArrayList<>(handlerActivations); in addHandlerActivation()
192 handlerActivations.add(eActivation); in addHandlerActivation()
201 if (handlerActivations == null) { in removeHandlerActivation()
204 handlerActivations = new ArrayList<>(handlerActivations); in removeHandlerActivation()
206 handlerActivations.remove(eActivation); in removeHandlerActivation()
270 handlerActivations.clear(); in clearActivations()
[all …]
H A DHandlerPersistence.java72 private final Collection<IHandlerActivation> handlerActivations = new ArrayList<>(); field in HandlerPersistence
103 handlerService.deactivateHandlers(handlerActivations); in clearActivations()
104 Iterator<IHandlerActivation> i = handlerActivations.iterator(); in clearActivations()
116 handlerActivations.clear(); in clearActivations()
239 handlerActivations.add(handlerService.activateHandler(commandId, in readDefaultHandlersFromRegistry()
289 handlerActivations.add(handlerService.activateHandler(commandId, proxy, activeWhenExpression)); in readHandlersFromRegistry()
326 handlerActivations.add(handlerService.activateHandler(commandId, in readHandlerSubmissionsFromRegistry()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/menus/
H A DLegacyActionPersistence.java102 private final Collection<IHandlerActivation> handlerActivations = new ArrayList<>(); field in LegacyActionPersistence
135 handlerActivations.clear(); in clearActivations()
138 service.deactivateHandlers(handlerActivations); in clearActivations()
139 final Iterator<IHandlerActivation> activationItr = handlerActivations.iterator(); in clearActivations()
147 handlerActivations.clear(); in clearActivations()
348 handlerActivations.add(handlerActivation); in convertActionToHandler()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.jdt.ui/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/preferences/
H A DEditTemplateDialog.java497 final ArrayList<IHandlerActivation> handlerActivations= new ArrayList<>(3); in initializeActions() local
504 handlerService.deactivateHandlers(handlerActivations); in initializeActions()
511 handlerService.deactivateHandlers(handlerActivations); in initializeActions()
516handlerActivations.add(handlerService.activateHandler(IWorkbenchCommandConstants.EDIT_REDO, new Ac… in initializeActions()
518handlerActivations.add(handlerService.activateHandler(IWorkbenchCommandConstants.EDIT_UNDO, new Ac… in initializeActions()
520handlerActivations.add(handlerService.activateHandler(ITextEditorActionDefinitionIds.CONTENT_ASSIS… in initializeActions()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.ui.workbench.texteditor/src/org/eclipse/ui/texteditor/templates/
H A DTemplatePreferencePage.java530 final ArrayList<IHandlerActivation> handlerActivations= new ArrayList<>(3); in initializeActions() local
534 getShell().addDisposeListener(e -> handlerService.deactivateHandlers(handlerActivations)); in initializeActions()
539 handlerService.deactivateHandlers(handlerActivations); in initializeActions()
545handlerActivations.add(handlerService.activateHandler(IWorkbenchCommandConstants.EDIT_REDO, new Ac… in initializeActions()
547handlerActivations.add(handlerService.activateHandler(IWorkbenchCommandConstants.EDIT_UNDO, new Ac… in initializeActions()
549handlerActivations.add(handlerService.activateHandler(ITextEditorActionDefinitionIds.CONTENT_ASSIS… in initializeActions()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/
H A DWorkbenchWindow.java1541 private List<IHandlerActivation> handlerActivations = new ArrayList<>(); field in WorkbenchWindow
1616 Iterator<IHandlerActivation> existingIter = handlerActivations.iterator(); in submitGlobalActions()
1641 handlerActivations = newHandlers; in submitGlobalActions()
2078 handlerService.deactivateHandlers(handlerActivations); in hardClose()
2079 final Iterator<IHandlerActivation> activationItr = handlerActivations.iterator(); in hardClose()
2084 handlerActivations.clear(); in hardClose()