Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » how to compare elements belonging to two ResourceSet
how to compare elements belonging to two ResourceSet [message #625549] Tue, 20 November 2007 08:30
Eclipse UserFriend
Originally posted by: firstname.name.gmail.com

Hello,

I have two models loaded from the same uri (a UML file) with two different
ResourceSet.

How may I "compare" model elements of these two models. I mean, as model elements
belong to two distinct resources, I can't use the equal operator.

Element aElement; // (resource is A from ResourceSet RA)
Element bElement; // (resource is B from ResourceSet RB)

// I would like to do
if (aElement == bElement)


thanks.

--
F. Lagarde
Previous Topic:create package in a eclipse plugin
Next Topic:how to compare elements belonging to two ResourceSet
Goto Forum:
  


Current Time: Tue Dec 12 15:53:58 GMT 2017

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

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