Package org.gjt.sp.jedit.menu
Class FavoritesProvider
- java.lang.Object
-
- org.gjt.sp.jedit.menu.FavoritesProvider
-
- All Implemented Interfaces:
DynamicMenuProvider
public class FavoritesProvider extends java.lang.Object implements DynamicMenuProvider
-
-
Constructor Summary
Constructors Constructor Description FavoritesProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidupdate(javax.swing.JMenu menu)Adds the menu items to the given menu.booleanupdateEveryTime()Returns true if the menu should be updated each time it is shown.
-
-
-
Method Detail
-
updateEveryTime
public boolean updateEveryTime()
Description copied from interface:DynamicMenuProviderReturns true if the menu should be updated each time it is shown. Otherwise, it will only be updated when the menu is first created, and if the menu receives aDynamicMenuChangedmessage.- Specified by:
updateEveryTimein interfaceDynamicMenuProvider
-
update
public void update(javax.swing.JMenu menu)
Description copied from interface:DynamicMenuProviderAdds the menu items to the given menu.- Specified by:
updatein interfaceDynamicMenuProvider- Parameters:
menu- The menu
-
-