Search in sources :

Example 1 with CommittedChangesTreeBrowser

use of com.intellij.openapi.vcs.changes.committed.CommittedChangesTreeBrowser in project intellij-community by JetBrains.

the class UpdateInfoTree method createCenterPanel.

protected JComponent createCenterPanel() {
    JScrollPane scrollPane = ScrollPaneFactory.createScrollPane(myTree);
    scrollPane.setBorder(IdeBorderFactory.createBorder(SideBorder.LEFT));
    myCenterPanel.add(CARD_STATUS, scrollPane);
    myTreeBrowser = new CommittedChangesTreeBrowser(myProject, Collections.<CommittedChangeList>emptyList());
    Disposer.register(this, myTreeBrowser);
    myTreeBrowser.setHelpId(getHelpId());
    myCenterPanel.add(CARD_CHANGES, myTreeBrowser);
    return myCenterPanel;
}
Also used : CommittedChangeList(com.intellij.openapi.vcs.versionBrowser.CommittedChangeList) CommittedChangesTreeBrowser(com.intellij.openapi.vcs.changes.committed.CommittedChangesTreeBrowser)

Aggregations

CommittedChangesTreeBrowser (com.intellij.openapi.vcs.changes.committed.CommittedChangesTreeBrowser)1 CommittedChangeList (com.intellij.openapi.vcs.versionBrowser.CommittedChangeList)1