Example usage for com.intellij.openapi.ui LabeledComponent getRawText

List of usage examples for com.intellij.openapi.ui LabeledComponent getRawText

Introduction

In this page you can find the example usage for com.intellij.openapi.ui LabeledComponent getRawText.

Prototype

public String getRawText() 

Source Link

Usage

From source file:com.intellij.execution.ui.CommonProgramParametersPanel.java

License:Apache License

protected void copyDialogCaption(final LabeledComponent<RawCommandLineEditor> component) {
    final RawCommandLineEditor rawCommandLineEditor = component.getComponent();
    rawCommandLineEditor.setDialogCaption(component.getRawText());
    component.getLabel().setLabelFor(rawCommandLineEditor.getTextField());
}

From source file:org.moe.idea.runconfig.configuration.ArgumentsPanel.java

License:Apache License

protected void copyDialogCaption(LabeledComponent<RawCommandLineEditor> component) {
    RawCommandLineEditor rawCommandLineEditor = (RawCommandLineEditor) component.getComponent();
    rawCommandLineEditor.setDialogCaption(component.getRawText());
    component.getLabel().setLabelFor(rawCommandLineEditor.getTextField());
}