1 11 12 package org.eclipse.ui; 13 14 import org.eclipse.jface.util.IPropertyChangeListener; 15 import org.eclipse.swt.graphics.Image; 16 17 25 public interface IWorkbenchPartReference { 26 32 public IWorkbenchPart getPart(boolean restore); 33 34 37 public String getTitle(); 38 39 42 public Image getTitleImage(); 43 44 47 public String getTitleToolTip(); 48 49 52 public String getId(); 53 54 57 public void addPropertyListener(IPropertyListener listener); 58 59 62 public void removePropertyListener(IPropertyListener listener); 63 64 67 public IWorkbenchPage getPage(); 68 69 76 public String getPartName(); 77 78 85 public String getContentDescription(); 86 87 88 95 public boolean isDirty(); 96 97 108 public String getPartProperty(String key); 109 110 117 public void addPartPropertyListener(IPropertyChangeListener listener); 118 119 126 public void removePartPropertyListener(IPropertyChangeListener listener); 127 } 128 | Popular Tags |