1 12 package org.eclipse.ui.presentations; 13 14 import org.eclipse.jface.action.IMenuManager; 15 import org.eclipse.swt.graphics.Point; 16 17 24 public interface IStackPresentationSite { 25 public static int STATE_MINIMIZED = 0; 26 27 public static int STATE_MAXIMIZED = 1; 28 29 public static int STATE_RESTORED = 2; 30 31 37 public void setState(int newState); 38 39 44 public int getState(); 45 46 52 public boolean supportsState(int state); 53 54 63 public void dragStart(IPresentablePart beingDragged, Point initialPosition, 64 boolean keyboard); 65 66 71 public void close(IPresentablePart[] toClose); 72 73 81 public void dragStart(Point initialPosition, boolean keyboard); 82 83 89 public boolean isCloseable(IPresentablePart toClose); 90 91 98 public boolean isPartMoveable(IPresentablePart toMove); 99 100 105 public boolean isStackMoveable(); 106 107 112 public void selectPart(IPresentablePart toSelect); 113 114 119 public IPresentablePart getSelectedPart(); 120 121 134 public void addSystemActions(IMenuManager menuManager); 135 136 143 public void flushLayout(); 144 145 151 public IPresentablePart[] getPartList(); 152 153 166 public String getProperty(String id); 167 } 168 | Popular Tags |