public class ChangesViewManager extends java.lang.Object implements ChangesViewEx, PersistentStateComponent<ChangesViewManager.State>, Disposable
Modifier and Type | Class and Description |
---|---|
static class |
ChangesViewManager.ChangesViewToolWindowPanel |
static class |
ChangesViewManager.ContentPreloader |
static class |
ChangesViewManager.ContentProvider |
static class |
ChangesViewManager.DisplayNameSupplier |
static class |
ChangesViewManager.State |
Disposable.Parent
Constructor and Description |
---|
ChangesViewManager(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
closeEditorPreview() |
protected ChangesViewCommitPanel |
createCommitPanel(ChangesListView myView,
ChangesViewManager.ChangesViewToolWindowPanel changesViewToolWindowPanel) |
static Factory<javax.swing.JComponent> |
createTextStatusFactory(java.lang.String text,
boolean isError) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
ChangesViewCommitWorkflowHandler |
getCommitWorkflowHandler() |
static ChangesViewI |
getInstance(Project project) |
static ChangesViewEx |
getInstanceEx(Project project) |
ChangesViewManager.State |
getState() |
boolean |
isAllowExcludeFromCommit() |
void |
loadState(ChangesViewManager.State state)
This method is called when new component state is loaded.
|
void |
openEditorPreview() |
void |
refreshImmediately() |
void |
scheduleRefresh() |
void |
selectChanges(java.util.List<? extends Change> changes) |
void |
selectFile(VirtualFile vFile) |
void |
setBusy(boolean b) |
void |
setGrouping(java.lang.String groupingKey) |
void |
updateCommitWorkflow() |
void |
updateProgressText(java.lang.String text,
boolean isError) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeComponent, noStateLoaded
public ChangesViewManager(Project project)
public static ChangesViewI getInstance(Project project)
public static ChangesViewEx getInstanceEx(Project project)
public void dispose()
Disposable
dispose
in interface Disposable
public ChangesViewManager.State getState()
getState
in interface PersistentStateComponent<ChangesViewManager.State>
null
value indicates
that the returned state won't be stored, as a result previously stored state will be used.XmlSerializer
public void loadState(ChangesViewManager.State state)
PersistentStateComponent
State object should be used directly, defensive copying is not required.
loadState
in interface PersistentStateComponent<ChangesViewManager.State>
state
- loaded component stateXmlSerializerUtil.copyBean(Object, Object)
public void scheduleRefresh()
scheduleRefresh
in interface ChangesViewI
public void selectFile(VirtualFile vFile)
selectFile
in interface ChangesViewI
public void selectChanges(java.util.List<? extends Change> changes)
selectChanges
in interface ChangesViewI
public void updateProgressText(java.lang.String text, boolean isError)
updateProgressText
in interface ChangesViewI
public void setBusy(boolean b)
setBusy
in interface ChangesViewI
public void setGrouping(java.lang.String groupingKey)
setGrouping
in interface ChangesViewI
public void updateCommitWorkflow()
updateCommitWorkflow
in interface ChangesViewEx
public ChangesViewCommitWorkflowHandler getCommitWorkflowHandler()
getCommitWorkflowHandler
in interface ChangesViewEx
public void refreshImmediately()
refreshImmediately
in interface ChangesViewEx
public boolean isAllowExcludeFromCommit()
isAllowExcludeFromCommit
in interface ChangesViewEx
public void closeEditorPreview()
public void openEditorPreview()
protected ChangesViewCommitPanel createCommitPanel(ChangesListView myView, ChangesViewManager.ChangesViewToolWindowPanel changesViewToolWindowPanel)
public static Factory<javax.swing.JComponent> createTextStatusFactory(java.lang.String text, boolean isError)