java.lang.Object
org.gjt.sp.jedit.menu.ReloadWithEncodingProvider
- All Implemented Interfaces:
ActionListener,EventListener,DynamicMenuProvider
public class ReloadWithEncodingProvider
extends Object
implements ActionListener, DynamicMenuProvider
Menu provider for actions to reload the current buffer with a
specific encoding.
- Version:
- $Id: ReloadWithEncodingProvider.java 25326 2020-05-09 10:08:52Z kpouer $
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidAdds the menu items to the given menu.booleanReturns true if the menu should be updated each time it is shown.
-
Constructor Details
-
ReloadWithEncodingProvider
public ReloadWithEncodingProvider()
-
-
Method Details
-
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
Description copied from interface:DynamicMenuProviderAdds the menu items to the given menu.- Specified by:
updatein interfaceDynamicMenuProvider- Parameters:
menu- The menu
-
actionPerformed
- Specified by:
actionPerformedin interfaceActionListener
-