Skip to main content



      Home
Home » Modeling » Graphiti » DiagrammEditor with XML Domain Model
DiagrammEditor with XML Domain Model [message #718455] Wed, 24 August 2011 07:53 Go to next message
Eclipse UserFriend
Hello,

I'm implementing a DataMining framework. The data-mining-process model is stored in an XML file.

I've read: http://www.eclipse.org/forums/index.php/t/199235/
and: http://www.eclipse.org/forums/index.php/t/199453/

The tutorial just covers domain models created via EMF. However I have no idea how to implement "IIndependenceSolver" or the "Transactional Domain Model"

Quote:

the editor needs the transactional editing domain already
to make changes to the pictograms model (the diagram).
So even if you do not have a domain model which is
(EMF-) file based but just in-memory you would need to
provide a transactional editing domain for
manipulation of the diagram model.

For opening an editor programmatically you may have a look at
the CreateDiagramWizard class.

If you want to visualize a non-EMF model make sure you deliver an instance
of IIndependenceSolver
with your FeatureProvider. There, you have to implement
a lookup facility for your domain model objects.


Where to start?
Re: DiagrammEditor with XML Domain Model [message #720266 is a reply to message #718455] Tue, 30 August 2011 05:18 Go to previous message
Eclipse UserFriend
Hi,

i think a good way to start is implementing an Independence Solver.
You would have to provide a (bijective) mapping between your domain objects
and keys in form of strings. Just have a look at the interface IIndependenceSolver...

Best, Tim

[Updated on: Tue, 30 August 2011 05:18] by Moderator

Previous Topic:Diagram size seems ignored
Next Topic:Implementing features on which level?
Goto Forum:
  


Current Time: Fri Jul 25 00:30:38 EDT 2025

Powered by FUDForum. Page generated in 0.04167 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top