Class ManualPlugin
- java.lang.Object
-
- org.pf4j.Plugin
-
- com.openindex.openestate.tool.ImmoToolPlugin
-
- com.openindex.openestate.tool.manual.ManualPlugin
-
- All Implemented Interfaces:
org.xnap.commons.i18n.LocaleChangeListener
public class ManualPlugin extends ImmoToolPlugin implements org.xnap.commons.i18n.LocaleChangeListener
ManualPlugin.- Author:
- Andreas Rudolph
-
-
Constructor Summary
Constructors Constructor Description ManualPlugin(org.pf4j.PluginWrapper wrapper)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetDescription()static FilegetEpubFile()static FilegetEpubFile(Locale locale)ImageIcongetIcon()StringgetId()static ManualPlugingetInstance()static EpubNavigationgetNavigation()static URLgetResource(String name)static InputStreamgetResourceAsStream(String name)static ImageIcongetResourceIcon(String name, int size)static BufferedImagegetResourceImage(String name, int size)static URLgetResourceImageURL(String name, int size)static Locale[]getSupportedLocales()StringgetTitle()static voidinit()voidlocaleChanged(org.xnap.commons.i18n.LocaleChangeEvent event)voidstart()voidstop()-
Methods inherited from class com.openindex.openestate.tool.ImmoToolPlugin
getAuthor, getAuthorWebsite, getDescriptor, getLicense, getProperty, getProperty, getRequiredPlugins, getResourcePath, getVersion, getWebsite, isAllowed, isLicensed, isUsable
-
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescription
public String getDescription()
- Overrides:
getDescriptionin classImmoToolPlugin
-
getEpubFile
public static File getEpubFile()
-
getIcon
public ImageIcon getIcon()
- Overrides:
getIconin classImmoToolPlugin
-
getId
public String getId()
- Specified by:
getIdin classImmoToolPlugin
-
getInstance
public static ManualPlugin getInstance()
-
getNavigation
public static EpubNavigation getNavigation()
-
getResourceAsStream
public static InputStream getResourceAsStream(String name)
-
getResourceImage
public static BufferedImage getResourceImage(String name, int size)
-
getSupportedLocales
public static Locale[] getSupportedLocales()
-
getTitle
public String getTitle()
- Overrides:
getTitlein classImmoToolPlugin
-
init
public static void init()
-
localeChanged
public void localeChanged(org.xnap.commons.i18n.LocaleChangeEvent event)
- Specified by:
localeChangedin interfaceorg.xnap.commons.i18n.LocaleChangeListener
-
start
public void start()
- Overrides:
startin classorg.pf4j.Plugin
-
stop
public void stop()
- Overrides:
stopin classorg.pf4j.Plugin
-
-