Enum GeneiousActionOptions.MainMenu
- java.lang.Object
-
- java.lang.Enum<GeneiousActionOptions.MainMenu>
-
- com.biomatters.geneious.publicapi.plugin.GeneiousActionOptions.MainMenu
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<GeneiousActionOptions.MainMenu>
- Enclosing class:
- GeneiousActionOptions
public static enum GeneiousActionOptions.MainMenu extends java.lang.Enum<GeneiousActionOptions.MainMenu>
All available menu locations.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AnnotateAndPredictThe Annotate & Predict menu.CollaborationThe Collaboration menuEditThe Edit menuExportThe File|Export menuFileThe File menuGridThe Grid menuHelpThe Help menuImportThe File|Import menuNewThe New menu under the File menu.NotPresentnot in menus.ProDeprecated.the pro menu no longer exists, do not use.SequenceThe Sequence menu.ToolBar_AddThe Add dropdown in the toolbar.ToolBar_Add_OtherThe Import Other submenu in the toolbar's add dropdown.ToolBar_ExportThe Export dropdown in the toolbar.ToolBar_Export_OtherThe Export Other submenu in the toolbar's export dropdown.ToolsThe Tools menu.ViewThe View menu.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<GeneiousAction.Divider>getDividers()Gets the list of divider actions at their correct positions.static GeneiousActionOptions.MainMenuvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static GeneiousActionOptions.MainMenu[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NotPresent
public static final GeneiousActionOptions.MainMenu NotPresent
not in menus.
-
File
public static final GeneiousActionOptions.MainMenu File
The File menu
-
New
public static final GeneiousActionOptions.MainMenu New
The New menu under the File menu. Actions in this menu can have a name that starts with "New " and it will be stripped off when displayed in the menu. This is so that the action can have "New " when it appears outside of the menu (eg. in the Keyboard shortcut preferences).- Since:
- API 4.1000 (Geneious 10.0.0)
-
Collaboration
public static final GeneiousActionOptions.MainMenu Collaboration
The Collaboration menu
-
Edit
public static final GeneiousActionOptions.MainMenu Edit
The Edit menu
-
View
public static final GeneiousActionOptions.MainMenu View
The View menu.
-
Tools
public static final GeneiousActionOptions.MainMenu Tools
The Tools menu. This menu should contain complex actions which can act on or produce documents other than individual sequences (eg. alignments, trees or large numbers of sequences). This menu is also suitable for database related actions and suites of related actions (eg. primers). Divider Positions:- below 0.1: major downstream analysis (alignment and tree building super-operations)
- 0.1 to 0.2: lab-end analysis (eg. assembly and primers)
- 0.2 to 0.3: database related actions (eg. Sequence search)
- 0.3 to 0.9: other tools actions (eg. Strip alignment columns, extract annotations)
- above 0.9: Preferences and Plugins actions
-
Sequence
public static final GeneiousActionOptions.MainMenu Sequence
The Sequence menu. This menu should contain simple actions which act on individual sequences to modify them or produce trivial output. Divider Positions:- below 0.1: the New Sequence operation
- 0.1 to 0.3: extract type operations
- 0.3 to 0.4: actions which change the properties of a sequence (eg. Convert between DNA and RNA)
- 0.4 to 0.41: sequence list related operations
- 0.4 to 0.45: set read operations
- 0.45 to 0.49: other read operations
- above 0.49: other sequence actions (eg. mutate/shuffle)
-
AnnotateAndPredict
public static final GeneiousActionOptions.MainMenu AnnotateAndPredict
The Annotate & Predict menu. OnlySequenceAnnotationGenerators should be in this menu. Specifically ones that predict or annotate features. These actions will also appear in the Annotate & Predict menu within the sequence menu. Divider Positions:- below 0.015: Trim Functions
- 0.015 to 0.023: Annotations
- 0.023 to 0.033: Finds
- 0.033 to 0.036: Crispr
- 0.036 0.269: Tools
- 0.269 to 0.51: Tools
- above 0.51: Predict Tools
Enum.toString()has been updated to returnAnnotate & Predictinstead of the enum literal value.- Since:
- API 4.11 (Geneious 5.0)
-
Grid
public static final GeneiousActionOptions.MainMenu Grid
The Grid menu
-
Import
public static final GeneiousActionOptions.MainMenu Import
The File|Import menu
-
Export
public static final GeneiousActionOptions.MainMenu Export
The File|Export menu
-
Help
public static final GeneiousActionOptions.MainMenu Help
The Help menu
-
ToolBar_Export
public static final GeneiousActionOptions.MainMenu ToolBar_Export
The Export dropdown in the toolbar. Items in this menu are ordered by theirGeneiousActionOptions.getToolbarPopupPosition()- Since:
- API 4.202110 (Geneious 2021.1.0)
-
ToolBar_Add
public static final GeneiousActionOptions.MainMenu ToolBar_Add
The Add dropdown in the toolbar. Items in this menu are ordered by theirGeneiousActionOptions.getToolbarPopupPosition()- Since:
- API 4.202110 (Geneious 2021.1.0)
-
ToolBar_Export_Other
public static final GeneiousActionOptions.MainMenu ToolBar_Export_Other
The Export Other submenu in the toolbar's export dropdown. Items in this menu are ordered by theirGeneiousActionOptions.getToolbarPopupPosition()- Since:
- API 4.202110 (Geneious 2021.1.0)
-
ToolBar_Add_Other
public static final GeneiousActionOptions.MainMenu ToolBar_Add_Other
The Import Other submenu in the toolbar's add dropdown. Items in this menu are ordered by theirGeneiousActionOptions.getToolbarPopupPosition()- Since:
- API 4.202110 (Geneious 2021.1.0)
-
Pro
@Deprecated public static final GeneiousActionOptions.MainMenu Pro
Deprecated.the pro menu no longer exists, do not use.This is not available to 3rd party plugins
-
-
Method Detail
-
values
public static GeneiousActionOptions.MainMenu[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GeneiousActionOptions.MainMenu c : GeneiousActionOptions.MainMenu.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GeneiousActionOptions.MainMenu valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getDividers
public java.util.List<GeneiousAction.Divider> getDividers()
Gets the list of divider actions at their correct positions.
Dividers should only be shown if there are menu items on both sides of the divider.
- Returns:
- An immutable list containing all the divider actions for this main menu.
- Since:
- API 4.202020 (Geneious 2020.2.0)
-
-