public class ExternalSystemTaskSettingsControl extends java.lang.Object implements ExternalSystemSettingsControl<ExternalSystemTaskExecutionSettings>
| Constructor and Description |
|---|
ExternalSystemTaskSettingsControl(Project project,
ProjectSystemId externalSystemId) |
| Modifier and Type | Method and Description |
|---|---|
void |
apply(ExternalSystemTaskExecutionSettings settings)
Asks current control to fill given settings with the current user-defined values.
|
void |
disposeUIResources() |
void |
fillUi(PaintAwarePanel canvas,
int indentLevel)
Adds current control-specific UI controls to the given canvas.
|
boolean |
isModified() |
void |
reset()
Asks current control to reset its state to the initial one.
|
void |
setOriginalSettings(ExternalSystemTaskExecutionSettings originalSettings) |
void |
showUi(boolean show)
Hides/shows
components added by the current control. |
boolean |
validate(ExternalSystemTaskExecutionSettings settings)
Asks current control to validate given settings with the current user-defined values.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHelpId, reset, resetpublic ExternalSystemTaskSettingsControl(Project project, ProjectSystemId externalSystemId)
public void setOriginalSettings(ExternalSystemTaskExecutionSettings originalSettings)
public void fillUi(PaintAwarePanel canvas, int indentLevel)
ExternalSystemSettingsControlGridBagLayout. That is the reason on why we use
this method instead of a method like 'JComponent getComponent()' - there is a possible case that given canvas has components
from more than one control and we might want them to be aligned.fillUi in interface ExternalSystemSettingsControl<ExternalSystemTaskExecutionSettings>canvas - container to use as a holder for UI components specific to the current controlindentLevel - a hint on how much UI components added by the current control should be indentedpublic void reset()
ExternalSystemSettingsControlreset in interface ExternalSystemSettingsControl<ExternalSystemTaskExecutionSettings>public boolean isModified()
isModified in interface ExternalSystemSettingsControl<ExternalSystemTaskExecutionSettings>true if settings exposed by the current control have been modified; false otherwisepublic void apply(ExternalSystemTaskExecutionSettings settings)
ExternalSystemSettingsControlapply in interface ExternalSystemSettingsControl<ExternalSystemTaskExecutionSettings>settings - settings holderpublic boolean validate(ExternalSystemTaskExecutionSettings settings) throws ConfigurationException
ExternalSystemSettingsControlvalidate in interface ExternalSystemSettingsControl<ExternalSystemTaskExecutionSettings>settings - settings holderConfigurationExceptionpublic void disposeUIResources()
disposeUIResources in interface ExternalSystemSettingsControl<ExternalSystemTaskExecutionSettings>public void showUi(boolean show)
ExternalSystemSettingsControlcomponents added by the current control.showUi in interface ExternalSystemSettingsControl<ExternalSystemTaskExecutionSettings>show - flag which indicates if current control' components should be visible