public interface Module
Modifier and Type | Field and Description |
---|---|
static int |
MODULE_APPLICATION |
static int |
MODULE_ASSET_ACTION_PACKER |
static int |
MODULE_ASSET_ACTION_PROCESSOR |
static int |
MODULE_ASSET_ACTION_SAVER |
static int |
MODULE_ASSET_METADATA |
static int |
MODULE_ASSET_PROCESSOR |
static int |
MODULE_ASSET_STORAGE
The module type constants.
|
static int |
MODULE_FILTER |
static int |
MODULE_TYPE_MASK_ALL |
Modifier and Type | Method and Description |
---|---|
FieldListEntry[] |
getAvailableCategoryFields()
Return a list of all category fields available from this module.
|
FieldListEntry[] |
getAvailableRecordFields()
Return a list of all record fields available from this module.
|
java.lang.String |
getID()
Returns this modules ID.
|
java.lang.String |
getName()
Returns the module name for the current language.
|
java.lang.String |
getName(int languageID)
Returns the module name for the given language.
|
int |
getType()
Returns the type of this module.
|
boolean |
hasAboutDialog()
Returns whether this module has an about dialog.
|
boolean |
hasPreferencesDialog(CumulusSession cumulusSession)
Returns whether this module has a settings dialog.
|
boolean |
isNativeModule()
Returns whether this is a native module.
|
void |
showAboutDialog()
Tells the module to show its about dialog.
|
JPack |
showPreferencesDialog(CumulusSession cumulusSession,
JPack prefsModulePreferencesPack)
Show the preferences dialog using the given preferences from the module preferences pack.
|
static final int MODULE_ASSET_STORAGE
static final int MODULE_ASSET_PROCESSOR
static final int MODULE_ASSET_METADATA
static final int MODULE_FILTER
static final int MODULE_ASSET_ACTION_PROCESSOR
static final int MODULE_ASSET_ACTION_PACKER
static final int MODULE_ASSET_ACTION_SAVER
static final int MODULE_APPLICATION
static final int MODULE_TYPE_MASK_ALL
java.lang.String getID()
boolean isNativeModule()
java.lang.String getName(int languageID)
languageID
- language IDjava.lang.String getName()
int getType()
MODULE_ASSET_ACTION_PACKER
, MODULE_FILTER
, MODULE_ASSET_ACTION_PROCESSOR
, MODULE_ASSET_ACTION_SAVER
, MODULE_ASSET_METADATA
, MODULE_ASSET_PROCESSOR
MODULE_ASSET_STORAGE
and MODULE_APPLICATION
boolean hasAboutDialog()
void showAboutDialog()
boolean hasPreferencesDialog(CumulusSession cumulusSession)
cumulusSession
- session to useJPack showPreferencesDialog(CumulusSession cumulusSession, JPack prefsModulePreferencesPack)
cumulusSession
- session to useprefsModulePreferencesPack
- the settings pack for this modulenull
if canceled.FieldListEntry[] getAvailableRecordFields()
FieldListEntry[] getAvailableCategoryFields()
www.canto.com
Canto, the Canto logo, the Cumulus logo, and Cumulus are registered trademarks of Canto GmbH, registered in the U.S. and other countries.