import org.eclipse.ui.forms.editor.FormEditor;
/**
- *
- * Exposes a bundle and enable its management
- *
+ * Expose a bundle and enable its management
*/
public class GenericBundleEditor extends FormEditor {
-
// private final static Log log =
// LogFactory.getLog(GenericNodeEditor.class);
+
public final static String ID = DistPlugin.ID + ".genericBundleEditor";
// business objects
try {
bundleDetailsPage = new BundleDetailsPage(this, "Main", bundleNode);
addPage(bundleDetailsPage);
- bundleRawPage = new BundleRawPage(this, "Main", bundleNode);
+ bundleRawPage = new BundleRawPage(this, "Raw info", bundleNode);
addPage(bundleRawPage);
} catch (PartInitException e) {
throw new ArgeoException("Not able to add an empty page ", e);
}
}
- @Override
- public void doSaveAs() {
- // unused compulsory method
- }
-
@Override
public void doSave(IProgressMonitor monitor) {
try {
}
+ // unused compulsory methods
@Override
public boolean isSaveAsAllowed() {
- return true;
+ return false;
}
-}
+
+ @Override
+ public void doSaveAs() {
+ }
+
+}
\ No newline at end of file