Remove New Folder feature
This commit is contained in:
parent
08f9b2b881
commit
22406222f3
@ -61,18 +61,13 @@ public class MenubarController implements Initializable, Controller {
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------------ */
|
||||
/* CREATE FILE/DIRECTORY */
|
||||
/* CREATE FILE */
|
||||
/* ------------------------------------------------------------------------ */
|
||||
@FXML
|
||||
private void handleNewFile() {
|
||||
this.eventBus.post(new OpenFileEvent(Optional.empty()));
|
||||
}
|
||||
|
||||
@FXML
|
||||
private void handleNewFolder() {
|
||||
|
||||
}
|
||||
|
||||
/* ------------------------------------------------------------------------ */
|
||||
/* OPEN FILE/PROJECT */
|
||||
/* ------------------------------------------------------------------------ */
|
||||
|
@ -19,7 +19,6 @@
|
||||
<Menu mnemonicParsing="false" text="File">
|
||||
<items>
|
||||
<MenuItem mnemonicParsing="false" text="New File" accelerator="Shortcut+n" onAction="#handleNewFile"/>
|
||||
<MenuItem mnemonicParsing="false" text="New Folder" accelerator="Shortcut+Shift+N" onAction="#handleNewFolder"/>
|
||||
<SeparatorMenuItem/>
|
||||
<MenuItem mnemonicParsing="false" text="Open File" accelerator="Shortcut+o" onAction="#handleOpenFile"/>
|
||||
<MenuItem mnemonicParsing="false" text="Open Project" accelerator="Shortcut+Shift+O" onAction="#handleOpenProject"/>
|
||||
|
Loading…
Reference in New Issue
Block a user