protected void setVisibilitySettings() { fVisibilitySelection= fStore.getAccess(); fPrivateVisibility.setSelection(fVisibilitySelection.equals(fStore.PRIVATE)); if (fPrivateVisibility.getSelection()) fDescriptionLabel.setText(JavadocExportMessages.JavadocTreeWizardPage_privatevisibilitydescription_label); fProtectedVisibility.setSelection(fVisibilitySelection.equals(fStore.PROTECTED)); if (fProtectedVisibility.getSelection()) fDescriptionLabel.setText(JavadocExportMessages.JavadocTreeWizardPage_protectedvisibilitydescription_label); fPackageVisibility.setSelection(fVisibilitySelection.equals(fStore.PACKAGE)); if (fPackageVisibility.getSelection()) fDescriptionLabel.setText(JavadocExportMessages.JavadocTreeWizardPage_packagevisibledescription_label); fPublicVisibility.setSelection(fVisibilitySelection.equals(fStore.PUBLIC)); if (fPublicVisibility.getSelection()) fDescriptionLabel.setText(JavadocExportMessages.JavadocTreeWizardPage_publicvisibilitydescription_label); }
protected void setVisibilitySettings() { fVisibilitySelection= fStore.getAccess(); fPrivateVisibility.setSelection(fVisibilitySelection.equals(fStore.PRIVATE)); if (fPrivateVisibility.getSelection()) fDescriptionLabel.setText(JavadocExportMessages.JavadocTreeWizardPage_privatevisibilitydescription_label); fProtectedVisibility.setSelection(fVisibilitySelection.equals(fStore.PROTECTED)); if (fProtectedVisibility.getSelection()) fDescriptionLabel.setText(JavadocExportMessages.JavadocTreeWizardPage_protectedvisibilitydescription_label); fPackageVisibility.setSelection(fVisibilitySelection.equals(fStore.PACKAGE)); if (fPackageVisibility.getSelection()) fDescriptionLabel.setText(JavadocExportMessages.JavadocTreeWizardPage_packagevisibledescription_label); fPublicVisibility.setSelection(fVisibilitySelection.equals(fStore.PUBLIC)); if (fPublicVisibility.getSelection()) fDescriptionLabel.setText(JavadocExportMessages.JavadocTreeWizardPage_publicvisibilitydescription_label); }
protected void setVisibilitySettings() { fVisibilitySelection= fStore.getAccess(); fPrivateVisibility.setSelection(fVisibilitySelection.equals(fStore.PRIVATE)); if (fPrivateVisibility.getSelection()) fDescriptionLabel.setText(JavadocExportMessages.JavadocTreeWizardPage_privatevisibilitydescription_label); fProtectedVisibility.setSelection(fVisibilitySelection.equals(fStore.PROTECTED)); if (fProtectedVisibility.getSelection()) fDescriptionLabel.setText(JavadocExportMessages.JavadocTreeWizardPage_protectedvisibilitydescription_label); fPackageVisibility.setSelection(fVisibilitySelection.equals(fStore.PACKAGE)); if (fPackageVisibility.getSelection()) fDescriptionLabel.setText(JavadocExportMessages.JavadocTreeWizardPage_packagevisibledescription_label); fPublicVisibility.setSelection(fVisibilitySelection.equals(fStore.PUBLIC)); if (fPublicVisibility.getSelection()) fDescriptionLabel.setText(JavadocExportMessages.JavadocTreeWizardPage_publicvisibilitydescription_label); }
private void xmlWriteDoclet(JavadocOptionsManager store, Document document, Element xmlJavadocDesc) throws DOMException { //set the packages and source files List<String> packages= new ArrayList<>(); List<String> sourcefiles= new ArrayList<>(); sortSourceElement(store.getSourceElements(), sourcefiles, packages); if (!packages.isEmpty()) xmlJavadocDesc.setAttribute(store.PACKAGENAMES, toSeparatedList(packages)); if (!sourcefiles.isEmpty()) xmlJavadocDesc.setAttribute(store.SOURCEFILES, toSeparatedList(sourcefiles)); xmlJavadocDesc.setAttribute(store.SOURCEPATH, getPathString(store.getSourcepath())); xmlJavadocDesc.setAttribute(store.CLASSPATH, getPathString(store.getClasspath())); xmlJavadocDesc.setAttribute(store.VISIBILITY, store.getAccess()); Element doclet= document.createElement("doclet"); //$NON-NLS-1$ xmlJavadocDesc.appendChild(doclet); doclet.setAttribute(store.NAME, store.getDocletName()); doclet.setAttribute(store.PATH, store.getDocletPath()); String str= store.getOverview(); if (str.length() > 0) xmlJavadocDesc.setAttribute(store.OVERVIEW, str); str= store.getAdditionalParams(); if (str.length() > 0) xmlJavadocDesc.setAttribute(store.EXTRAOPTIONS, str); }
private void xmlWriteDoclet(JavadocOptionsManager store, Document document, Element xmlJavadocDesc) throws DOMException { //set the packages and source files List<String> packages= new ArrayList<>(); List<String> sourcefiles= new ArrayList<>(); sortSourceElement(store.getSourceElements(), sourcefiles, packages); if (!packages.isEmpty()) xmlJavadocDesc.setAttribute(store.PACKAGENAMES, toSeparatedList(packages)); if (!sourcefiles.isEmpty()) xmlJavadocDesc.setAttribute(store.SOURCEFILES, toSeparatedList(sourcefiles)); xmlJavadocDesc.setAttribute(store.SOURCEPATH, getPathString(store.getSourcepath())); xmlJavadocDesc.setAttribute(store.CLASSPATH, getPathString(store.getClasspath())); xmlJavadocDesc.setAttribute(store.VISIBILITY, store.getAccess()); Element doclet= document.createElement("doclet"); //$NON-NLS-1$ xmlJavadocDesc.appendChild(doclet); doclet.setAttribute(store.NAME, store.getDocletName()); doclet.setAttribute(store.PATH, store.getDocletPath()); String str= store.getOverview(); if (str.length() > 0) xmlJavadocDesc.setAttribute(store.OVERVIEW, str); str= store.getAdditionalParams(); if (str.length() > 0) xmlJavadocDesc.setAttribute(store.EXTRAOPTIONS, str); }
private void xmlWriteDoclet(JavadocOptionsManager store, Document document, Element xmlJavadocDesc) throws DOMException { //set the packages and source files List packages= new ArrayList(); List sourcefiles= new ArrayList(); sortSourceElement(store.getSourceElements(), sourcefiles, packages); if (!packages.isEmpty()) xmlJavadocDesc.setAttribute(store.PACKAGENAMES, toSeparatedList(packages)); if (!sourcefiles.isEmpty()) xmlJavadocDesc.setAttribute(store.SOURCEFILES, toSeparatedList(sourcefiles)); xmlJavadocDesc.setAttribute(store.SOURCEPATH, getPathString(store.getSourcepath())); xmlJavadocDesc.setAttribute(store.CLASSPATH, getPathString(store.getClasspath())); xmlJavadocDesc.setAttribute(store.VISIBILITY, store.getAccess()); Element doclet= document.createElement("doclet"); //$NON-NLS-1$ xmlJavadocDesc.appendChild(doclet); doclet.setAttribute(store.NAME, store.getDocletName()); doclet.setAttribute(store.PATH, store.getDocletPath()); String str= store.getOverview(); if (str.length() > 0) xmlJavadocDesc.setAttribute(store.OVERVIEW, str); str= store.getAdditionalParams(); if (str.length() > 0) xmlJavadocDesc.setAttribute(store.EXTRAOPTIONS, str); }
xmlJavadocDesc.setAttribute(store.VISIBILITY, store.getAccess()); String source= store.getSource(); if (source.length() > 0 && !source.equals("-")) { //$NON-NLS-1$
xmlJavadocDesc.setAttribute(store.VISIBILITY, store.getAccess()); String source= store.getSource(); if (source.length() > 0 && !source.equals("-")) { //$NON-NLS-1$
xmlJavadocDesc.setAttribute(store.VISIBILITY, store.getAccess()); String source= store.getSource(); if (source.length() > 0 && !source.equals("-")) { //$NON-NLS-1$