http://www.jpicedt.org

jpicedt.ui.util
Class Fragments

java.lang.Object
  extended by 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

Constructor Summary
Fragments()
           
 
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
 

Constructor Detail

Fragments

public Fragments()
Method Detail

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.

http://www.jpicedt.org

Submit a bug : syd@jpicedt.org