/** * Creates the JAX-RS Application type or define it in the web.xml, depending on the user's * choice. */ @Override public void createType(final IProgressMonitor monitor) throws CoreException, InterruptedException { if (applicationMode == APPLICATION_JAVA) { super.createType(monitor); } else if (applicationMode == APPLICATION_WEB_XML) { createWebXmlApplication(monitor); } }
/** * Overwriting this method to erase the result of the call to the superclass' {@link * NewTypeWizardPage#doStatusUpdate()} method which does not include all statuses. * * @param fieldName */ @Override protected void handleFieldChanged(String fieldName) { super.handleFieldChanged(fieldName); doStatusUpdate(); }
@Override public void init(final IStructuredSelection selection) { super.init(selection); setDefaultValues(selection); setSuperClass(JaxrsClassnames.APPLICATION, true); }