Hi!
Anyone with some idea, if the old Collaboration as we use it is now rather a
CollaborationUse?
=================
public Object getRepresentedClassifier(Object handle) {
// Comment by A. Rueckert <[email protected]> :
// I think, the handle holding the collaboration implementation, should
// rather be a CollaborationUse in UML2.
// But as a workaround for now, I'll try to get a Collaboration
representation
// (CollaborationUse) and then try to get the owning Classifier from
there...
if (!(handle instanceof Collaboration)) {
throw new IllegalArgumentException("handle should be a
Collaboration!"); //$NON-NLS-<n>$
}
CollaborationUse collabUse =
((Collaboration)handle).getRepresentation();
return collabUse == null ? null : collabUse.getOwner();
}
=================
Ciao,
Andreas
--
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen:
http://www.gmx.net/de/go/multimessenger01
------------------------------------------------------
http://argouml.tigris.org/ds/viewMessage.do?dsForumId=450&dsMessageId=1808577
To unsubscribe from this discussion, e-mail:
[[email protected]].
To be allowed to post to the list contact the mailing list moderator, email:
[[email protected]]