public class ChangeListDockableFactory extends java.lang.Object implements DockableFactory
Constructor and Description |
---|
ChangeListDockableFactory(java.lang.String windowID,
ChangeList changeList)
Deprecated.
all constructors must now receive the ID of the extension owning the window class.
|
ChangeListDockableFactory(java.lang.String windowID,
ChangeList changeList,
java.lang.String className,
java.lang.String vcsId)
Construct a dockable factory that creates a dockable window of the
specified class.
|
ChangeListDockableFactory(java.lang.String windowID,
java.lang.String className,
java.lang.String vcsId)
Construct a dockable factory that creates a dockable window of the
specified class.
|
Modifier and Type | Method and Description |
---|---|
protected ChangeListWindow |
createChangeListWindow(ChangeList changeList)
Create the change list window.
|
Dockable |
getDockable(ViewId viewId) |
protected java.lang.String |
getWindowClassName() |
protected java.lang.String |
getWindowId() |
void |
install()
This method is called by the docking system if the DockableFactory has
been installed for the first time.
|
@Deprecated public ChangeListDockableFactory(java.lang.String windowID, ChangeList changeList)
windowID
- the window ID to use.changeList
- the primary ChangeList
instance for the
dockable.public ChangeListDockableFactory(java.lang.String windowID, java.lang.String className, @NotNull java.lang.String vcsId)
windowID
- the window ID to use.className
- the name of the class to construct. This should be
a subclass of ChangeListWindow, and should have a constructor which
takes a String for the window ID.vcsId
- the ID of the extension owning the window class.public ChangeListDockableFactory(java.lang.String windowID, ChangeList changeList, java.lang.String className, java.lang.String vcsId)
windowID
- the window ID to use.changeList
- the primary ChangeList
instance for the
dockable.className
- the name of the class to construct. This should be
a subclass of ChangeListWindow, and should have a constructor which
takes a String for the window ID.vcsId
- the ID of the extension owning the window class.public Dockable getDockable(ViewId viewId)
getDockable
in interface DockableFactory
viewId
- public void install()
install
in interface DockableFactory
protected ChangeListWindow createChangeListWindow(ChangeList changeList)
changeList
- the change list componentprotected java.lang.String getWindowClassName()
protected java.lang.String getWindowId()