Skip to content

Commit 04d422e

Browse files
committed
API fix
1 parent 344bb51 commit 04d422e

File tree

3 files changed

+13
-16
lines changed

3 files changed

+13
-16
lines changed

debug/org.eclipse.debug.core/META-INF/MANIFEST.MF

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
22
Bundle-ManifestVersion: 2
33
Bundle-Name: %pluginName
44
Bundle-SymbolicName: org.eclipse.debug.core; singleton:=true
5-
Bundle-Version: 3.24.0.qualifier
5+
Bundle-Version: 3.23.0.qualifier
66
Bundle-Activator: org.eclipse.debug.core.DebugPlugin
77
Bundle-Vendor: %providerName
88
Bundle-Localization: plugin

debug/org.eclipse.debug.core/core/org/eclipse/debug/core/model/Breakpoint.java

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,13 @@ public Breakpoint() {
6060
*/
6161
private volatile IMarker fMarker;
6262

63+
/**
64+
* Attribute for custom labeling in breakpoints
65+
*
66+
* @since 3.23
67+
*/
68+
private String LABEL = "breakpointLabel"; //$NON-NLS-1$
69+
6370
/**
6471
* @see IBreakpoint#setMarker(IMarker)
6572
*/
@@ -386,7 +393,7 @@ public String toString() {
386393
/**
387394
* Returns associated label associated with the breakpoint.
388395
*
389-
* @since 3.24
396+
* @since 3.23
390397
*/
391398
public String getBreakpointLabel() {
392399
return getMarker().getAttribute(LABEL, ""); //$NON-NLS-1$
@@ -395,11 +402,11 @@ public String getBreakpointLabel() {
395402
/**
396403
* Sets a new label for the breakpoint.
397404
*
398-
* @param label provide by the user
399-
* @since 3.24
405+
* @param labelValue provide by the user
406+
* @since 3.23
400407
*/
401-
public void setBreakpointLabel(String label) throws CoreException {
402-
setAttribute(LABEL, label);
408+
public void setBreakpointLabel(String labelValue) throws CoreException {
409+
setAttribute(LABEL, labelValue);
403410
}
404411

405412
}

debug/org.eclipse.debug.core/core/org/eclipse/debug/core/model/IBreakpoint.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -119,16 +119,6 @@ public interface IBreakpoint extends IAdaptable {
119119
*/
120120
String PERSISTED= "org.eclipse.debug.core.persisted"; //$NON-NLS-1$
121121

122-
/**
123-
* Label breakpoint marker attribute (value
124-
* <code>"org.eclipse.debug.core.label"</code>). The attribute is a
125-
* <code>String</code> corresponding to a custom label of a breakpoint.
126-
*
127-
* @see org.eclipse.core.resources.IMarker#getAttribute(String, String)
128-
* @since 3.24
129-
*/
130-
String LABEL = "org.eclipse.debug.core.label"; //$NON-NLS-1$
131-
132122
/**
133123
* Deletes this breakpoint's underlying marker, and removes this breakpoint
134124
* from the breakpoint manager.

0 commit comments

Comments
 (0)