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 / +25 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 </summary>
110
            <version major="1" minor="16"/>
111
            <date day="11" month="6" year="2008"/>
112
            <author login="mpetras"/>
113
            <compatibility addition="yes" binary="compatible" deletion="no" deprecation="no" modification="no" semantic="compabile" source="compatible"/>
114
            <description>
115
                <p>
116
                    Added constants <code>COMMAND_TEST_SINGLE_METHOD</code>,
117
                    <code>COMMAND_DEBUG_TEST_SINGLE_METHOD</code> and
118
                    <code>LOOKUP_ITEM_ID_METHOD_NAME</code>. These are
119
                    symbolic names for actions
120
                    &quot;run single test method&quot; and
121
                    &quot;debug single test method&quot;, and
122
                    for Id of <code>Lookup.Item</code> holding identification
123
                    of a test method that should be run by these actions.
124
                </p>
125
            </description>
126
            <class package="org.netbeans.spi.project" name="ActionProvider"/>
127
            <issue number="72080"/>
128
        </change>
129
107
        <change id="lookup-provider">
130
        <change id="lookup-provider">
108
            <api name="general"/>
131
            <api name="general"/>
109
            <summary>Added support for composing project's lookup from multiple sources.</summary>
132
            <summary>Added support for composing project's lookup from multiple sources.</summary>
(-)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