Search in sources :

Example 1 with MacroComboBoxWithBrowseButton

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);
}
Also used : MacroComboBoxWithBrowseButton(com.intellij.execution.ui.MacroComboBoxWithBrowseButton) FileChooserDescriptor(com.intellij.openapi.fileChooser.FileChooserDescriptor)

Example 2 with MacroComboBoxWithBrowseButton

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);
}
Also used : MacroComboBoxWithBrowseButton(com.intellij.execution.ui.MacroComboBoxWithBrowseButton) FileChooserDescriptor(com.intellij.openapi.fileChooser.FileChooserDescriptor)

Example 3 with MacroComboBoxWithBrowseButton

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);
}
Also used : MacroComboBoxWithBrowseButton(com.intellij.execution.ui.MacroComboBoxWithBrowseButton) FileChooserDescriptor(com.intellij.openapi.fileChooser.FileChooserDescriptor)

Example 4 with MacroComboBoxWithBrowseButton

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);
}
Also used : MacroComboBoxWithBrowseButton(com.intellij.execution.ui.MacroComboBoxWithBrowseButton) FileChooserDescriptor(com.intellij.openapi.fileChooser.FileChooserDescriptor)

Example 5 with MacroComboBoxWithBrowseButton

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);
}
Also used : MacroComboBoxWithBrowseButton(com.intellij.execution.ui.MacroComboBoxWithBrowseButton) FileChooserDescriptor(com.intellij.openapi.fileChooser.FileChooserDescriptor)

Aggregations

MacroComboBoxWithBrowseButton (com.intellij.execution.ui.MacroComboBoxWithBrowseButton)5 FileChooserDescriptor (com.intellij.openapi.fileChooser.FileChooserDescriptor)5