import org.eclipse.ui.forms.widgets.ScrolledForm;
/**
- * Exposes the various group id of a distribution as a tree.
+ * Expose Maven artifacts of a given workspace as a tree. Artifacts are grouped
+ * by Maven group.
*/
public class ArtifactsBrowserPage extends FormPage implements DistConstants,
RepoConstants {
-
- final static String PAGE_ID = "artifactsBrowserPage";
// private final static Log log = LogFactory
// .getLog(ArtifactsBrowserPage.class);
+ final static String PAGE_ID = "artifactsBrowserPage";
+
// Business object
private Session session;
try {
ScrolledForm form = managedForm.getForm();
Composite parent = form.getBody();
- // Enable the different parts to fill the whole page when the tab is
- // maximized
parent.setLayout(new FillLayout());
createExportPackageSection(parent);
getEditor().getSite().setSelectionProvider(artifactTreeViewer);
try {
if (node.isNodeType(SlcTypes.SLC_GROUP_BASE))
- return DistImages.IMG_WKSP;
+ return DistImages.IMG_GROUP_BASE;
else if (node.isNodeType(SlcTypes.SLC_ARTIFACT_BASE))
return DistImages.IMG_ARTIFACT_BASE;
else if (node