Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Keppler2018-11-11 02:55:05 -0500
committerAlexander Kurtakov2019-01-23 11:00:16 -0500
commit64a8aedde1d4b1e2edaa20e055c9e18eeb5fb22c (patch)
treeb4edba43e94817ee443c43a32efaf7839f8dd9b1
parent14297cdf8c5f9e3a78193c2911770bb55623d900 (diff)
downloadrt.equinox.p2-64a8aedde1d4b1e2edaa20e055c9e18eeb5fb22c.tar.gz
rt.equinox.p2-64a8aedde1d4b1e2edaa20e055c9e18eeb5fb22c.tar.xz
rt.equinox.p2-64a8aedde1d4b1e2edaa20e055c9e18eeb5fb22c.zip
Bug 541004 - Update site preference page: Double click to editY20190123-2200I20190124-0930I20190123-1800
Invoke the functionality for editing an update site on double clicking the repository table. Change-Id: I0c0be22f453a54798ca58cd20b0a11e5ab3c7047 Signed-off-by: Michael Keppler <Michael.Keppler@gmx.de>
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/META-INF/MANIFEST.MF2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/pom.xml2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/RepositoryManipulationPage.java5
3 files changed, 7 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui/META-INF/MANIFEST.MF b/bundles/org.eclipse.equinox.p2.ui/META-INF/MANIFEST.MF
index 8af540bd4..edbc39be9 100644
--- a/bundles/org.eclipse.equinox.p2.ui/META-INF/MANIFEST.MF
+++ b/bundles/org.eclipse.equinox.p2.ui/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %bundleName
Bundle-SymbolicName: org.eclipse.equinox.p2.ui;singleton:=true
-Bundle-Version: 2.5.400.qualifier
+Bundle-Version: 2.5.500.qualifier
Bundle-Activator: org.eclipse.equinox.internal.p2.ui.ProvUIActivator
Bundle-Vendor: %providerName
Bundle-Localization: plugin
diff --git a/bundles/org.eclipse.equinox.p2.ui/pom.xml b/bundles/org.eclipse.equinox.p2.ui/pom.xml
index 189079189..1b75c50b1 100644
--- a/bundles/org.eclipse.equinox.p2.ui/pom.xml
+++ b/bundles/org.eclipse.equinox.p2.ui/pom.xml
@@ -19,6 +19,6 @@
</parent>
<groupId>org.eclipse.equinox</groupId>
<artifactId>org.eclipse.equinox.p2.ui</artifactId>
- <version>2.5.400-SNAPSHOT</version>
+ <version>2.5.500-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/RepositoryManipulationPage.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/RepositoryManipulationPage.java
index 9e13047e0..3a5dbce02 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/RepositoryManipulationPage.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/RepositoryManipulationPage.java
@@ -312,6 +312,11 @@ public class RepositoryManipulationPage extends PreferencePage implements IWorkb
setDetails();
});
+ repositoryViewer.addDoubleClickListener(event -> {
+ if (policy.getRepositoriesVisible())
+ changeRepositoryProperties();
+ });
+
repositoryViewer.setCheckStateProvider(new ICheckStateProvider() {
@Override
public boolean isChecked(Object element) {

Back to the top