|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttelcert.schemaprof.gui.AbstractPlugIn
public abstract class AbstractPlugIn
A Default Implementation of the PlugIn
Interface.
| Constructor Summary | |
|---|---|
AbstractPlugIn()
|
|
| Method Summary | |
|---|---|
ClassLoader |
getClassLoader()
Returns the ClassLoadercorrespondent to this jar file. |
MainFrame |
getFrame()
Returns the MainFrame which loaded this PlugIn. |
JMenu |
getMenu()
Returns a JMenu already filled with the PlugIn
Action's in a User defined Layout. |
Set |
getSupportedLocales()
Returns a set of Locale-instances which are supported by this
plugin. |
void |
setClassLoader(ClassLoader loader)
Sets the ClassLoader correspondent to the jar file of this PlugIn for loading Resources. |
void |
setFrame(MainFrame frame)
Sets the MainFrame which loads this PlugIn. |
void |
updateBundleDirectory(File bundleDirectory)
Sets a directory in the local file systems which should be scanned for resource files. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface telcert.schemaprof.gui.PlugIn |
|---|
getMenuActions, getName, updateActionStates, updateLocale, updateUI |
| Constructor Detail |
|---|
public AbstractPlugIn()
| Method Detail |
|---|
public ClassLoader getClassLoader()
PlugInClassLoadercorrespondent to this jar file. Please use
the ClassLoader Instance given by PlugIn.setClassLoader(ClassLoader).
getClassLoader in interface PlugInClassLoadercorrespondent to this jar file.public void setClassLoader(ClassLoader loader)
PlugIn
setClassLoader in interface PlugInloader - The ClassLoaderof the jar file.public JMenu getMenu()
PlugInJMenu already filled with the PlugIn
Action's in a User defined Layout. The menu will be
displayed in the MainFrame, which was previously set with
PlugIn.setFrame(MainFrame).
getMenu in interface PlugInJMenuof the PlugIn Action's.PlugIn.setFrame(MainFrame)public MainFrame getFrame()
PlugInMainFrame which loaded this PlugIn.
getFrame in interface PlugInMainFrame which loaded this PlugIn.public void setFrame(MainFrame frame)
PlugInMainFrame which loads this PlugIn. This method should be
called before all other methods of this interface. If the MainFrame is
already set, calling this method will lead to an
IllegalArgumentException.
setFrame in interface PlugInframe - The MainFrame which loads this PlugIn.public Set getSupportedLocales()
PlugInLocale-instances which are supported by this
plugin.
getSupportedLocales in interface PlugInLocale-instances.public void updateBundleDirectory(File bundleDirectory)
PlugIn
updateBundleDirectory in interface PlugIn
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||