Your browser does not support JavaScript and this site utilizes JavaScript to build content and provide links to additional information. You should either enable JavaScript in your browser settings or use a browser that supports JavaScript in order to take full advantage of this site.
1 11 package org.eclipse.ui.presentations; 12 13 import org.eclipse.jface.util.IPropertyChangeListener; 14 import org.eclipse.swt.graphics.Image; 15 import org.eclipse.swt.graphics.Rectangle; 16 import org.eclipse.swt.widgets.Control; 17 import org.eclipse.ui.IPropertyListener; 18 import org.eclipse.ui.IWorkbenchPartConstants; 19 20 29 public interface IPresentablePart { 30 31 34 public static final int PROP_DIRTY = IWorkbenchPartConstants.PROP_DIRTY; 35 36 39 public static final int PROP_INPUT = IWorkbenchPartConstants.PROP_INPUT; 40 41 45 public static final int PROP_TITLE = IWorkbenchPartConstants.PROP_TITLE; 46 47 50 public static final int PROP_CONTENT_DESCRIPTION = IWorkbenchPartConstants.PROP_CONTENT_DESCRIPTION; 51 52 55 public static final int PROP_PART_NAME = IWorkbenchPartConstants.PROP_PART_NAME; 56 57 60 public static final int PROP_BUSY = 0x92; 61 62 65 public static final int PROP_TOOLBAR = 0x93; 66 67 71 public static final int PROP_HIGHLIGHT_IF_BACK = 0x94; 72 73 76 public static final int PROP_PANE_MENU = 0x302; 77 78 83 public void setBounds(Rectangle bounds); 84 85 93 public void setVisible(boolean isVisible); 94 95 98 public void setFocus(); 99 100 109 public void addPropertyListener(IPropertyListener listener); 110 111 116 public void removePropertyListener(IPropertyListener listener); 117 118 124 public String getName(); 125 126 137 public String getTitle(); 138 139 151 public String getTitleStatus(); 152 153 165 public Image getTitleImage(); 166 167 178 public String getTitleToolTip(); 179 180 188 public boolean isDirty(); 189 190 194 public boolean isBusy(); 195 196 202 public boolean isCloseable(); 203 204 210 public Control getToolBar(); 211 212 217 public IPartMenu getMenu(); 218 219 228 public Control getControl(); 229 230 242 public String getPartProperty(String key); 243 244 255 public void addPartPropertyListener(IPropertyChangeListener listener); 256 257 268 public void removePartPropertyListener(IPropertyChangeListener listener); 269 } 270
| Popular Tags
|