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 26 public class NativePresentationFactory extends WorkbenchPresentationFactory { 27 28 33 public StackPresentation createEditorPresentation(Composite parent, 34 IStackPresentationSite site) { 35 return new NativeStackPresentation(parent, site); 36 } 37 38 43 public StackPresentation createViewPresentation(Composite parent, 44 IStackPresentationSite site) { 45 return new NativeStackPresentation(parent, site); 46 } 47 48 53 public StackPresentation createStandaloneViewPresentation(Composite parent, 54 IStackPresentationSite site, boolean showTitle) { 55 return new NativeStackPresentation(parent, site); 57 } 58 59 } 60 | Popular Tags |