diff options
author | Pascal Rapicault | 2014-11-04 21:43:27 +0000 |
---|---|---|
committer | Pascal Rapicault | 2014-11-04 21:43:27 +0000 |
commit | 5eaa208019d3f5399d371f53e7662edc89e5b0e3 (patch) | |
tree | 9714e81618a109b87967b0a903c4bf292251ed68 /bundles/org.eclipse.equinox.p2.core | |
parent | e3cb43a3e2b4862b9a02aad6664fa54c564e0b1b (diff) | |
download | rt.equinox.p2-5eaa208019d3f5399d371f53e7662edc89e5b0e3.tar.gz rt.equinox.p2-5eaa208019d3f5399d371f53e7662edc89e5b0e3.tar.xz rt.equinox.p2-5eaa208019d3f5399d371f53e7662edc89e5b0e3.zip |
Add support to open information dialog
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.core')
-rw-r--r-- | bundles/org.eclipse.equinox.p2.core/META-INF/MANIFEST.MF | 2 | ||||
-rw-r--r-- | bundles/org.eclipse.equinox.p2.core/src/org/eclipse/equinox/p2/core/UIServices.java | 12 |
2 files changed, 12 insertions, 2 deletions
diff --git a/bundles/org.eclipse.equinox.p2.core/META-INF/MANIFEST.MF b/bundles/org.eclipse.equinox.p2.core/META-INF/MANIFEST.MF index 3b34ccf85..19c380c86 100644 --- a/bundles/org.eclipse.equinox.p2.core/META-INF/MANIFEST.MF +++ b/bundles/org.eclipse.equinox.p2.core/META-INF/MANIFEST.MF @@ -2,7 +2,7 @@ Manifest-Version: 1.0 Bundle-ManifestVersion: 2 Bundle-Name: %pluginName Bundle-SymbolicName: org.eclipse.equinox.p2.core;singleton:=true -Bundle-Version: 2.3.0.qualifier +Bundle-Version: 2.4.0.qualifier Bundle-ClassPath: . Bundle-Activator: org.eclipse.equinox.internal.p2.core.Activator Bundle-Vendor: %providerName diff --git a/bundles/org.eclipse.equinox.p2.core/src/org/eclipse/equinox/p2/core/UIServices.java b/bundles/org.eclipse.equinox.p2.core/src/org/eclipse/equinox/p2/core/UIServices.java index 161622745..c77895342 100644 --- a/bundles/org.eclipse.equinox.p2.core/src/org/eclipse/equinox/p2/core/UIServices.java +++ b/bundles/org.eclipse.equinox.p2.core/src/org/eclipse/equinox/p2/core/UIServices.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2008, 2012 IBM Corporation and others. + * Copyright (c) 2008, 2014 IBM Corporation and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -7,6 +7,7 @@ * * Contributors: * IBM Corporation - initial API and implementation + * Rapicorp, Inc. - add support for information dialog *******************************************************************************/ package org.eclipse.equinox.p2.core; @@ -142,4 +143,13 @@ public abstract class UIServices { * unsigned content. */ public abstract TrustInfo getTrustInfo(Certificate[][] untrustedChain, String[] unsignedDetail); + + /** + * Opens an information dialog + * @param title - the title of the dialog + * @param text - the text shown in the dialog + */ + public void showInformationMessage(String title, String text) { + System.out.println(text); + } } |