1 11 package org.eclipse.debug.internal.ui.views.launch; 12 13 import org.eclipse.debug.core.model.IThread; 14 import org.eclipse.debug.ui.IDebugEditorPresentation; 15 import org.eclipse.ui.IEditorPart; 16 17 20 public class StandardDecoration extends Decoration { 21 22 private IThread fThread; 23 private IEditorPart fEditor; 24 private IDebugEditorPresentation fPresentation; 25 26 public StandardDecoration(IDebugEditorPresentation presentation, IEditorPart editorPart, IThread thread) { 27 fThread = thread; 28 fEditor = editorPart; 29 fPresentation = presentation; 30 } 31 32 35 public void remove() { 36 fPresentation.removeAnnotations(fEditor, fThread); 37 } 38 39 42 public IThread getThread() { 43 return fThread; 44 } 45 46 } 47 | Popular Tags |