diff options
Diffstat (limited to 'scripting/java/org/openoffice/netbeans')
12 files changed, 0 insertions, 42 deletions
diff --git a/scripting/java/org/openoffice/netbeans/modules/office/actions/DeployParcelAction.java b/scripting/java/org/openoffice/netbeans/modules/office/actions/DeployParcelAction.java index 2cb4099d4c65..e7da54240c71 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/actions/DeployParcelAction.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/actions/DeployParcelAction.java @@ -143,7 +143,6 @@ public class DeployParcelAction extends CookieAction implements Presenter.Popup if (result == true && target.isDirectory()) { showNagDialog(); - // refreshOffice((String)versions.get(label)); } } }); diff --git a/scripting/java/org/openoffice/netbeans/modules/office/actions/ParcelDescriptorEditorSupport.java b/scripting/java/org/openoffice/netbeans/modules/office/actions/ParcelDescriptorEditorSupport.java index 634a5ed65591..00402b93409d 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/actions/ParcelDescriptorEditorSupport.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/actions/ParcelDescriptorEditorSupport.java @@ -90,8 +90,6 @@ public class ParcelDescriptorEditorSupport extends DataEditorSupport implements */ private static class ParcelDescriptorEnv extends DataEditorSupport.Env { - //private static final long serialVersionUID = ...L; - /** Create a new environment based on the data object. * @param obj the data object to edit */ diff --git a/scripting/java/org/openoffice/netbeans/modules/office/loader/OfficeDocumentDataLoader.java b/scripting/java/org/openoffice/netbeans/modules/office/loader/OfficeDocumentDataLoader.java index 663f2119ae6a..968173dcefc1 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/loader/OfficeDocumentDataLoader.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/loader/OfficeDocumentDataLoader.java @@ -69,7 +69,6 @@ public class OfficeDocumentDataLoader extends UniFileLoader { jarFs.setJarFile(document); } catch (IOException e) { - // TopManager.getDefault().notify(new NotifyDescriptor.Exception(e, "asdf")); return null; } catch (Exception e) { @@ -81,7 +80,6 @@ public class OfficeDocumentDataLoader extends UniFileLoader { protected SystemAction[] defaultActions() { return new SystemAction[] { SystemAction.get(OpenAction.class), - // SystemAction.get(MountDocumentAction.class), null, SystemAction.get(CutAction.class), SystemAction.get(CopyAction.class), @@ -90,7 +88,6 @@ public class OfficeDocumentDataLoader extends UniFileLoader { SystemAction.get(DeleteAction.class), SystemAction.get(RenameAction.class), null, - // SystemAction.get(ToolsAction.class), SystemAction.get(PropertiesAction.class), }; } diff --git a/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelDataLoader.java b/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelDataLoader.java index b41063ff5092..14e968668f71 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelDataLoader.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelDataLoader.java @@ -57,17 +57,14 @@ public class ParcelDataLoader extends UniFileLoader { protected SystemAction[] defaultActions() { return new SystemAction[] { - // SystemAction.get(MountParcelAction.class), SystemAction.get(DeployParcelAction.class), null, SystemAction.get(CutAction.class), SystemAction.get(CopyAction.class), - // SystemAction.get(PasteAction.class), null, SystemAction.get(DeleteAction.class), SystemAction.get(RenameAction.class), null, - // SystemAction.get(ToolsAction.class), SystemAction.get(PropertiesAction.class), }; } diff --git a/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelDescriptorDataLoader.java b/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelDescriptorDataLoader.java index 810a3f9ed48e..8f6083ae00d8 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelDescriptorDataLoader.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelDescriptorDataLoader.java @@ -48,17 +48,12 @@ public class ParcelDescriptorDataLoader extends UniFileLoader { protected void initialize() { super.initialize(); - // ExtensionList extensions = new ExtensionList(); - // extensions.addMimeType("text/x-parcel+xml"); - // extensions.addExtension("pml"); getExtensions().addMimeType("text/x-parcel+xml"); - // setExtensions(extensions); } protected SystemAction[] defaultActions() { return new SystemAction[] { SystemAction.get(OpenAction.class), - // SystemAction.get(GenerateParcelAction.class), null, SystemAction.get(CutAction.class), SystemAction.get(CopyAction.class), @@ -67,9 +62,6 @@ public class ParcelDescriptorDataLoader extends UniFileLoader { SystemAction.get(DeleteAction.class), SystemAction.get(RenameAction.class), null, - // SystemAction.get(SaveAsTemplateAction.class), - // null, - // SystemAction.get(ToolsAction.class), SystemAction.get(PropertiesAction.class), }; } diff --git a/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelFolder.java b/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelFolder.java index dbcb806adf34..cb03c0c8f35d 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelFolder.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelFolder.java @@ -126,18 +126,12 @@ public class ParcelFolder extends DataFolder { sheet.put(props); } - // prop = createLocationProperty(); - // props.put(prop); - prop = createFilterProperty(); props.put(prop); prop = createFilterProperty(); props.put(prop); - // prop = createLanguageProperty(); - // props.put(prop); - prop = createClasspathProperty(); props.put(prop); diff --git a/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelFolderDataLoader.java b/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelFolderDataLoader.java index 3f0684655ac4..3b435fe5b17d 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelFolderDataLoader.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/loader/ParcelFolderDataLoader.java @@ -68,25 +68,16 @@ public class ParcelFolderDataLoader extends UniFileLoader { protected SystemAction[] defaultActions() { return new SystemAction[] { - // SystemAction.get(OpenLocalExplorerAction.class), - // SystemAction.get(FindAction.class), - // null, - // SystemAction.get(FileSystemAction.class), - // null, SystemAction.get(CompileParcelAction.class), SystemAction.get(BuildParcelAction.class), SystemAction.get(ConfigureParcelAction.class), null, SystemAction.get(CutAction.class), SystemAction.get(CopyAction.class), - // SystemAction.get(PasteAction.class), null, SystemAction.get(DeleteAction.class), SystemAction.get(RenameAction.class), null, - // SystemAction.get(SaveAsTemplateAction.class), - // null, - // SystemAction.get(ToolsAction.class), SystemAction.get(PropertiesAction.class), }; } diff --git a/scripting/java/org/openoffice/netbeans/modules/office/options/OfficeSettings.java b/scripting/java/org/openoffice/netbeans/modules/office/options/OfficeSettings.java index 1279ffe9e45a..1b0283e96678 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/options/OfficeSettings.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/options/OfficeSettings.java @@ -34,8 +34,6 @@ import org.openoffice.idesupport.OfficeInstallation; */ public class OfficeSettings extends SystemOption { - // private static final long serialVersionUID = ...; - public static final String OFFICE_DIRECTORY = "OfficeDirectory"; public static final String WARN_BEFORE_DOC_DEPLOY = "WarnBeforeDocDeploy"; public static final String WARN_BEFORE_PARCEL_DELETE = "WarnBeforeParcelDelete"; diff --git a/scripting/java/org/openoffice/netbeans/modules/office/utils/FrameworkJarChecker.java b/scripting/java/org/openoffice/netbeans/modules/office/utils/FrameworkJarChecker.java index c5bb4acc2d88..de74e8b181d3 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/utils/FrameworkJarChecker.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/utils/FrameworkJarChecker.java @@ -63,7 +63,6 @@ public class FrameworkJarChecker { } if(result == null) { - // warnBeforeMount(); JarFileSystem newjfs = new JarFileSystem(); try { newjfs.setJarFile(unoilFile); diff --git a/scripting/java/org/openoffice/netbeans/modules/office/wizard/JavaScriptIterator.java b/scripting/java/org/openoffice/netbeans/modules/office/wizard/JavaScriptIterator.java index 844bcf24cf88..bf22ecfc35d2 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/wizard/JavaScriptIterator.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/wizard/JavaScriptIterator.java @@ -54,8 +54,6 @@ import org.openoffice.netbeans.modules.office.utils.PackageRemover; public class JavaScriptIterator implements TemplateWizard.Iterator { - // private static final long serialVersionUID = ...L; - // You should define what panels you want to use here: protected WizardDescriptor.Panel[] createPanels() { diff --git a/scripting/java/org/openoffice/netbeans/modules/office/wizard/ParcelContentsIterator.java b/scripting/java/org/openoffice/netbeans/modules/office/wizard/ParcelContentsIterator.java index 03a8a0bfe4cf..7fbcd34bfe97 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/wizard/ParcelContentsIterator.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/wizard/ParcelContentsIterator.java @@ -55,8 +55,6 @@ import org.openoffice.netbeans.modules.office.filesystem.OpenOfficeDocFileSystem public class ParcelContentsIterator implements TemplateWizard.Iterator { - // private static final long serialVersionUID = ...L; - // You should define what panels you want to use here: public static final String PROP_LANGUAGE = diff --git a/scripting/java/org/openoffice/netbeans/modules/office/wizard/SelectPathPanel.java b/scripting/java/org/openoffice/netbeans/modules/office/wizard/SelectPathPanel.java index 65bb1b3ebb03..66fb0a29821a 100644 --- a/scripting/java/org/openoffice/netbeans/modules/office/wizard/SelectPathPanel.java +++ b/scripting/java/org/openoffice/netbeans/modules/office/wizard/SelectPathPanel.java @@ -85,9 +85,6 @@ public class SelectPathPanel implements WizardDescriptor.Panel /* .FinishPanel * // and uncomment the complicated stuff below. } - // public final void addChangeListener(ChangeListener l) {} - // public final void removeChangeListener(ChangeListener l) {} - private final Set listeners = new HashSet(1); // Set<ChangeListener> public final void addChangeListener(ChangeListener l) { synchronized (listeners) { |