protected void configureManifest() { final Map<String, IPath> namespaces = plugin.getXMLNamespaceManifestPath(); final XMLNamespaceManifestPath[] paths = new XMLNamespaceManifestPath[namespaces.size()]; int iterator = 0; for (final Map.Entry<String, IPath> namespace : namespaces.entrySet()) { // Converts <String, IPath> to XMLNamespaceManifestPath. paths[iterator++] = new XMLNamespaceManifestPath(namespace.getKey(), namespace.getValue()); } ((FlexLibraryProjectSettings) settings).setManifestPaths(paths); }
@Override protected void saveDescription() { final FlexLibraryProjectSettings flexProjectSettings = (FlexLibraryProjectSettings) settings; flexProjectSettings.saveDescription(project, monitor); }