@@ -449,218 +449,6 @@ public interface ISharedImages {
449449 */
450450 String IMG_TOOL_UP_DISABLED = "IMG_TOOL_UP_DISABLED" ; //$NON-NLS-1$
451451
452- // The following set of constants represent the image pairs that are used
453- // to construct cursors for drag and drop operations within the workbench
454- // Each cursor is represented by two images; the 'source' and the 'mask'
455- // These need to be combined using the following code snippet:
456- // source = getImageDescriptor(sourceId);
457- // mask = getImageDescriptor(maskId);
458- // cursor = new Cursor(display, source.getImageData(), mask.getImageData(), 16,
459- // 16);
460-
461- /**
462- * Cursor 'source' for the left arrow cursor. For cursor construction see:
463- *
464- * @see Cursor#Cursor(Device, ImageData, ImageData, int, int)
465- * @since 3.5
466- * @deprecated Dropped in favor of {@link #IMG_OBJS_DND_LEFT}. The replacement
467- * icon does <b>not</b> require a mask.
468- * @noreference Marked for deletion since newer versions are available; see
469- * https://github.com/eclipse-platform/eclipse.platform.ui/pull/2084
470- */
471- @ Deprecated (forRemoval = true , since = "2024-09" )
472- String IMG_OBJS_DND_LEFT_SOURCE = "IMG_OBJS_DND_LEFT_SOURCE" ; //$NON-NLS-1$
473- /**
474- * Cursor 'mask' for the left arrow cursor. For cursor construction see:
475- *
476- * @see Cursor#Cursor(Device, ImageData, ImageData, int, int)
477- * @since 3.5
478- * @deprecated No longer needed with {@link #IMG_OBJS_DND_LEFT}.
479- * @noreference Marked for deletion since newer versions are available; see
480- * https://github.com/eclipse-platform/eclipse.platform.ui/pull/2084
481- */
482- @ Deprecated (forRemoval = true , since = "2024-09" )
483- String IMG_OBJS_DND_LEFT_MASK = "IMG_OBJS_DND_LEFT_MASK" ; //$NON-NLS-1$
484-
485- /**
486- * Cursor 'source' for the right arrow cursor. For cursor construction see:
487- *
488- * @see Cursor#Cursor(Device, ImageData, ImageData, int, int)
489- * @since 3.5
490- * @deprecated Dropped in favor of {@link #IMG_OBJS_DND_RIGHT}. The replacement
491- * icon does <b>not</b> require a mask.
492- * @noreference Marked for deletion since newer versions are available; see
493- * https://github.com/eclipse-platform/eclipse.platform.ui/pull/2084
494- */
495- @ Deprecated (forRemoval = true , since = "2024-09" )
496- String IMG_OBJS_DND_RIGHT_SOURCE = "IMG_OBJS_DND_RIGHT_SOURCE" ; //$NON-NLS-1$
497- /**
498- * Cursor 'mask' for the right arrow cursor. For cursor construction see:
499- *
500- * @see Cursor#Cursor(Device, ImageData, ImageData, int, int)
501- * @since 3.5
502- * @deprecated No longer needed with {@link #IMG_OBJS_DND_RIGHT}.
503- * @noreference Marked for deletion since newer versions are available; see
504- * https://github.com/eclipse-platform/eclipse.platform.ui/pull/2084
505- */
506- @ Deprecated (forRemoval = true , since = "2024-09" )
507- String IMG_OBJS_DND_RIGHT_MASK = "IMG_OBJS_DND_RIGHT_MASK" ; //$NON-NLS-1$
508-
509- /**
510- * Cursor 'source' for the up arrow cursor. For cursor construction see:
511- *
512- * @see Cursor#Cursor(Device, ImageData, ImageData, int, int)
513- * @since 3.5
514- * @deprecated Dropped in favor of {@link #IMG_OBJS_DND_TOP}. The replacement
515- * icon does <b>not</b> require a mask.
516- * @noreference Marked for deletion since newer versions are available; see
517- * https://github.com/eclipse-platform/eclipse.platform.ui/pull/2084
518- */
519- @ Deprecated (forRemoval = true , since = "2024-09" )
520- String IMG_OBJS_DND_TOP_SOURCE = "IMG_OBJS_DND_TOP_SOURCE" ; //$NON-NLS-1$
521- /**
522- * Cursor 'mask' for the up arrow cursor. For cursor construction see:
523- *
524- * @see Cursor#Cursor(Device, ImageData, ImageData, int, int)
525- * @since 3.5
526- * @deprecated No longer needed with {@link #IMG_OBJS_DND_TOP}.
527- * @noreference Marked for deletion since newer versions are available; see
528- * https://github.com/eclipse-platform/eclipse.platform.ui/pull/2084
529- */
530- @ Deprecated (forRemoval = true , since = "2024-09" )
531- String IMG_OBJS_DND_TOP_MASK = "IMG_OBJS_DND_TOP_MASK" ; //$NON-NLS-1$
532-
533- /**
534- * Cursor 'source' for the down arrow cursor. For cursor construction see:
535- *
536- * @see Cursor#Cursor(Device, ImageData, ImageData, int, int)
537- * @since 3.5
538- * @deprecated Dropped in favor of {@link #IMG_OBJS_DND_BOTTOM}. The replacement
539- * icon does <b>not</b> require a mask.
540- * @noreference Marked for deletion since newer versions are available; see
541- * https://github.com/eclipse-platform/eclipse.platform.ui/pull/2084
542- */
543- @ Deprecated (forRemoval = true , since = "2024-09" )
544- String IMG_OBJS_DND_BOTTOM_SOURCE = "IMG_OBJS_DND_BOTTOM_SOURCE" ; //$NON-NLS-1$
545- /**
546- * Cursor 'mask' for the down arrow cursor. For cursor construction see:
547- *
548- * @see Cursor#Cursor(Device, ImageData, ImageData, int, int)
549- * @since 3.5
550- * @deprecated No longer needed with {@link #IMG_OBJS_DND_BOTTOM}.
551- * @noreference Marked for deletion since newer versions are available; see
552- * https://github.com/eclipse-platform/eclipse.platform.ui/pull/2084
553- */
554- @ Deprecated (forRemoval = true , since = "2024-09" )
555- String IMG_OBJS_DND_BOTTOM_MASK = "IMG_OBJS_DND_BOTTOM_MASK" ; //$NON-NLS-1$
556-
557- /**
558- * Cursor 'source' for the 'no drop' arrow cursor. For cursor construction see:
559- *
560- * @see Cursor#Cursor(Device, ImageData, ImageData, int, int)
561- * @since 3.5
562- * @deprecated Dropped in favor of {@link #IMG_OBJS_DND_INVALID}. The
563- * replacement icon does <b>not</b> require a mask.
564- * @noreference Marked for deletion since newer versions are available; see
565- * https://github.com/eclipse-platform/eclipse.platform.ui/pull/2084
566- */
567- @ Deprecated (forRemoval = true , since = "2024-09" )
568- String IMG_OBJS_DND_INVALID_SOURCE = "IMG_OBJS_DND_INVALID_SOURCE" ; //$NON-NLS-1$
569- /**
570- * Cursor 'mask' for the 'no drop' arrow cursor. For cursor construction see:
571- *
572- * @see Cursor#Cursor(Device, ImageData, ImageData, int, int)
573- * @since 3.5
574- * @deprecated No longer needed with {@link #IMG_OBJS_DND_INVALID}.
575- * @noreference Marked for deletion since newer versions are available; see
576- * https://github.com/eclipse-platform/eclipse.platform.ui/pull/2084
577- */
578- @ Deprecated (forRemoval = true , since = "2024-09" )
579- String IMG_OBJS_DND_INVALID_MASK = "IMG_OBJS_DND_INVALID_MASK" ; //$NON-NLS-1$
580-
581- /**
582- * Cursor 'source' for the 'in stack' arrow cursor. For cursor construction see:
583- *
584- * @see Cursor#Cursor(Device, ImageData, ImageData, int, int)
585- * @since 3.5
586- * @deprecated Dropped in favor of {@link #IMG_OBJS_DND_STACK}. The replacement
587- * icon does <b>not</b> require a mask.
588- * @noreference Marked for deletion since newer versions are available; see
589- * https://github.com/eclipse-platform/eclipse.platform.ui/pull/2084
590- */
591- @ Deprecated (forRemoval = true , since = "2024-09" )
592- String IMG_OBJS_DND_STACK_SOURCE = "IMG_OBJS_DND_STACK_SOURCE" ; //$NON-NLS-1$
593- /**
594- * Cursor 'mask' for the 'in stack' arrow cursor. For cursor construction see:
595- *
596- * @see Cursor#Cursor(Device, ImageData, ImageData, int, int)
597- * @since 3.5
598- * @deprecated No longer needed with {@link #IMG_OBJS_DND_STACK}.
599- * @noreference Marked for deletion since newer versions are available; see
600- * https://github.com/eclipse-platform/eclipse.platform.ui/pull/2084
601- */
602- @ Deprecated (forRemoval = true , since = "2024-09" )
603- String IMG_OBJS_DND_STACK_MASK = "IMG_OBJS_DND_STACK_MASK" ; //$NON-NLS-1$
604-
605- /**
606- * Cursor 'source' for the 'off-screen' (detached window) arrow cursor. For
607- * cursor construction see:
608- *
609- * @see Cursor#Cursor(Device, ImageData, ImageData, int, int)
610- * @since 3.5
611- * @deprecated Dropped in favor of {@link #IMG_OBJS_DND_OFFSCREEN}. The
612- * replacement icon does <b>not</b> require a mask.
613- * @noreference Marked for deletion since newer versions are available; see
614- * https://github.com/eclipse-platform/eclipse.platform.ui/pull/2084
615- */
616- @ Deprecated (forRemoval = true , since = "2024-09" )
617- String IMG_OBJS_DND_OFFSCREEN_SOURCE = "IMG_OBJS_DND_OFFSCREEN_SOURCE" ; //$NON-NLS-1$
618- /**
619- * Cursor 'mask' for the 'off-screen' (detached window) arrow cursor. For cursor
620- * construction see:
621- *
622- * @see Cursor#Cursor(Device, ImageData, ImageData, int, int)
623- * @since 3.5
624- * @deprecated No longer needed with {@link #IMG_OBJS_DND_OFFSCREEN}.
625- * @noreference Marked for deletion since newer versions are available; see
626- * https://github.com/eclipse-platform/eclipse.platform.ui/pull/2084
627- */
628- @ Deprecated (forRemoval = true , since = "2024-09" )
629- String IMG_OBJS_DND_OFFSCREEN_MASK = "IMG_OBJS_DND_OFFSCREEN_MASK" ; //$NON-NLS-1$
630-
631- /**
632- * Cursor 'source' for the 'fast-view' arrow cursor. For cursor construction
633- * see:
634- *
635- * @see Cursor#Cursor(Device, ImageData, ImageData, int, int)
636- * @since 3.5
637- * @deprecated Dropped in favor of {@link #IMG_OBJS_DND_TOFASTVIEW}. The
638- * replacement icon does <b>not</b> require a mask.
639- * @noreference Marked for deletion since newer versions are available; see
640- * https://github.com/eclipse-platform/eclipse.platform.ui/pull/2084
641- */
642- @ Deprecated (forRemoval = true , since = "2024-09" )
643- String IMG_OBJS_DND_TOFASTVIEW_SOURCE = "IMG_OBJS_DND_TOFASTVIEW_SOURCE" ; //$NON-NLS-1$
644- /**
645- * Cursor 'mask' for the 'fast-view' arrow cursor. For cursor construction see:
646- *
647- * @see Cursor#Cursor(Device, ImageData, ImageData, int, int)
648- * @since 3.5
649- * @deprecated No longer needed with {@link #IMG_OBJS_DND_TOFASTVIEW}.
650- * @noreference Marked for deletion since newer versions are available; see
651- * https://github.com/eclipse-platform/eclipse.platform.ui/pull/2084
652- */
653- @ Deprecated (forRemoval = true , since = "2024-09" )
654- String IMG_OBJS_DND_TOFASTVIEW_MASK = "IMG_OBJS_DND_TOFASTVIEW_MASK" ; //$NON-NLS-1$
655-
656- // The following set of constants represent the images that are used to
657- // construct cursors for drag and drop operations within the workbench.
658- // The hotspot of those cursors is the center of the image, which needs to be
659- // calculated dynamically w.r.t. the current device zoom:
660- // descriptor = getImageDescriptor(id);
661- // cursor = new Cursor(display, descriptor.getImageData(100), 16, 16);
662- // cursor = new Cursor(display, descriptor.getImageData(200), 32, 32);
663-
664452 /**
665453 * Identifies the lef arrow cursor. For cursor construction see:
666454 *
0 commit comments