Difference between revisions of "Org.simantics.document"
Jump to navigation
Jump to search
Line 12: | Line 12: | ||
*# '''org.simantics.scenegraph.loader''' ([[svn:foundation/2d/trunk/org.simantics.scenegraph.loader|SVN]]) | *# '''org.simantics.scenegraph.loader''' ([[svn:foundation/2d/trunk/org.simantics.scenegraph.loader|SVN]]) | ||
− | The document data model is a '''scene graph''' which is loaded with the '''scene graph loader''' [[org.simantics.scenegraph.loader| | + | The document data model is a '''scene graph''' which is loaded with the '''scene graph loader''' described [[org.simantics.scenegraph.loader|here]]. |
− | Document scene | + | Document scene graph models can be loaded into multiple scene graph implementations. The default implementation (via plain '''org.simantics.scenegraph.loader.ScenegraphLoader''' adaption) can be used to transform the document model into a Wiki document via the interface '''org.simantics.document.WikiDocumentNode'''. |
<pre> | <pre> | ||
Line 23: | Line 23: | ||
</pre> | </pre> | ||
+ | = User interface = | ||
− | + | A document editor is modelled in '''org.simantics.document.ui.ontology'''. The corresponding editor class is '''org.simantics.document.ui.DocumentEditor'''. | |
+ | |||
+ | = Nodes = |
Revision as of 06:37, 3 November 2011
The Simantics document subsystem is defined in various plugins including
- Headless documentation model
- Document editor
- Scene graph
The document data model is a scene graph which is loaded with the scene graph loader described here.
Document scene graph models can be loaded into multiple scene graph implementations. The default implementation (via plain org.simantics.scenegraph.loader.ScenegraphLoader adaption) can be used to transform the document model into a Wiki document via the interface org.simantics.document.WikiDocumentNode.
ScenegraphLoaderProcess loader = new ScenegraphLoaderProcess(new Composite()); WikiDocumentNodeImpl node = loader.load(graph, desc, ScenegraphLoaderUtils.getRuntime(graph, context));
User interface
A document editor is modelled in org.simantics.document.ui.ontology. The corresponding editor class is org.simantics.document.ui.DocumentEditor.