jpicedt.ui.util
Class Fragments
java.lang.Object
jpicedt.ui.util.Fragments
public class Fragments
- extends Object
Fragments menu management
- Since:
- jPicEdt
- Version:
- $Id: Fragments.java,v 1.7 2013/03/27 06:50:26 vincentb1 Exp $
- Author:
- Sylvain Reynal
Method Summary |
static JMenu |
createMenu()
|
static JMenu |
createMenu(PEPopupMenuFactory.PopupMenu poppedUpFrom)
Return a JMenu containing a hierarchy of JMenu 's and JMenuItem 's
built from the fragments contained, first in the installation fragment directory, then in the user
fragment directory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Fragments
public Fragments()
createMenu
public static JMenu createMenu()
createMenu
public static JMenu createMenu(PEPopupMenuFactory.PopupMenu poppedUpFrom)
- Return a
JMenu
containing a hierarchy of JMenu
's and JMenuItem
's
built from the fragments contained, first in the installation fragment directory, then in the user
fragment directory.
- Returns:
- an empty
JMenu
if no fragments were found in either directory.
Submit a bug : syd@jpicedt.org