1 11 package org.eclipse.ui.internal.presentations; 12 13 import org.eclipse.swt.widgets.Composite; 14 import org.eclipse.ui.presentations.IStackPresentationSite; 15 import org.eclipse.ui.presentations.StackPresentation; 16 import org.eclipse.ui.presentations.WorkbenchPresentationFactory; 17 18 21 public class R21PresentationFactory extends WorkbenchPresentationFactory { 22 23 26 public StackPresentation createEditorPresentation(Composite parent, 27 IStackPresentationSite site) { 28 return new R21EditorStackPresentation(parent, site); 29 } 30 31 34 public StackPresentation createViewPresentation(Composite parent, 35 IStackPresentationSite site) { 36 return new R21ViewStackPresentation(parent, site); 37 } 38 39 42 public StackPresentation createStandaloneViewPresentation(Composite parent, 43 IStackPresentationSite site, boolean showTitle) { 44 return new R21ViewStackPresentation(parent, site); 46 } 47 48 } 49 | Popular Tags |