]> git.argeo.org Git - gpl/argeo-slc.git/blobdiff - plugins/org.argeo.slc.client.ui.dist/src/main/java/org/argeo/slc/client/ui/dist/editors/BundleDetailsPage.java
Work on index policies.
[gpl/argeo-slc.git] / plugins / org.argeo.slc.client.ui.dist / src / main / java / org / argeo / slc / client / ui / dist / editors / BundleDetailsPage.java
index b9e7ab30662bd947fcf5e0b3820acb3015509895..e34c2dbf51ea51da0b38b6a24816446618406668 100644 (file)
@@ -33,6 +33,7 @@ import org.argeo.slc.jcr.SlcNames;
 import org.argeo.slc.jcr.SlcTypes;
 import org.argeo.slc.repo.RepoConstants;
 import org.argeo.slc.repo.RepoUtils;
+import org.eclipse.jface.dialogs.IMessageProvider;
 import org.eclipse.jface.viewers.ColumnLabelProvider;
 import org.eclipse.jface.viewers.IStructuredContentProvider;
 import org.eclipse.jface.viewers.ITreeContentProvider;
@@ -64,9 +65,8 @@ import org.eclipse.ui.forms.widgets.ScrolledForm;
 import org.eclipse.ui.forms.widgets.Section;
 
 /**
- * Presents main information of a given OSGI bundle
+ * Present main information of a given OSGI bundle
  */
-
 public class BundleDetailsPage extends FormPage implements SlcNames, SlcTypes {
        // private final static Log log =
        // LogFactory.getLog(ArtifactDetailsPage.class);
@@ -90,6 +90,7 @@ public class BundleDetailsPage extends FormPage implements SlcNames, SlcTypes {
                        form.setText(currBundle.hasProperty(DistConstants.SLC_BUNDLE_NAME) ? currBundle
                                        .getProperty(DistConstants.SLC_BUNDLE_NAME).getString()
                                        : "");
+                       form.setMessage(" ", IMessageProvider.NONE);
                        Composite body = form.getBody();
                        GridLayout layout = new GridLayout(1, false);
                        layout.marginWidth = 5;
@@ -109,7 +110,7 @@ public class BundleDetailsPage extends FormPage implements SlcNames, SlcTypes {
                }
        }
 
-       /** Add useful info for the current bundle */
+       /** Displays useful info for the current bundle */
        private void createdetailsPart(Composite parent) throws RepositoryException {
                Composite details = toolkit.createComposite(parent);
                GridLayout layout = new GridLayout(2, false);
@@ -122,7 +123,6 @@ public class BundleDetailsPage extends FormPage implements SlcNames, SlcTypes {
                createHyperlink(details, "Licence", DistConstants.SLC_BUNDLE_LICENCE);
                createField(details, "Vendor", DistConstants.SLC_BUNDLE_VENDOR);
                addSourceAvailableLabel(details);
-
        }
 
        // helper to check if sources are available