public abstract class PostfixTemplateEditorBase<Condition extends PostfixTemplateExpressionCondition> extends java.lang.Object implements PostfixTemplateEditor
Modifier and Type | Class and Description |
---|---|
protected class |
PostfixTemplateEditorBase.AddConditionAction |
Disposable.Parent
Modifier and Type | Field and Description |
---|---|
protected JBCheckBox |
myApplyToTheTopmostJBCheckBox |
protected javax.swing.JPanel |
myEditTemplateAndConditionsPanel |
protected JBList<Condition> |
myExpressionTypesList |
protected javax.swing.DefaultListModel<Condition> |
myExpressionTypesListModel |
protected PostfixTemplateProvider |
myProvider |
protected Editor |
myTemplateEditor |
Constructor and Description |
---|
PostfixTemplateEditorBase(PostfixTemplateProvider provider,
boolean showExpressionTypes) |
PostfixTemplateEditorBase(PostfixTemplateProvider provider,
Editor templateEditor,
boolean showExpressionTypes) |
Modifier and Type | Method and Description |
---|---|
protected static Editor |
createEditor(Project project,
Document document) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
protected abstract void |
fillConditions(DefaultActionGroup group) |
java.lang.String |
getHelpId() |
void |
setTemplate(PostfixTemplate rawTemplate) |
protected void |
showAddExpressionTypePopup(AnActionButton button) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createTemplate, getComponent
protected final PostfixTemplateProvider myProvider
protected final Editor myTemplateEditor
protected final JBList<Condition extends PostfixTemplateExpressionCondition> myExpressionTypesList
protected final javax.swing.DefaultListModel<Condition extends PostfixTemplateExpressionCondition> myExpressionTypesListModel
protected final JBCheckBox myApplyToTheTopmostJBCheckBox
protected final javax.swing.JPanel myEditTemplateAndConditionsPanel
public PostfixTemplateEditorBase(PostfixTemplateProvider provider, boolean showExpressionTypes)
public PostfixTemplateEditorBase(PostfixTemplateProvider provider, Editor templateEditor, boolean showExpressionTypes)
protected final void showAddExpressionTypePopup(AnActionButton button)
protected abstract void fillConditions(DefaultActionGroup group)
public void setTemplate(PostfixTemplate rawTemplate)
public java.lang.String getHelpId()
getHelpId
in interface PostfixTemplateEditor
public void dispose()
Disposable
dispose
in interface Disposable