Search in sources :

Example 1 with SvnChagnedCodeComposite

use of com.kyj.fx.voeditor.visual.component.scm.SvnChagnedCodeComposite in project Gargoyle by callakrsos.

the class ScmCommitCompositeExam method start.

/* (non-Javadoc)
	 * @see javafx.application.Application#start(javafx.stage.Stage)
	 */
@Override
public void start(Stage primaryStage) throws Exception {
    Properties properties = new Properties();
    properties.put(JavaSVNManager.SVN_URL, "svn://10.40.41.49");
    //		properties.put(JavaSVNManager.SVN_USER_ID, "kyjun.kim");
    //		properties.put(JavaSVNManager.SVN_USER_PASS, "kyjun.kim");
    FxSVNHistoryDataSupplier svnDataSupplier = new FxSVNHistoryDataSupplier(new JavaSVNManager(properties));
    SvnChagnedCodeComposite svnChagnedCodeComposite = new SvnChagnedCodeComposite(svnDataSupplier);
    ScmCommitComposite scmCommitComposite = new ScmCommitComposite(svnDataSupplier);
    TabPane tabPane = new TabPane();
    tabPane.getTabs().addAll(new Tab("Chagned Codes.", svnChagnedCodeComposite), new Tab("Commit Hist.", scmCommitComposite));
    primaryStage.setScene(new Scene(tabPane));
    primaryStage.show();
}
Also used : JavaSVNManager(com.kyj.scm.manager.svn.java.JavaSVNManager) TabPane(javafx.scene.control.TabPane) Tab(javafx.scene.control.Tab) ScmCommitComposite(com.kyj.fx.voeditor.visual.component.scm.ScmCommitComposite) SvnChagnedCodeComposite(com.kyj.fx.voeditor.visual.component.scm.SvnChagnedCodeComposite) FxSVNHistoryDataSupplier(com.kyj.fx.voeditor.visual.component.scm.FxSVNHistoryDataSupplier) Properties(java.util.Properties) Scene(javafx.scene.Scene)

Example 2 with SvnChagnedCodeComposite

use of com.kyj.fx.voeditor.visual.component.scm.SvnChagnedCodeComposite in project Gargoyle by callakrsos.

the class FxUtil method createSVNGraph.

/**
	 * @작성자 : KYJ
	 * @작성일 : 2016. 7. 21.
	 * @param manager
	 * @throws Exception
	 */
public static TabPane createSVNGraph(JavaSVNManager manager) throws Exception {
    FxSVNHistoryDataSupplier svnDataSupplier = new FxSVNHistoryDataSupplier(manager);
    SvnChagnedCodeComposite svnChagnedCodeComposite = new SvnChagnedCodeComposite(svnDataSupplier);
    ScmCommitComposite scmCommitComposite = new ScmCommitComposite(svnDataSupplier);
    TabPane tabPane = new TabPane();
    tabPane.getTabs().addAll(new Tab("Chagned Codes.", svnChagnedCodeComposite), new Tab("Commit Hist.", scmCommitComposite));
    return tabPane;
}
Also used : TabPane(javafx.scene.control.TabPane) Tab(javafx.scene.control.Tab) ScmCommitComposite(com.kyj.fx.voeditor.visual.component.scm.ScmCommitComposite) SvnChagnedCodeComposite(com.kyj.fx.voeditor.visual.component.scm.SvnChagnedCodeComposite) FxSVNHistoryDataSupplier(com.kyj.fx.voeditor.visual.component.scm.FxSVNHistoryDataSupplier)

Aggregations

FxSVNHistoryDataSupplier (com.kyj.fx.voeditor.visual.component.scm.FxSVNHistoryDataSupplier)2 ScmCommitComposite (com.kyj.fx.voeditor.visual.component.scm.ScmCommitComposite)2 SvnChagnedCodeComposite (com.kyj.fx.voeditor.visual.component.scm.SvnChagnedCodeComposite)2 Tab (javafx.scene.control.Tab)2 TabPane (javafx.scene.control.TabPane)2 JavaSVNManager (com.kyj.scm.manager.svn.java.JavaSVNManager)1 Properties (java.util.Properties)1 Scene (javafx.scene.Scene)1