1 11 package org.eclipse.ui.application; 12 13 import org.eclipse.core.runtime.IStatus; 14 import org.eclipse.swt.dnd.DropTargetListener; 15 import org.eclipse.swt.dnd.Transfer; 16 import org.eclipse.swt.graphics.Point; 17 import org.eclipse.swt.widgets.Composite; 18 import org.eclipse.swt.widgets.Control; 19 import org.eclipse.swt.widgets.Menu; 20 import org.eclipse.ui.IMemento; 21 import org.eclipse.ui.IWorkbenchWindow; 22 import org.eclipse.ui.presentations.AbstractPresentationFactory; 23 24 43 public interface IWorkbenchWindowConfigurer { 44 49 public IWorkbenchWindow getWindow(); 50 51 56 public IWorkbenchConfigurer getWorkbenchConfigurer(); 57 58 64 public IActionBarConfigurer getActionBarConfigurer(); 65 66 71 public String getTitle(); 72 73 78 public void setTitle(String title); 79 80 89 public boolean getShowMenuBar(); 90 91 97 public void setShowMenuBar(boolean show); 98 99 108 public boolean getShowCoolBar(); 109 110 116 public void setShowCoolBar(boolean show); 117 118 127 public boolean getShowStatusLine(); 128 129 135 public void setShowStatusLine(boolean show); 136 137 147 public boolean getShowPerspectiveBar(); 148 149 156 public void setShowPerspectiveBar(boolean show); 157 158 167 public boolean getShowFastViewBars(); 168 169 175 public void setShowFastViewBars(boolean enable); 176 177 186 public boolean getShowProgressIndicator(); 187 188 194 public void setShowProgressIndicator(boolean show); 195 196 202 public int getShellStyle(); 203 204 216 public void setShellStyle(int shellStyle); 217 218 223 public Point getInitialSize(); 224 225 233 public void setInitialSize(Point initialSize); 234 235 242 public Object getData(String key); 243 244 250 public void setData(String key, Object data); 251 252 274 public void addEditorAreaTransfer(Transfer transfer); 275 276 297 public void configureEditorAreaDropListener( 298 DropTargetListener dropTargetListener); 299 300 314 public AbstractPresentationFactory getPresentationFactory(); 315 316 331 public void setPresentationFactory(AbstractPresentationFactory factory); 332 333 347 public Menu createMenuBar(); 348 349 365 public Control createCoolBarControl(Composite parent); 366 367 383 public Control createStatusLineControl(Composite parent); 384 385 400 public Control createPageComposite(Composite parent); 401 402 410 public IStatus saveState(IMemento memento); 411 } 412 | Popular Tags |