Added status notification after installing feature(s) from SDK.
--- a/core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/internal/sdk/ui/NewPluginChecker.java Wed Sep 15 14:45:18 2010 -0500
+++ b/core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/internal/sdk/ui/NewPluginChecker.java Wed Sep 15 15:15:03 2010 -0500
@@ -70,7 +70,7 @@
sbsv2BuildInfo.setPreviouslyScanned(true);
File featureDir = new File(sdk.getEPOCROOT() + SDK_FEATURE_SUBDIR);
try {
- IStatus status = DynamicP2Installer.install(featureDir, subMonitor);
+ IStatus status = DynamicP2Installer.install(sdk.getUniqueId(), featureDir, subMonitor);
if (status.isOK()) {
// TODO advise user??
installed = true;
--- a/core/com.nokia.carbide.discovery.ui/META-INF/MANIFEST.MF Wed Sep 15 14:45:18 2010 -0500
+++ b/core/com.nokia.carbide.discovery.ui/META-INF/MANIFEST.MF Wed Sep 15 15:15:03 2010 -0500
@@ -22,6 +22,7 @@
org.eclipse.jface.text,
org.eclipse.ui.editors,
org.eclipse.ui.forms;bundle-version="3.5.0",
+ com.nokia.carbide.remoteConnections;bundle-version="3.0.0",
com.nokia.cpp.utils.ui;bundle-version="1.0.0",
com.nokia.cpp.utils.core;bundle-version="1.0.0",
org.eclipse.equinox.p2.touchpoint.natives;bundle-version="1.0.200"
--- a/core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/internal/discovery/ui/p2/DynamicP2Installer.java Wed Sep 15 14:45:18 2010 -0500
+++ b/core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/internal/discovery/ui/p2/DynamicP2Installer.java Wed Sep 15 15:15:03 2010 -0500
@@ -39,6 +39,7 @@
import org.eclipse.equinox.p2.ui.ProvisioningUI;
import com.nokia.carbide.discovery.ui.Activator;
+import com.nokia.carbide.remoteconnections.RemoteConnectionsActivator;
/**
* Installer to install features from a p2 repository at a supplied URL or directory.
@@ -80,10 +81,12 @@
* @param monitor An implementation of IProgressMonitor, usually showing the
* installation progress as a Progress Bar to the user.
*/
- public static IStatus install(File repositoryDirectory, IProgressMonitor monitor) {
+ public static IStatus install(String sdkId, File repositoryDirectory, IProgressMonitor monitor) {
try {
DynamicP2Installer installer = new DynamicP2Installer(repositoryDirectory);
installer.doInstall(monitor);
+ RemoteConnectionsActivator.getStatusDisplay().displayStatus(
+ Activator.makeStatus(IStatus.INFO, "Installed features from " + sdkId, null));
return Status.OK_STATUS;
} catch (CoreException e) {
return e.getStatus();