[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.rcp] Question on RCP

Hi,

I am a newbie to RCP. Previously, I was building a plugin on Eclipse, but
I only recently heard about RCP, therefore my plugin was not exactly
"optimised" for RCP. I have this doubt to clear up. According to the RCP
article Part 3 :

"The rule of thumb is that anything that references a resource is not
intended for RCP developers because of the extra code and dependencies on
workspaces it pulls in. So if you see the org.eclipse.core.resources
plug-in in your dependency list, or see an import for some class from that
package, you're probably doing something wrong."

I happen to have a NewProjectWizard in my plugin and it requires the use
of IProject, IFile etc. Therefore generating a dependency on the
org.eclipse.core.resources plugin. If I want to port my plugin into a RCP
application, will this be a great impact? Then again, I definitely expect
that we need to use the resources plugin at some point in the wizard.
Otherwise, how else do I create the new file or new project?

Please advise. Thank you very much.

Regards,
Nicole