1 20 21 package org.apache.directory.ldapstudio.browser.ui.wizards; 22 23 24 import org.apache.directory.ldapstudio.browser.common.widgets.search.SearchPageWrapper; 25 import org.apache.directory.ldapstudio.browser.ui.BrowserUIConstants; 26 import org.apache.directory.ldapstudio.browser.ui.BrowserUIPlugin; 27 28 29 35 public class ExportExcelFromWizardPage extends ExportBaseFromWizardPage 36 { 37 38 51 public ExportExcelFromWizardPage( String pageName, ExportBaseWizard wizard ) 52 { 53 super( pageName, wizard, new SearchPageWrapper( 54 SearchPageWrapper.NAME_INVISIBLE 55 | SearchPageWrapper.RETURN_DN_VISIBLE 56 | SearchPageWrapper.RETURN_DN_CHECKED 57 | SearchPageWrapper.RETURN_ALLATTRIBUTES_VISIBLE 58 | SearchPageWrapper.RETURN_OPERATIONALATTRIBUTES_VISIBLE 59 | ( ( wizard.getSearch().getReturningAttributes() == null || wizard.getSearch() 60 .getReturningAttributes().length == 0 ) ? SearchPageWrapper.RETURN_ALLATTRIBUTES_CHECKED 61 : SearchPageWrapper.NONE ) ) ); 62 super.setImageDescriptor( BrowserUIPlugin.getDefault().getImageDescriptor( 63 BrowserUIConstants.IMG_EXPORT_XLS_WIZARD ) ); 64 } 65 66 67 72 public boolean isExportDn() 73 { 74 return spw.isReturnDn(); 75 } 76 77 } 78 | Popular Tags |