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 137191
Collapse All | Expand All

(-)a/projectapi/apichanges.xml (-2 / +27 lines)
Lines 2-8 Link Here
2
<!--
2
<!--
3
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
4
4
5
Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
5
Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
6
6
7
7
8
The contents of this file are subject to the terms of either the GNU
8
The contents of this file are subject to the terms of either the GNU
Lines 26-32 Link Here
26
Contributor(s):
26
Contributor(s):
27
27
28
The Original Software is NetBeans. The Initial Developer of the Original
28
The Original Software is NetBeans. The Initial Developer of the Original
29
Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
29
Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
30
Microsystems, Inc. All Rights Reserved.
30
Microsystems, Inc. All Rights Reserved.
31
31
32
If you wish your version of this file to be governed by only the CDDL
32
If you wish your version of this file to be governed by only the CDDL
Lines 104-109 Link Here
104
    <!-- ACTUAL CHANGES BEGIN HERE: -->
104
    <!-- ACTUAL CHANGES BEGIN HERE: -->
105
105
106
    <changes>
106
    <changes>
107
        <change id="test-single-method">
108
            <api name="general"/>
109
            <summary>Added constants to <code>ActionProvider</code>
110
                     - support for execution of a single test method.</summary>
111
            <version major="1" minor="16"/>
112
            <date day="13" month="6" year="2008"/>
113
            <author login="mpetras"/>
114
            <compatibility addition="yes" binary="compatible" deletion="no" deprecation="no" modification="no" semantic="compatible" source="compatible"/>
115
            <description>
116
                <p>
117
                    Added constants <code>COMMAND_TEST_SINGLE_METHOD</code>,
118
                    <code>COMMAND_DEBUG_TEST_SINGLE_METHOD</code> and
119
                    <code>LOOKUP_ITEM_ID_METHOD_NAME</code> to interface
120
                    <code>ActionProvider</code>. These are
121
                    symbolic names for actions
122
                    &quot;run single test method&quot; and
123
                    &quot;debug single test method&quot;, and
124
                    for Id of <code>Lookup.Item</code> holding identification
125
                    of a test method that should be run by these actions.
126
                </p>
127
            </description>
128
            <class package="org.netbeans.spi.project" name="ActionProvider"/>
129
            <issue number="137191"/>
130
        </change>
131
107
        <change id="lookup-provider">
132
        <change id="lookup-provider">
108
            <api name="general"/>
133
            <api name="general"/>
109
            <summary>Added support for composing project's lookup from multiple sources.</summary>
134
            <summary>Added support for composing project's lookup from multiple sources.</summary>
(-)a/projectapi/arch.xml (+81 lines)
Lines 967-970 Link Here
967
 </answer>
967
 </answer>
968
968
969
969
970
971
972
973
<!--
974
        <question id="arch-where" when="impl">
975
            Where one can find sources for your module?
976
            <hint>
977
                Please provide link to the Hg web client at
978
                http://hg.netbeans.org/
979
                or just use tag defaultanswer generate='here'
980
            </hint>
981
        </question>
982
-->
983
 <answer id="arch-where">
984
  <defaultanswer generate='here' />
985
 </answer>
986
987
988
989
<!--
990
        <question id="compat-deprecation" when="init">
991
            How the introduction of your project influences functionality
992
            provided by previous version of the product?
993
            <hint>
994
            If you are planning to deprecate/remove/change any existing APIs,
995
            list them here accompanied with the reason explaining why you
996
            are doing so.
997
            </hint>
998
        </question>
999
-->
1000
 <answer id="compat-deprecation">
1001
  <p>
1002
   XXX no answer for compat-deprecation
1003
  </p>
1004
 </answer>
1005
1006
1007
1008
<!--
1009
        <question id="exec-ant-tasks" when="impl">
1010
            Do you define or register any ant tasks that other can use?
1011
            
1012
            <hint>
1013
            If you provide an ant task that users can use, you need to be very
1014
            careful about its syntax and behaviour, as it most likely forms an
1015
	          API for end users and as there is a lot of end users, their reaction
1016
            when such API gets broken can be pretty strong.
1017
            </hint>
1018
        </question>
1019
-->
1020
 <answer id="exec-ant-tasks">
1021
  <p>
1022
   XXX no answer for exec-ant-tasks
1023
  </p>
1024
 </answer>
1025
1026
1027
1028
<!--
1029
        <question id="resources-preferences" when="final">
1030
            Does your module uses preferences via Preferences API? Does your module use NbPreferences or
1031
            or regular JDK Preferences ? Does it read, write or both ? 
1032
            Does it share preferences with other modules ? If so, then why ?
1033
            <hint>
1034
                You may use
1035
                    &lt;api type="export" group="preferences"
1036
                    name="preference node name" category="private"&gt;
1037
                    description of individual keys, where it is used, what it
1038
                    influences, whether the module reads/write it, etc.
1039
                    &lt;/api&gt;
1040
                Due to XML ID restrictions, rather than /org/netbeans/modules/foo give the "name" as org.netbeans.modules.foo.
1041
                Note that if you use NbPreferences this name will then be the same as the code name base of the module.
1042
            </hint>
1043
        </question>
1044
-->
1045
 <answer id="resources-preferences">
1046
  <p>
1047
   XXX no answer for resources-preferences
1048
  </p>
1049
 </answer>
1050
970
</api-answers>
1051
</api-answers>
(-)a/projectapi/manifest.mf (-1 / +1 lines)
Lines 1-5 Link Here
1
Manifest-Version: 1.0
1
Manifest-Version: 1.0
2
OpenIDE-Module: org.netbeans.modules.projectapi/1
2
OpenIDE-Module: org.netbeans.modules.projectapi/1
3
OpenIDE-Module-Specification-Version: 1.15
3
OpenIDE-Module-Specification-Version: 1.16
4
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/projectapi/Bundle.properties
4
OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/projectapi/Bundle.properties
5
5
(-)a/projectapi/src/org/netbeans/spi/project/ActionProvider.java (-2 / +26 lines)
Lines 1-7 Link Here
1
/*
1
/*
2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3
 *
3
 *
4
 * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
4
 * Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
5
 *
5
 *
6
 * The contents of this file are subject to the terms of either the GNU
6
 * The contents of this file are subject to the terms of either the GNU
7
 * General Public License Version 2 only ("GPL") or the Common
7
 * General Public License Version 2 only ("GPL") or the Common
Lines 24-30 Link Here
24
 * Contributor(s):
24
 * Contributor(s):
25
 *
25
 *
26
 * The Original Software is NetBeans. The Initial Developer of the Original
26
 * The Original Software is NetBeans. The Initial Developer of the Original
27
 * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
27
 * Software is Sun Microsystems, Inc. Portions Copyright 1997-2008 Sun
28
 * Microsystems, Inc. All Rights Reserved.
28
 * Microsystems, Inc. All Rights Reserved.
29
 *
29
 *
30
 * If you wish your version of this file to be governed by only the CDDL
30
 * If you wish your version of this file to be governed by only the CDDL
Lines 93-98 Link Here
93
     */    
93
     */    
94
    String COMMAND_TEST_SINGLE = "test.single";  // NOI18N
94
    String COMMAND_TEST_SINGLE = "test.single";  // NOI18N
95
    
95
    
96
    /** 
97
     * Standard command for running one test method/function
98
     * 
99
     * @since 1.16
100
     */    
101
    String COMMAND_TEST_SINGLE_METHOD = "test.single.method";  // NOI18N
102
    
96
    /**
103
    /**
97
     * Standard command for running the project in debugger
104
     * Standard command for running the project in debugger
98
     */    
105
     */    
Lines 107-112 Link Here
107
     * Standard command for running one test in debugger
114
     * Standard command for running one test in debugger
108
     */
115
     */
109
    String COMMAND_DEBUG_TEST_SINGLE = "debug.test.single"; // NOI18N
116
    String COMMAND_DEBUG_TEST_SINGLE = "debug.test.single"; // NOI18N
117
    
118
    /** 
119
     * Standard command for running one test method/function in debugger
120
     * 
121
     * @since 1.16
122
     */
123
    String COMMAND_DEBUG_TEST_SINGLE_METHOD = "debug.test.single.method"; // NOI18N
110
    
124
    
111
    /** 
125
    /** 
112
     * Standard command for starting app in debugger and stopping at the 
126
     * Standard command for starting app in debugger and stopping at the 
Lines 142-147 Link Here
142
     */
156
     */
143
    String COMMAND_RENAME = "rename"; // NOI18N
157
    String COMMAND_RENAME = "rename"; // NOI18N
144
    
158
    
159
    /** 
160
     * Standard id for lookup item that holds name of method/function
161
     * to be executed.
162
     * 
163
     * @see  #COMMAND_TEST_SINGLE_METHOD
164
     * @see  #COMMAND_DEBUG_TEST_SINGLE_METHOD
165
     * @since 1.16
166
     */
167
    String LOOKUP_ITEM_ID_METHOD_NAME = "ActionProvider.methodName";    //NOI18N
168
    
145
    /**
169
    /**
146
     * Get a list of all commands which this project supports.
170
     * Get a list of all commands which this project supports.
147
     * @return a list of command names suitable for {@link #invokeAction}
171
     * @return a list of command names suitable for {@link #invokeAction}

Return to bug 137191