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, waitinitializeComponent, noStateLoadedpublic ChangesViewManager(Project project)
public static ChangesViewI getInstance(Project project)
public static ChangesViewEx getInstanceEx(Project project)
public void dispose()
Disposabledispose in interface Disposablepublic 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.XmlSerializerpublic void loadState(ChangesViewManager.State state)
PersistentStateComponentState 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 ChangesViewIpublic void selectFile(VirtualFile vFile)
selectFile in interface ChangesViewIpublic void selectChanges(java.util.List<? extends Change> changes)
selectChanges in interface ChangesViewIpublic void updateProgressText(java.lang.String text,
boolean isError)
updateProgressText in interface ChangesViewIpublic void setBusy(boolean b)
setBusy in interface ChangesViewIpublic void setGrouping(java.lang.String groupingKey)
setGrouping in interface ChangesViewIpublic void updateCommitWorkflow()
updateCommitWorkflow in interface ChangesViewExpublic ChangesViewCommitWorkflowHandler getCommitWorkflowHandler()
getCommitWorkflowHandler in interface ChangesViewExpublic void refreshImmediately()
refreshImmediately in interface ChangesViewExpublic boolean isAllowExcludeFromCommit()
isAllowExcludeFromCommit in interface ChangesViewExpublic 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)