use of com.intellij.application.options.ModulesComboBox in project ballerina by ballerina-lang.
the class BallerinaApplicationSettingsEditor method createUIComponents.
private void createUIComponents() {
myRunKindComboBox = new LabeledComponent<>();
myRunKindComboBox.setComponent(new JComboBox<>());
myFileField = new LabeledComponent<>();
myFileField.setComponent(new TextFieldWithBrowseButton());
myPackageField = new LabeledComponent<>();
myPackageField.setComponent(new BallerinaPackageFieldCompletionProvider(() -> myModulesComboBox.getComponent().getSelectedModule()).createEditor(myProject));
myWorkingDirectoryField = new LabeledComponent<>();
myWorkingDirectoryField.setComponent(new TextFieldWithBrowseButton());
myParamsField = new LabeledComponent<>();
myParamsField.setComponent(new RawCommandLineEditor());
myBallerinaParamsField = new LabeledComponent<>();
myBallerinaParamsField.setComponent(new RawCommandLineEditor());
myModulesComboBox = new LabeledComponent<>();
myModulesComboBox.setComponent(new ModulesComboBox());
}
use of com.intellij.application.options.ModulesComboBox in project ballerina by ballerina-lang.
the class BallerinaTestSettingsEditor method createUIComponents.
private void createUIComponents() {
myFileField = new LabeledComponent<>();
myFileField.setComponent(new TextFieldWithBrowseButton());
myPackageField = new LabeledComponent<>();
myPackageField.setComponent(new BallerinaPackageFieldCompletionProvider(() -> myModulesComboBox.getComponent().getSelectedModule()).createEditor(myProject));
myWorkingDirectoryField = new LabeledComponent<>();
myWorkingDirectoryField.setComponent(new TextFieldWithBrowseButton());
myParamsField = new LabeledComponent<>();
myParamsField.setComponent(new RawCommandLineEditor());
myModulesComboBox = new LabeledComponent<>();
myModulesComboBox.setComponent(new ModulesComboBox());
}
Aggregations