-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix active directory with virtual active directory and numerous small…
… improvements Prepared for version 1.0
- Loading branch information
Showing
14 changed files
with
129 additions
and
49 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
# java | ||
.idea/ | ||
*.iml | ||
|
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package com.lukeonuke.lmark.gui; | ||
|
||
import com.lukeonuke.lmark.ApplicationConstants; | ||
import com.lukeonuke.lmark.util.ThemeManager; | ||
import javafx.scene.Scene; | ||
import javafx.scene.control.TextArea; | ||
import javafx.scene.image.Image; | ||
import javafx.stage.Stage; | ||
|
||
public class DebugWindow implements AppWindow{ | ||
Stage stage; | ||
TextArea textArea = new TextArea(); | ||
|
||
public DebugWindow(Stage stage) { | ||
this.stage = stage; | ||
} | ||
|
||
@Override | ||
public void show() { | ||
Scene scene = new Scene(textArea); | ||
ThemeManager.getInstance().addCss(scene); | ||
stage.getIcons().add(new Image(ApplicationConstants.ICON)); | ||
stage.setTitle("lmark - Debug window"); | ||
stage.setScene(scene); | ||
stage.show(); | ||
} | ||
|
||
@Override | ||
public void hide() { | ||
stage.hide(); | ||
} | ||
|
||
@Override | ||
public String getDescription() { | ||
return null; | ||
} | ||
|
||
public void setText(String string){ | ||
textArea.setText(string); | ||
} | ||
} |
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.lukeonuke.lmark.util; | ||
|
||
import javafx.application.Platform; | ||
|
||
public class FxUtils { | ||
/** | ||
* Will lazy run stuff that needs to be ran on the jfx main thread. Lazy run means that it will add it to the | ||
* <code>Platform.runLater()<code/> queue only if its not on the jfx main thread. | ||
* */ | ||
public static void lazyRunOnPlatform(Runnable runnable){ | ||
if(Platform.isFxApplicationThread()){ | ||
runnable.run(); | ||
}else{ | ||
Platform.runLater(runnable); | ||
} | ||
} | ||
} |
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
Binary file not shown.
10 changes: 6 additions & 4 deletions
10
target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst
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