use of com.intellij.ui.LanguageTextField in project intellij-community by JetBrains.
the class YouTrackRepositoryEditor method createCustomPanel.
@Nullable
@Override
protected JComponent createCustomPanel() {
mySearchLabel = new JBLabel("Search:", SwingConstants.RIGHT);
myDefaultSearch = new LanguageTextField(YouTrackLanguage.INSTANCE, myProject, myRepository.getDefaultSearch());
installListener(myDefaultSearch);
return FormBuilder.createFormBuilder().addLabeledComponent(mySearchLabel, myDefaultSearch).getPanel();
}
use of com.intellij.ui.LanguageTextField in project intellij-community by JetBrains.
the class JiraRepositoryEditor method createCustomPanel.
@Nullable
@Override
protected JComponent createCustomPanel() {
mySearchQueryField = new LanguageTextField(JqlLanguage.INSTANCE, myProject, myRepository.getSearchQuery());
enableJqlSearchIfSupported();
installListener(mySearchQueryField);
mySearchLabel = new JBLabel("Search:", SwingConstants.RIGHT);
myNoteLabel = new JBLabel();
myNoteLabel.setComponentStyle(UIUtil.ComponentStyle.SMALL);
updateNote();
return FormBuilder.createFormBuilder().addLabeledComponent(mySearchLabel, mySearchQueryField).addComponentToRightColumn(myNoteLabel).getPanel();
}
use of com.intellij.ui.LanguageTextField in project intellij-community by JetBrains.
the class TagPanel method createUIComponents.
private void createUIComponents() {
myLocalName = new LanguageTextField(RegExpLanguage.INSTANCE, myProject, myOrigInjection.getTagName());
myNamespace = new ComboBox(200);
}
use of com.intellij.ui.LanguageTextField in project intellij-community by JetBrains.
the class XmlAttributePanel method createUIComponents.
private void createUIComponents() {
myLanguagePanel = new LanguagePanel(myProject, myOrigInjection);
myTagPanel = new TagPanel(myProject, myOrigInjection);
myAdvancedPanel = new AdvancedXmlPanel(myProject, myOrigInjection);
myLocalName = new LanguageTextField(RegExpLanguage.INSTANCE, myProject, myOrigInjection.getAttributeName());
myNamespace = new ComboBox(200);
}
use of com.intellij.ui.LanguageTextField in project android by JetBrains.
the class SpecificActivityConfigurable method createUIComponents.
private void createUIComponents() {
final EditorTextField editorTextField = new LanguageTextField(PlainTextLanguage.INSTANCE, myProject, "") {
@Override
protected EditorEx createEditor() {
final EditorEx editor = super.createEditor();
final PsiFile file = PsiDocumentManager.getInstance(myProject).getPsiFile(editor.getDocument());
if (file != null) {
DaemonCodeAnalyzer.getInstance(myProject).setHighlightingEnabled(file, false);
}
editor.putUserData(LaunchOptionConfigurableContext.KEY, myContext);
return editor;
}
};
myActivityField = new ComponentWithBrowseButton<EditorTextField>(editorTextField, null);
}
Aggregations