protected JMenuItem selectAllSequenceMenuItem = new JMenuItem();\r
protected JMenuItem deselectAllSequenceMenuItem = new JMenuItem();\r
protected JMenuItem invertSequenceMenuItem = new JMenuItem();\r
- protected JMenuItem deleteSelectedMenuItem = new JMenuItem();\r
- protected JMenuItem moveSelectedMenuItem = new JMenuItem();\r
- protected JMenuItem copySelectedMenuItem = new JMenuItem();\r
protected JMenuItem deselectAllColumnsMenuItem = new JMenuItem();\r
protected JMenuItem remove2LeftMenuItem = new JMenuItem();\r
protected JMenuItem remove2RightMenuItem = new JMenuItem();\r
protected JCheckBoxMenuItem renderGapsMenuItem = new JCheckBoxMenuItem();\r
JMenuItem findMenuItem = new JMenuItem();\r
JMenu searchMenu = new JMenu();\r
+ protected JCheckBoxMenuItem modifyAlignmentMenuItem = new JCheckBoxMenuItem();\r
public GAlignFrame()\r
{\r
try\r
invertSequenceMenuItem_actionPerformed(e);\r
}\r
});\r
- deleteSelectedMenuItem.setText("Delete selected sequences");\r
- deleteSelectedMenuItem.addActionListener(new java.awt.event.ActionListener()\r
- {\r
- public void actionPerformed(ActionEvent e)\r
- {\r
- deleteSelectedMenuItem_actionPerformed(e);\r
- }\r
- });\r
- moveSelectedMenuItem.setText("Move selected sequences to new alignment");\r
- moveSelectedMenuItem.addActionListener(new java.awt.event.ActionListener()\r
- {\r
- public void actionPerformed(ActionEvent e)\r
- {\r
- moveSelectedMenuItem_actionPerformed(e);\r
- }\r
- });\r
- copySelectedMenuItem.setText("Copy selected sequences to new alignment");\r
- copySelectedMenuItem.addActionListener(new java.awt.event.ActionListener()\r
- {\r
- public void actionPerformed(ActionEvent e)\r
- {\r
- copySelectedMenuItem_actionPerformed(e);\r
- }\r
- });\r
deselectAllColumnsMenuItem.setText("Deselect all columns");\r
deselectAllColumnsMenuItem.addActionListener(new java.awt.event.ActionListener()\r
{\r
}\r
});\r
searchMenu.setText("Search");\r
+ modifyAlignmentMenuItem.setText("Modify alignment");\r
+ modifyAlignmentMenuItem.addActionListener(new java.awt.event.ActionListener()\r
+ {\r
+ public void actionPerformed(ActionEvent e)\r
+ {\r
+ modifyAlignmentMenuItem_actionPerformed(e);\r
+ }\r
+ });\r
alignFrameMenuBar.add(fileMenu);\r
alignFrameMenuBar.add(editMenu);\r
alignFrameMenuBar.add(searchMenu);\r
editMenu.add(undoMenuItem);\r
editMenu.add(redoMenuItem);\r
editMenu.addSeparator();\r
+ editMenu.add(modifyAlignmentMenuItem);\r
editMenu.add(groupsMenuItem);\r
editMenu.add(groupEditingMenuItem);\r
editMenu.addSeparator();\r
editMenu.add(deselectAllSequenceMenuItem);\r
editMenu.add(invertSequenceMenuItem);\r
editMenu.addSeparator();\r
- editMenu.add(copySelectedMenuItem);\r
- editMenu.add(moveSelectedMenuItem);\r
- editMenu.add(deleteSelectedMenuItem);\r
- editMenu.addSeparator();\r
editMenu.add(deselectAllColumnsMenuItem);\r
editMenu.add(remove2LeftMenuItem);\r
editMenu.add(remove2RightMenuItem);\r
\r
}\r
\r
- protected void deleteSelectedMenuItem_actionPerformed(ActionEvent e)\r
- {\r
-\r
- }\r
-\r
- protected void moveSelectedMenuItem_actionPerformed(ActionEvent e)\r
- {\r
-\r
- }\r
-\r
- protected void copySelectedMenuItem_actionPerformed(ActionEvent e)\r
- {\r
-\r
- }\r
\r
protected void deselectAllColumnsMenuItem_actionPerformed(ActionEvent e)\r
{\r
\r
}\r
\r
+ protected void modifyAlignmentMenuItem_actionPerformed(ActionEvent e)\r
+ {\r
+\r
+ }\r
+\r
}\r