[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[News.eclipse.technology.gmf] Access Privileges to manipulate the properties of an element
|
- From: balraj.kannan@xxxxxx (Balraj Kannan)
- Date: Mon, 31 Jul 2006 07:36:28 +0000 (UTC)
- Newsgroups: eclipse.technology.gmf
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
Hi,
I have a requirement where in I would like to have control over the
properties shown to the user. For ex: I would have two profiles say
Developer and Operator. In the Developer's profile I should show all the
properties present in the ecore model. But, under the Operator view I may
show only few parameters.
Let me explain this with an instance:
<root>
<employee number='111' name='Abc' dept='Xyz'>
</root>
Under Developer view I would like to show all the properties of the
employee element i.e., number, name and dept. But under the Operator view
I would prefer to show only the number attribute.
I don't want to have two ecore models here. I was wondering If I could
manipulate the show properties functionality provided by the gmf.
Please suggest how can I do this?
Also, I am planning to distinguish between the roles of Developer and
Operator based on the perspectives for each. Is this a good option? Are
there any other ways I can achieve the same?
Thanks in advance
Regards
Balraj