1 14 package org.eclipse.ui; 15 16 71 public interface IPageLayout { 72 73 77 public static String ID_EDITOR_AREA = "org.eclipse.ui.editorss"; 79 82 public static String ID_RES_NAV = "org.eclipse.ui.views.ResourceNavigator"; 84 87 public static String ID_PROP_SHEET = "org.eclipse.ui.views.PropertySheet"; 89 92 public static String ID_OUTLINE = "org.eclipse.ui.views.ContentOutline"; 94 97 public static String ID_BOOKMARKS = "org.eclipse.ui.views.BookmarkView"; 99 103 public static String ID_PROBLEM_VIEW = "org.eclipse.ui.views.ProblemView"; 105 109 public static String ID_PROGRESS_VIEW = "org.eclipse.ui.views.ProgressView"; 111 114 public static String ID_TASK_LIST = "org.eclipse.ui.views.TaskList"; 116 121 public static final String ID_NAVIGATE_ACTION_SET = "org.eclipse.ui.NavigateActionSet"; 123 127 public static final int LEFT = 1; 128 129 133 public static final int RIGHT = 2; 134 135 139 public static final int TOP = 3; 140 141 145 public static final int BOTTOM = 4; 146 147 151 public static final float RATIO_MIN = 0.05f; 152 153 157 public static final float RATIO_MAX = 0.95f; 158 159 163 public static final float DEFAULT_FASTVIEW_RATIO = 0.3f; 164 165 169 public static final float DEFAULT_VIEW_RATIO = 0.5f; 170 171 175 public static final float INVALID_RATIO = -1f; 176 177 181 public static final float NULL_RATIO = -2f; 182 183 190 public void addActionSet(String actionSetId); 191 192 201 public void addFastView(String viewId); 202 203 214 public void addFastView(String viewId, float ratio); 215 216 225 public void addNewWizardShortcut(String id); 226 227 236 public void addPerspectiveShortcut(String id); 237 238 265 public void addPlaceholder(String viewId, int relationship, float ratio, 266 String refId); 267 268 277 public void addShowInPart(String id); 278 279 288 public void addShowViewShortcut(String id); 289 290 310 public void addView(String viewId, int relationship, float ratio, 311 String refId); 312 313 334 public IFolderLayout createFolder(String folderId, int relationship, 335 float ratio, String refId); 336 337 359 public IPlaceholderFolderLayout createPlaceholderFolder(String folderId, 360 int relationship, float ratio, String refId); 361 362 373 public String getEditorArea(); 374 375 381 public boolean isEditorAreaVisible(); 382 383 388 public void setEditorAreaVisible(boolean showEditorArea); 389 390 399 public int getEditorReuseThreshold(); 400 401 409 public void setEditorReuseThreshold(int openEditors); 410 411 419 public void setFixed(boolean isFixed); 420 421 430 public boolean isFixed(); 431 432 442 public IViewLayout getViewLayout(String id); 443 444 475 public void addStandaloneView(String viewId, boolean showTitle, 476 int relationship, float ratio, String refId); 477 478 514 public void addStandaloneViewPlaceholder(String viewId, int relationship, 515 float ratio, String refId, boolean showTitle); 516 517 518 524 public IPerspectiveDescriptor getDescriptor(); 525 526 539 public IPlaceholderFolderLayout getFolderForView(String id); 540 } 541 | Popular Tags |