[Jsxe-cvs] SF.net SVN: jsxe: [1112] trunk/treeview
Status: Inactive
Brought to you by:
ian_lewis
From: <ian...@us...> - 2006-08-08 00:08:46
|
Revision: 1112 Author: ian_lewis Date: 2006-08-07 17:08:42 -0700 (Mon, 07 Aug 2006) ViewCVS: http://svn.sourceforge.net/jsxe/?rev=1112&view=rev Log Message: ----------- Moved the edit menu to jsXe core Modified Paths: -------------- trunk/treeview/Changelog trunk/treeview/src/treeview/DefaultView.java Modified: trunk/treeview/Changelog =================================================================== --- trunk/treeview/Changelog 2006-08-08 00:08:19 UTC (rev 1111) +++ trunk/treeview/Changelog 2006-08-08 00:08:42 UTC (rev 1112) @@ -1,3 +1,7 @@ +08/07/2006 Ian Lewis <Ian...@me...> + + * The Edit menu has been moved to jsXe core. + 08/03/2006 Ian Lewis <Ian...@me...> * Added some English tooltip messages to the Global Options Pane for the Modified: trunk/treeview/src/treeview/DefaultView.java =================================================================== --- trunk/treeview/src/treeview/DefaultView.java 2006-08-08 00:08:19 UTC (rev 1111) +++ trunk/treeview/src/treeview/DefaultView.java 2006-08-08 00:08:42 UTC (rev 1112) @@ -163,19 +163,6 @@ // });//}}} //}}} - //{{{ Construct Edit Menu - //TODO: get the keyboard shortcuts to work, - //TODO: get cut/copy/paste to work in the right hand text window - m_editMenu = new JMenu(Messages.getMessage("Edit.Menu")); - m_editMenu.setMnemonic('E'); - JMenuItem menuItem = new JMenuItem(ActionManager.getAction("cut")); - m_editMenu.add(menuItem); - menuItem = new JMenuItem(ActionManager.getAction("copy")); - m_editMenu.add(menuItem); - menuItem = new JMenuItem(ActionManager.getAction("paste")); - m_editMenu.add(menuItem); - //}}} - //{{{ Create and set up the splitpanes vertSplitPane = new JSplitPane(JSplitPane.VERTICAL_SPLIT, treeView, attrView); vertSplitPane.setContinuousLayout(false); @@ -264,7 +251,7 @@ //{{{ getMenus() public JMenu[] getMenus() { - return new JMenu[] { m_editMenu }; + return null; }//}}} //{{{ getDocumentBuffer() @@ -531,7 +518,6 @@ private DocumentBuffer m_document; private boolean m_viewShown = false; private TreeViewPlugin m_plugin; - private JMenu m_editMenu; private EditTagDialog.ComboValueRenderer m_comboRenderer = new EditTagDialog.ComboValueRenderer(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |