Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Ganymede: Cannot find ClosePerspectiveAction and IEvaluationService
Ganymede: Cannot find ClosePerspectiveAction and IEvaluationService [message #329896] Wed, 09 July 2008 17:05 Go to next message
Eclipse UserFriend
Hello,

I am trying to upgrade my projects from Eclipse 3.3 to Eclipse 3.4. I
got some compile errors about following two types:

For import statement of
"org.eclipse.ui.internal.ClosePerspectiveAction", I got error
“ClosePerspectiveAction cannot be resolved to a type”.


For import statement of
"org.eclipse.ui.internal.services.IEvaluationService", I got error
“IEvaluationService cannot be resolved to a type”

So, where is the “ClosePerspectiveAction” class and "IEvaluationService"
interface located now?

Is there any document that lists all the moved or renamed
class/interface/package ?

Thanks,
Hongying
Re: Ganymede: Cannot find ClosePerspectiveAction and IEvaluationService [message #329915 is a reply to message #329896] Thu, 10 July 2008 10:53 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: wegener.cboenospam.com

The "internal" designation in the package indicates that these classes are
part of internal code that isn't intended to be part of the official Eclipse
API. Internal means use at your own risk. The classes and methods in these
packages can change at any time. Any code that depends on them will have to
be examined closely with each change to Eclipse. Because they are internal,
these changes aren't documented and generally won't be included in any
migration documents.

Unless someone else can give you some information on what happened to the
classes, you are probably on your own in figuring out how to replace the
functions that the classes were providing to you.


"Hongying Zhang" <hongying.zhang@ugs.com> wrote in message
news:g53962$no3$1@build.eclipse.org...
> Hello,
>
> I am trying to upgrade my projects from Eclipse 3.3 to Eclipse 3.4. I
> got some compile errors about following two types:
>
> For import statement of
> "org.eclipse.ui.internal.ClosePerspectiveAction", I got error
>
Re: Ganymede: Cannot find ClosePerspectiveAction and IEvaluationService [message #329927 is a reply to message #329896] Thu, 10 July 2008 13:37 Go to previous messageGo to next message
Eclipse UserFriend
Hongying Zhang wrote:
> Hello,
>
> I am trying to upgrade my projects from Eclipse 3.3 to Eclipse 3.4. I
> got some compile errors about following two types:
>
> For import statement of
> "org.eclipse.ui.internal.ClosePerspectiveAction", I got error
> “ClosePerspectiveAction cannot be resolved to a type”.

You would use the ClosePerspective command (placed using the
org.eclipse.ui.menus extension or programmatically called using
IHandlerService methods).

> For import statement of
> "org.eclipse.ui.internal.services.IEvaluationService", I got error
> “IEvaluationService cannot be resolved to a type”

IEvaluationService is now public API (CTRL+SHIFT+O should find it).

Later,
PW


--
Paul Webster
http://wiki.eclipse.org/Platform_Command_Framework
http://wiki.eclipse.org/Command_Core_Expressions
http://wiki.eclipse.org/Menu_Contributions
http://wiki.eclipse.org/Menus_Extension_Mapping
http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse. platform.doc.isv/guide/workbench.htm
Re: Ganymede: Cannot find ClosePerspectiveAction and IEvaluationService [message #329984 is a reply to message #329915] Fri, 11 July 2008 12:26 Go to previous messageGo to next message
Eclipse UserFriend
Dave, Thanks for your information !

Dave Wegener wrote:
> The "internal" designation in the package indicates that these classes are
> part of internal code that isn't intended to be part of the official Eclipse
> API. Internal means use at your own risk. The classes and methods in these
> packages can change at any time. Any code that depends on them will have to
> be examined closely with each change to Eclipse. Because they are internal,
> these changes aren't documented and generally won't be included in any
> migration documents.
>
> Unless someone else can give you some information on what happened to the
> classes, you are probably on your own in figuring out how to replace the
> functions that the classes were providing to you.
>
>
> "Hongying Zhang" <hongying.zhang@ugs.com> wrote in message
> news:g53962$no3$1@build.eclipse.org...
>> Hello,
>>
>> I am trying to upgrade my projects from Eclipse 3.3 to Eclipse 3.4. I
>> got some compile errors about following two types:
>>
>> For import statement of
>> "org.eclipse.ui.internal.ClosePerspectiveAction", I got error
>> “ClosePerspectiveAction cannot be resolved to a type”.
>>
>>
>> For import statement of
>> "org.eclipse.ui.internal.services.IEvaluationService", I got error
>> “IEvaluationService cannot be resolved to a type”
>>
>> So, where is the “ClosePerspectiveAction” class and "IEvaluationService"
>> interface located now?
>>
>> Is there any document that lists all the moved or renamed
>> class/interface/package ?
>>
>> Thanks,
>> Hongying
>
>
Re: Ganymede: Cannot find ClosePerspectiveAction and IEvaluationService [message #329986 is a reply to message #329927] Fri, 11 July 2008 12:33 Go to previous message
Eclipse UserFriend
Thanks Paul, I will make change accordingly.


Paul Webster wrote:
> Hongying Zhang wrote:
>> Hello,
>>
>> I am trying to upgrade my projects from Eclipse 3.3 to Eclipse 3.4. I
>> got some compile errors about following two types:
>>
>> For import statement of
>> "org.eclipse.ui.internal.ClosePerspectiveAction", I got error
>> “ClosePerspectiveAction cannot be resolved to a type”.
>
> You would use the ClosePerspective command (placed using the
> org.eclipse.ui.menus extension or programmatically called using
> IHandlerService methods).
>
>> For import statement of
>> "org.eclipse.ui.internal.services.IEvaluationService", I got error
>> “IEvaluationService cannot be resolved to a type”
>
> IEvaluationService is now public API (CTRL+SHIFT+O should find it).
>
> Later,
> PW
>
>
Previous Topic:Eclipse command-line update
Next Topic:[DataBinding] Getting TableViewer to auto-refresh on changes to WritableList?
Goto Forum:
  


Current Time: Fri Apr 25 18:42:31 EDT 2025

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

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

Back to the top