1.1 --- a/jasm/Manifest.mf Tue Apr 29 22:52:09 2003 +0000
1.2 +++ b/jasm/Manifest.mf Wed Apr 30 16:38:11 2003 +0000
1.3 @@ -6,7 +6,7 @@
1.4 OpenIDE-Module-Display-Category: Java
1.5 OpenIDE-Module-Module-Dependencies: org.netbeans.modules.editor/1 > 1.4, org.openide.src > 1.0, org.openide.deprecated > 1.0, org.openide.compiler > 1.0, org.openide.execution > 1.0
1.6 OpenIDE-Module-Install: org/netbeans/modules/jasm/JASMModule.class
1.7 -OpenIDE-Module-Specification-Version: 0.2
1.8 +OpenIDE-Module-Specification-Version: 0.3.1
1.9 OpenIDE-Module-Implementation-Version: @BUILD_NUMBER_SUBST@
1.10 OpenIDE-Module-IDE-Dependencies: IDE/1 > 3.17
1.11
2.1 --- a/jasm/src/org/netbeans/modules/jasm/Bundle.properties Tue Apr 29 22:52:09 2003 +0000
2.2 +++ b/jasm/src/org/netbeans/modules/jasm/Bundle.properties Wed Apr 30 16:38:11 2003 +0000
2.3 @@ -7,3 +7,5 @@
2.4 LBL_DecompileAction_Finished=Finished decompilating
2.5 LBL_BrowseAction=Browse Classes by
2.6 LBL_BrowseAction_Finished=Browsing
2.7 +
2.8 +NAME_EditorSettings=JRAW Editor
3.1 --- a/jasm/src/org/netbeans/modules/jasm/JRAWEditorSupport.java Tue Apr 29 22:52:09 2003 +0000
3.2 +++ b/jasm/src/org/netbeans/modules/jasm/JRAWEditorSupport.java Wed Apr 30 16:38:11 2003 +0000
3.3 @@ -41,7 +41,7 @@
3.4
3.5 JRAWEditorSupport(JRAWDataObject obj) {
3.6 super (obj, new Environment (obj));
3.7 - setMIMEType ("text/jraw"); // NOI18N
3.8 + setMIMEType (JRAWKit.JRAW_MIME_TYPE); // NOI18N
3.9 }
3.10
3.11 protected boolean notifyModified () {
4.1 --- a/jasm/src/org/netbeans/modules/jasm/JRAWKit.java Tue Apr 29 22:52:09 2003 +0000
4.2 +++ b/jasm/src/org/netbeans/modules/jasm/JRAWKit.java Wed Apr 30 16:38:11 2003 +0000
4.3 @@ -49,7 +49,7 @@
4.4
4.5 public class JRAWKit extends NbEditorKit {
4.6
4.7 - public static final String JRAW_MIME_TYPE = "text/jraw"; // NOI18N
4.8 + public static final String JRAW_MIME_TYPE = "text/x-jraw"; // NOI18N
4.9
4.10 static final long serialVersionUID = -1445829962533684923L;
4.11
5.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
5.2 +++ b/jasm/src/org/netbeans/modules/jasm/JRAWOptions.java Wed Apr 30 16:38:11 2003 +0000
5.3 @@ -0,0 +1,36 @@
5.4 +/*
5.5 + * Sun Public License Notice
5.6 + *
5.7 + * The contents of this file are subject to the Sun Public License
5.8 + * Version 1.0 (the "License"). You may not use this file except in
5.9 + * compliance with the License. A copy of the License is available at
5.10 + * http://www.sun.com/
5.11 + *
5.12 + * The Original Code is NetBeans. The Initial Developer of the Original
5.13 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun
5.14 + * Microsystems, Inc. All Rights Reserved.
5.15 + */
5.16 +
5.17 +package org.netbeans.modules.jasm;
5.18 +
5.19 +import org.netbeans.modules.editor.options.BaseOptions;
5.20 +
5.21 +import org.openide.util.HelpCtx;
5.22 +import org.openide.util.NbBundle;
5.23 +
5.24 +
5.25 +public class JRAWOptions extends BaseOptions {
5.26 +
5.27 + static final long serialVersionUID = 5640805428824290883L;
5.28 +
5.29 + public static final String MIME = "jraw"; // NOI18N
5.30 +
5.31 + public JRAWOptions() {
5.32 + super(JRAWKit.class, MIME);
5.33 + }
5.34 +
5.35 + public String displayName () {
5.36 + return NbBundle.getBundle (JRAWOptions.class).getString ("NAME_EditorSettings"); // NOI18N
5.37 + }
5.38 +
5.39 +}
6.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
6.2 +++ b/jasm/src/org/netbeans/modules/jasm/JRAWOptionsBeanInfo.java Wed Apr 30 16:38:11 2003 +0000
6.3 @@ -0,0 +1,29 @@
6.4 +/*
6.5 + * Sun Public License Notice
6.6 + *
6.7 + * The contents of this file are subject to the Sun Public License
6.8 + * Version 1.0 (the "License"). You may not use this file except in
6.9 + * compliance with the License. A copy of the License is available at
6.10 + * http://www.sun.com/
6.11 + *
6.12 + * The Original Code is NetBeans. The Initial Developer of the Original
6.13 + * Code is Sun Microsystems, Inc. Portions Copyright 1997-2000 Sun
6.14 + * Microsystems, Inc. All Rights Reserved.
6.15 + */
6.16 +
6.17 +package org.netbeans.modules.jasm;
6.18 +
6.19 +import org.netbeans.modules.editor.options.OptionSupport;
6.20 +import org.netbeans.modules.editor.options.PlainOptionsBeanInfo;
6.21 +
6.22 +public class JRAWOptionsBeanInfo extends PlainOptionsBeanInfo {
6.23 +
6.24 + public JRAWOptionsBeanInfo() {
6.25 + super ("/org/netbeans/modules/editor/resources/htmlOptions"); // NOI18N
6.26 + }
6.27 +
6.28 + protected Class getBeanClass() {
6.29 + return JRAWOptions.class;
6.30 + }
6.31 +
6.32 +}
7.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
7.2 +++ b/jasm/src/org/netbeans/modules/jasm/resources/JRAWOptions.settings Wed Apr 30 16:38:11 2003 +0000
7.3 @@ -0,0 +1,13 @@
7.4 +<?xml version="1.0"?>
7.5 +<!DOCTYPE settings PUBLIC "-//NetBeans//DTD Session settings 1.0//EN" "http://www.netbeans.org/dtds/sessionsettings-1_0.dtd">
7.6 +<settings version="1.0">
7.7 + <module name="org.netbeans.modules.editor/1"/>
7.8 + <instanceof class="java.io.Externalizable"/>
7.9 + <instanceof class="org.openide.util.SharedClassObject"/>
7.10 + <instanceof class="java.beans.beancontext.BeanContextProxy"/>
7.11 + <instanceof class="java.io.Serializable"/>
7.12 + <instanceof class="org.openide.options.SystemOption"/>
7.13 + <instanceof class="org.netbeans.modules.editor.options.OptionSupport"/>
7.14 + <instanceof class="org.netbeans.modules.editor.options.BaseOptions"/>
7.15 + <instance class="org.netbeans.modules.jasm.JRAWOptions"/>
7.16 +</settings>
8.1 --- a/jasm/src/org/netbeans/modules/jasm/resources/mf-layer.xml Tue Apr 29 22:52:09 2003 +0000
8.2 +++ b/jasm/src/org/netbeans/modules/jasm/resources/mf-layer.xml Wed Apr 30 16:38:11 2003 +0000
8.3 @@ -23,12 +23,22 @@
8.4 <attr name="SystemFileSystem.layer" stringvalue="project"/>
8.5 </file>
8.6 </folder>
8.7 - <folder name="UI">
8.8 - <folder name="Services">
8.9 - <folder name="Editing">
8.10 - <file name="org-netbeans-modules-jasm-resources-JASMSettings.shadow" url="JASMSettings.shadow"/>
8.11 - </folder> <!-- Editing -->
8.12 - </folder> <!-- Services -->
8.13 - </folder> <!-- UI -->
8.14 + <folder name="UI">
8.15 + <folder name="Services">
8.16 + <folder name="Editing">
8.17 + <file name="org-netbeans-modules-jasm-resources-JASMSettings.shadow" url="JASMSettings.shadow"/>
8.18 + </folder> <!-- Editing -->
8.19 + </folder> <!-- Services -->
8.20 + </folder> <!-- UI -->
8.21 + <folder name="Editors">
8.22 + <folder name="text">
8.23 + <folder name="x-jraw">
8.24 + <file name="Settings.settings" url="JRAWOptions.settings"/>
8.25 + <file name="EditorKit.instance">
8.26 + <attr name="instanceClass" stringvalue="org.netbeans.modules.jasm.JRAWKit"/>
8.27 + </file>
8.28 + </folder>
8.29 + </folder>
8.30 + </folder>
8.31
8.32 </filesystem>