Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » "Site is incorrect" when opening editor
"Site is incorrect" when opening editor [message #444889] Wed, 22 February 2006 16:45 Go to next message
Eclipse UserFriend
Hi,
Things were all hunky dory until I started adding editors into my RCP app.
At first I had a simple perspective with a view that displayed a web
browser control as the main part of the app. But now that I am using
editors and I have to make the editor area visible and to get my web
browser displayed in the editor area I need to make an editor just to
display the web browser as the main view when the user first opens the app
as I don’t see anyway of adding a view in the editor area. To get my web
browser going, I created a new editor along with a new editor input. My
issue is when I try to manually open the editor after application startup
I get a PartInitException saying "Site is incorrect." I've Googled but
can't find any solutions. Does anyone know what the issue might be? Also
does anyone know if its possible to display a view in the editor area?
Thanks. – Duncan
Re: "Site is incorrect" when opening editor [message #444890 is a reply to message #444889] Wed, 22 February 2006 16:50 Go to previous message
Eclipse UserFriend
Arf... Okay so I looked into this some more and I figured out that I need
to call SetSite() in the init() method of my editor. It worked once I did
that!
Previous Topic:multiplateform export not showing !
Next Topic:A debug log file?
Goto Forum:
  


Current Time: Sun Jul 06 09:37:18 EDT 2025

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

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

Back to the top