Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » EMF: "preset" value (not default value) from another EObject property
EMF: "preset" value (not default value) from another EObject property [message #1712913] Thu, 29 October 2015 10:16
Martin Jacob is currently offline Martin JacobFriend
Messages: 191
Registered: July 2009
Senior Member
<html>
<head>

<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Helvetica, Arial, sans-serif">Hi,<br>
<br>
is there a way to get a "preset" value from another EObject
property?<br>
<br>
for example: <br>
<br>
Object A of type AType has a property nameA<br>
Object B of type BType has a <u>unsetable</u> property nameB<br>
<br>
Object B is a child or sibling of Object A. In case B::nameB is
unset the value of A::nameA should be returned when calling
B.getNameB().<br>
<br>
<br>
I my case I have a tree of objects and I need to be able to modify
a preset value and all children shall use this values if the
property is not set. If the property is set the specific value
shall be returned.<br>
<br>
Any idea or help would be appreciated.<br>
<br>
Martin<br>
<br>
<br>
</font>
</body>
</html>
Previous Topic:Using EMF with existing database
Next Topic:[EMF Forms] Embed EMF Form into a RCP app
Goto Forum:
  


Current Time: Fri Apr 26 09:06:43 GMT 2024

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

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

Back to the top