@Override public boolean performCancel() { updateStore(); //If the wizard was not launched from an ant file store the settings if (fXmlJavadocFile == null) { IJavaProject[] checkedProjects= fTreeWizardPage.getCheckedProjects(); fStore.updateDialogSettings(getDialogSettings(), checkedProjects); } return super.performCancel(); }
@Override public boolean performCancel() { updateStore(); //If the wizard was not launched from an ant file store the settings if (fXmlJavadocFile == null) { IJavaProject[] checkedProjects= fTreeWizardPage.getCheckedProjects(); fStore.updateDialogSettings(getDialogSettings(), checkedProjects); } return super.performCancel(); }
@Override public void setVisible(boolean visible) { super.setVisible(visible); if (visible) { doValidation(STYLESHEETSTATUS); updateHRefList(fFirstPage.getCheckedProjects()); } else { updateStore(); } }
@Override public void setVisible(boolean visible) { super.setVisible(visible); if (visible) { doValidation(STYLESHEETSTATUS); updateHRefList(fFirstPage.getCheckedProjects()); } else { updateStore(); } }
public boolean performCancel() { IJavaProject[] checkedProjects= fJTWPage.getCheckedProjects(); updateStore(checkedProjects); //If the wizard was not launched from an ant file store the settings if (fXmlJavadocFile == null) { fStore.updateDialogSettings(getDialogSettings(), checkedProjects); } return super.performCancel(); }
protected void updateStore() { IJavaProject[] checkedProjects= getCheckedProjects(); if (fCustomButton.getSelection()) { fStore.setDocletName(fDocletTypeText.getText()); fStore.setDocletPath(fDocletText.getText()); fStore.setFromStandard(false); } if (fStandardButton.getSelection()) { fStore.setFromStandard(true); //the destination used in javadoc generation fStore.setDestination(fDestinationText.getText()); } fStore.setSourcepath(getSourcePath(checkedProjects)); fStore.setClasspath(getClassPath(checkedProjects)); fStore.setAccess(fVisibilitySelection); fStore.setSelectedElements(getSourceElements(checkedProjects)); ArrayList<String> commands= new ArrayList<>(); commands.add(fJavadocCommandText.getText()); // must be first String[] items= fJavadocCommandText.getItems(); for (int i= 0; i < items.length; i++) { String curr= items[i]; if (!commands.contains(curr)) { commands.add(curr); } } fStore.setJavadocCommandHistory(commands.toArray(new String[commands.size()])); }
protected void updateStore() { IJavaProject[] checkedProjects= getCheckedProjects(); if (fCustomButton.getSelection()) { fStore.setDocletName(fDocletTypeText.getText()); fStore.setDocletPath(fDocletText.getText()); fStore.setFromStandard(false); } if (fStandardButton.getSelection()) { fStore.setFromStandard(true); //the destination used in javadoc generation fStore.setDestination(fDestinationText.getText()); } fStore.setSourcepath(getSourcePath(checkedProjects)); fStore.setClasspath(getClassPath(checkedProjects)); fStore.setAccess(fVisibilitySelection); fStore.setSelectedElements(getSourceElements(checkedProjects)); ArrayList<String> commands= new ArrayList<>(); commands.add(fJavadocCommandText.getText()); // must be first String[] items= fJavadocCommandText.getItems(); for (int i= 0; i < items.length; i++) { String curr= items[i]; if (!commands.contains(curr)) { commands.add(curr); } } fStore.setJavadocCommandHistory(commands.toArray(new String[commands.size()])); }
public void setVisible(boolean visible) { super.setVisible(visible); if (visible) { doValidation(STYLESHEETSTATUS); updateHRefList(fFirstPage.getCheckedProjects()); } else { fStore.setHRefs(getHRefs()); } }
updateStore(); IJavaProject[] checkedProjects= fTreeWizardPage.getCheckedProjects(); fStore.updateDialogSettings(getDialogSettings(), checkedProjects);
updateStore(); IJavaProject[] checkedProjects= fTreeWizardPage.getCheckedProjects(); fStore.updateDialogSettings(getDialogSettings(), checkedProjects);
public boolean performFinish() { IJavaProject[] checkedProjects= fJTWPage.getCheckedProjects(); updateStore(checkedProjects);