Skip to content

Commit

Permalink
Move Export to CSV to File > Export sub menu
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhahmann authored and tinevez committed Oct 10, 2024
1 parent eddfc3e commit 4bfdf9a
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

import static org.mastodon.app.MastodonIcons.TABLE_VIEW_ICON;
import static org.mastodon.app.ui.ViewMenuBuilder.item;
import static org.mastodon.app.ui.ViewMenuBuilder.menu;
import static org.mastodon.app.ui.ViewMenuBuilder.separator;
import static org.mastodon.mamut.MamutMenuBuilder.editMenu;
import static org.mastodon.mamut.MamutMenuBuilder.fileMenu;
Expand Down Expand Up @@ -208,11 +209,11 @@ protected MamutViewTable( final ProjectModel projectModel, final boolean selecti
appModel.getWindowManager().addWindowMenu( menu, actionMap );
MamutMenuBuilder.build( menu, actionMap,
fileMenu(
separator(),
item( TableViewActions.EXPORT_TO_CSV ) ),
menu( "Export",
item( TableViewActions.EXPORT_TO_CSV ) ) ),
viewMenu(
MamutMenuBuilder.colorMenu( colorMenuHandle ),
ViewMenuBuilder.menu( "Branch coloring", colorBranchMenuHandle ),
menu( "Branch coloring", colorBranchMenuHandle ),
separator(),
item( MastodonFrameViewActions.TOGGLE_SETTINGS_PANEL ) ),
editMenu(
Expand All @@ -228,7 +229,7 @@ protected MamutViewTable( final ProjectModel projectModel, final boolean selecti
separator(),
item( TableViewActions.EDIT_LABEL ),
item( TableViewActions.TOGGLE_TAG ) ),
ViewMenuBuilder.menu( "Settings",
menu( "Settings",
item( BigDataViewerActions.BRIGHTNESS_SETTINGS ),
item( BigDataViewerActions.VISIBILITY_AND_GROUPING ) ) );
projectModel.getPlugins().addMenus( menu );
Expand Down

0 comments on commit 4bfdf9a

Please sign in to comment.