This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

View | Details | Raw Unified | Return to bug 153015
Collapse All | Expand All

(-)a/ant.freeform/src/org/netbeans/modules/ant/freeform/resources/layer.xml (-3 lines)
Lines 54-62 Link Here
54
                    <attr name="position" intvalue="700"/>
54
                    <attr name="position" intvalue="700"/>
55
                </file>
55
                </file>
56
                </folder>    
56
                </folder>    
57
            <folder name="Nodes">
58
                <file name="org-netbeans-modules-ant-freeform-ui-FolderNodeFactory.instance"/>
59
            </folder>    
60
         </folder>
57
         </folder>
61
    </folder>
58
    </folder>
62
    <folder name="ProjectXMLCatalog">
59
    <folder name="ProjectXMLCatalog">
(-)a/ant.freeform/src/org/netbeans/modules/ant/freeform/ui/FolderNodeFactory.java (-1 / +1 lines)
Lines 89-95 Link Here
89
import org.openide.util.ImageUtilities;
89
import org.openide.util.ImageUtilities;
90
import org.openide.util.Lookup;
90
import org.openide.util.Lookup;
91
import org.openide.util.RequestProcessor;
91
import org.openide.util.RequestProcessor;
92
import org.openide.util.Utilities;
93
import org.openide.util.actions.SystemAction;
92
import org.openide.util.actions.SystemAction;
94
import org.openide.util.lookup.Lookups;
93
import org.openide.util.lookup.Lookups;
95
import org.w3c.dom.Element;
94
import org.w3c.dom.Element;
Lines 98-103 Link Here
98
 *
97
 *
99
 * @author mkleint
98
 * @author mkleint
100
 */
99
 */
100
@NodeFactory.Registration(projectType="org-netbeans-modules-ant-freeform")
101
public class FolderNodeFactory implements NodeFactory {
101
public class FolderNodeFactory implements NodeFactory {
102
    
102
    
103
    /** Creates a new instance of FolderNodeFactory */
103
    /** Creates a new instance of FolderNodeFactory */
(-)a/apisupport.project/src/org/netbeans/modules/apisupport/project/ui/ImportantFilesNodeFactory.java (+1 lines)
Lines 78-83 Link Here
78
 *
78
 *
79
 * @author mkleint
79
 * @author mkleint
80
 */
80
 */
81
@NodeFactory.Registration(projectType={"org-netbeans-modules-apisupport-project-suite","org-netbeans-modules-apisupport-project"}, position=200)
81
public class ImportantFilesNodeFactory implements NodeFactory {
82
public class ImportantFilesNodeFactory implements NodeFactory {
82
83
83
    /** Package private for unit tests. */
84
    /** Package private for unit tests. */
(-)a/apisupport.project/src/org/netbeans/modules/apisupport/project/ui/LibrariesNodeFactory.java (+1 lines)
Lines 55-60 Link Here
55
 *
55
 *
56
 * @author mkleint
56
 * @author mkleint
57
 */
57
 */
58
@NodeFactory.Registration(projectType="org-netbeans-modules-apisupport-project", position=300)
58
public class LibrariesNodeFactory implements NodeFactory {
59
public class LibrariesNodeFactory implements NodeFactory {
59
    
60
    
60
    /** Creates a new instance of LibrariesNodeFactory */
61
    /** Creates a new instance of LibrariesNodeFactory */
(-)a/apisupport.project/src/org/netbeans/modules/apisupport/project/ui/ModulesNodeFactory.java (-1 / +1 lines)
Lines 82-88 Link Here
82
import org.openide.util.ImageUtilities;
82
import org.openide.util.ImageUtilities;
83
import org.openide.util.NbBundle;
83
import org.openide.util.NbBundle;
84
import org.openide.util.RequestProcessor;
84
import org.openide.util.RequestProcessor;
85
import org.openide.util.Utilities;
86
import org.openide.util.actions.CookieAction;
85
import org.openide.util.actions.CookieAction;
87
import org.openide.util.actions.NodeAction;
86
import org.openide.util.actions.NodeAction;
88
import org.openide.util.lookup.Lookups;
87
import org.openide.util.lookup.Lookups;
Lines 91-96 Link Here
91
/**
90
/**
92
 * @author mkleint
91
 * @author mkleint
93
 */
92
 */
93
@NodeFactory.Registration(projectType="org-netbeans-modules-apisupport-project-suite", position=100)
94
public class ModulesNodeFactory implements NodeFactory {
94
public class ModulesNodeFactory implements NodeFactory {
95
95
96
    public ModulesNodeFactory() {}
96
    public ModulesNodeFactory() {}
(-)a/apisupport.project/src/org/netbeans/modules/apisupport/project/ui/SourcesNodeFactory.java (+1 lines)
Lines 65-70 Link Here
65
 *
65
 *
66
 * @author mkleint
66
 * @author mkleint
67
 */
67
 */
68
@NodeFactory.Registration(projectType="org-netbeans-modules-apisupport-project", position=100)
68
public class SourcesNodeFactory implements NodeFactory {
69
public class SourcesNodeFactory implements NodeFactory {
69
    
70
    
70
    /** Creates a new instance of SourcesNodeFactory */
71
    /** Creates a new instance of SourcesNodeFactory */
(-)a/apisupport.project/src/org/netbeans/modules/apisupport/project/ui/TestDataDirsNodeFactory.java (+1 lines)
Lines 58-63 Link Here
58
/**
58
/**
59
 * Displays data directories.
59
 * Displays data directories.
60
 */
60
 */
61
@NodeFactory.Registration(projectType="org-netbeans-modules-apisupport-project", position=150)
61
public class TestDataDirsNodeFactory implements NodeFactory {
62
public class TestDataDirsNodeFactory implements NodeFactory {
62
63
63
    /** public for layer */
64
    /** public for layer */
(-)a/apisupport.project/src/org/netbeans/modules/apisupport/project/ui/resources/layer.xml (-22 lines)
Lines 298-317 Link Here
298
    <folder name="Projects">
298
    <folder name="Projects">
299
        <folder name="org-netbeans-modules-apisupport-project">
299
        <folder name="org-netbeans-modules-apisupport-project">
300
            <folder name="Lookup"/>
300
            <folder name="Lookup"/>
301
            <folder name="Nodes">
302
                <file name="org-netbeans-modules-apisupport-project-ui-SourcesNodeFactory.instance">
303
                    <attr name="position" intvalue="100"/>
304
                </file>
305
                <file name="org-netbeans-modules-apisupport-project-ui-TestDataDirsNodeFactory.instance">
306
                    <attr name="position" intvalue="150"/>
307
                </file>
308
                <file name="org-netbeans-modules-apisupport-project-ui-ImportantFilesNodeFactory.instance">
309
                    <attr name="position" intvalue="200"/>
310
                </file>
311
                <file name="org-netbeans-modules-apisupport-project-ui-LibrariesNodeFactory.instance">
312
                    <attr name="position" intvalue="300"/>
313
                </file>
314
            </folder>
315
            <folder name="Customizer">
301
            <folder name="Customizer">
316
                <file name="org-netbeans-modules-apisupport-project-ui-customizer-CustomizerSourcesFactory.instance">
302
                <file name="org-netbeans-modules-apisupport-project-ui-customizer-CustomizerSourcesFactory.instance">
317
                    <attr name="position" intvalue="100"/>
303
                    <attr name="position" intvalue="100"/>
Lines 345-358 Link Here
345
        </folder>
331
        </folder>
346
        <folder name="org-netbeans-modules-apisupport-project-suite">
332
        <folder name="org-netbeans-modules-apisupport-project-suite">
347
            <folder name="Lookup"/>
333
            <folder name="Lookup"/>
348
            <folder name="Nodes">
349
                <file name="org-netbeans-modules-apisupport-project-ui-ModulesNodeFactory.instance">
350
                    <attr name="position" intvalue="100"/>
351
                </file>
352
                <file name="org-netbeans-modules-apisupport-project-ui-ImportantFilesNodeFactory.instance">
353
                    <attr name="position" intvalue="200"/>
354
                </file>
355
            </folder>
356
            <folder name="Customizer">
334
            <folder name="Customizer">
357
                <file name="org-netbeans-modules-apisupport-project-ui-customizer-SuiteCustomizerSourcesFactory.instance">
335
                <file name="org-netbeans-modules-apisupport-project-ui-customizer-SuiteCustomizerSourcesFactory.instance">
358
                    <attr name="position" intvalue="100"/>
336
                    <attr name="position" intvalue="100"/>
(-)a/groovy.grailsproject/src/org/netbeans/modules/groovy/grailsproject/resources/layer.xml (-4 lines)
Lines 150-159 Link Here
150
                </file>
150
                </file>
151
            </folder>
151
            </folder>
152
152
153
            <folder name="Nodes">
154
                <file name="org-netbeans-modules-groovy-grailsproject-ui-SourceNodeFactory.instance"/>
155
            </folder>
156
            
157
            <folder name="Lookup"/>
153
            <folder name="Lookup"/>
158
            
154
            
159
        </folder>
155
        </folder>
(-)a/groovy.grailsproject/src/org/netbeans/modules/groovy/grailsproject/ui/SourceNodeFactory.java (+1 lines)
Lines 64-69 Link Here
64
 *
64
 *
65
 * @author Martin Adamek
65
 * @author Martin Adamek
66
 */
66
 */
67
@NodeFactory.Registration(projectType="org-netbeans-modules-groovy-grailsproject")
67
public class SourceNodeFactory implements NodeFactory {
68
public class SourceNodeFactory implements NodeFactory {
68
69
69
    public SourceNodeFactory() {
70
    public SourceNodeFactory() {
(-)a/j2ee.earproject/src/org/netbeans/modules/j2ee/earproject/ui/ConfFilesNodeFactory.java (-1 / +3 lines)
Lines 54-60 Link Here
54
/**
54
/**
55
 *
55
 *
56
 * @author Lukas Jungmann
56
 * @author Lukas Jungmann
57
 */ public class ConfFilesNodeFactory implements NodeFactory {
57
 */
58
@NodeFactory.Registration(projectType="org-netbeans-modules-j2ee-earproject", position=100)
59
public class ConfFilesNodeFactory implements NodeFactory {
58
60
59
    public ConfFilesNodeFactory() {
61
    public ConfFilesNodeFactory() {
60
    }
62
    }
(-)a/j2ee.earproject/src/org/netbeans/modules/j2ee/earproject/ui/ModuleNodeFactory.java (+1 lines)
Lines 53-58 Link Here
53
 *
53
 *
54
 * @author Lukas Jungmann
54
 * @author Lukas Jungmann
55
 */
55
 */
56
@NodeFactory.Registration(projectType="org-netbeans-modules-j2ee-earproject", position=300)
56
public class ModuleNodeFactory implements NodeFactory {
57
public class ModuleNodeFactory implements NodeFactory {
57
58
58
    public ModuleNodeFactory() {
59
    public ModuleNodeFactory() {
(-)a/j2ee.earproject/src/org/netbeans/modules/j2ee/earproject/ui/SetupDirNodeFactory.java (+1 lines)
Lines 56-61 Link Here
56
 * 
56
 * 
57
 * @author gpatil
57
 * @author gpatil
58
 */
58
 */
59
@NodeFactory.Registration(projectType="org-netbeans-modules-j2ee-earproject", position=200)
59
public final class SetupDirNodeFactory implements NodeFactory {
60
public final class SetupDirNodeFactory implements NodeFactory {
60
    
61
    
61
    public SetupDirNodeFactory() {
62
    public SetupDirNodeFactory() {
(-)a/j2ee.earproject/src/org/netbeans/modules/j2ee/earproject/ui/resources/layer.xml (-12 lines)
Lines 113-130 Link Here
113
                </file>
113
                </file>
114
            </folder>
114
            </folder>
115
            
115
            
116
            <folder name="Nodes">
117
                <file name="org-netbeans-modules-j2ee-earproject-ui-ConfFilesNodeFactory.instance">
118
                        <attr name="position" intvalue="100"/>
119
                    </file>
120
                <file name="org-netbeans-modules-j2ee-earproject-ui-SetupDirNodeFactory.instance">
121
                        <attr name="position" intvalue="200"/>
122
                    </file>
123
                <file name="org-netbeans-modules-j2ee-earproject-ui-ModuleNodeFactory.instance">
124
                        <attr name="position" intvalue="300"/>
125
                    </file>
126
            </folder>
127
128
            <folder name="Lookup"/>
116
            <folder name="Lookup"/>
129
            
117
            
130
        </folder>
118
        </folder>
(-)a/j2ee.ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ui/ConfFilesNodeFactory.java (+1 lines)
Lines 56-61 Link Here
56
 *
56
 *
57
 * @author gpatil
57
 * @author gpatil
58
 */
58
 */
59
@NodeFactory.Registration(projectType="org-netbeans-modules-j2ee-ejbjarproject", position=200)
59
public class ConfFilesNodeFactory implements NodeFactory {
60
public class ConfFilesNodeFactory implements NodeFactory {
60
61
61
    public ConfFilesNodeFactory() {
62
    public ConfFilesNodeFactory() {
(-)a/j2ee.ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ui/EjbsNodeFactory.java (+1 lines)
Lines 57-62 Link Here
57
 * 
57
 * 
58
 * @author gpatil
58
 * @author gpatil
59
 */
59
 */
60
@NodeFactory.Registration(projectType="org-netbeans-modules-j2ee-ejbjarproject", position=100)
60
public class EjbsNodeFactory implements NodeFactory {
61
public class EjbsNodeFactory implements NodeFactory {
61
62
62
    public EjbsNodeFactory() {
63
    public EjbsNodeFactory() {
(-)a/j2ee.ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ui/LibrariesNodeFactory.java (+1 lines)
Lines 76-81 Link Here
76
 * 
76
 * 
77
 * @author gpatil
77
 * @author gpatil
78
 */
78
 */
79
@NodeFactory.Registration(projectType="org-netbeans-modules-j2ee-ejbjarproject", position=500)
79
public final class LibrariesNodeFactory implements NodeFactory {
80
public final class LibrariesNodeFactory implements NodeFactory {
80
    
81
    
81
    /** Creates a new instance of LibrariesNodeFactory */
82
    /** Creates a new instance of LibrariesNodeFactory */
(-)a/j2ee.ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ui/SetupDirNodeFactory.java (+1 lines)
Lines 56-61 Link Here
56
 * 
56
 * 
57
 * @author gpatil
57
 * @author gpatil
58
 */
58
 */
59
@NodeFactory.Registration(projectType="org-netbeans-modules-j2ee-ejbjarproject", position=300)
59
public final class SetupDirNodeFactory implements NodeFactory {
60
public final class SetupDirNodeFactory implements NodeFactory {
60
    
61
    
61
    public SetupDirNodeFactory() {
62
    public SetupDirNodeFactory() {
(-)a/j2ee.ejbjarproject/src/org/netbeans/modules/j2ee/ejbjarproject/ui/resources/layer.xml (-12 lines)
Lines 120-139 Link Here
120
            <folder name="Lookup"/>
120
            <folder name="Lookup"/>
121
121
122
            <folder name="Nodes">
122
            <folder name="Nodes">
123
                <file name="org-netbeans-modules-j2ee-ejbjarproject-ui-EjbsNodeFactory.instance">
124
                    <attr name="position" intvalue="100"/>
125
                </file>
126
                <file name="org-netbeans-modules-j2ee-ejbjarproject-ui-ConfFilesNodeFactory.instance">
127
                    <attr name="position" intvalue="200"/>
128
                </file>
129
                <file name="org-netbeans-modules-j2ee-ejbjarproject-ui-SetupDirNodeFactory.instance">
130
                    <attr name="position" intvalue="300"/>
131
                </file>
132
                <file name="org-netbeans-modules-java-api-common-project-ui-JavaSourceNodeFactory.instance">
123
                <file name="org-netbeans-modules-java-api-common-project-ui-JavaSourceNodeFactory.instance">
133
                    <attr name="position" intvalue="400"/>
124
                    <attr name="position" intvalue="400"/>
134
                </file>
135
                <file name="org-netbeans-modules-j2ee-ejbjarproject-ui-LibrariesNodeFactory.instance">
136
                    <attr name="position" intvalue="500"/>
137
                </file>
125
                </file>
138
            </folder>
126
            </folder>
139
127
(-)a/java.j2seproject/src/org/netbeans/modules/java/j2seproject/ui/LibrariesNodeFactory.java (+1 lines)
Lines 72-77 Link Here
72
 *
72
 *
73
 * @author mkleint
73
 * @author mkleint
74
 */
74
 */
75
@NodeFactory.Registration(projectType="org-netbeans-modules-java-j2seproject", position=300)
75
public final class LibrariesNodeFactory implements NodeFactory {
76
public final class LibrariesNodeFactory implements NodeFactory {
76
    
77
    
77
    /** Creates a new instance of LibrariesNodeFactory */
78
    /** Creates a new instance of LibrariesNodeFactory */
(-)a/java.j2seproject/src/org/netbeans/modules/java/j2seproject/ui/resources/layer.xml (-3 lines)
Lines 135-143 Link Here
135
                <file name="org-netbeans-modules-java-api-common-project-ui-JavaSourceNodeFactory.instance">
135
                <file name="org-netbeans-modules-java-api-common-project-ui-JavaSourceNodeFactory.instance">
136
                    <attr name="position" intvalue="200"/>
136
                    <attr name="position" intvalue="200"/>
137
                </file>
137
                </file>
138
                <file name="org-netbeans-modules-java-j2seproject-ui-LibrariesNodeFactory.instance">
139
                    <attr name="position" intvalue="300"/>
140
                </file>
141
            </folder>
138
            </folder>
142
            
139
            
143
            <folder name="Lookup"/>
140
            <folder name="Lookup"/>
(-)a/maven.apisupport/src/org/netbeans/modules/maven/apisupport/ImportantFilesNodeFactory.java (+1 lines)
Lines 77-82 Link Here
77
 *
77
 *
78
 * @author mkleint
78
 * @author mkleint
79
 */
79
 */
80
@NodeFactory.Registration(projectType="org-netbeans-modules-maven",position=650)
80
public class ImportantFilesNodeFactory implements NodeFactory {
81
public class ImportantFilesNodeFactory implements NodeFactory {
81
    /** Package private for unit tests. */
82
    /** Package private for unit tests. */
82
    static final String IMPORTANT_FILES_NAME = "important.files"; // NOI18N
83
    static final String IMPORTANT_FILES_NAME = "important.files"; // NOI18N
(-)a/maven.apisupport/src/org/netbeans/modules/maven/apisupport/layer.xml (-5 lines)
Lines 55-65 Link Here
55
                    <attr name="repoIndexUrl" stringvalue="http://deadlock.netbeans.org/maven2/.index/netbeans/"/>
55
                    <attr name="repoIndexUrl" stringvalue="http://deadlock.netbeans.org/maven2/.index/netbeans/"/>
56
                </file>
56
                </file>
57
            </folder>
57
            </folder>
58
            <folder name="Nodes">
59
                <file name="org-netbeans-modules-maven-apisupport-ImportantFilesNodeFactory.instance">
60
                    <attr name="position" intvalue="650"/>
61
                </file>
62
            </folder>
63
            <folder name="ProjectActions">
58
            <folder name="ProjectActions">
64
                <file name="NBMReload.instance">
59
                <file name="NBMReload.instance">
65
                    <attr name="instanceOf" stringvalue="javax.swing.Action" />
60
                    <attr name="instanceOf" stringvalue="javax.swing.Action" />
(-)a/maven.gsf/manifest.mf (-1 lines)
Lines 1-5 Link Here
1
Manifest-Version: 1.0
1
Manifest-Version: 1.0
2
OpenIDE-Module: org.netbeans.modules.maven.gsf/1
2
OpenIDE-Module: org.netbeans.modules.maven.gsf/1
3
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/maven/gsf/Bundle.properties
3
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/maven/gsf/Bundle.properties
4
OpenIDE-Module-Layer: org/netbeans/modules/maven/gsf/layer.xml
5
OpenIDE-Module-Public-Packages: -
4
OpenIDE-Module-Public-Packages: -
(-)a/maven.gsf/src/org/netbeans/modules/maven/gsf/SourcesNodeFactory.java (+1 lines)
Lines 58-63 Link Here
58
 *
58
 *
59
 * @author mkleint
59
 * @author mkleint
60
 */
60
 */
61
@NodeFactory.Registration(projectType="org-netbeans-modules-maven",position=139)
61
public class SourcesNodeFactory implements NodeFactory {
62
public class SourcesNodeFactory implements NodeFactory {
62
    
63
    
63
    /** Creates a new instance of SourcesNodeFactory */
64
    /** Creates a new instance of SourcesNodeFactory */
(-)a/maven.gsf/src/org/netbeans/modules/maven/gsf/layer.xml (-56 lines)
Removed Link Here
1
<?xml version="1.0" encoding="UTF-8"?>
2
<!--
3
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
4
5
Copyright 2008 Sun Microsystems, Inc. All rights reserved.
6
7
8
The contents of this file are subject to the terms of either the GNU
9
General Public License Version 2 only ("GPL") or the Common
10
Development and Distribution License("CDDL") (collectively, the
11
"License"). You may not use this file except in compliance with the
12
License. You can obtain a copy of the License at
13
http://www.netbeans.org/cddl-gplv2.html
14
or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
15
specific language governing permissions and limitations under the
16
License.  When distributing the software, include this License Header
17
Notice in each file and include the License file at
18
nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
19
particular file as subject to the "Classpath" exception as provided
20
by Sun in the GPL Version 2 section of the License file that
21
accompanied this code. If applicable, add the following below the
22
License Header, with the fields enclosed by brackets [] replaced by
23
your own identifying information:
24
"Portions Copyrighted [year] [name of copyright owner]"
25
26
Contributor(s):
27
28
The Original Software is NetBeans. The Initial Developer of the Original
29
Software is Sun Microsystems, Inc. Portions Copyright 2008 Sun
30
Microsystems, Inc. All Rights Reserved.
31
32
If you wish your version of this file to be governed by only the CDDL
33
or only the GPL Version 2, indicate your decision by adding
34
"[Contributor] elects to include this software in this distribution
35
under the [CDDL or GPL Version 2] license." If you do not indicate a
36
single choice of license, a recipient has the option to distribute
37
your version of this file under either the CDDL, the GPL Version 2 or
38
to extend the choice of license to its licensees as provided above.
39
However, if you add GPL Version 2 code and therefore, elected the GPL
40
Version 2 license, then the option applies only if the new code is
41
made subject to such option by the copyright holder.
42
-->
43
44
<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.0//EN" "http://www.netbeans.org/dtds/filesystem-1_0.dtd">
45
<filesystem>
46
     <folder name="Projects">
47
        <folder name="org-netbeans-modules-maven">
48
            <folder name="Nodes">
49
                <file name="org-netbeans-modules-maven-gsf-SourcesNodeFactory.instance">
50
                    <attr name="position" intvalue="139"/>
51
                </file>
52
            </folder>
53
        </folder>
54
    </folder>
55
56
</filesystem>
(-)a/maven.j2ee/src/org/netbeans/modules/maven/j2ee/layer.xml (-6 lines)
Lines 60-71 Link Here
60
                    <attr name="position" intvalue="303"/>
60
                    <attr name="position" intvalue="303"/>
61
                </file>
61
                </file>
62
            </folder>
62
            </folder>
63
            <folder name="Nodes">
64
                <file name="org-netbeans-modules-maven-j2ee-web-WebAppNodeFactory.instance">
65
                    <attr name="position" intvalue="50"/>
66
                </file>
67
            </folder>    
68
            
69
        </folder>
63
        </folder>
70
    </folder>
64
    </folder>
71
</filesystem>
65
</filesystem>
(-)a/maven.j2ee/src/org/netbeans/modules/maven/j2ee/web/WebAppNodeFactory.java (+1 lines)
Lines 61-66 Link Here
61
 *
61
 *
62
 * @author mkleint
62
 * @author mkleint
63
 */
63
 */
64
@NodeFactory.Registration(projectType="org-netbeans-modules-maven",position=50)
64
public class WebAppNodeFactory implements NodeFactory {
65
public class WebAppNodeFactory implements NodeFactory {
65
    private static final String KEY_WEBAPP = "webapp"; //NOI18N
66
    private static final String KEY_WEBAPP = "webapp"; //NOI18N
66
    
67
    
(-)a/maven/src/org/netbeans/modules/maven/layer.xml (-23 / +1 lines)
Lines 110-138 Link Here
110
    
110
    
111
    <folder name="Projects">
111
    <folder name="Projects">
112
        <folder name="org-netbeans-modules-maven">
112
        <folder name="org-netbeans-modules-maven">
113
            <folder name="Nodes">
113
            <folder name="Nodes"/>
114
                <file name="org-netbeans-modules-maven-nodes-SourcesNodeFactory.instance">
115
                    <attr name="position" intvalue="100"/>
116
                </file>
117
                <file name="org-netbeans-modules-maven-nodes-OtherRootNodeFactory.instance">
118
                    <attr name="position" intvalue="200"/>
119
                </file>
120
                <file name="org-netbeans-modules-maven-nodes-GenSourcesNodeFactory.instance">
121
                    <attr name="position" intvalue="300"/>
122
                </file>
123
                <file name="org-netbeans-modules-maven-nodes-ModulesNodeFactory.instance">
124
                    <attr name="position" intvalue="400"/>
125
                </file>
126
                <file name="org-netbeans-modules-maven-nodes-DependenciesNodeFactory.instance">
127
                    <attr name="position" intvalue="500"/>
128
                </file>
129
                <file name="org-netbeans-modules-maven-nodes-SiteDocsNodeFactory.instance">
130
                    <attr name="position" intvalue="600"/>
131
                </file>
132
                <file name="org-netbeans-modules-maven-nodes-ProjectFilesNodeFactory.instance">
133
                    <attr name="position" intvalue="700"/>
134
                </file>
135
            </folder>    
136
            <folder name="Customizer">
114
            <folder name="Customizer">
137
                <file name="org-netbeans-modules-maven-customizer-BasicPanelProvider.instance">
115
                <file name="org-netbeans-modules-maven-customizer-BasicPanelProvider.instance">
138
                    <attr name="position" intvalue="100"/>
116
                    <attr name="position" intvalue="100"/>
(-)a/maven/src/org/netbeans/modules/maven/nodes/DependenciesNodeFactory.java (-2 / +1 lines)
Lines 42-50 Link Here
42
import java.beans.PropertyChangeEvent;
42
import java.beans.PropertyChangeEvent;
43
import java.beans.PropertyChangeListener;
43
import java.beans.PropertyChangeListener;
44
import java.util.ArrayList;
44
import java.util.ArrayList;
45
import java.util.Arrays;
46
import java.util.List;
45
import java.util.List;
47
import org.apache.maven.project.MavenProject;
48
import org.netbeans.modules.maven.NbMavenProjectImpl;
46
import org.netbeans.modules.maven.NbMavenProjectImpl;
49
import org.netbeans.modules.maven.api.NbMavenProject;
47
import org.netbeans.modules.maven.api.NbMavenProject;
50
import org.netbeans.api.project.Project;
48
import org.netbeans.api.project.Project;
Lines 56-61 Link Here
56
 *
54
 *
57
 * @author mkleint
55
 * @author mkleint
58
 */
56
 */
57
@NodeFactory.Registration(projectType="org-netbeans-modules-maven",position=500)
59
public class DependenciesNodeFactory implements NodeFactory {
58
public class DependenciesNodeFactory implements NodeFactory {
60
    
59
    
61
    private static final String KEY_DEPENDENCIES = "dependencies"; //NOI18N
60
    private static final String KEY_DEPENDENCIES = "dependencies"; //NOI18N
(-)a/maven/src/org/netbeans/modules/maven/nodes/GenSourcesNodeFactory.java (+1 lines)
Lines 58-63 Link Here
58
 *
58
 *
59
 * @author mkleint
59
 * @author mkleint
60
 */
60
 */
61
@NodeFactory.Registration(projectType="org-netbeans-modules-maven",position=300)
61
public class GenSourcesNodeFactory implements NodeFactory {
62
public class GenSourcesNodeFactory implements NodeFactory {
62
    
63
    
63
    /** Creates a new instance of GenSourcesNodeFactory */
64
    /** Creates a new instance of GenSourcesNodeFactory */
(-)a/maven/src/org/netbeans/modules/maven/nodes/ModulesNodeFactory.java (+1 lines)
Lines 54-59 Link Here
54
 *
54
 *
55
 * @author mkleint
55
 * @author mkleint
56
 */
56
 */
57
@NodeFactory.Registration(projectType="org-netbeans-modules-maven",position=400)
57
public class ModulesNodeFactory implements NodeFactory {
58
public class ModulesNodeFactory implements NodeFactory {
58
    
59
    
59
    private static final String KEY_MODULES = "modules"; //NOI18N
60
    private static final String KEY_MODULES = "modules"; //NOI18N
(-)a/maven/src/org/netbeans/modules/maven/nodes/OtherRootNodeFactory.java (+1 lines)
Lines 61-66 Link Here
61
 *
61
 *
62
 * @author mkleint
62
 * @author mkleint
63
 */
63
 */
64
@NodeFactory.Registration(projectType="org-netbeans-modules-maven",position=200)
64
public class OtherRootNodeFactory implements NodeFactory {
65
public class OtherRootNodeFactory implements NodeFactory {
65
    
66
    
66
    private static final String KEY_OTHER = "otherRoots"; //NOI18N
67
    private static final String KEY_OTHER = "otherRoots"; //NOI18N
(-)a/maven/src/org/netbeans/modules/maven/nodes/ProjectFilesNodeFactory.java (+1 lines)
Lines 49-54 Link Here
49
 * shows maven project files.
49
 * shows maven project files.
50
 * @author  Milos Kleint
50
 * @author  Milos Kleint
51
 */
51
 */
52
@NodeFactory.Registration(projectType="org-netbeans-modules-maven",position=700)
52
public class ProjectFilesNodeFactory implements NodeFactory {
53
public class ProjectFilesNodeFactory implements NodeFactory {
53
    
54
    
54
    /** Creates a new instance of ProjectFilesNodeFactory */
55
    /** Creates a new instance of ProjectFilesNodeFactory */
(-)a/maven/src/org/netbeans/modules/maven/nodes/SiteDocsNodeFactory.java (+1 lines)
Lines 56-61 Link Here
56
 *
56
 *
57
 * @author mkleint
57
 * @author mkleint
58
 */
58
 */
59
@NodeFactory.Registration(projectType="org-netbeans-modules-maven",position=600)
59
public class SiteDocsNodeFactory implements NodeFactory {
60
public class SiteDocsNodeFactory implements NodeFactory {
60
    private static final String KEY_SITE = "SITE"; //NOI18N
61
    private static final String KEY_SITE = "SITE"; //NOI18N
61
    private static final String SITE = "src/site"; //NOI18N
62
    private static final String SITE = "src/site"; //NOI18N
(-)a/maven/src/org/netbeans/modules/maven/nodes/SourcesNodeFactory.java (+1 lines)
Lines 65-70 Link Here
65
 *
65
 *
66
 * @author mkleint
66
 * @author mkleint
67
 */
67
 */
68
@NodeFactory.Registration(projectType="org-netbeans-modules-maven",position=100)
68
public class SourcesNodeFactory implements NodeFactory {
69
public class SourcesNodeFactory implements NodeFactory {
69
    
70
    
70
    /** Creates a new instance of SourcesNodeFactory */
71
    /** Creates a new instance of SourcesNodeFactory */
(-)a/php.project/src/org/netbeans/modules/php/project/resources/layer.xml (-8 lines)
Lines 156-169 Link Here
156
                    <attr name="position" intvalue="1000"/>
156
                    <attr name="position" intvalue="1000"/>
157
                </file>
157
                </file>
158
            </folder>
158
            </folder>
159
            <folder name="Nodes">
160
                <file name="org-netbeans-modules-php-project-ui-logicalview-SourcesNodeFactory.instance">
161
                    <attr name="position" intvalue="100"/>
162
                </file>
163
                <file name="org-netbeans-modules-php-project-ui-logicalview-IncludePathNodeFactory.instance">
164
                    <attr name="position" intvalue="200"/>
165
                </file>
166
            </folder>
167
        </folder>
159
        </folder>
168
    </folder>
160
    </folder>
169
    <folder name="PHP">
161
    <folder name="PHP">
(-)a/php.project/src/org/netbeans/modules/php/project/ui/logicalview/IncludePathNodeFactory.java (+1 lines)
Lines 74-79 Link Here
74
 *
74
 *
75
 * @author Radek Matous
75
 * @author Radek Matous
76
 */
76
 */
77
@NodeFactory.Registration(projectType="org-netbeans-modules-php-project", position=200)
77
public class IncludePathNodeFactory implements NodeFactory {
78
public class IncludePathNodeFactory implements NodeFactory {
78
79
79
    /** Creates a new instance of SourcesNodeFactory */
80
    /** Creates a new instance of SourcesNodeFactory */
(-)a/php.project/src/org/netbeans/modules/php/project/ui/logicalview/SourcesNodeFactory.java (+1 lines)
Lines 65-70 Link Here
65
 *
65
 *
66
 * @author Radek Matous
66
 * @author Radek Matous
67
 */
67
 */
68
@NodeFactory.Registration(projectType="org-netbeans-modules-php-project", position=100)
68
public class SourcesNodeFactory implements NodeFactory {
69
public class SourcesNodeFactory implements NodeFactory {
69
    private static final Logger LOGGER = Logger.getLogger(SourcesNodeFactory.class.getName());
70
    private static final Logger LOGGER = Logger.getLogger(SourcesNodeFactory.class.getName());
70
71
(-)a/ruby.project/src/org/netbeans/modules/ruby/rubyproject/ui/ProjectRootNodeFactory.java (+1 lines)
Lines 85-90 Link Here
85
/**
85
/**
86
 * Factory for the nodes in the Rails Project logical view.
86
 * Factory for the nodes in the Rails Project logical view.
87
 */
87
 */
88
@NodeFactory.Registration(projectType="org-netbeans-modules-ruby-rubyproject")
88
public final class ProjectRootNodeFactory implements NodeFactory {
89
public final class ProjectRootNodeFactory implements NodeFactory {
89
    
90
    
90
    public NodeList createNodes(Project p) {
91
    public NodeList createNodes(Project p) {
(-)a/ruby.project/src/org/netbeans/modules/ruby/rubyproject/ui/resources/layer.xml (-4 lines)
Lines 203-212 Link Here
203
                </file>
203
                </file>
204
            </folder>
204
            </folder>
205
            
205
            
206
            <folder name="Nodes">
207
                <file name="org-netbeans-modules-ruby-rubyproject-ui-ProjectRootNodeFactory.instance"/>
208
            </folder>
209
            
210
            <folder name="Lookup"/>
206
            <folder name="Lookup"/>
211
            
207
            
212
        </folder>
208
        </folder>
(-)a/ruby.railsprojects/src/org/netbeans/modules/ruby/railsprojects/ui/ProjectRootNodeFactory.java (+1 lines)
Lines 76-81 Link Here
76
/**
76
/**
77
 * Factory for the nodes in the Rails Project logical view.
77
 * Factory for the nodes in the Rails Project logical view.
78
 */
78
 */
79
@NodeFactory.Registration(projectType="org-netbeans-modules-ruby-railsprojects")
79
public final class ProjectRootNodeFactory implements NodeFactory {
80
public final class ProjectRootNodeFactory implements NodeFactory {
80
81
81
    public NodeList createNodes(Project p) {
82
    public NodeList createNodes(Project p) {
(-)a/ruby.railsprojects/src/org/netbeans/modules/ruby/railsprojects/ui/resources/layer.xml (-4 lines)
Lines 120-129 Link Here
120
                <attr name="allowedMimeTypes" stringvalue="text/x-ruby,application/x-httpd-eruby,text/x-java"/>
120
                <attr name="allowedMimeTypes" stringvalue="text/x-ruby,application/x-httpd-eruby,text/x-java"/>
121
                <attr name="position" intvalue="1000"/>
121
                <attr name="position" intvalue="1000"/>
122
            </file>
122
            </file>
123
        </folder>
124
        
125
        <folder name="Nodes">
126
            <file name="org-netbeans-modules-ruby-railsprojects-ui-ProjectRootNodeFactory.instance"/>
127
        </folder>
123
        </folder>
128
        
124
        
129
        <folder name="Lookup"/>
125
        <folder name="Lookup"/>
(-)a/visualweb.project.jsf/src/org/netbeans/modules/visualweb/project/jsf/resources/layer.xml (-5 lines)
Lines 73-83 Link Here
73
    
73
    
74
    <folder name="Projects">
74
    <folder name="Projects">
75
        <folder name="org-netbeans-modules-web-project">
75
        <folder name="org-netbeans-modules-web-project">
76
            <folder name="Nodes">
77
                <file name="org-netbeans-modules-visualweb-project-jsf-ui-JSFNodeFactory.instance">
78
                    <attr name="position" intvalue="900"/>
79
                </file>
80
            </folder>
81
            <folder name="BrokenLibraryRefFilterProviders">
76
            <folder name="BrokenLibraryRefFilterProviders">
82
              <file name="org-netbeans-modules-visualweb-project-jsf-libraries-ComplibBrokenLibraryRefFilterProvider.instance"/>
77
              <file name="org-netbeans-modules-visualweb-project-jsf-libraries-ComplibBrokenLibraryRefFilterProvider.instance"/>
83
              <file name="org-netbeans-modules-visualweb-project-jsf-libraries-WebServicesBrokenLibraryRefFilterProvider.instance"/>
78
              <file name="org-netbeans-modules-visualweb-project-jsf-libraries-WebServicesBrokenLibraryRefFilterProvider.instance"/>
(-)a/visualweb.project.jsf/src/org/netbeans/modules/visualweb/project/jsf/ui/JSFNodeFactory.java (-2 / +1 lines)
Lines 49-55 Link Here
49
import java.beans.PropertyChangeEvent;
49
import java.beans.PropertyChangeEvent;
50
import java.beans.PropertyChangeListener;
50
import java.beans.PropertyChangeListener;
51
import java.util.ArrayList;
51
import java.util.ArrayList;
52
import java.util.Iterator;
53
import java.util.List;
52
import java.util.List;
54
import javax.swing.SwingUtilities;
53
import javax.swing.SwingUtilities;
55
import javax.swing.event.ChangeEvent;
54
import javax.swing.event.ChangeEvent;
Lines 60-71 Link Here
60
import org.netbeans.spi.project.ui.support.NodeList;
59
import org.netbeans.spi.project.ui.support.NodeList;
61
import org.openide.nodes.Node;
60
import org.openide.nodes.Node;
62
import org.openide.util.Lookup;
61
import org.openide.util.Lookup;
63
import org.openide.util.NbBundle;
64
62
65
/** Visual Web framework extra nodes factory.
63
/** Visual Web framework extra nodes factory.
66
 *
64
 *
67
 * @author Po-Ting Wu
65
 * @author Po-Ting Wu
68
 */
66
 */
67
@NodeFactory.Registration(projectType="org-netbeans-modules-web-project",position=900)
69
public class JSFNodeFactory implements NodeFactory {
68
public class JSFNodeFactory implements NodeFactory {
70
    /** Creates a new instance of JSFNodeFactory */
69
    /** Creates a new instance of JSFNodeFactory */
71
    public JSFNodeFactory() {
70
    public JSFNodeFactory() {
(-)a/web.project/src/org/netbeans/modules/web/project/ui/ConfFilesNodeFactory.java (-1 / +1 lines)
Lines 95-101 Link Here
95
import org.openide.util.Lookup;
95
import org.openide.util.Lookup;
96
import org.openide.util.NbBundle;
96
import org.openide.util.NbBundle;
97
import org.openide.util.RequestProcessor;
97
import org.openide.util.RequestProcessor;
98
import org.openide.util.Utilities;
99
import org.openide.util.WeakListeners;
98
import org.openide.util.WeakListeners;
100
import org.openide.util.actions.SystemAction;
99
import org.openide.util.actions.SystemAction;
101
import org.openide.util.lookup.Lookups;
100
import org.openide.util.lookup.Lookups;
Lines 104-109 Link Here
104
 *
103
 *
105
 * @author mkleint
104
 * @author mkleint
106
 */
105
 */
106
@NodeFactory.Registration(projectType="org-netbeans-modules-web-project",position=500)
107
public final class ConfFilesNodeFactory implements NodeFactory {
107
public final class ConfFilesNodeFactory implements NodeFactory {
108
108
109
    /** Creates a new instance of ConfFilesNodeFactory */
109
    /** Creates a new instance of ConfFilesNodeFactory */
(-)a/web.project/src/org/netbeans/modules/web/project/ui/DocBaseNodeFactory.java (+1 lines)
Lines 91-96 Link Here
91
 *
91
 *
92
 * @author mkleint
92
 * @author mkleint
93
 */
93
 */
94
@NodeFactory.Registration(projectType="org-netbeans-modules-web-project",position=200)
94
public final class DocBaseNodeFactory implements NodeFactory {
95
public final class DocBaseNodeFactory implements NodeFactory {
95
    
96
    
96
    /** Creates a new instance of LibrariesNodeFactory */
97
    /** Creates a new instance of LibrariesNodeFactory */
(-)a/web.project/src/org/netbeans/modules/web/project/ui/LibrariesNodeFactory.java (+1 lines)
Lines 76-81 Link Here
76
 *
76
 *
77
 * @author mkleint
77
 * @author mkleint
78
 */
78
 */
79
@NodeFactory.Registration(projectType="org-netbeans-modules-web-project",position=800)
79
public final class LibrariesNodeFactory implements NodeFactory {
80
public final class LibrariesNodeFactory implements NodeFactory {
80
    
81
    
81
    /** Creates a new instance of LibrariesNodeFactory */
82
    /** Creates a new instance of LibrariesNodeFactory */
(-)a/web.project/src/org/netbeans/modules/web/project/ui/SetupDirNodeFactory.java (+1 lines)
Lines 59-64 Link Here
59
 *
59
 *
60
 * @author mkleint
60
 * @author mkleint
61
 */
61
 */
62
@NodeFactory.Registration(projectType="org-netbeans-modules-web-project",position=600)
62
public final class SetupDirNodeFactory implements NodeFactory {
63
public final class SetupDirNodeFactory implements NodeFactory {
63
    
64
    
64
    /** Creates a new instance of LibrariesNodeFactory */
65
    /** Creates a new instance of LibrariesNodeFactory */
(-)a/web.project/src/org/netbeans/modules/web/project/ui/resources/layer.xml (-12 lines)
Lines 175-194 Link Here
175
            </folder>
175
            </folder>
176
176
177
            <folder name="Nodes">
177
            <folder name="Nodes">
178
                <file name="org-netbeans-modules-web-project-ui-DocBaseNodeFactory.instance">
179
                    <attr name="position" intvalue="200"/>
180
                </file>
181
                <file name="org-netbeans-modules-web-project-ui-ConfFilesNodeFactory.instance">
182
                    <attr name="position" intvalue="500"/>
183
                </file>
184
                <file name="org-netbeans-modules-web-project-ui-SetupDirNodeFactory.instance">
185
                    <attr name="position" intvalue="600"/>
186
                </file>
187
                <file name="org-netbeans-modules-java-api-common-project-ui-JavaSourceNodeFactory.instance">
178
                <file name="org-netbeans-modules-java-api-common-project-ui-JavaSourceNodeFactory.instance">
188
                    <attr name="position" intvalue="700"/>
179
                    <attr name="position" intvalue="700"/>
189
                </file>
190
                <file name="org-netbeans-modules-web-project-ui-LibrariesNodeFactory.instance">
191
                    <attr name="position" intvalue="800"/>
192
                </file>
180
                </file>
193
            </folder>
181
            </folder>
194
            
182
            
(-)a/websvc.rest/src/org/netbeans/modules/websvc/rest/nodes/RestServicesNodeFactory.java (+1 lines)
Lines 66-71 Link Here
66
 *
66
 *
67
 * @author Milan Kuchtiak
67
 * @author Milan Kuchtiak
68
 */
68
 */
69
@NodeFactory.Registration(projectType="org-netbeans-modules-web-project",position=450)
69
public class RestServicesNodeFactory implements NodeFactory {
70
public class RestServicesNodeFactory implements NodeFactory {
70
71
71
    /** Creates a new instance of WebServicesNodeFactory */
72
    /** Creates a new instance of WebServicesNodeFactory */
(-)a/websvc.rest/src/org/netbeans/modules/websvc/rest/resources/layer.xml (-5 lines)
Lines 201-211 Link Here
201
          <file name="org.netbeans.modules.websvc.rest.projects.ProjectTestRestServicesAction.instance"/>
201
          <file name="org.netbeans.modules.websvc.rest.projects.ProjectTestRestServicesAction.instance"/>
202
        </folder>
202
        </folder>
203
        <folder name="org-netbeans-modules-web-project">
203
        <folder name="org-netbeans-modules-web-project">
204
            <folder name="Nodes">
205
                <file name="org-netbeans-modules-websvc-rest-nodes-RestServicesNodeFactory.instance">
206
                    <attr name="position" intvalue="450"/>
207
                </file>
208
            </folder>
209
            <!-- folder name="Customizer">
204
            <!-- folder name="Customizer">
210
                <file name="org.netbeans.modules.websvc.rest.projects.WebCustomizerCategoryProvider.instance">
205
                <file name="org.netbeans.modules.websvc.rest.projects.WebCustomizerCategoryProvider.instance">
211
                    <attr name="position" intvalue="770"/>
206
                    <attr name="position" intvalue="770"/>
(-)a/xml.jaxb/src/org/netbeans/modules/xml/jaxb/layer.xml (-24 lines)
Lines 42-71 Link Here
42
made subject to such option by the copyright holder.
42
made subject to such option by the copyright holder.
43
-->
43
-->
44
<filesystem>
44
<filesystem>
45
    <folder name="Projects">
46
        <folder name="org-netbeans-modules-java-j2seproject">
47
            <folder name="Nodes">                
48
                <file name="org-netbeans-modules-xml-jaxb-ui-JAXBNodeFactory.instance">
49
                    <attr name="position" intvalue="100"/>
50
                </file>
51
            </folder>
52
        </folder>
53
        <folder name="org-netbeans-modules-web-project">
54
            <folder name="Nodes">
55
                <file name="org-netbeans-modules-xml-jaxb-ui-JAXBNodeFactory.instance">
56
                    <attr name="position" intvalue="100"/>
57
                </file>
58
            </folder>
59
        </folder>        
60
        <folder name="org-netbeans-modules-j2ee-ejbjarproject">
61
            <folder name="Nodes">
62
                <file name="org-netbeans-modules-xml-jaxb-ui-JAXBNodeFactory.instance">
63
                    <attr name="position" intvalue="125"/>
64
                </file>
65
            </folder>
66
        </folder>                
67
    </folder>
68
    
69
    <folder name="Templates">
45
    <folder name="Templates">
70
        <folder name="XML">
46
        <folder name="XML">
71
             <file name="JavaXMLBinding">
47
             <file name="JavaXMLBinding">
(-)a/xml.jaxb/src/org/netbeans/modules/xml/jaxb/ui/JAXBNodeFactory.java (-1 / +7 lines)
Lines 60-68 Link Here
60
 *
60
 *
61
 * @author gpatil
61
 * @author gpatil
62
 */
62
 */
63
@NodeFactory.Registration(projectType={"org-netbeans-modules-java-j2seproject","org-netbeans-modules-web-project"} ,position=100)
63
public class JAXBNodeFactory implements NodeFactory {
64
public class JAXBNodeFactory implements NodeFactory {
64
    public static final String JAXB_NODE_NAME = "JAXB Bindings" ; // NOI18N
65
    public static final String JAXB_NODE_NAME = "JAXB Bindings" ; // NOI18N
65
    
66
67
    @NodeFactory.Registration(projectType="org-netbeans-modules-j2ee-ejbjarproject",position=125)
68
    public static JAXBNodeFactory ejbproject() {
69
        return new JAXBNodeFactory();
70
    }
71
66
    public JAXBNodeFactory() {
72
    public JAXBNodeFactory() {
67
    }
73
    }
68
    
74
    

Return to bug 153015