public ProjectImporterDescriptorImpl(org.eclipse.che.api.project.shared.dto.ProjectImporterDescriptor origin) { this.internal = origin.isInternal(); java.util.Map<java.lang.String, java.lang.String> attributesIn = origin.getAttributes(); if (attributesIn != null) { java.util.Map<java.lang.String, java.lang.String> attributesOut = new java.util.HashMap<java.lang.String, java.lang.String>(); for (java.util.Map.Entry<String, java.lang.String> entry0 : attributesIn.entrySet()) { java.lang.String attributesIn_ = entry0.getValue(); attributesOut.put(entry0.getKey(), attributesIn_); } this.attributes = attributesOut; } this.category = origin.getCategory(); this.id = origin.getId(); this.description = origin.getDescription(); }
/** {@inheritDoc} */ @Override public void projectImporterSelected(ProjectImporterDescriptor importer) { selectedProjectImporter = importer; view.setImporterDescription(importer.getDescription()); if (importerSelectionListener != null) { importerSelectionListener.onImporterSelected(importer); } updateDelegate.updateControls(); }