use of com.kyj.fx.voeditor.visual.component.scm.SVNViewer in project Gargoyle by callakrsos.
the class SystemLayoutViewController method lblSVNOnAction.
@FXML
public void lblSVNOnAction(ActionEvent e) {
try {
Scene scene = new Scene(new BorderPane(new SVNViewer()), 1100, 900);
scene.getStylesheets().add(SkinManager.getInstance().getSkin());
FxUtil.createStageAndShow(scene, stage -> {
stage.setTitle("SVN");
stage.initOwner(SharedMemory.getPrimaryStage());
stage.setAlwaysOnTop(false);
stage.centerOnScreen();
});
// Stage stage = new Stage();
// Scene scene = new Scene(new BorderPane(new SVNViewer()), 1100,
// 900);
//
//
// scene.getStylesheets().add(SkinManager.getInstance().getSkin());
// stage.setScene(scene);
// stage.initOwner(SharedMemory.getPrimaryStage());
//
// stage.setTitle("SVN");
// stage.setAlwaysOnTop(false);
// stage.centerOnScreen();
// stage.show();
} catch (Exception ex) {
LOGGER.error(ValueUtil.toString(ex));
DialogUtil.showExceptionDailog(ex);
}
}
Aggregations