# HG changeset patch # User stechong # Date 1284581703 18000 # Node ID df3206234d8e962953fe64e625533d9533b0264d # Parent 445b096b330fb128aadeffd38a56612dcb162d6b Added status notification after installing feature(s) from SDK. diff -r 445b096b330f -r df3206234d8e core/com.nokia.carbide.cpp.sdk.ui/src/com/nokia/carbide/cpp/internal/sdk/ui/NewPluginChecker.java --- 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; diff -r 445b096b330f -r df3206234d8e core/com.nokia.carbide.discovery.ui/META-INF/MANIFEST.MF --- 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" diff -r 445b096b330f -r df3206234d8e core/com.nokia.carbide.discovery.ui/src/com/nokia/carbide/internal/discovery/ui/p2/DynamicP2Installer.java --- 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();