Skip to content

Commit 6dbb3dd

Browse files
committed
Fix javadoc warnings in ISharedImages
Stop pointing to deprecated Cursor constructors in eclipse-platform/eclipse.platform.swt#2563
1 parent 8bdcda4 commit 6dbb3dd

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

bundles/org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/ISharedImages.java

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*******************************************************************************
2-
* Copyright (c) 2000, 2024 IBM Corporation and others.
2+
* Copyright (c) 2000, 2025 IBM Corporation and others.
33
*
44
* This program and the accompanying materials
55
* are made available under the terms of the Eclipse Public License 2.0
@@ -18,6 +18,7 @@
1818
import org.eclipse.swt.graphics.Device;
1919
import org.eclipse.swt.graphics.Image;
2020
import org.eclipse.swt.graphics.ImageData;
21+
import org.eclipse.swt.graphics.ImageDataProvider;
2122
import org.eclipse.ui.internal.WorkbenchPlugin;
2223

2324
/**
@@ -772,15 +773,15 @@ public interface ISharedImages {
772773
/**
773774
* Identifies the lef arrow cursor. For cursor construction see:
774775
*
775-
* @see Cursor#Cursor(Device, ImageData, ImageData, int, int)
776+
* @see Cursor#Cursor(Device, ImageDataProvider, int, int)
776777
* @since 3.133
777778
*/
778779
String IMG_OBJS_DND_LEFT = "IMG_OBJS_DND_LEFT"; //$NON-NLS-1$
779780

780781
/**
781782
* Identifies the right arrow cursor. For cursor construction see:
782783
*
783-
* @see Cursor#Cursor(Device, ImageData, ImageData, int, int)
784+
* @see Cursor#Cursor(Device, ImageDataProvider, int, int)
784785
* @since 3.133
785786
*/
786787
String IMG_OBJS_DND_RIGHT = "IMG_OBJS_DND_RIGHT"; //$NON-NLS-1$
@@ -804,7 +805,7 @@ public interface ISharedImages {
804805
/**
805806
* Identifies the 'no drop' arrow cursor. For cursor construction see:
806807
*
807-
* @see Cursor#Cursor(Device, ImageData, ImageData, int, int)
808+
* @see Cursor#Cursor(Device, ImageDataProvider, int, int)
808809
* @since 3.133
809810
*/
810811
String IMG_OBJS_DND_INVALID = "IMG_OBJS_DND_INVALID"; //$NON-NLS-1$

0 commit comments

Comments
 (0)