public abstract class AbstractImportFromExternalSystemControl<ProjectSettings extends ExternalProjectSettings,L extends ExternalSystemSettingsListener<ProjectSettings>,SystemSettings extends AbstractExternalSystemSettings<SystemSettings,ProjectSettings,L>> extends AbstractSettingsControl
Modifier | Constructor and Description |
---|---|
protected |
AbstractImportFromExternalSystemControl(ProjectSystemId externalSystemId,
SystemSettings systemSettings,
ProjectSettings projectSettings) |
protected |
AbstractImportFromExternalSystemControl(ProjectSystemId externalSystemId,
SystemSettings systemSettings,
ProjectSettings projectSettings,
boolean showProjectFormatPanel) |
getProject, setProject
protected AbstractImportFromExternalSystemControl(ProjectSystemId externalSystemId, SystemSettings systemSettings, ProjectSettings projectSettings)
protected AbstractImportFromExternalSystemControl(ProjectSystemId externalSystemId, SystemSettings systemSettings, ProjectSettings projectSettings, boolean showProjectFormatPanel)
public void setCurrentProject(Project currentProject)
null
that means that new ide project is being
created on the target external project basis.currentProject
- current ide project (if any)protected abstract void onLinkedProjectPathChange(java.lang.String path)
protected abstract ExternalSystemSettingsControl<ProjectSettings> createProjectSettingsControl(ProjectSettings settings)
settings
- target external project settingsprotected abstract ExternalSystemSettingsControl<SystemSettings> createSystemSettingsControl(SystemSettings settings)
settings
- target system settingsnull
if current external system doesn't have system-level settings (only project-level settings)public javax.swing.JComponent getComponent()
public ExternalSystemSettingsControl<ProjectSettings> getProjectSettingsControl()
public ExternalSystemSettingsControl<SystemSettings> getSystemSettingsControl()
public void setLinkedProjectPath(java.lang.String path)
public SystemSettings getSystemSettings()
public ProjectSettings getProjectSettings()
public void setShowProjectFormatPanel(boolean showProjectFormatPanel)
public void reset()
public void reset(WizardContext wizardContext, Project project)
reset
in class AbstractSettingsControl
public void apply()
public ProjectFormatPanel getProjectFormatPanel()
public boolean validate(WizardContext wizardContext, boolean defaultFormat) throws ConfigurationException
ConfigurationException