public List<String> getRuntimeNames(String version) { SeamRuntime[] rts = SeamRuntimeManager.getInstance().getRuntimes(SeamVersion.parseFromString(version)); List<String> result = new ArrayList<String>(); for (SeamRuntime seamRuntime : rts) { result.add(seamRuntime.getName()); } return result; }
/* * (non-Javadoc) * * @see * org.jboss.tools.seam.ui.wizard.SeamWizardFactory.NewSeamRuntimeAction * #getSeamVersions() */ @Override protected SeamVersion[] getSeamVersions() { String seamVersion = model.getProperty(IFacetDataModelProperties.FACET_VERSION_STR).toString(); return new SeamVersion[] {SeamVersion.parseFromString(seamVersion)}; }