Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » OHF » STEM - org.eclipse.ohf.stem.ui (.diseasemodels) errors - calling isStale() ?
STEM - org.eclipse.ohf.stem.ui (.diseasemodels) errors - calling isStale() ? [message #42623] Wed, 02 April 2008 17:48 Go to next message
Chris is currently offline ChrisFriend
Messages: 6
Registered: July 2009
Junior Member
Hi there,

I've just started working on a project using STEM, and I've downloaded the
source code and the EMF frameworks and everything else listed on the OHF
Wiki that I should need, the problem is that multiple files (all of them
*Editor.java) are using the "isStale()" method of the
AdapterFactoryEditingDomain class (defined in org.eclipse.emf.edit.domain)

The issue is that this method, isStale() no longer exists. It looks like
it was around in version 2.4, but the current files have it lacking.

Any suggestions/ideas? At the moment I can't get the project to compile
(and I need it to.)
Re: STEM - org.eclipse.ohf.stem.ui (.diseasemodels) errors - calling isStale() ? [message #42848 is a reply to message #42623] Tue, 08 April 2008 15:07 Go to previous messageGo to next message
Daniel Ford is currently offline Daniel FordFriend
Messages: 148
Registered: July 2009
Location: New York
Senior Member
Chris,
the latest version of EMF is 2.4. I'm currently running Eclipse 3.4M6
with EMF Version 2.4.0.v200804012208, and isStale() is definitely a member
of AdapaterFactoryEditingDomain. It's in the org.eclipse.emf.edit jar file.

What version of EMF are you using?

--
Daniel Ford
IBM Almaden Research Center
San Jose, CA

"Chris" <chris.hollander@gmail.com> wrote in message
news:bd782a0e0810f87f0d719d97c75f5295$1@www.eclipse.org...
> Hi there,
> I've just started working on a project using STEM, and I've downloaded the
> source code and the EMF frameworks and everything else listed on the OHF
> Wiki that I should need, the problem is that multiple files (all of them
> *Editor.java) are using the "isStale()" method of the
> AdapterFactoryEditingDomain class (defined in org.eclipse.emf.edit.domain)
>
> The issue is that this method, isStale() no longer exists. It looks like
> it was around in version 2.4, but the current files have it lacking.
> Any suggestions/ideas? At the moment I can't get the project to compile
> (and I need it to.)
>
Re: STEM - org.eclipse.ohf.stem.ui (.diseasemodels) errors - calling isStale() ? [message #42879 is a reply to message #42848] Tue, 08 April 2008 21:13 Go to previous messageGo to next message
Chris is currently offline ChrisFriend
Messages: 6
Registered: July 2009
Junior Member
That would explain everything.

I'm using exactly what the documentation
(http://wiki.eclipse.org/Welcome_STEM_Developers) has you use... on the
Wiki pages for STEM it says to use Eclipse 3.3 and the update manager -
which gives you EMF 2.3.1 and 2.3.2 files.

I attempted to download EMF 2.4 and install that once I found out what the
source of my errors were, but that only resulted in catastrophe since EMF
2.4 and Eclipse 3.3 don't play nice.

I was actually just about to come on here and ask if STEM worked with
Eclipse 3.4, since installing that is the only other option I can think
of.

So, it would appear that the current source is not in line with the
documentation...



I'll try and install Eclipse 3.4 with EMF 2.4 and see if that fixes the
errors.
Re: STEM - org.eclipse.ohf.stem.ui (.diseasemodels) errors - calling isStale() ? [message #42909 is a reply to message #42879] Wed, 09 April 2008 19:18 Go to previous message
Chris is currently offline ChrisFriend
Messages: 6
Registered: July 2009
Junior Member
Looks like its error free now!

I installed Eclipse RCP 3.4M5 and the corresponding plugins and that seems
to have done it.
Re: STEM - org.eclipse.ohf.stem.ui (.diseasemodels) errors - calling isStale() ? [message #585534 is a reply to message #42623] Tue, 08 April 2008 15:07 Go to previous message
Daniel Ford is currently offline Daniel FordFriend
Messages: 148
Registered: July 2009
Location: New York
Senior Member
Chris,
the latest version of EMF is 2.4. I'm currently running Eclipse 3.4M6
with EMF Version 2.4.0.v200804012208, and isStale() is definitely a member
of AdapaterFactoryEditingDomain. It's in the org.eclipse.emf.edit jar file.

What version of EMF are you using?

--
Daniel Ford
IBM Almaden Research Center
San Jose, CA

"Chris" <chris.hollander@gmail.com> wrote in message
news:bd782a0e0810f87f0d719d97c75f5295$1@www.eclipse.org...
> Hi there,
> I've just started working on a project using STEM, and I've downloaded the
> source code and the EMF frameworks and everything else listed on the OHF
> Wiki that I should need, the problem is that multiple files (all of them
> *Editor.java) are using the "isStale()" method of the
> AdapterFactoryEditingDomain class (defined in org.eclipse.emf.edit.domain)
>
> The issue is that this method, isStale() no longer exists. It looks like
> it was around in version 2.4, but the current files have it lacking.
> Any suggestions/ideas? At the moment I can't get the project to compile
> (and I need it to.)
>
Re: STEM - org.eclipse.ohf.stem.ui (.diseasemodels) errors - calling isStale() ? [message #585544 is a reply to message #42848] Tue, 08 April 2008 21:13 Go to previous message
Chris is currently offline ChrisFriend
Messages: 6
Registered: July 2009
Junior Member
That would explain everything.

I'm using exactly what the documentation
(http://wiki.eclipse.org/Welcome_STEM_Developers) has you use... on the
Wiki pages for STEM it says to use Eclipse 3.3 and the update manager -
which gives you EMF 2.3.1 and 2.3.2 files.

I attempted to download EMF 2.4 and install that once I found out what the
source of my errors were, but that only resulted in catastrophe since EMF
2.4 and Eclipse 3.3 don't play nice.

I was actually just about to come on here and ask if STEM worked with
Eclipse 3.4, since installing that is the only other option I can think
of.

So, it would appear that the current source is not in line with the
documentation...



I'll try and install Eclipse 3.4 with EMF 2.4 and see if that fixes the
errors.
Re: STEM - org.eclipse.ohf.stem.ui (.diseasemodels) errors - calling isStale() ? [message #585556 is a reply to message #42879] Wed, 09 April 2008 19:18 Go to previous message
Chris is currently offline ChrisFriend
Messages: 6
Registered: July 2009
Junior Member
Looks like its error free now!

I installed Eclipse RCP 3.4M5 and the corresponding plugins and that seems
to have done it.
Previous Topic:Enterprises that use OHF
Next Topic:Getting Started
Goto Forum:
  


Current Time: Fri Dec 27 16:49:53 GMT 2024

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

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

Back to the top