Edit domain of eclipse not providing the child nodes when product is exported [message #893746] |
Thu, 05 July 2012 12:49 |
Girish Chandran Messages: 24 Registered: June 2012 |
Junior Member |
|
|
Hi all,
I am developing a RCP application which deals with EMF resources. Actually, I am having a xml file for which I am creating a model.
At a particular instant, I am having the root node of the xml file and when i try to get the children of the node using EMF edit domain, it does not return any value and i get 0 children under the root node. But in my xml file, there are 2 children under the root node.
The application works fine, when run from eclipse IDE. But when i tried to export it as a rcp product, the problem arises. What may be the reason for such a behavior when we export it as a product? Is there something, which we should take care of when we export our product for EMF related application.
A help will be greatly appreciated. Thanks in advance.
Regards,
Girish
|
|
|
Re: Edit domain of eclipse not providing the child nodes when product is exported [message #893772 is a reply to message #893746] |
Thu, 05 July 2012 13:35 |
Ed Merks Messages: 33217 Registered: July 2009 |
Senior Member |
|
|
Try running it under debug control to see that the right generated item
provider is being used.
On 05/07/2012 2:49 PM, Girish Chandran wrote:
> Hi all,
>
> I am developing a RCP application which deals with EMF resources.
> Actually, I am having a xml file for which I am creating a model.
>
> At a particular instant, I am having the root node of the xml file and
> when i try to get the children of the node using EMF edit domain, it
> does not return any value and i get 0 children under the root node.
> But in my xml file, there are 2 children under the root node.
>
> The application works fine, when run from eclipse IDE. But when i
> tried to export it as a rcp product, the problem arises. What may be
> the reason for such a behavior when we export it as a product? Is
> there something, which we should take care of when we export our
> product for EMF related application.
>
> A help will be greatly appreciated. Thanks in advance.
>
> Regards, Girish
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
|
|
|
|
|
|
Re: Edit domain of eclipse not providing the child nodes when product is exported [message #893991 is a reply to message #893961] |
Fri, 06 July 2012 10:58 |
Ed Merks Messages: 33217 Registered: July 2009 |
Senior Member |
|
|
Girish,
You're just not providing details sufficient to help with your problem.
It seems clear you've not deployed something, but how can I guess about
that?
On 06/07/2012 10:35 AM, Girish Chandran wrote:
> Hi Ed,
>
> Currently iam working on a configuration editor development, which is
> based on ARTOP(It's a consortium of automotive domain tool
> development). They provide a set of api's. It is also purely based on
> EMF modelling.
>
> I guess, i internally get items from AUTOSARItemProvider. Will there
> be any issues with the item provider, which currently I am using?
> Could you please help to get me out of this problem.
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Powered by
FUDForum. Page generated in 0.03079 seconds