Skip to main content



      Home
Home » Newcomers » Newcomers » WizardNewFileCreationPage file missing
WizardNewFileCreationPage file missing [message #257615] Tue, 03 June 2008 20:02 Go to next message
Eclipse UserFriend
Originally posted by: tchurch+eclipse.nullring.com

I am trying to develop an Eclipse Plug-In and the documentation says to
extend the org.eclipse.ui.dialogs.WizardNewFileCreationPage class.
However, this class does not exist.

I downloaded the Eclipse for RCP/Plug-In Developers version 3.3.2. I have
also checked in the another location that was suggested in previous
newsgroup listings - org.eclipse.ui.ide.WizardNewFileCreationPage. This
file does not exist in either of these locations.

Any idea where I can find it?
Re: WizardNewFileCreationPage file missing [message #257619 is a reply to message #257615] Tue, 03 June 2008 20:17 Go to previous messageGo to next message
Eclipse UserFriend
If you use Ctrl-Shift-T in the Java perspective (Open Type) and enter the
class name can you find it?

HTH
Darins
http://www.runnerwhocodes.blogspot.com/

"Tim Church" <tchurch+eclipse@nullring.com> wrote in message
news:a02905d517372c06ccb5fa6398dee60f$1@www.eclipse.org...
>I am trying to develop an Eclipse Plug-In and the documentation says to
>extend the org.eclipse.ui.dialogs.WizardNewFileCreationPage class.
>However, this class does not exist.
> I downloaded the Eclipse for RCP/Plug-In Developers version 3.3.2. I have
> also checked in the another location that was suggested in previous
> newsgroup listings - org.eclipse.ui.ide.WizardNewFileCreationPage. This
> file does not exist in either of these locations.
> Any idea where I can find it?
>
Re: WizardNewFileCreationPage file missing [message #257622 is a reply to message #257619] Tue, 03 June 2008 20:22 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tchurch+eclipse.nullring.com

No, it does not appear when I search for it in the "Open Type" dialog.
Re: WizardNewFileCreationPage file missing [message #257625 is a reply to message #257622] Tue, 03 June 2008 21:05 Go to previous messageGo to next message
Eclipse UserFriend
Open up the "Plug-ins" view, highlight everything you see in the list
and select "Add to Java Search" from the pop-up menu. This will let you
see all the classes defined in all the known plug-ins (you could also
just add "org.eclipse.ui.ide" to the Java search).

The reason you can't see the class is that none of your projects
reference it. An alternative to the above would be to add the
"org.eclipse.ui.ide" bundle to the "Required Plug-ins" for your Plug-in
project.

Out of curiosity, what tutorial are you following? (i.e. got a link?)

HTH,

Wayne

On Wed, 2008-06-04 at 00:22 +0000, Tim Church wrote:
> No, it does not appear when I search for it in the "Open Type" dialog.
>
Re: WizardNewFileCreationPage file missing [message #257668 is a reply to message #257625] Wed, 04 June 2008 11:45 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tchurch+eclipse.nullring.com

Well, I was able to find the file using the method you suggested. Thanks!

However, when I try to import
org.eclipse.ui.dialogs.WizardNewFileCreationPage, I am getting an error
that says the import cannot be resolved. From looking in the newsgroup,
it seems that this may be due to the build path for the project. I added
the 'Plug-In Dependencies' library to the build path, but it did not
resolve the problem. Any suggestions?


I am actually going through the eclipse help, not a tutorial.
http://help.eclipse.org/help33/index.jsp
Platform Plugin Developer Guide -> Dialogs and Wizards -> Workbench Wizard
Extension Points -> org.eclipse.ui.newWizards

Is there a better tutorial for creating a plug-in (preferably with a new
wizard)?
Re: WizardNewFileCreationPage file missing [message #257672 is a reply to message #257668] Wed, 04 June 2008 12:16 Go to previous messageGo to next message
Eclipse UserFriend
There are some important fundamental concepts that you need to get a
handle on.

First, the build path is used only for building. In a plain old Java
project, the build path is also used as the runtime classpath (assuming
you don't override it). As a general rule, you should almost never need
to change the Java Build path when you're building plug-ins.

In the Eclipse runtime (Equinox), you have to explicitly specify
dependencies between plug-ins (also known as "bundles"). So, if you want
to use the WizardNewFileCreationPage in your plug-in, you have to have
the plug-in that defines WizardNewFileCreationPage as one of your
plug-ins dependencies.

To set this up, double-click on either the manifest.mf or plugin.xml
file for your plug-in and navigate to the "Dependencies" page. In the
"Required Plug-ins" area, click "Add" and add the plug-in that defines
WizardNewFileCreationPage (org.eclipse.ui.ide).

You should then be able to access it from classes in your plug-in.

I recommend that you find a decent tutorial on plug-in basics before you
try to get too far...

Try this one:

http://www.ibm.com/developerworks/library/os-eclipse-plugind ev1/index.html?ca=dgr-eclipse-1

HTH,

Wayne

On Wed, 2008-06-04 at 15:45 +0000, Tim Church wrote:
> Well, I was able to find the file using the method you suggested. Thanks!
>
> However, when I try to import
> org.eclipse.ui.dialogs.WizardNewFileCreationPage, I am getting an error
> that says the import cannot be resolved. From looking in the newsgroup,
> it seems that this may be due to the build path for the project. I added
> the 'Plug-In Dependencies' library to the build path, but it did not
> resolve the problem. Any suggestions?
>
>
> I am actually going through the eclipse help, not a tutorial.
> http://help.eclipse.org/help33/index.jsp
> Platform Plugin Developer Guide -> Dialogs and Wizards -> Workbench Wizard
> Extension Points -> org.eclipse.ui.newWizards
>
> Is there a better tutorial for creating a plug-in (preferably with a new
> wizard)?
>
Re: WizardNewFileCreationPage file missing [message #257676 is a reply to message #257672] Wed, 04 June 2008 12:47 Go to previous message
Eclipse UserFriend
Originally posted by: tchurch+eclipse.nullring.com

Ok, I'll go back to the beginning and go through the tutorial you
recommended. Thanks!
Previous Topic:BIRT 2.1.3
Next Topic:DSL integration with JUnit plguin
Goto Forum:
  


Current Time: Thu Jul 17 13:37:38 EDT 2025

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

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

Back to the top