Skip to content

Commit c3210e1

Browse files
Copilotlaeubi
andcommitted
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]>
1 parent 0ce1430 commit c3210e1

12 files changed

+177
-176
lines changed

docs/CSS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ They also show pseudo selectors which can be used to choose styling based on wid
106106
| setMaximized(boolean) | swt-maximized | CTabFolder { swt-maximized: true } |
107107
| setMinimized(boolean) | swt-minimized | CTabFolder { swt-minimized: true } |
108108
| setMaximizeVisible(boolean) | swt-maximize-visible | CTabFolder { swt-maximize-visible: true } |
109-
| setMinimizeVisible(boolean) | swt-minimize-visible | CTabFolder {swt- minimize-visible: true } |
109+
| setMinimizeVisible(boolean) | swt-minimize-visible | CTabFolder {swt-minimize-visible: true } |
110110
| setMRUVisible(boolean) | swt-mru-visible | CTabFolder { swt-mru-visible: true } |
111111
| setSimple(boolean) | swt-simple | CTabFolder { swt-simple: true } |
112112
| setSingle(boolean) | swt-single | CTabFolder { swt-single: true } |

docs/Command_Core_Expressions.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The <with/> element can be used to change which variable the child expression el
1919
Variables and the Command Framework
2020
===================================
2121

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)
2323

2424
Some of the variables may not be set, depending on the current application context when they are evaluated.
2525

@@ -42,7 +42,7 @@ Some of the variables may not be set, depending on the current application conte
4242
| 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 |
4343
| 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 |
4444
| 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 |
4646
| 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 |
4747

4848
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
6060
||||
6161
| --- | --- | --- |
6262
| **Namespace** | **Type** | **Implementation** |
63-
| org.eclipse.core.runtime | `org.eclipse.core.runtime.Platform` | [PlatformPropertyTester.java](https://git.eclipse.org/c/platform/eclipse.platform.runtime.git/tree/bundles/org.eclipse.core.expressions/src/org/eclipse/core/internal/expressions/propertytester/PlatformPropertyTester.java) |
63+
| org.eclipse.core.runtime | `org.eclipse.core.runtime.Platform` | [PlatformPropertyTester.java](https://github.com/eclipse-platform/eclipse.platform.runtime/blob/master/bundles/org.eclipse.core.expressions/src/org/eclipse/core/internal/expressions/propertytester/PlatformPropertyTester.java) |
6464
| **Property** | **Description**| |
6565
| product | Test the id of the currently active product. ||
6666
| isBundleInstalled | Test if a given bundle is installed in the running environment. Use the args attribute to pass in the bundle id. ||
6767
| | | |
6868
| **Namespace**| **Type**| **Implementation** |
69-
| org.eclipse.core.resources | `org.eclipse.core.resources.IResource` | [ResourcePropertyTester.java](https://git.eclipse.org/c/platform/eclipse.platform.resources.git/tree/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/propertytester/ResourcePropertyTester.java) |
69+
| org.eclipse.core.resources | `org.eclipse.core.resources.IResource` | [ResourcePropertyTester.java](https://github.com/eclipse-platform/eclipse.platform.resources/blob/master/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/propertytester/ResourcePropertyTester.java) |
7070
| **Property** | **Description** | |
7171
| name | A property indicating the file name (value `"name"`). "*" and "?" wild cards are supported. | |
7272
| 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
7979
| 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. | |
8080
| | | |
8181
| **Namespace** | **Type** | **Implementation** |
82-
| org.eclipse.core.resources | `org.eclipse.core.resources.IFile` | [FilePropertyTester.java](https://git.eclipse.org/c/platform/eclipse.platform.resources.git/tree/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/propertytester/FilePropertyTester.java) |
82+
| org.eclipse.core.resources | `org.eclipse.core.resources.IFile` | [FilePropertyTester.java](https://github.com/eclipse-platform/eclipse.platform.resources/blob/master/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/propertytester/FilePropertyTester.java) |
8383
| **Property** | **Description** | |
8484
| 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. | |
8585
| | | |
8686
| **Namespace** | **Type** | **Implementation** |
87-
| org.eclipse.core.resources | `org.eclipse.core.resources.IProject` | [ProjectPropertyTester.java](https://git.eclipse.org/c/platform/eclipse.platform.resources.git/tree/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/propertytester/ProjectPropertyTester.java) |
87+
| org.eclipse.core.resources | `org.eclipse.core.resources.IProject` | [ProjectPropertyTester.java](https://github.com/eclipse-platform/eclipse.platform.resources/blob/master/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/propertytester/ProjectPropertyTester.java) |
8888
| **Property**| **Description** | |
8989
| open | A property indicating whether the project is open (value `"open"`). | |
9090
| | | |
9191
| **Namespace** | **Type** | **Implementation** |
92-
| org.eclipse.core.resources | `org.eclipse.core.resources.mapping.ResourceMapping` | [ResourceMappingPropertyTester.java](https://git.eclipse.org/c/platform/eclipse.platform.resources.git/tree/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/propertytester/ResourceMappingPropertyTester.java) |
92+
| org.eclipse.core.resources | `org.eclipse.core.resources.mapping.ResourceMapping` | [ResourceMappingPropertyTester.java](https://github.com/eclipse-platform/eclipse.platform.resources/blob/master/bundles/org.eclipse.core.resources/src/org/eclipse/core/internal/propertytester/ResourceMappingPropertyTester.java) |
9393
| **Property** | **Description** | |
9494
| 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. | |
9595
| | | |
9696
| **Namespace** | **Type** | **Implementation** |
97-
| org.eclipse.ui | `org.eclipse.ui.IWorkbench` | [ActivityPropertyTester.java](https://git.eclipse.org/c/platform/eclipse.platform.ui.git/tree/bundles/org.eclipse.ui.workbench/Eclipse%20UI/org/eclipse/ui/internal/activities/ActivityPropertyTester.java) |
97+
| org.eclipse.ui | `org.eclipse.ui.IWorkbench` | [ActivityPropertyTester.java](https://github.com/eclipse-platform/eclipse.platform.ui/blob/master/bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/activities/ActivityPropertyTester.java) |
9898
| **Property** | **Description** | |
9999
| isActivityEnabled | Test if the activity in args is enabled. | |
100100
| isCategoryEnabled | Test if the category in args is enabled. | |
101101
| | | |
102102
| **Namespace** | **Type** | **Implementation** |
103-
| org.eclipse.ui.workbenchWindow | `org.eclipse.ui.IWorkbenchWindow` | [OpenPerspectivePropertyTester.java](https://git.eclipse.org/c/platform/eclipse.platform.ui.git/tree/bundles/org.eclipse.ui.workbench/Eclipse%20UI/org/eclipse/ui/internal/OpenPerspectivePropertyTester.java) |
103+
| org.eclipse.ui.workbenchWindow | `org.eclipse.ui.IWorkbenchWindow` | [OpenPerspectivePropertyTester.java](https://github.com/eclipse-platform/eclipse.platform.ui/blob/master/bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/OpenPerspectivePropertyTester.java) |
104104
| **Property** | **Description** | |
105105
| isPerspectiveOpen | Tests if any perspective is open. | |
106106

@@ -112,9 +112,9 @@ Here are some examples. I'll pretend all of the examples are deciding when a han
112112
Basic IStructuredSelection
113113
--------------------------
114114

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.
118118
The InfoView provides an `IStructuredSelection` with 0 or more `org.eclipse.ui.examples.contributions.model.Person`.
119119

120120
When using the default variable, you must treat it as an `java.util.Collection`.

docs/EclipsePluginDevelopmentFAQ.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ Also, Eclipse can handle jars within jars. It expands them into a temporary loca
121121

122122
The articles below may be of your interest.
123123

124-
* [Adapters](http://www.eclipse.org/articles/article.php?file=Article-Adapters/index.html)
124+
* [Adapters](https://www.eclipse.org/articles/article.php?file=Article-Adapters/index.html)
125125

126126
### How do I read from a file that I've included in my bundle/plug-in?
127127

@@ -303,7 +303,7 @@ To leverage the workbench's browser capabilities, you will have to interact with
303303
```java
304304
try {
305305
IWorkbenchBrowserSupport browserSupport = PlatformUI.getWorkbench().getBrowserSupport();
306-
browserSupport.getExternalBrowser().openURL(new URL("http://www.eclipse.org"));
306+
browserSupport.getExternalBrowser().openURL(new URL("https://www.eclipse.org"));
307307
} catch (PartInitException e) {
308308
// handle the exception
309309
}

0 commit comments

Comments
 (0)