Home
last modified time | relevance | path

Searched refs:parameterizedCommand (Results 1 – 25 of 25) 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/actions/
H A DCommandAction.java49 private ParameterizedCommand parameterizedCommand = null; field in CommandAction
114 parameterizedCommand = new ParameterizedCommand(cmd, null); in createCommand()
128 parameterizedCommand = null; in dispose()
135 : parameterizedCommand.getId()); in runWithEvent()
141 if (parameterizedCommand != null) { in runWithEvent()
165 if (parameterizedCommand != null) { in init()
166 setId(parameterizedCommand.getId()); in init()
167 setActionDefinitionId(parameterizedCommand.getId()); in init()
169 setText(parameterizedCommand.getName()); in init()
175 setEnabled(parameterizedCommand.getCommand().isEnabled()); in init()
[all …]
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/keys/
H A DBindingPersistence.java494 final ParameterizedCommand parameterizedCommand = command != null in readBindingsFromPreferences() local
660 sequenceModifier, parameterizedCommand.getId(), ATT_REPLACE, replaceSequence); in applyModifiers()
799 final ParameterizedCommand parameterizedCommand; in readParameterizedCommand() local
801 parameterizedCommand = null; in readParameterizedCommand()
805 parameterizedCommand = ParameterizedCommand.generateCommand(command, parms); in readParameterizedCommand()
807 parameterizedCommand = readParameters(configurationElement, warningsToLog, command); in readParameterizedCommand()
809 return parameterizedCommand; in readParameterizedCommand()
1027 final ParameterizedCommand parameterizedCommand = binding.getParameterizedCommand(); in writeBindingToPreferences() local
1028 final String commandId = (parameterizedCommand == null) ? null : parameterizedCommand.getId(); in writeBindingToPreferences()
1034 if (parameterizedCommand != null) { in writeBindingToPreferences()
[all …]
H A DKeysPreferencePage.java1957 private void updateTableBindingsForCommand(final ParameterizedCommand parameterizedCommand) { in updateTableBindingsForCommand() argument
1966 if (!Objects.equals(parameterizedCommand, binding.getParameterizedCommand())) { in updateTableBindingsForCommand()
2017 final ParameterizedCommand parameterizedCommand = binding.getParameterizedCommand(); in updateTableBindingsForTriggerSequence() local
2018 final Command command = parameterizedCommand.getCommand(); in updateTableBindingsForTriggerSequence()
2040 tableItem.setText(2, parameterizedCommand.getName()); in updateTableBindingsForTriggerSequence()
H A DBindingService.java149 public TriggerSequence[] getActiveBindingsFor(ParameterizedCommand parameterizedCommand) { in getActiveBindingsFor() argument
150 Collection<TriggerSequence> seq = bindingService.getSequencesFor(parameterizedCommand); in getActiveBindingsFor()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/keys/model/
H A DBindingModel.java110 …ParameterizedCommand parameterizedCommand = ((Binding) element.getModelObject()).getParameterizedC… in copy() local
111 be.init(parameterizedCommand); in copy()
114 commandToElement.put(parameterizedCommand, be); in copy()
206 ParameterizedCommand parameterizedCommand = b.getParameterizedCommand(); in refresh() local
207 cmdsForBindings.add(parameterizedCommand); in refresh()
216 if (commandToElement.containsKey(parameterizedCommand) in refresh()
218 Object remove = commandToElement.remove(parameterizedCommand); in refresh()
314 ParameterizedCommand parameterizedCommand = keyBinding.getParameterizedCommand(); in remove() local
315 bindingElement.fill(parameterizedCommand); in remove()
316 commandToElement.put(parameterizedCommand, bindingElement); in remove()
H A DBindingElement.java210 public void fill(ParameterizedCommand parameterizedCommand) { in fill() argument
211 setCommandInfo(parameterizedCommand); in fill()
215 setModelObject(parameterizedCommand); in fill()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/api/
H A DGenericCommandActionDelegate.java63 private ParameterizedCommand parameterizedCommand = null; field in GenericCommandActionDelegate
70 parameterizedCommand = null; in dispose()
83 } else if (parameterizedCommand != null) { in run()
84 handlerService.executeCommand(parameterizedCommand, null); in run()
161 parameterizedCommand = new ParameterizedCommand(cmd, in createCommand()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.text/org.eclipse.ui.genericeditor.examples/src/org/eclipse/ui/genericeditor/examples/dotproject/hyperlink/
H A DShowInSystemExplorerHyperlink.java60 …ParameterizedCommand parameterizedCommand = commandService.createCommand(ShowInSystemExplorerHandl… in open() local
62 if (handlerService.canExecute(parameterizedCommand)) { in open()
63 handlerService.executeHandler(parameterizedCommand); in open()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.jface/src/org/eclipse/jface/bindings/
H A DBindingManagerEvent.java186 final ParameterizedCommand parameterizedCommand) { in isActiveBindingsChangedFor() argument
188 .getActiveBindingsFor(parameterizedCommand); in isActiveBindingsChangedFor()
192 .get(parameterizedCommand); in isActiveBindingsChangedFor()
H A DBindingManager.java1131 final ParameterizedCommand parameterizedCommand) { in getActiveBindingsDisregardingContextFor() argument
1133 .get(parameterizedCommand); in getActiveBindingsDisregardingContextFor()
1162 final ParameterizedCommand parameterizedCommand) { in getActiveBindingsFor() argument
1164 parameterizedCommand); in getActiveBindingsFor()
1194 final ParameterizedCommand parameterizedCommand = new ParameterizedCommand( in getActiveBindingsFor() local
1196 return getActiveBindingsFor(parameterizedCommand); in getActiveBindingsFor()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/commands/
H A DCommandLegacyWrapper.java60 private ParameterizedCommand parameterizedCommand; field in CommandLegacyWrapper
139 if (parameterizedCommand == null) { in getKeySequenceBindings()
140 parameterizedCommand = new ParameterizedCommand(command, null); in getKeySequenceBindings()
143 …final TriggerSequence[] activeBindings = bindingService.getActiveBindingsFor(parameterizedCommand); in getKeySequenceBindings()
H A DSlaveCommandService.java249 …public Runnable registerElementForUpdate(ParameterizedCommand parameterizedCommand, final MItem it… in registerElementForUpdate() argument
285 final IElementReference reference = registerElementForCommand(parameterizedCommand, element); in registerElementForUpdate()
H A DCommandService.java340 …public Runnable registerElementForUpdate(ParameterizedCommand parameterizedCommand, final MItem it… in registerElementForUpdate() argument
376 final IElementReference reference = registerElementForCommand(parameterizedCommand, element); in registerElementForUpdate()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/commands/
H A DToggleStateTest.java135 …ParameterizedCommand parameterizedCommand = new ParameterizedCommand(command1, new Parameterizatio… in test03MultipleContributions() local
140 …IElementReference reference1 = commandService.registerElementForCommand(parameterizedCommand, elem… in test03MultipleContributions()
141 …IElementReference reference2 = commandService.registerElementForCommand(parameterizedCommand, elem… in test03MultipleContributions()
H A DRadioStateTest.java71 ParameterizedCommand parameterizedCommand = new ParameterizedCommand( in testRadioValues() local
73 handlerService.executeCommand(parameterizedCommand, null); in testRadioValues()
78 handlerService.executeCommand(parameterizedCommand, null); in testRadioValues()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.e4.ui.bindings/src/org/eclipse/e4/ui/bindings/internal/
H A DBindingTableManager.java165 ParameterizedCommand parameterizedCommand) { in getBestSequenceFor() argument
167 parameterizedCommand); in getBestSequenceFor()
175 ParameterizedCommand parameterizedCommand) { in getSequencesFor() argument
183 Collection<Binding> sequences = table.getSequencesFor(parameterizedCommand); in getSequencesFor()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.e4.ui.bindings/src/org/eclipse/e4/ui/bindings/keys/
H A DKeyBindingDispatcher.java277 public final boolean executeCommand(final ParameterizedCommand parameterizedCommand, in executeCommand() argument
284 final Command command = parameterizedCommand.getCommand(); in executeCommand()
304 …logger.trace("Command " + parameterizedCommand + ", defined: " + commandDefined + ", handled: " //… in executeCommand()
308 handlerService.executeHandler(parameterizedCommand, staticContext); in executeCommand()
315 "Execution exception for: " + parameterizedCommand + " in " //$NON-NLS-1$//$NON-NLS-2$ in executeCommand()
321 "Command exception for: " + parameterizedCommand + " in " //$NON-NLS-1$ //$NON-NLS-2$ in executeCommand()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/progress/
H A DProgressContantsTest.java86 ParameterizedCommand parameterizedCommand = new ParameterizedCommand(command, null); in testCommandProperty() local
87 okJob.setProperty(IProgressConstants2.COMMAND_PROPERTY, parameterizedCommand); in testCommandProperty()
124 ParameterizedCommand parameterizedCommand = new ParameterizedCommand(command, null); in testCommandPropertyEnablement() local
125 okJob.setProperty(IProgressConstants2.COMMAND_PROPERTY, parameterizedCommand); in testCommandPropertyEnablement()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.ui.tests/Eclipse UI Tests/org/eclipse/ui/tests/contexts/
H A DBug84763Test.java142 final ParameterizedCommand parameterizedCommand = new ParameterizedCommand( in testWindowChildWhenDialog() local
145 .getInstance("CTRL+F"), parameterizedCommand, scheme.getId(), in testWindowChildWhenDialog()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/internal/workbench/renderers/swt/
H A DIUpdateService.java30 ParameterizedCommand parameterizedCommand, MItem item); in registerElementForUpdate() argument
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.e4.ui.tests/src/org/eclipse/e4/ui/tests/workbench/
H A DHandlerActivationTest.java76 private ParameterizedCommand parameterizedCommand; field in HandlerActivationTest
152 parameterizedCommand = commandService.createCommand(COMMANDID, null); in createLayoutWithThreeContextLayers()
320 handlerService.executeHandler(parameterizedCommand); in executeCommand()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/keys/
H A DIBindingService.java99 TriggerSequence[] getActiveBindingsFor(ParameterizedCommand parameterizedCommand); in getActiveBindingsFor() argument
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/tests/org.eclipse.ui.tests.performance/src/org/eclipse/ui/tests/performance/
H A DCommandsPerformanceTest.java344 final ParameterizedCommand parameterizedCommand = new ParameterizedCommand( in doSetUp() local
347 parameterizedCommand, schemeId, contextId, locale, in doSetUp()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.jface/src/org/eclipse/jface/action/
H A DExternalActionManager.java259 final ParameterizedCommand parameterizedCommand = new ParameterizedCommand( in bindingManagerChanged() local
261 if (event.isActiveBindingsChangedFor(parameterizedCommand)) { in bindingManagerChanged()
/dports/java/eclipse/eclipse.platform.releng.aggregator-R4_16/eclipse.platform.ui/bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/dialogs/
H A DResourceInfoPage.java347 ParameterizedCommand parameterizedCommand = commandService in createBasicInfoGroup()
350 if (handlerService.canExecute(parameterizedCommand)) { in createBasicInfoGroup()
351 handlerService.executeHandler(parameterizedCommand); in createBasicInfoGroup()