You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix typos, broken links, and HTTP→HTTPS updates in docs
Update outdated git.eclipse.org URLs to GitHub in JFaceDataBinding.md
Update outdated git.eclipse.org URLs to GitHub in Update HTTP to HTTPS
for eclipse.org links and update outdated version info
Fix additional broken internal links in Rich_Client_Platform_FAQ.md
Fix broken GitHub links and update RCP disk footprint info
Co-authored-by: laeubi <[email protected]>
Copy file name to clipboardExpand all lines: docs/Command_Core_Expressions.md
+12-12Lines changed: 12 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ The <with/> element can be used to change which variable the child expression el
19
19
Variables and the Command Framework
20
20
===================================
21
21
22
-
The variables used for command framework evaluation are listed in [ISources.java](https://git.eclipse.org/c/platform/eclipse.platform.ui.git/tree/bundles/org.eclipse.ui.workbench/Eclipse%20UI/org/eclipse/ui/ISources.java)
22
+
The variables used for command framework evaluation are listed in [ISources.java](https://github.com/eclipse-platform/eclipse.platform.ui/blob/master/bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/ISources.java)
23
23
24
24
Some of the variables may not be set, depending on the current application context when they are evaluated.
25
25
@@ -42,7 +42,7 @@ Some of the variables may not be set, depending on the current application conte
42
42
| activeMenu | A `java.util.Collection` of `java.lang.String`| This is the list of IDs of the showing context menu. Examples are like #TextEditorRuler or a part ID. Most commonly used with <iterate/>, <count/>, and <test/> with a combined `org.eclipse.common.expressions.PropertyTester`. | 3.2 |
43
43
| activeMenuSelection |`org.eclipse.jface.viewers.ISelection`| This is a selection that is available while a context menu is showing. It is the selection from the selection provider used to register the context menu, usually from `getSite().registerContextMenu(*)`. It is usually the same as the `selection`variable, but not always. This is more for legacy compatibility. | 3.3 |
44
44
| activeMenuEditorInput |`org.eclipse.jface.viewers.ISelection`| This is a selection that is available while a context menu is showing. It is the selection from the editor input, usually if includeEditorInput was set to `true` during `getEditorSite().registerContextMenu(*)`. This is more for legacy compatibility. | 3.3 |
45
-
| activeFocusControl |`org.eclipse.swt.widgets.Control`| A control that has focus and has been registered with the [IFocusService](https://git.eclipse.org/c/platform/eclipse.platform.ui.git/tree/bundles/org.eclipse.ui.workbench/Eclipse%20UI/org/eclipse/ui/swt/IFocusService.java). | 3.3 |
45
+
| activeFocusControl |`org.eclipse.swt.widgets.Control`| A control that has focus and has been registered with the [IFocusService](https://github.com/eclipse-platform/eclipse.platform.ui/blob/master/bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/swt/IFocusService.java). | 3.3 |
46
46
| activeFocusControlId |`java.lang.String`| The ID of a control that has focus and has been registered with the `org.eclipse.ui.swt.IFocusService`. | 3.3 |
47
47
48
48
Note: All these variables can be used with <test/> and a `org.eclipse.common.expressions.PropertyTester`.
@@ -60,13 +60,13 @@ For example, to test an IResource name the property would be `org.eclipse.core.r
| name | A property indicating the file name (value `"name"`). "*" and "?" wild cards are supported. ||
72
72
| path | A property indicating the file path (value `"path"`). "*" and "?" wild cards are supported. ||
@@ -79,28 +79,28 @@ For example, to test an IResource name the property would be `org.eclipse.core.r
79
79
| projectSessionProperty | A property indicating a session property on the selected resource's project. (value `"projectSessionProperty"`). If two arguments are given, this treats the first as the property name, and the second as the expected property value. If only one argument (or just the expected value) is given, this treats it as the property name, and simply tests for existence of the property on the resource. ||
| contentTypeId | A property indicating that we are looking to verify that the file matches the content type matching the given identifier. The identifier is provided as the expected value. ||
| projectPersistentProperty | A property indicating a persistent property on the selected resource's project. (value `"projectPersistentProperty"`). If two arguments are given, this treats the first as the property name, and the second as the expected property value. If only one argument (or just the expected value) is given, this treats it as the property name, and simply tests for existence of the property on the resource. ||
| isPerspectiveOpen | Tests if any perspective is open. ||
106
106
@@ -112,9 +112,9 @@ Here are some examples. I'll pretend all of the examples are deciding when a han
112
112
Basic IStructuredSelection
113
113
--------------------------
114
114
115
-
A view provides a structured selection through its selection provider.
116
-
An example would be the InfoView in **org.eclipse.ui.examples.contributions**.
117
-
You can browse the [plugin.xml](http://git.eclipse.org/c/platform/eclipse.platform.ui.git/tree/examples/org.eclipse.ui.examples.contributions/plugin.xml) and [InfoView.java](http://git.eclipse.org/c/platform/eclipse.platform.ui.git/tree/examples/org.eclipse.ui.examples.contributions/src/org/eclipse/ui/examples/contributions/view/InfoView.java) files.
115
+
A view provides a structured selection through its selection provider.
116
+
An example would be the InfoView in **org.eclipse.ui.examples.contributions**.
117
+
You can browse the [plugin.xml](https://github.com/eclipse-platform/eclipse.platform.ui/blob/master/examples/org.eclipse.ui.examples.contributions/plugin.xml) and [InfoView.java](https://github.com/eclipse-platform/eclipse.platform.ui/blob/master/examples/org.eclipse.ui.examples.contributions/src/org/eclipse/ui/examples/contributions/view/InfoView.java) files.
118
118
The InfoView provides an `IStructuredSelection` with 0 or more `org.eclipse.ui.examples.contributions.model.Person`.
119
119
120
120
When using the default variable, you must treat it as an `java.util.Collection`.
0 commit comments