-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
88 additions
and
9 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 |
---|---|---|
@@ -0,0 +1 @@ | ||
{} |
10 changes: 10 additions & 0 deletions
10
module/extensions/ZXNoterUI/src/team/zxorg/zxnoter/ui/behavior/MenuBehavior.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package team.zxorg.zxnoter.ui.behavior; | ||
|
||
import team.zxorg.zxnoter.ui.ProjectView; | ||
|
||
/** | ||
* 菜单行为 | ||
*/ | ||
public interface MenuBehavior { | ||
void action(ProjectView projectView); | ||
} |
10 changes: 10 additions & 0 deletions
10
module/extensions/ZXNoterUI/src/team/zxorg/zxnoter/ui/component/menu/FileMenu.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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
package team.zxorg.zxnoter.ui.component.menu; | ||
|
||
import team.zxorg.fxcl.component.menu.LangMenuItem; | ||
import team.zxorg.zxnoter.ui.ProjectView; | ||
import team.zxorg.zxnoter.ui.behavior.MenuBehavior; | ||
|
||
public class FileMenu extends LangMenuItem { | ||
private ProjectView projectView; | ||
|
||
} |
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
7 changes: 0 additions & 7 deletions
7
...extensions/ZXNoterUI/src/team/zxorg/zxnoter/ui/component/titlebar/TitleMenuBarConfig.java
This file was deleted.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
module/extensions/ZXNoterUI/src/team/zxorg/zxnoter/ui/component/zxnoter/BaseMenu.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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package team.zxorg.zxnoter.ui.component.zxnoter; | ||
|
||
import javafx.scene.input.KeyCode; | ||
import team.zxorg.zxnoter.ui.ProjectView; | ||
|
||
import java.util.List; | ||
|
||
public class BaseMenu { | ||
private ProjectView projectView; | ||
private int sort; | ||
private String id; | ||
private String group; | ||
private List<KeyCode> hotKey; | ||
} |