Difference between revisions of "Extension Guide"

From OpenKM Documentation
Jump to: navigation, search
m
 
(19 intermediate revisions by 4 users not shown)
Line 1: Line 1:
OpenKM plugin extensions makes it easy to extend the OpenKM end user interface by encapsulating plugin code and making it reusable between OpenKM versions.
+
OpenKM has a lot of interesting features, but it is not possible to meet all the special user requirements. For this reason, you can expand application features by implementing extensions. There are two families of extensions:
  
The OpenKM plugin extension architecture is based on:
+
* [[Core extensions]]
* Extensions
+
* [[Frontend extensions]]
* Events
+
* [[Database Metadata]]
* Handlers
+
* [[Javascript API]]
* Comunicators
+
* [[Extend automation]]
 
+
* [[Extend OCR field parsers]]
'''Extensions are available widget definitions ''' that allows the developer to make extensible panels and widgets ( for example adding new tab panel on tab document )
+
* [[C Sharp DLL|SDK for .net (C# - C Sharp)]]
 
+
* [[SDK for Java]]
'''Events are a collection of events that OpenKM UI fires''' each time any changes occur ( for example when is added new keyword in tab document is fired event HasDocumentEvent.KEYWORD_ADDED)
 
 
 
'''Handlers are a collection of methods called internally by OpenKM'''. Handlers must be implemented into your extensions in order to collect OpenKM fired events. Each extension you make can have one or several handlers, that are automatically registered by OpenKM on loading process. OpenKM internally fire events to each declared handler.
 
 
 
'''Comunicators are a collection of methods avaliable as OpenKM Comunitate API''' to accessing transparently with some internal UI values. There are several Comunitators, for example with GeneralComunicator can access some general actions like refreshing UI as GeneralComunicator.refreshUI(). OpenKM Communicators API has read and write methods to interact with internal OpenKM UI objects.
 
 
 
{{Note|Create OpenKM plugin extension it's easy but you need some java knowledge and pay special attention at Google Web ToolKit API that's used to build OpenKM UI. http://code.google.com/webtoolkit/ }}
 
 
 
* [[HelloWorld Example]]
 
* [[Enable example extensions]]
 
* Extension
 
** [[TabWorkspaceExtension]]
 
** [[TabDocumentExtension]]
 
** [[ToolBarBoxExtension]]
 
** [[TabFolderExtension]]
 
** [[TabMailExtension]]
 
** [[ToolBarButtonExtension]]
 
** [[MenuItemExtension]]
 
** [[MenuBarExtension]]
 
* Handlers
 
** [[WorkspaceHandlerExtension]]
 
** [[NavigatorHandlerExtension]]
 
** [[DocumentHandlerExtension]]
 
** [[FolderHandlerExtension]]
 
** [[ToolBarHandlerExtension]]
 
** [[PropertyGroupHandlerExtension]]
 
** [[DashboardHandlerExtension]]
 
* Comunicators
 
** [[GeneralComunicator]]
 
** [[WorkspaceComunicator]]
 
** [[NavigatorComunicator]]
 
** [[FileBrowserComunicator]]
 
** [[TabDocumentComunicator]]
 
** [[TabFolderComunicator]]
 
** [[UtilComunicator]]
 
** [[DashboardComunicator]]
 
** [[SearchComunicator]]
 
* UI Constants
 
** [[UIMenuConstants]]
 
** [[UIDesktopConstants]]
 
** [[UIDockPanelConstants]]
 
** [[UISearchConstants]]
 
** [[UIFileUploadConstants]]
 
* [[RPCService]]
 
* [[Widget library]]
 
* Best practice
 
** [[Adding RPC ( Remote Process Calls ) to server]]
 
** [[Internationalization]] [[File:Padlock.gif]]
 
  
 
[[Category: Extension Guide]]
 
[[Category: Extension Guide]]

Latest revision as of 09:48, 2 December 2013

OpenKM has a lot of interesting features, but it is not possible to meet all the special user requirements. For this reason, you can expand application features by implementing extensions. There are two families of extensions: