This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.oxbow.codebridge.ui.main | |
import java.io.File | |
import scala.reflect.runtime.universe | |
import org.controlsfx.control.StatusBar | |
import org.oxbow.codebridge.scm.Repository | |
import org.oxbow.codebridge.util.InjectableController | |
import javafx.application.Platform | |
import javafx.fxml.FXML | |
import javafx.geometry.Orientation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
plugins: [ | |
"hyper-statusline", | |
"hyperterm-bold-tab", | |
"hyper-tabs-enhanced", | |
"hyper-papercolor", | |
"hyper-opacity", | |
"hyper-simple-highlight-active-session", | |
"hypercwd", | |
"hyper-pane", | |
"hyper-search" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"editor.fontSize": 15, | |
"editor.fontFamily": "Consolas, Menlo, Monaco, 'Courier New', monospace", | |
"editor.tabSize": 4, | |
"terminal.integrated.fontFamily": "Consolas, Menlo, Monaco, 'Courier New', monospace", | |
"terminal.integrated.fontSize": 15, | |
// "terminal.integrated.fontWeight" | |
"http.proxy": "http://go-proxy.fpl.com:8080", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// flatMap | |
// This code is equivalent to: | |
// option.flatMap(foo(_)) | |
option match { | |
case None => None | |
case Some(x) => foo(x) | |
} | |
// flatten | |
// This code is equivalent to: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- | |
Following switches Spring proxy targeting to classes vs interfaces as default | |
and allows for using Spring annotations (scanning etc) in Scala | |
--> | |
<aop:config proxy-target-class="true"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
JTable table = TableRowFilterSupport.forTable(new JTable()).searchable(true).apply(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
build( parent, instruction, text ).inform(); | |
build( parent, instruction, text ).error(); | |
build( parent, instruction, text ).ask(); | |
build().showException(ex); | |
build(parent, instruction, text).radioChoice(defaultChoice, choices); | |
build(parent, instruction,text).choice( defaultChoice, choices ); | |
build(parent, instruction,text).inputColumns(25).input( defaultValue ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return TaskDialogs.build(parent, instruction,text).inputColumns(25).input( defaultValue ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TaskDialog dlg = new TaskDialog("Application Error" ); | |
dlg.setInstruction( "CRASH AND BURN!"); | |
dlg.setIcon( TaskDialog.StandardIcon.ERROR ); | |
dlg.setText( "The applicaiton has performed an illegal action. This action has been logged and reported." ); | |
dlg.getDetails().setExpandedComponent( | |
new JLabel( toHtml(" javax.activity.InvalidActivityException \n " + | |
"at com.ezware.dialog.task.TaskDialogTestBed.main(TaskDialogTestBed.java:316)"))); | |
dlg.getFooter().setText( "Your application chrashed because a developer forgot to write a unit test"); | |
dlg.getFooter().setIcon( TaskDialog.StandardIcon.WARNING ); | |
dlg.getFooter().setCheckBoxText( "Don't show me this error next time" ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TaskDialog dlg = new TaskDialog("Application Error" ); | |
dlg.setInstruction( "CRASH AND BURN!"); | |
dlg.setIcon( TaskDialog.StandardIcon.ERROR ); | |
dlg.setText( "The applicaiton has performed an illegal action. This action has been logged and reported." ); | |
dlg.getDetails().setExpandedComponent( | |
new JLabel( toHtml(" javax.activity.InvalidActivityException \n " + | |
"at com.ezware.dialog.task.TaskDialogTestBed.main(TaskDialogTestBed.java:316)"))); | |
dlg.show(); |
NewerOlder