-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
Showing
27 changed files
with
268 additions
and
127 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
11 changes: 6 additions & 5 deletions
11
...r/src/main/java/com/thecoderscorner/menu/editorui/gfxui/CreateBitmapWidgetToolDialog.java
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,21 +1,22 @@ | ||
package com.thecoderscorner.menu.editorui.gfxui; | ||
|
||
import com.thecoderscorner.menu.editorui.dialog.BaseDialogSupport; | ||
import com.thecoderscorner.menu.editorui.storage.ConfigurationStorage; | ||
import com.thecoderscorner.menu.editorui.uimodel.CurrentProjectEditorUI; | ||
import javafx.stage.Stage; | ||
|
||
public class CreateBitmapWidgetToolDialog extends BaseDialogSupport<CreateBitmapWidgetController> { | ||
private final String homeDirectory; | ||
private CurrentProjectEditorUI editorUI; | ||
private final CurrentProjectEditorUI editorUI; | ||
private final ConfigurationStorage storage; | ||
|
||
public CreateBitmapWidgetToolDialog(Stage mainStage, CurrentProjectEditorUI editorUI, String homeDirectory) { | ||
public CreateBitmapWidgetToolDialog(Stage mainStage, CurrentProjectEditorUI editorUI, ConfigurationStorage storage) { | ||
this.editorUI = editorUI; | ||
this.homeDirectory = homeDirectory; | ||
this.storage = storage; | ||
tryAndCreateDialog(mainStage, "/ui/ImageToNativeBitmapConverter.fxml", bundle.getString("bitmap.create.title"), true, 0.96); | ||
} | ||
|
||
@Override | ||
protected void initialiseController(CreateBitmapWidgetController controller) throws Exception { | ||
controller.initialise(editorUI, homeDirectory); | ||
controller.initialise(editorUI, storage); | ||
} | ||
} |
Oops, something went wrong.