use of com.intellij.execution.ui.MacroComboBoxWithBrowseButton in project intellij-elixir by KronicDeth.
the class ParametersPanel method addSysConfigPathComponent.
private void addSysConfigPathComponent() {
FileChooserDescriptor fileChooserDescriptor = FileChooserDescriptorFactory.createSingleFileDescriptor();
// noinspection DialogTitleCapitalization
fileChooserDescriptor.setTitle("Select sys.config File");
MacroComboBoxWithBrowseButton sysConfigPathComboBox = new MacroComboBoxWithBrowseButton(fileChooserDescriptor, getProject());
sysConfigPathComponent = LabeledComponent.create(sysConfigPathComboBox, "sys.config File");
sysConfigPathComponent.setLabelLocation(BorderLayout.WEST);
add(sysConfigPathComponent, 7);
}
use of com.intellij.execution.ui.MacroComboBoxWithBrowseButton in project intellij-elixir by KronicDeth.
the class ParametersPanel method addReleaseConfigDirectoryComponent.
private void addReleaseConfigDirectoryComponent() {
FileChooserDescriptor fileChooserDescriptor = FileChooserDescriptorFactory.createSingleFolderDescriptor();
fileChooserDescriptor.setTitle("Select Release Config Directory");
MacroComboBoxWithBrowseButton releaseConfigDirectoryComboBox = new MacroComboBoxWithBrowseButton(fileChooserDescriptor, getProject());
releaseConfigDirectoryComponent = LabeledComponent.create(releaseConfigDirectoryComboBox, "Release Config Directory");
releaseConfigDirectoryComponent.setLabelLocation(BorderLayout.WEST);
add(releaseConfigDirectoryComponent, 8);
}
use of com.intellij.execution.ui.MacroComboBoxWithBrowseButton in project intellij-elixir by KronicDeth.
the class ParametersPanel method addPipeDirectoryComponent.
private void addPipeDirectoryComponent() {
FileChooserDescriptor fileChooserDescriptor = FileChooserDescriptorFactory.createSingleFolderDescriptor();
fileChooserDescriptor.setTitle("Select Pipe Directory");
MacroComboBoxWithBrowseButton pipeDirectoryComboBox = new MacroComboBoxWithBrowseButton(fileChooserDescriptor, getProject());
pipeDirectoryComponent = LabeledComponent.create(pipeDirectoryComboBox, "Pipe directory");
pipeDirectoryComponent.setLabelLocation(BorderLayout.WEST);
add(pipeDirectoryComponent, 9);
}
use of com.intellij.execution.ui.MacroComboBoxWithBrowseButton in project intellij-elixir by KronicDeth.
the class ParametersPanel method addLogDirectoryComponent.
private void addLogDirectoryComponent() {
FileChooserDescriptor fileChooserDescriptor = FileChooserDescriptorFactory.createSingleFolderDescriptor();
fileChooserDescriptor.setTitle("Select Log Directory");
MacroComboBoxWithBrowseButton logDirectoryComboBox = new MacroComboBoxWithBrowseButton(fileChooserDescriptor, getProject());
logDirectoryComponent = LabeledComponent.create(logDirectoryComboBox, "Log Directory");
logDirectoryComponent.setLabelLocation(BorderLayout.WEST);
add(logDirectoryComponent, 5);
}
use of com.intellij.execution.ui.MacroComboBoxWithBrowseButton in project intellij-elixir by KronicDeth.
the class ParametersPanel method addReleaseCLIPathComponent.
private void addReleaseCLIPathComponent() {
FileChooserDescriptor fileChooserDescriptor = FileChooserDescriptorFactory.createSingleFileDescriptor();
fileChooserDescriptor.setTitle("Select Release CLI");
MacroComboBoxWithBrowseButton releaseCLIPathComboBox = new MacroComboBoxWithBrowseButton(fileChooserDescriptor, getProject());
releaseCLIPathComponent = LabeledComponent.create(releaseCLIPathComboBox, "Release CLI Path");
releaseCLIPathComponent.setLabelLocation(BorderLayout.WEST);
add(releaseCLIPathComponent, 0);
}
Aggregations