Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Trying to use org.eclipse.core.runtime.PlatformObject
Trying to use org.eclipse.core.runtime.PlatformObject [message #1793338] Sun, 05 August 2018 19:38 Go to next message
Henri Boucher is currently offline Henri BoucherFriend
Messages: 56
Registered: September 2015
Member
In the java editor I get "PlatformObject cannot be resolved to a type" even after Source -> Organize Imports.

I've added org.eclipse.core.runtime_3.13.0.v20170207-1030.jar to the Libraries tab of the Java Build Path dialog.
I also added org.eclipse.core.runtime.source_3.13.0.v20170207-1030.jar to the Source attachment: field of the library.

Any suggestions?

Henri.



Re: Trying to use org.eclipse.core.runtime.PlatformObject [message #1793339 is a reply to message #1793338] Sun, 05 August 2018 20:43 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33142
Registered: July 2009
Senior Member
Try adding org.eclipse.equinox.common*.jar.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Trying to use org.eclipse.core.runtime.PlatformObject [message #1793340 is a reply to message #1793339] Sun, 05 August 2018 23:28 Go to previous messageGo to next message
Henri Boucher is currently offline Henri BoucherFriend
Messages: 56
Registered: September 2015
Member
Works. Thank you.
Re: Trying to use org.eclipse.core.runtime.PlatformObject [message #1793896 is a reply to message #1793340] Sun, 19 August 2018 19:18 Go to previous message
Henri Boucher is currently offline Henri BoucherFriend
Messages: 56
Registered: September 2015
Member
Adding to Properties/Java Build Path/Libraries tab fails when you login with a different ID.

The better way is to add it to the MANIFEST.MF editor's Dependencies tab/ Required Plug-ins section.

I've created a class that extends PlatformObject. I'm having problems accessing it from other plug-ins. I can't get Adapters.adapt() to work. Is there a way that this can be done? I have no need to adapt the class, I just want to access it.

Any insight appreciated.
Previous Topic:"No Application id found" issue for EMF Forms
Next Topic:Automatically Import Preferences
Goto Forum:
  


Current Time: Sat Apr 27 01:08:21 GMT 2024

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

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

Back to the top