Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » DiagrammEditor with XML Domain Model
DiagrammEditor with XML Domain Model [message #718455] Wed, 24 August 2011 11:53 Go to next message
Nepomuk Seiler is currently offline Nepomuk SeilerFriend
Messages: 88
Registered: December 2010
Member
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 09:18 Go to previous message
Tim Kaiser is currently offline Tim KaiserFriend
Messages: 118
Registered: July 2009
Senior Member
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 09:18]

Report message to a moderator

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


Current Time: Fri Mar 29 10:17:50 GMT 2024

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

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

Back to the top