You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by st...@apache.org on 2014/04/24 12:04:27 UTC

svn commit: r1589656 - /sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/internal/InstallEditorSection.java

Author: stefanegli
Date: Thu Apr 24 10:04:27 2014
New Revision: 1589656

URL: http://svn.apache.org/r1589656
Log:
SLING-3009 : for now, provide a (Reinstall) link in the launchpad-editor to help work-around certain issues

Modified:
    sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/internal/InstallEditorSection.java

Modified: sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/internal/InstallEditorSection.java
URL: http://svn.apache.org/viewvc/sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/internal/InstallEditorSection.java?rev=1589656&r1=1589655&r2=1589656&view=diff
==============================================================================
--- sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/internal/InstallEditorSection.java (original)
+++ sling/trunk/tooling/ide/eclipse-ui/src/org/apache/sling/ide/eclipse/ui/internal/InstallEditorSection.java Thu Apr 24 10:04:27 2014
@@ -290,10 +290,12 @@ public class InstallEditorSection extend
         if (serverVersion == null || embeddedVersion.compareTo(serverVersion) > 0) {
             supportBundleVersionLabel
                     .setText("Installation support bundle is not present our outdated, deployment will not work");
+            installOrUpdateSupportBundleLink.setText("(Install)");
             installOrUpdateSupportBundleLink.setEnabled(true);
         } else {
             supportBundleVersionLabel.setText("Installation support bundle is present and up to date.");
-            installOrUpdateSupportBundleLink.setEnabled(false);
+            installOrUpdateSupportBundleLink.setText("(Reinstall)");
+            installOrUpdateSupportBundleLink.setEnabled(true);
         }
 
         actionArea.pack();