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 String
getDescription()
static File
getEpubFile()
static File
getEpubFile(Locale locale)
ImageIcon
getIcon()
String
getId()
static ManualPlugin
getInstance()
static EpubNavigation
getNavigation()
static URL
getResource(String name)
static InputStream
getResourceAsStream(String name)
static ImageIcon
getResourceIcon(String name, int size)
static BufferedImage
getResourceImage(String name, int size)
static URL
getResourceImageURL(String name, int size)
static Locale[]
getSupportedLocales()
String
getTitle()
static void
init()
void
localeChanged(org.xnap.commons.i18n.LocaleChangeEvent event)
void
start()
void
stop()
-
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:
getDescription
in classImmoToolPlugin
-
getEpubFile
public static File getEpubFile()
-
getIcon
public ImageIcon getIcon()
- Overrides:
getIcon
in classImmoToolPlugin
-
getId
public String getId()
- Specified by:
getId
in 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:
getTitle
in classImmoToolPlugin
-
init
public static void init()
-
localeChanged
public void localeChanged(org.xnap.commons.i18n.LocaleChangeEvent event)
- Specified by:
localeChanged
in interfaceorg.xnap.commons.i18n.LocaleChangeListener
-
start
public void start()
- Overrides:
start
in classorg.pf4j.Plugin
-
stop
public void stop()
- Overrides:
stop
in classorg.pf4j.Plugin
-
-