NEW ComponentExtension has now a save method. Replace all exportTo*() methods,...
NEW ComponentExtension has now a save method. Replace all exportTo*() methods, simpler/cleaner export process (mimics the open process, with the difference that the save method is not a static method in the Component class, but is a virtual method in the ComponentExtension) NEW Action can be generic action. A generic action does not need any specific component to run (e.g., action that synthetize data). To trigger a generic action, clear the current selection and go to the Action menu (in imp) or look in the ActionViewer. generic actions can be called from scratch to generate/synthetize data or initialize resources NEW action, component and application macro support NEED_XSD flag (look for xerces-c and xsdcxx executable) FIXED interface for ComponentExtension (no more static method, moved to ExtensionsManager) FIXED bug in preference dialog (could not modify the edited object in first tab), regression from r58 FIXED "Fancy Demo" dirty tricks in ImageComponent/SingleComponent FIXED only CAMITK_VERSION and CAMITK_INSTALL_DIR are shown in the first cmake run (ROOT_DIR_GUESS had no reason to be visible) FIXED MainWindow / ImpMainWindow settings reorganization (some settings are now managed by core class MainWindow) FIXED quitting/exiting algorithm code cleaning FIXED Wizard now adds a Q_OBJECT line for all Components (needed for introspection/Action detetection) FIXED Wizard for new ComponentExtension/Component interface FIXED CMake specific modules are now installed in share not in lib (makes more sens) FIXED FindCamiTK.cmake is now a proper module used and exported by the wizard and satellite projects (restricted and tutorials) FIXED remove findCamiTK.tmp from wizard (now using the "official" FindCamiTK.cmake from cmake/modules dir) FIXED remove getExportExtension() in ComponentExtension (not needed anymore, always use getFileExtension(), if the export is not possible, a dialog will appear) FIXED removed error/getError in Component class (not needed anymore, yet another API simplification) FIXED setModified can now take a boolean as parameter to reset the mofication flag (e.g., once a component has been saved, it is tryely unmodified, there was no need to reset the flag in the previous API) FIXED getRepresentation was checking wrong representation every call (probably a CamiTK 1.0 bug that here since ages) FIXED getModified() was not declared virtual (probably a CamiTK 1.0 bug that was here since ages) FIXED MainWindow saveAs now suggest a indexed file (add an index / increment an already existing index at the end of the filename) FIXED delete all Actions just before quitting FIXED RigidTransform action: cancel button is now close button FIXED VtkMeshComponentExtension reset modification flag after saving FIXED Component method update was a bit confusing compared to method refresh. update is now renamed refreshInterfaceNode() which is more descriptive and probably less confusing! Note: this method should probably be replaced by something better (or suppress for a better mechanism) FIXED a lot of not-so-good use of lastIndexOf(".") to deduce either basename or extension (suffix) are now using QFileInfo (safer) FIXED ObjectController now interacts with all properties, even the inherited ones FIXED ImageProperties now directly included in ImageComponent (no need for the getPropertyObject() method) => fix problems with inherited extensions FIXED findCamiTK now only displays CamiTK version and CamiTK install dir (not the root guess dir) FIXED FancyMainWindow updated to CamiTK2.1 code cleaning (<250 lines), no dial jumps git-svn-id: svn+ssh://scm.forge.imag.fr/var/lib/gforge/chroot/scmrepos/svn/camitk/trunk/camitk@103 ec899d31-69d1-42ba-9299-647d76f65fb3
Showing with 1105 additions and 1106 deletions