Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » RCP and “Link with editor” view action…
RCP and “Link with editor” view action… [message #449634] Wed, 17 May 2006 07:53 Go to next message
Eclipse UserFriend
Originally posted by: cboudjennah.hotmail.com

Hello!I’m working on a RCP application and I have to implement something similar to the “Link with editor” view action that you have with Eclipse in Plugin Development View, Java view,…Does somebody know how it is done, and if not, does somebody knows in which plugin it is done (this way, I could at least look at the corresponding plugin.xml and sources…)?Thanks by advance!
Re: RCP and “Link with editor” view action… [message #449641 is a reply to message #449634] Wed, 17 May 2006 08:45 Go to previous messageGo to next message
Eclipse UserFriend
The how ... the package explorer probably adds an IPartListener2 to the
IWorkbenchPage. Then it's notified every time a part becomes active,
and checks that it's an IEditorPart.

That implementation should be in org.eclipse.jdt.ui

Later,
PW
Re: RCP and ?Link with editor? view [message #449699 is a reply to message #449641] Thu, 18 May 2006 02:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cboudjennah.hotmail.com

I also thought that the implementation were in org.eclipse.jdt.ui and I extracted the jar file...I found the corresponding icon, but I watched the plugin.xml file and there was no ViewActions extansion in it nor any reference to the icon...I don't understand...
On top of that, I can't find the java sources of the plugin...Do you know where I could find it?
Re: RCP and ?Link with editor? view [message #449729 is a reply to message #449699] Thu, 18 May 2006 08:01 Go to previous messageGo to next message
Eclipse UserFriend
C. BOUDJENNAH wrote:
> I also thought that the implementation were in org.eclipse.jdt.ui and I extracted the jar file...I found the corresponding icon, but I watched the plugin.xml file and there was no ViewActions extansion in it nor any reference to the icon...I don't understand...
> On top of that, I can't find the java sources of the plugin...Do you know where I could find it?

If you want to search the source for a plugin, you can either use
File>Import...>Plug-ins and fragements to import the project (that will
give you source).

Or you can use the Plug-ins view. If you select all of the plugins
listed and right-click, there's an option to add them to the java search.

BTW: One implementation is in the PackageExplorerPart.

Later,
PW
Re: RCP and ?Link with editor? view [message #449734 is a reply to message #449729] Thu, 18 May 2006 11:07 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cboudjennah.hotmail.com

I found the sources I need on koders.com and I made what I wanted to make...
But, about Eclipse, I can't browse the sources with my distribution...(or maybe I didn't understand well what you told me about how to browse it) :-(...
Do you know where I could find the sources of Eclipse?

Thanks for the help!
Re: RCP and ?Link with editor? view [message #449739 is a reply to message #449734] Thu, 18 May 2006 12:02 Go to previous messageGo to next message
Eclipse UserFriend
There are a couple of ways to check out source in eclipse (and you must
be using the eclipse SDK).

Option 1. If you add plugin dependencies to a project, the contained
classes are available for any java searches (Search, Call Hierarchy,
Type Hierarchy, Open Type, etc). If you go to the Plug-in view and use
the "Add to Java Search" context menu item, it creates a fake project
called "External Plug-in Libraries" which has all of the plugin
dependencies for the searching.

Option 2. You can use File>Import...>Plug-in Development>Plug-ins and
Fragments to import the projects into you workspace. If you pick linked
content or source folders, the projects should have source visible.

The actual source itself is usually in eclipse/plugins/
org.eclipse.rcp.source_3.2.0.v20060511-2000-VDNgUi843pOsLRQ
org.eclipse.platform.source_3.2.0.v20060512-0730-_OZ2g3C9A7h WY9A


Later,
PW
Re: RCP and ?Link with editor? view [message #449779 is a reply to message #449739] Fri, 19 May 2006 03:47 Go to previous message
Eclipse UserFriend
Originally posted by: cboudjennah.hotmail.com

Thanks a lot!
I didn't know about that!
That will be VERY helpful!
Previous Topic:How to incorporate Eclipse 'problems' view into an RCP application
Next Topic:How to add a second CoolBar???
Goto Forum:
  


Current Time: Sun Aug 31 08:24:27 EDT 2025

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

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

Back to the top