1 20 21 package org.apache.directory.ldapstudio.browser.ui.wizards; 22 23 24 import org.apache.directory.ldapstudio.browser.common.widgets.BaseWidgetUtils; 25 import org.apache.directory.ldapstudio.browser.ui.BrowserUIConstants; 26 import org.apache.directory.ldapstudio.browser.ui.BrowserUIPlugin; 27 import org.eclipse.swt.widgets.Composite; 28 29 30 36 public class ExportDsmlToWizardPage extends ExportBaseToPage 37 { 38 39 private static final String [] EXTENSIONS = new String [] 40 { "*.xml", "*.*" }; 41 42 43 51 public ExportDsmlToWizardPage( String pageName, ExportBaseWizard wizard ) 52 { 53 super( pageName, wizard ); 54 super.setImageDescriptor( BrowserUIPlugin.getDefault().getImageDescriptor( 55 BrowserUIConstants.IMG_EXPORT_DSML_WIZARD ) ); 56 } 57 58 59 62 public void createControl( Composite parent ) 63 { 64 final Composite composite = BaseWidgetUtils.createColumnContainer( parent, 3, 1 ); 65 super.createControl( composite ); 66 } 67 68 69 72 protected String [] getExtensions() 73 { 74 return EXTENSIONS; 75 } 76 77 78 81 protected String getFileType() 82 { 83 return "DSML"; 84 } 85 } 86 | Popular Tags |