public interface IExternalManager
Modifier and Type | Method and Description |
---|---|
boolean |
canAutocreateUnconfiguredInstance()
Defines if LLworkplace should create an instance automatically at first loading without any defined properties
|
boolean |
checkConnection()
Checks the connection
|
void |
cleanUp()
Is called when LLworkplace shuts down for cleaning up
|
AdditionalPluginBuildingInfo |
getAdditionalBuildingInfo(boolean justButtonData)
Returns additional info
|
javax.swing.Icon |
getExternalManager16x16Icon()
This icon represents the plugin visually.
|
java.lang.String |
getExternalManagerDescription(java.util.Locale locale)
General description of the external manager implementation.
|
java.lang.String |
getInstanceName(java.util.Properties props,
java.util.Locale locale)
The name representing an specific plugin instance.
|
java.lang.String |
getManagerName(java.util.Locale locale)
The name representing an specific plugin.
|
java.lang.String |
getPropertyFillingDescription(java.util.Locale locale)
This text is presented above the plugin properties in the standard properties configuration dialog.
|
IPropertyItemDescriptor[] |
getPropertyItemDescriptions()
So that the LLworkplace configuration can handle the plugin instance definition the plugin must provide all necessary properties.
|
int |
getStoresCount()
If the manager contains several stores here the amount of these stores must be returned
|
java.lang.String |
getVersion()
The version of the plugin manager.
|
boolean |
init(java.util.Properties props,
java.util.Locale locale,
IManagerEventListener eventListener,
java.lang.String tempFilePath)
Initializes the manager with valid properties.
|
boolean |
isCheckConnection()
Declares if a connection check can take place
|
boolean |
isCompletelyConfigured(java.util.Properties props,
boolean withInstanceParameters)
Checks if all properties are correctly filled.
|
boolean |
isOnlyOneInstanceAllowed()
Defines if only one instance can be created in the instance configuration dialog
|
void |
openExternalConfigDialog(javax.swing.JDialog owner,
java.util.Properties props)
Opens the own implementation of the plugin instance configuration dialog.
|
void |
setExternalContext(IExternalContext externalContext)
If the external manager uses services of the LLworkplace core runtime
the IExternalContext provides the necessary access to these services
|
boolean |
useExternalConfigDialog()
Declares if the plugin uses its own dialog to configure the plugin instances.
|
java.lang.String getVersion()
java.lang.String getManagerName(java.util.Locale locale)
locale
- Support for language specific textsjava.lang.String getInstanceName(java.util.Properties props, java.util.Locale locale)
props
- Instance propertieslocale
- Support for language specific textsvoid setExternalContext(IExternalContext externalContext)
externalContext
- The e is set by the LLworkplace core runtime.java.lang.String getPropertyFillingDescription(java.util.Locale locale)
locale
- Support for language specific textsIPropertyItemDescriptor[] getPropertyItemDescriptions()
boolean isCompletelyConfigured(java.util.Properties props, boolean withInstanceParameters)
props
- Plugin instance properites to be checkedwithInstanceParameters
- Check also the dynamic instance parametersboolean init(java.util.Properties props, java.util.Locale locale, IManagerEventListener eventListener, java.lang.String tempFilePath)
props
- Plugin instance properiteslocale
- Support for language specific textseventListener
- listener for manager related eventstempFilePath
- file path to place files temporarilyboolean useExternalConfigDialog()
void openExternalConfigDialog(javax.swing.JDialog owner, java.util.Properties props)
owner
- Owner dialog of LLworkplaceprops
- Plugin instance properites to be filled or modifiedboolean isCheckConnection()
AdditionalPluginBuildingInfo getAdditionalBuildingInfo(boolean justButtonData)
boolean checkConnection()
javax.swing.Icon getExternalManager16x16Icon()
java.lang.String getExternalManagerDescription(java.util.Locale locale)
locale
- Support for language specific textsboolean isOnlyOneInstanceAllowed()
boolean canAutocreateUnconfiguredInstance()
int getStoresCount()
void cleanUp()