Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » How to get the Velement from EStructuralFeature or from ViewModelContext In ECP.(How to get the Velement from EStructuralFeature or from ViewModelContext In ECP.)
How to get the Velement from EStructuralFeature or from ViewModelContext In ECP. [message #1478323] Tue, 18 November 2014 15:39 Go to next message
veerababu maragani is currently offline veerababu maraganiFriend
Messages: 5
Registered: November 2014
Junior Member
How to get the Velement from EStructuralFeature or from ViewModelContext In ECP.
Re: How to get the Velement from EStructuralFeature or from ViewModelContext In ECP. [message #1479194 is a reply to message #1478323] Wed, 19 November 2014 08:25 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Hi,

where do you want to retrieve the VElement?

Best regards

Jonas

Am 18.11.2014 16:39, schrieb veerababu maragani:
> How to get the Velement from EStructuralFeature or from
> ViewModelContext In ECP.
Re: How to get the Velement from EStructuralFeature or from ViewModelContext In ECP. [message #1479203 is a reply to message #1479194] Wed, 19 November 2014 08:38 Go to previous messageGo to next message
veerababu maragani is currently offline veerababu maraganiFriend
Messages: 5
Registered: November 2014
Junior Member
we are working on ECP ,Actually we have created the some custom cell editors ,one is dialog cell editor here when we click on the button we need to open the another table there i need to get the Velement..

protected Control createDialogArea(Composite parent) {
Composite composite = (Composite) super.createDialogArea(parent);
------------------------
-------------------------here i need to get the velement

or

is there any chances to create our own Vtablecontrol?

Re: How to get the Velement from EStructuralFeature or from ViewModelContext In ECP. [message #1480500 is a reply to message #1479203] Thu, 20 November 2014 08:27 Go to previous messageGo to next message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
Hi,

the class AbstractRenderer, which I believe you inherit from, provides a
method: getVElement();

best regards

Jonas

Am 19.11.2014 09:38, schrieb veerababu maragani:
> we are working on ECP ,Actually we have created the some custom cell
> editors ,one is dialog cell editor here when we click on the button we
> need to open the another table there i need to get the Velement..
>
> protected Control createDialogArea(Composite parent) {
> Composite composite = (Composite) super.createDialogArea(parent);
> ------------------------
> -------------------------here i need to get the velement
>
> or
> is there any chances to create our own Vtablecontrol?
>
>
Re: How to get the Velement from EStructuralFeature or from ViewModelContext In ECP. [message #1480506 is a reply to message #1480500] Thu, 20 November 2014 08:34 Go to previous messageGo to next message
veerababu maragani is currently offline veerababu maraganiFriend
Messages: 5
Registered: November 2014
Junior Member
My Class already extends one class TitleAreaDialog, how can i extend the another class like AbstractRenderer.please provide me some steps.
Re: How to get the Velement from EStructuralFeature or from ViewModelContext In ECP. [message #1481811 is a reply to message #1480506] Fri, 21 November 2014 08:38 Go to previous message
Jonas Helming is currently offline Jonas HelmingFriend
Messages: 699
Registered: July 2009
Senior Member
If you implement your own dialog, why dont you pass the desired
parameter in the constructor?

Am 20.11.2014 09:34, schrieb veerababu maragani:
> My Class already extends one class TitleAreaDialog, how can i extend the
> another class like AbstractRenderer.please provide me some steps.


--
Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Previous Topic:[Edapt] How to build an history from a model comparison ?
Next Topic:[EMFStore] Composite operations
Goto Forum:
  


Current Time: Sat Apr 20 03:34:59 GMT 2024

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

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

Back to the top