/**
* Initialization.
*/
public void initialize() {
updateViews();
actuatorDocking = new View("Actuators X", IconsActuators.getIconActuator("salsa.scanconfig.actuatorx"),
actuatorsListView);
yActuatorDocking = new View("Actuators Y", IconsActuators.getIconActuator("salsa.scanconfig.actuatory"),
yActuatorListView);
xTrajectoryDocking = new View("Trajectory X",
IconsTrajectories.getIconTrajectory("salsa.scanconfig.trajectoryx"), xTrajectoryListView);
yTrajectoryDocking = new View("Trajectory Y",
IconsTrajectories.getIconTrajectory("salsa.scanconfig.trajectoryy"), yTrajectoryListView);
timebaseDocking = new View("Timebase", IconsTimebases.getIconTimebase("salsa.scanconfig.timebase"),
timebaseListView);
sensorDocking = new View("Sensors", IconsSensors.getIconSensor("salsa.scanconfig.sensor"), sensorsListView);
hooksDocking = new View("Hooks", IconsHooks.getIconHook("salsa.scanconfig.hook"), hooksView);
scanEnergyTrajectoryDocking = new View("Scan Energy",
IconsEnergy.getIconEnergy("salsa.scanconfig.energy.small"), scanEnergyTrajectoryView);
historicDocking = new View("Scan Historic", IconsHistoric.getIconHistoric("salsa.scanserver.history"),
historicView);
errorStrategiesDocking = new View("Error Strategies",
IconsStrategies.getIconStrategy("salsa.scanconfig.errorstrategy"), errorStrategiesView);
scanKTrajectoryDocking = new View("Scan K", IconsScanK.getIconScanK("salsa.scanconfig.k.small"),
scanKTrajectoryView);
scanResultDocking = new View("Scan Result", IconsScan.getIconScan("salsa.scanserver.graph"), scanResultView);
configTreeDocking = new View("Scan Manager", Icons.getIcon("salsa.scanmanagement.tree"), configTreeView);
generalDocking = new View("General", Icons.getIcon("salsa.scanconfig.general"), generalView);
scanFunctionsDocking = new View("Scan Functions", null, scanFunctionsView);
displayManagerDocking = new View("Display Manager", null, displayManagerView);
historicLogDocking = new View("Historic Log", null, historicLogView);
dataRecorderDocking = new DefaultView("Data Recorder", null, dataRecorderView);
dataFitterDocking = new DefaultView("Data Fitter", null, dataFitterView);
bookmarksDocking = new View("Bookmarks", Icons.getIcon("salsa.scantree.bookmarks"), bookmarsView);
currentTrajectoryDocking = new View("Current scan configuration", Icons.getIcon("salsa.scanconfig.actuator"),
currentTrajectoryBean);
configurationManagerDocking = new View("Configuration manager", null, configurationManagerBean);
// No docking for the error view : it's an independent dialog.
viewMap = new ViewMap();
viewMap.addView(GENERAL_VIEW_ID, generalDocking);
viewMap.addView(TIMEBASE_VIEW_ID, timebaseDocking);