List of usage examples for com.intellij.openapi.ui TextFieldWithBrowseButton setEditable
public void setEditable(boolean b)
From source file:com.intellij.execution.configuration.EnvironmentVariablesComponent.java
License:Apache License
public EnvironmentVariablesComponent() { super();/*w w w. j a va 2s. co m*/ final TextFieldWithBrowseButton envsTestField = new TextFieldWithBrowseButton(); envsTestField.setEditable(false); setComponent(envsTestField); setText(ExecutionBundle.message("environment.variables.component.title")); getComponent().addActionListener(new ActionListener() { @Override public void actionPerformed(final ActionEvent e) { new MyEnvironmentVariablesDialog().show(); } }); }