Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » Switching to the right (final) perspective (newWizards)
Switching to the right (final) perspective (newWizards) [message #47917] Mon, 26 May 2003 05:46 Go to next message
Eclipse UserFriend
Originally posted by: mho.whitestein.com

Hello everybody,

Would you help me with this one, please:

I created my own newWizards extension (by reusing some code from JDT)
which creates a new Project. Everything works fine except switching to the
specified perspective.

I got this

project="true"
finalPerspective="org.eclipse.ui.resourcePerspective"

in the plugin.xml and this

BasicNewProjectResourceWizard.updatePerspective(fConfigEleme nt);
BasicNewResourceWizard.selectAndReveal(
newResource,
fWorkbench.getActiveWorkbenchWindow());

somewhere in the finishPage.

I am sure I am missing something here, please help me, which direction
should I go in my explorations?

Basically, the question is maybe like this: How can I switch to a
perspective manually?

Thanks,

mh
Re: Switching to the right (final) perspective (newWizards) [message #47976 is a reply to message #47917] Mon, 26 May 2003 06:04 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: d44004.centrum.cz

Oh,

actiallu, I got it already -> just for information to other people with
the same problem: I had "setInitializationData" method in the Wizard
class, but the class didn't implement the IExecutableExtension..

That's all

mh wrote:

> Hello everybody,
>
> Would you help me with this one, please:
>
> I created my own newWizards extension (by reusing some code from JDT)
> which creates a new Project. Everything works fine except switching to the
> specified perspective.
>
> I got this
>
> project="true"
> finalPerspective="org.eclipse.ui.resourcePerspective"
>
> in the plugin.xml and this
>
> BasicNewProjectResourceWizard.updatePerspective(fConfigEleme nt);
> BasicNewResourceWizard.selectAndReveal(
> newResource,
> fWorkbench.getActiveWorkbenchWindow());
>
> somewhere in the finishPage.
>
> I am sure I am missing something here, please help me, which direction
> should I go in my explorations?
>
> Basically, the question is maybe like this: How can I switch to a
> perspective manually?
>
> Thanks,
>
> mh
>
Re: Switching to the right (final) perspective (newWizards) [message #55373 is a reply to message #47976] Fri, 30 May 2003 02:25 Go to previous message
Eclipse UserFriend
Originally posted by: mho.whitestein.com

<sorry, this is a test of my news client>

On Mon, 26 May 2003, hugo wrote:

d44004> Oh,
d44004>
d44004> actiallu, I got it already -> just for information to other people with
d44004> the same problem: I had "setInitializationData" method in the Wizard
d44004> class, but the class didn't implement the IExecutableExtension..
d44004>
d44004> That's all
d44004>
d44004> mh wrote:
d44004>
d44004> > Hello everybody,
d44004> >
d44004> > Would you help me with this one, please:
d44004> >
d44004> > I created my own newWizards extension (by reusing some code from JDT)
d44004> > which creates a new Project. Everything works fine except switching to the
d44004> > specified perspective.
d44004> >
d44004> > I got this
d44004> >
d44004> > project="true"
d44004> > finalPerspective="org.eclipse.ui.resourcePerspective"
d44004> >
d44004> > in the plugin.xml and this
d44004> >
d44004> > BasicNewProjectResourceWizard.updatePerspective(fConfigEleme nt);
d44004> > BasicNewResourceWizard.selectAndReveal(
d44004> > newResource,
d44004> > fWorkbench.getActiveWorkbenchWindow());
d44004> >
d44004> > somewhere in the finishPage.
d44004> >
d44004> > I am sure I am missing something here, please help me, which direction
d44004> > should I go in my explorations?
d44004> >
d44004> > Basically, the question is maybe like this: How can I switch to a
d44004> > perspective manually?
d44004> >
d44004> > Thanks,
d44004> >
d44004> > mh
d44004> >
d44004>
d44004>

--
Miroslav Hornik | mho@whitestein.com
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5443-5502, +421(2)5443-5504 | Fax +421(2)5443-5512 |
Previous Topic:Have look at this mail & pl mail a line in reply asap.
Next Topic:how to junit-test a plug-in
Goto Forum:
  


Current Time: Mon Jul 14 06:28:13 EDT 2025

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

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

Back to the top