Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.gjt.sp.jedit.menu
Class MacrosProvider  view MacrosProvider download MacrosProvider.java

java.lang.Object
  extended byorg.gjt.sp.jedit.menu.MacrosProvider
All Implemented Interfaces:
DynamicMenuProvider

public class MacrosProvider
extends java.lang.Object
implements DynamicMenuProvider


Constructor Summary
MacrosProvider()
           
 
Method Summary
private  void createMacrosMenu(javax.swing.JMenu menu, java.util.Vector vector, int start)
           
 void update(javax.swing.JMenu menu)
          Adds the menu items to the given menu.
 boolean updateEveryTime()
          Returns true if the menu should be updated each time it is shown.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacrosProvider

public MacrosProvider()
Method Detail

updateEveryTime

public boolean updateEveryTime()
Description copied from interface: DynamicMenuProvider
Returns 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 a org.gjt.sp.jedit.msg.DynamicMenuChanged message.

Specified by:
updateEveryTime in interface DynamicMenuProvider

update

public void update(javax.swing.JMenu menu)
Description copied from interface: DynamicMenuProvider
Adds the menu items to the given menu.

Specified by:
update in interface DynamicMenuProvider

createMacrosMenu

private void createMacrosMenu(javax.swing.JMenu menu,
                              java.util.Vector vector,
                              int start)