Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc) » Teneo resources and the EMF Validation framework do not properly work together
| | |
Re: Teneo resources and the EMF Validation framework do not properly work together [message #116195 is a reply to message #116182] |
Thu, 27 March 2008 17:13 |
Eclipse User |
|
|
|
Originally posted by: merks.ca.ibm.com
This is a multi-part message in MIME format.
--------------050707060007060809050305
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Florian,
It's certainly potentially possible that the URI scheme Teneo uses for
accessing resources could be registered with Eclipse's EFS
(EclipseFileSystem) so that the resources could be surfaced as
IResources in the workspace. But I don't think Martin has done anything
like that.
The EMF newsgroup is definitely still accessible since I'm answering
your question from that newsgroup.
<news://news.eclipse.org/eclipse.tools.emf>
news://news.eclipse.org/eclipse.tools.emf
DI Florian Hackenberger wrote:
> Martin Taal wrote:
>
>> With me (Eclipse 3.4) the MarkerHelper.getFile method is like this:
>>
> <snipped/>
>
>> what type is the datum object?
>>
> The method which is called is getFile(URI), getFile(Object) is overridden by
> EditUIMarkerHelper. After digging a bit deeper, it became clear that the
> Eclipse Marker support is based on IResource objects. Which leads me to the
> question: Is there an adapter (or something else) available mapping
> JPOXResource / StoreResource to IResource?
>
> I have found a references here:
> http://dev.eclipse.org/newslists/news.eclipse.platform/msg57 934.html
> but unfortunately it does not provide a solution. The original thread on the
> eclipse.tools.emf newsgroup is unfortunately not accessible anymore:
> http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools. emf/2006/Aug/index.php
>
> Cheers,
> Florian
>
>
--------------050707060007060809050305
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Florian,<br>
<br>
It's certainly potentially possible that the URI scheme Teneo uses for
accessing resources could be registered with Eclipse's EFS
(EclipseFileSystem) so that the resources could be surfaced as
IResources in the workspace. But I don't think Martin has done
anything like that. <br>
<br>
The EMF newsgroup is definitely still accessible since I'm answering
your question from that newsgroup.<a
href="news://news.eclipse.org/eclipse.tools.emf"><br>
</a>
<blockquote><a href="news://news.eclipse.org/eclipse.tools.emf">news://news.eclipse.org/eclipse.tools.emf</a><br>
</blockquote>
<br>
DI Florian Hackenberger wrote:
<blockquote cite="mid:fsgffk$qh1$1@build.eclipse.org" type="cite">
<pre wrap="">Martin Taal wrote:
</pre>
<blockquote type="cite">
<pre wrap="">With me (Eclipse 3.4) the MarkerHelper.getFile method is like this:
</pre>
</blockquote>
<pre wrap=""><!----><snipped/>
</pre>
<blockquote type="cite">
<pre wrap="">what type is the datum object?
</pre>
</blockquote>
<pre wrap=""><!---->The method which is called is getFile(URI), getFile(Object) is overridden by
EditUIMarkerHelper. After digging a bit deeper, it became clear that the
Eclipse Marker support is based on IResource objects. Which leads me to the
question: Is there an adapter (or something else) available mapping
JPOXResource / StoreResource to IResource?
I have found a references here:
<a class="moz-txt-link-freetext" href=" http://dev.eclipse.org/newslists/news.eclipse.platform/msg57 934.html"> http://dev.eclipse.org/newslists/news.eclipse.platform/msg57 934.html</a>
but unfortunately it does not provide a solution. The original thread on the
eclipse.tools.emf newsgroup is unfortunately not accessible anymore:
<a class="moz-txt-link-freetext" href=" http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools. emf/2006/Aug/index.php"> http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools. emf/2006/Aug/index.php</a>
Cheers,
Florian
</pre>
</blockquote>
<br>
</body>
</html>
--------------050707060007060809050305--
|
|
|
Re: Teneo resources and the EMF Validation framework do not properly work together [message #116260 is a reply to message #116195] |
Thu, 27 March 2008 19:39 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Yes as Ed says I have not done anything with EFS. I found this article which gives a nice overview
of what is required to implement an efs:
http://www.eclipsezone.com/articles/efs/
It is an interesting topic although I wonder how the efs can be mapped to a relational db (and vice
versa). Florian, can you enter a bugzilla for this?
As my time is limited it can take a while before this is done. Contributions regarding this topic
are ofcourse more then welcome!
btw, afaics adding efs support to Teneo does not solve the fact that the uri is not a platform uri
and that MarkerHelper returns null.
gr. Martin
Ed Merks wrote:
> Florian,
>
> It's certainly potentially possible that the URI scheme Teneo uses for
> accessing resources could be registered with Eclipse's EFS
> (EclipseFileSystem) so that the resources could be surfaced as
> IResources in the workspace. But I don't think Martin has done anything
> like that.
>
> The EMF newsgroup is definitely still accessible since I'm answering
> your question from that newsgroup.
> <news://news.eclipse.org/eclipse.tools.emf>
>
> news://news.eclipse.org/eclipse.tools.emf
>
>
> DI Florian Hackenberger wrote:
>> Martin Taal wrote:
>>
>>> With me (Eclipse 3.4) the MarkerHelper.getFile method is like this:
>>>
>> <snipped/>
>>
>>> what type is the datum object?
>>>
>> The method which is called is getFile(URI), getFile(Object) is overridden by
>> EditUIMarkerHelper. After digging a bit deeper, it became clear that the
>> Eclipse Marker support is based on IResource objects. Which leads me to the
>> question: Is there an adapter (or something else) available mapping
>> JPOXResource / StoreResource to IResource?
>>
>> I have found a references here:
>> http://dev.eclipse.org/newslists/news.eclipse.platform/msg57 934.html
>> but unfortunately it does not provide a solution. The original thread on the
>> eclipse.tools.emf newsgroup is unfortunately not accessible anymore:
>> http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools. emf/2006/Aug/index.php
>>
>> Cheers,
>> Florian
>>
>>
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
| | | | |
Re: Teneo resources and the EMF Validation framework do not properly work together [message #616014 is a reply to message #116182] |
Thu, 27 March 2008 17:13 |
Ed Merks Messages: 33142 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------050707060007060809050305
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Florian,
It's certainly potentially possible that the URI scheme Teneo uses for
accessing resources could be registered with Eclipse's EFS
(EclipseFileSystem) so that the resources could be surfaced as
IResources in the workspace. But I don't think Martin has done anything
like that.
The EMF newsgroup is definitely still accessible since I'm answering
your question from that newsgroup.
<news://news.eclipse.org/eclipse.tools.emf>
news://news.eclipse.org/eclipse.tools.emf
DI Florian Hackenberger wrote:
> Martin Taal wrote:
>
>> With me (Eclipse 3.4) the MarkerHelper.getFile method is like this:
>>
> <snipped/>
>
>> what type is the datum object?
>>
> The method which is called is getFile(URI), getFile(Object) is overridden by
> EditUIMarkerHelper. After digging a bit deeper, it became clear that the
> Eclipse Marker support is based on IResource objects. Which leads me to the
> question: Is there an adapter (or something else) available mapping
> JPOXResource / StoreResource to IResource?
>
> I have found a references here:
> http://dev.eclipse.org/newslists/news.eclipse.platform/msg57 934.html
> but unfortunately it does not provide a solution. The original thread on the
> eclipse.tools.emf newsgroup is unfortunately not accessible anymore:
> http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools. emf/2006/Aug/index.php
>
> Cheers,
> Florian
>
>
--------------050707060007060809050305
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Florian,<br>
<br>
It's certainly potentially possible that the URI scheme Teneo uses for
accessing resources could be registered with Eclipse's EFS
(EclipseFileSystem) so that the resources could be surfaced as
IResources in the workspace. But I don't think Martin has done
anything like that. <br>
<br>
The EMF newsgroup is definitely still accessible since I'm answering
your question from that newsgroup.<a
href="news://news.eclipse.org/eclipse.tools.emf"><br>
</a>
<blockquote><a href="news://news.eclipse.org/eclipse.tools.emf">news://news.eclipse.org/eclipse.tools.emf</a><br>
</blockquote>
<br>
DI Florian Hackenberger wrote:
<blockquote cite="mid:fsgffk$qh1$1@build.eclipse.org" type="cite">
<pre wrap="">Martin Taal wrote:
</pre>
<blockquote type="cite">
<pre wrap="">With me (Eclipse 3.4) the MarkerHelper.getFile method is like this:
</pre>
</blockquote>
<pre wrap=""><!----><snipped/>
</pre>
<blockquote type="cite">
<pre wrap="">what type is the datum object?
</pre>
</blockquote>
<pre wrap=""><!---->The method which is called is getFile(URI), getFile(Object) is overridden by
EditUIMarkerHelper. After digging a bit deeper, it became clear that the
Eclipse Marker support is based on IResource objects. Which leads me to the
question: Is there an adapter (or something else) available mapping
JPOXResource / StoreResource to IResource?
I have found a references here:
<a class="moz-txt-link-freetext" href=" http://dev.eclipse.org/newslists/news.eclipse.platform/msg57 934.html"> http://dev.eclipse.org/newslists/news.eclipse.platform/msg57 934.html</a>
but unfortunately it does not provide a solution. The original thread on the
eclipse.tools.emf newsgroup is unfortunately not accessible anymore:
<a class="moz-txt-link-freetext" href=" http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools. emf/2006/Aug/index.php"> http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools. emf/2006/Aug/index.php</a>
Cheers,
Florian
</pre>
</blockquote>
<br>
</body>
</html>
--------------050707060007060809050305--
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: Teneo resources and the EMF Validation framework do not properly work together [message #616019 is a reply to message #116195] |
Thu, 27 March 2008 19:39 |
Martin Taal Messages: 5468 Registered: July 2009 |
Senior Member |
|
|
Yes as Ed says I have not done anything with EFS. I found this article which gives a nice overview
of what is required to implement an efs:
http://www.eclipsezone.com/articles/efs/
It is an interesting topic although I wonder how the efs can be mapped to a relational db (and vice
versa). Florian, can you enter a bugzilla for this?
As my time is limited it can take a while before this is done. Contributions regarding this topic
are ofcourse more then welcome!
btw, afaics adding efs support to Teneo does not solve the fact that the uri is not a platform uri
and that MarkerHelper returns null.
gr. Martin
Ed Merks wrote:
> Florian,
>
> It's certainly potentially possible that the URI scheme Teneo uses for
> accessing resources could be registered with Eclipse's EFS
> (EclipseFileSystem) so that the resources could be surfaced as
> IResources in the workspace. But I don't think Martin has done anything
> like that.
>
> The EMF newsgroup is definitely still accessible since I'm answering
> your question from that newsgroup.
> <news://news.eclipse.org/eclipse.tools.emf>
>
> news://news.eclipse.org/eclipse.tools.emf
>
>
> DI Florian Hackenberger wrote:
>> Martin Taal wrote:
>>
>>> With me (Eclipse 3.4) the MarkerHelper.getFile method is like this:
>>>
>> <snipped/>
>>
>>> what type is the datum object?
>>>
>> The method which is called is getFile(URI), getFile(Object) is overridden by
>> EditUIMarkerHelper. After digging a bit deeper, it became clear that the
>> Eclipse Marker support is based on IResource objects. Which leads me to the
>> question: Is there an adapter (or something else) available mapping
>> JPOXResource / StoreResource to IResource?
>>
>> I have found a references here:
>> http://dev.eclipse.org/newslists/news.eclipse.platform/msg57 934.html
>> but unfortunately it does not provide a solution. The original thread on the
>> eclipse.tools.emf newsgroup is unfortunately not accessible anymore:
>> http://dev.eclipse.org/mhonarc/newsLists/news.eclipse.tools. emf/2006/Aug/index.php
>>
>> Cheers,
>> Florian
>>
>>
>
--
With Regards, Martin Taal
Springsite/Elver.org
Office: Hardwareweg 4, 3821 BV Amersfoort
Postal: Nassaulaan 7, 3941 EC Doorn
The Netherlands
Tel: +31 (0)84 420 2397
Fax: +31 (0)84 225 9307
Mail: mtaal@springsite.com - mtaal@elver.org
Web: www.springsite.com - www.elver.org
|
|
| | |
Goto Forum:
Current Time: Fri Apr 26 11:40:46 GMT 2024
Powered by FUDForum. Page generated in 0.04074 seconds
|