Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!
View | Details | Raw Unified | Return to bug 156111
Collapse All | Expand All

(-)mobility.editor/nbproject/project.xml (+9 lines)
 Lines 143-148    Link Here 
143
                    </run-dependency>
143
                    </run-dependency>
144
                </dependency>
144
                </dependency>
145
                <dependency>
145
                <dependency>
146
                    <code-name-base>org.netbeans.modules.java.editor</code-name-base>
147
                    <build-prerequisite/>
148
                    <compile-dependency/>
149
                    <run-dependency>
150
                        <release-version>1</release-version>
151
                        <implementation-version/>
152
                    </run-dependency>
153
                </dependency>
154
                <dependency>
146
                    <code-name-base>org.netbeans.modules.java.project</code-name-base>
155
                    <code-name-base>org.netbeans.modules.java.project</code-name-base>
147
                    <build-prerequisite/>
156
                    <build-prerequisite/>
148
                    <compile-dependency/>
157
                    <compile-dependency/>
(-)mobility.editor/src/org/netbeans/modules/mobility/editor/J2MEKit.java (-8 / +2 lines)
 Lines 59-71    Link Here 
59
import javax.swing.text.JTextComponent;
59
import javax.swing.text.JTextComponent;
60
import javax.swing.text.Keymap;
60
import javax.swing.text.Keymap;
61
61
62
import javax.swing.text.TextAction;
63
import org.netbeans.editor.BaseAction;
62
import org.netbeans.editor.BaseAction;
64
import org.netbeans.editor.BaseKit;
63
import org.netbeans.editor.BaseKit;
65
import org.netbeans.editor.Utilities;
64
import org.netbeans.editor.Utilities;
66
import org.netbeans.mobility.antext.preprocessor.PPLine;
65
import org.netbeans.mobility.antext.preprocessor.PPLine;
67
import org.netbeans.modules.editor.MainMenuAction;
66
import org.netbeans.modules.editor.MainMenuAction;
68
import org.netbeans.modules.editor.NbEditorKit;
67
import org.netbeans.modules.editor.java.JavaKit;
69
import org.netbeans.modules.mobility.editor.actions.AddElifBlockAction;
68
import org.netbeans.modules.mobility.editor.actions.AddElifBlockAction;
70
import org.netbeans.modules.mobility.editor.actions.AddProjectConfigurationAction;
69
import org.netbeans.modules.mobility.editor.actions.AddProjectConfigurationAction;
71
import org.netbeans.modules.mobility.editor.actions.CreateDebugBlockAction;
70
import org.netbeans.modules.mobility.editor.actions.CreateDebugBlockAction;
 Lines 81-87    Link Here 
81
 * @author Adam Sotona
80
 * @author Adam Sotona
82
 *
81
 *
83
 */
82
 */
84
public class J2MEKit extends NbEditorKit {
83
public class J2MEKit extends JavaKit {
85
    
84
    
86
    static final long serialVersionUID = -5445285962533684922L;
85
    static final long serialVersionUID = -5445285962533684922L;
87
    
86
    
 Lines 89-99    Link Here 
89
    public static final String PROJECT_CLIENT_PROPERTY = "projoject-client-property"; // NOI18N
88
    public static final String PROJECT_CLIENT_PROPERTY = "projoject-client-property"; // NOI18N
90
89
91
    @Override
90
    @Override
92
    public String getContentType() {
93
        return "text/x-java"; //NOI18N
94
    }
95
96
    @Override
97
    public Document createDefaultDocument() {
91
    public Document createDefaultDocument() {
98
        Document doc = new J2MEEditorDocument(getContentType());
92
        Document doc = new J2MEEditorDocument(getContentType());
99
        Object mimeType = doc.getProperty("mimeType"); //NOI18N
93
        Object mimeType = doc.getProperty("mimeType"); //NOI18N

Return to bug 156111
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo