Package metadata
Class MetaDataContol
java.lang.Object
PamController.PamControlledUnit
metadata.MetaDataContol
- All Implemented Interfaces:
 PamSettings,SettingsNameProvider
Class to handle Project MetaData. Am making this a PAMControlledUnit, but may never
 register it with the model ? Will see what advantages and disadvantages there are.
- Author:
 - dg50
 
- 
Field Summary
FieldsFields inherited from class PamController.PamControlledUnit
isMixed, isViewer - 
Method Summary
Modifier and TypeMethodDescriptioncreateMenu(JFrame parentFrame) Get PAMGuard Metadata.static MetaDataContolEasy getter for singleton MetaData controller.longbooleanrestoreSettings(PamControlledUnitSettings pamControlledUnitSettings) voidsetMetaData(PamguardMetaData metaData) Set the meta data object.protected voidshowDialog(JFrame parentFrame) Methods inherited from class PamController.PamControlledUnit
addOfflineTaskGroup, addOtherRelatedMenuItems, addPamProcess, addPamProcess, addRelatedMenuItems, canClose, canPlayViewerSound, createDetectionMenu, createDisplayMenu, createFileMenu, createHelpMenu, flushDataBlockBuffers, getBackupInformation, getFrameNumber, getGUI, getGuiFrame, getInstanceIndex, getModuleStatus, getModuleStatusManager, getModuleSummary, getModuleSummary, getNumOfflineTaskGroups, getNumPamProcesses, getOfflineState, getOfflineTaskGroup, getPamConfiguration, getPamController, getPamModuleInfo, getPamProcess, getPamView, getPlugin, getShortUnitType, getSidePanel, getTabClipCopier, getTabPanel, getTabSpecificMenuBar, getToolbarComponent, getUnitName, getUnitTaskManager, getUnitTaskManager, getUnitType, getVerboseLevel, gotoTab, isInMainConfiguration, isNetRx, isViewer, notifyModelChanged, pamClose, pamHasStopped, pamToStart, playViewerSound, removePamProcess, removeUnit, rename, saveViewerData, setFrameNumber, setModuleStatusManager, setPamConfiguration, setPamController, setPamModuleInfo, setPamView, setSidePanel, setTabPanel, setToolbarComponent, setUnitTaskManager, setupControlledUnit, stopViewerSound, tellModule, terminalPrint, terminalPrintln, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface PamController.PamSettings
getUnitTypeMethods inherited from interface PamController.SettingsNameProvider
getUnitName 
- 
Field Details
- 
unitType
- See Also:
 
 
 - 
 - 
Method Details
- 
getMetaDataControl
Easy getter for singleton MetaData controller.- Returns:
 - meta data controller
 
 - 
getMetaData
Get PAMGuard Metadata. This contains a nilus Deployment object wrapped up so that it can be serialised into other PAMGuard settings.- Returns:
 - PAMGuard meta data
 
 - 
setMetaData
Set the meta data object.- Parameters:
 metaData-
 - 
getSettingsReference
- Specified by:
 getSettingsReferencein interfacePamSettings- Returns:
 - The serialisable object that will be stored
 
 - 
getSettingsVersion
public long getSettingsVersion()- Specified by:
 getSettingsVersionin interfacePamSettings- Returns:
 - An integer version number for the settings
 
 - 
restoreSettings
- Specified by:
 restoreSettingsin interfacePamSettings- Parameters:
 pamControlledUnitSettings-- Returns:
 - true if successful The object performs final checks (if needed) and then casts the settings data pamcontrolledunitSettings.settings into the correct type and uses as required
 
 - 
createMenu
 - 
showDialog
 
 -