public class TodoView extends java.lang.Object implements PersistentStateComponent<com.intellij.ide.todo.TodoView.State>, Disposable
Modifier and Type | Class and Description |
---|---|
static class |
TodoView.Scope |
Disposable.Parent
Modifier and Type | Method and Description |
---|---|
void |
addCustomTodoView(TodoTreeBuilderFactory factory,
java.lang.String title,
TodoPanelSettings settings) |
protected AllTodosTreeBuilder |
createAllTodoBuilder(javax.swing.JTree tree,
Project project) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
void |
disposePanels() |
TodoTreeBuilder |
getBuilderAndAllowUpdatesOnIt(TodoView.Scope scope) |
com.intellij.ide.todo.TodoView.State |
getState() |
void |
initToolWindow(ToolWindow toolWindow) |
void |
loadState(com.intellij.ide.todo.TodoView.State state)
This method is called when new component state is loaded.
|
protected void |
notifyUpdateFinished() |
void |
refresh() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public TodoView(Project project)
public void loadState(com.intellij.ide.todo.TodoView.State state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<com.intellij.ide.todo.TodoView.State>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public com.intellij.ide.todo.TodoView.State getState()
getState
in interface PersistentStateComponent<com.intellij.ide.todo.TodoView.State>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void dispose()
Disposable
dispose
in interface Disposable
public TodoTreeBuilder getBuilderAndAllowUpdatesOnIt(TodoView.Scope scope)
public void initToolWindow(ToolWindow toolWindow)
public void disposePanels()
protected AllTodosTreeBuilder createAllTodoBuilder(javax.swing.JTree tree, Project project)
public void refresh()
protected void notifyUpdateFinished()
public void addCustomTodoView(TodoTreeBuilderFactory factory, java.lang.String title, TodoPanelSettings settings)