本文整理汇总了Java中com.intellij.ui.RawCommandLineEditor.setDialogCaption方法的典型用法代码示例。如果您正苦于以下问题:Java RawCommandLineEditor.setDialogCaption方法的具体用法?Java RawCommandLineEditor.setDialogCaption怎么用?Java RawCommandLineEditor.setDialogCaption使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.intellij.ui.RawCommandLineEditor
的用法示例。
在下文中一共展示了RawCommandLineEditor.setDialogCaption方法的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: createUIComponents
import com.intellij.ui.RawCommandLineEditor; //导入方法依赖的package包/类
private void createUIComponents() {
testScope = new TextFieldWithBrowseButton();
testScope.addBrowseFolderListener(null, null, project, FileChooserDescriptorFactory.createSingleFileOrFolderDescriptor());
testerExecutable = new TextFieldWithBrowseButton();
testerExecutable.addBrowseFolderListener(null, null, project, FileChooserDescriptorFactory.createSingleFileOrFolderDescriptor());
testerOptions = new RawCommandLineEditor();
testerOptions.setDialogCaption("Options");
userSetupScript = new TextFieldWithBrowseButton();
userSetupScript.addBrowseFolderListener(null, null, project, FileChooserDescriptorFactory.createSingleFileDescriptor("php"));
testScopeLabel = new JBLabel(TesterBundle.message("runConfiguration.editor.tester.testScope"));
testerExecutableLabel = new JBLabel(TesterBundle.message("runConfiguration.editor.tester.testerExecutable"));
testerOptionsLabel = new JBLabel(TesterBundle.message("runConfiguration.editor.tester.testerOptions"));
setupScriptLabel = new JBLabel(TesterBundle.message("runConfiguration.editor.tester.setupScript"));
}
示例2: createUIComponents
import com.intellij.ui.RawCommandLineEditor; //导入方法依赖的package包/类
private void createUIComponents() {
myParallelBuildDocHyperlinkLabel =
createHyperlinkLabel("This option is in \"incubation\" and should only be used with ", "decoupled projects", ".",
"http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects");
myCommandLineOptionsDocHyperlinkLabel =
createHyperlinkLabel("Example: --stacktrace --debug (for more information, please read Gradle's ", "documentation", ".)",
"http://www.gradle.org/docs/current/userguide/gradle_command_line.html");
myConfigureOnDemandDocHyperlinkLabel =
createHyperlinkLabel("This option may speed up builds. This option is in \"incubation.\" Please read Gradle's ", "documentation", ".",
"http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:configuration_on_demand");
myCommandLineOptionsEditor = new RawCommandLineEditor();
myCommandLineOptionsEditor.setDialogCaption("Command-line Options");
}
示例3: createUIComponents
import com.intellij.ui.RawCommandLineEditor; //导入方法依赖的package包/类
private void createUIComponents() {
interpreterOptions = new RawCommandLineEditor();
interpreterOptions.setDialogCaption("Options");
customWorkingDirectory = new TextFieldWithBrowseButton();
customWorkingDirectory.addBrowseFolderListener(null, null, project, FileChooserDescriptorFactory.createSingleFolderDescriptor());
environmentVariables = new EnvironmentVariablesComponent();
interpreterOptionsLabel = new JBLabel(TesterBundle.message("runConfiguration.editor.cli.interpreterOptions"));
workingDirectoryLabel = new JBLabel(TesterBundle.message("runConfiguration.editor.cli.workingDirectory"));
}
示例4: createUIComponents
import com.intellij.ui.RawCommandLineEditor; //导入方法依赖的package包/类
private void createUIComponents() {
myResourcePatternsField = new RawCommandLineEditor(ParametersListUtil.COLON_LINE_PARSER, ParametersListUtil.COLON_LINE_JOINER);
myResourcePatternsField.setDialogCaption("Resource patterns");
}
示例5: copyDialogCaption
import com.intellij.ui.RawCommandLineEditor; //导入方法依赖的package包/类
protected void copyDialogCaption(final LabeledComponent<RawCommandLineEditor> component) {
final RawCommandLineEditor rawCommandLineEditor = component.getComponent();
rawCommandLineEditor.setDialogCaption(component.getRawText());
component.getLabel().setLabelFor(rawCommandLineEditor.getTextField());
}
示例6: createUIComponents
import com.intellij.ui.RawCommandLineEditor; //导入方法依赖的package包/类
private void createUIComponents() {
myResourcePatternsField = new RawCommandLineEditor(LINE_PARSER, LINE_JOINER);
myResourcePatternsField.setDialogCaption("Resource patterns");
}