public class FilterPanel extends java.lang.Object implements FilterTable
Constructor and Description |
---|
FilterPanel(Project project,
StructuralSearchProfile profile,
Disposable parent) |
Modifier and Type | Method and Description |
---|---|
void |
addFilter(FilterAction filter) |
javax.swing.JComponent |
getComponent() |
java.lang.Runnable |
getConstraintChangedCallback() |
StructuralSearchProfile |
getProfile() |
Project |
getProject() |
NamedScriptableDefinition |
getVariable() |
void |
initFilter(FilterAction filter,
java.util.List<? extends PsiElement> nodes,
boolean completePattern,
boolean target) |
void |
initFilters(NamedScriptableDefinition constraint) |
boolean |
isInitialized() |
void |
removeFilter(FilterAction filter) |
void |
setCompiledPattern(CompiledPattern compiledPattern) |
void |
setConstraintChangedCallback(java.lang.Runnable callback) |
void |
setProfile(StructuralSearchProfile profile) |
void |
setValid(boolean valid) |
public FilterPanel(Project project, StructuralSearchProfile profile, Disposable parent)
public void addFilter(FilterAction filter)
addFilter
in interface FilterTable
public final void initFilter(FilterAction filter, java.util.List<? extends PsiElement> nodes, boolean completePattern, boolean target)
public final void removeFilter(FilterAction filter)
removeFilter
in interface FilterTable
public NamedScriptableDefinition getVariable()
getVariable
in interface FilterTable
public StructuralSearchProfile getProfile()
getProfile
in interface FilterTable
public Project getProject()
getProject
in interface FilterTable
public javax.swing.JComponent getComponent()
public void setProfile(StructuralSearchProfile profile)
public void setCompiledPattern(CompiledPattern compiledPattern)
public void setValid(boolean valid)
public boolean isInitialized()
public void initFilters(NamedScriptableDefinition constraint)
public void setConstraintChangedCallback(java.lang.Runnable callback)
public java.lang.Runnable getConstraintChangedCallback()
getConstraintChangedCallback
in interface FilterTable