|
|
|
Re: Intro CVS [message #125553 is a reply to message #125495] |
Wed, 18 March 2009 12:00 |
Benjamin Muskalla Messages: 338 Registered: July 2009 |
Senior Member |
|
|
Hi Markus,
there are several ways to open an intro. On the one side automatically
by the workbench (which itself has several ways to do that) or manually
via the IIntroManager.
There was a little oversight of me in one of the the mechanisms of the
first way which is now fixed in CVS. Sorry for the inconvenience!
Could you try it again with latest CVS?
Cheers
Benny
Markus Krüger wrote:
> Hi Rüdiger,
>
> yes, I tried exactly this. No intro at all.
>
> Regards,
> arkus
>
>
> "Rüdiger Herrmann" <rherrmann@eclipsesource.com> schrieb im Newsbeitrag
> news:gpp2ni$m2t$1@build.eclipse.org...
>> Markus,
>>
>> did you try the simple example that is linked in the new & noteworthy [1]
>> entry?
>>
>> HTH
>> Rüdiger
>>
>> [1] http://www.eclipse.org/rap/noteworthy/news_12M6.php#Workbenc h
>>
>> Markus Krüger wrote:
>>> Hello,
>>>
>>> the intro support seems to be in CVS, but I can't get it to work. I think
>>> I did everthing that is needed (intro extension with binding to a
>>> branding, created an IIntroPart, added "welcome" command to my menu).
>>> The intro does not show up (I deleted workspace before) and the action is
>>> grayed out.
>>> Is there still something missing that I need to do, or is it not fully
>>> implemented yet?
>>>
>>> Regards,
>>> Markus
>
>
--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
|
|
|
|
|
Re: Intro CVS [message #125849 is a reply to message #125770] |
Fri, 20 March 2009 22:07 |
Benjamin Muskalla Messages: 338 Registered: July 2009 |
Senior Member |
|
|
Hi Markus,
I'm really sorry but I won't have time to look at this before
EclipseCon. Please open a bug and I'll take care of it for M7.
Thanks!
Benny
Markus Krüger wrote:
> Hmmm,
> there seems to be a problem rap is opened wihtout the call to a branding.
> Uses the demo and add an intro with the "tea" branding. Now openening the
> "tea-party" everything works good, but if I open "rap?startup=default" I get
> a NullPointerException when creating the IntroAction at line 64 as there
> seems to be no Intro for the default rap entrypoint.
>
> Regards,
> Markus
>
> Stacktrace:
>
> !ENTRY org.eclipse.rap.ui.workbench 4 2 2009-03-19 12:52:12.000
>
> !MESSAGE Problems occurred when invoking code from plug-in:
> "org.eclipse.rap.ui.workbench".
>
> !STACK 0
>
> java.lang.NullPointerException
>
> at org.eclipse.ui.internal.IntroAction.<init>(IntroAction.java:64)
>
> at org.eclipse.ui.actions.ActionFactory$10.create(ActionFactory .java:342)
>
> at
> org.eclipse.rap.demo.DemoActionBarAdvisor.makeActions(DemoAc tionBarAdvisor.java:87)
>
> at
> org.eclipse.ui.application.ActionBarAdvisor.fillActionBars(A ctionBarAdvisor.java:147)
>
> at
> org.eclipse.ui.internal.WorkbenchWindow.fillActionBars(Workb enchWindow.java:3394)
>
> at org.eclipse.ui.internal.WorkbenchWindow.<init>(WorkbenchWindow.java:363)
>
> at
> org.eclipse.ui.internal.tweaklets.Workbench3xImplementation. createWorkbenchWindow(Workbench3xImplementation.java:29)
>
> at org.eclipse.ui.internal.Workbench.newWorkbenchWindow(Workben ch.java:1765)
>
> at org.eclipse.ui.internal.Workbench.access$11(Workbench.java:1 763)
>
> at
> org.eclipse.ui.internal.Workbench$55.runWithException(Workbe nch.java:3438)
>
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:32)
>
> at
> org.eclipse.rwt.internal.lifecycle.UICallBackManager.addSync (UICallBackManager.java:119)
>
> at org.eclipse.swt.widgets.Display$2.run(Display.java:649)
>
> at
> org.eclipse.rwt.internal.lifecycle.UICallBackServiceHandler. runNonUIThreadWithFakeContext(UICallBackServiceHandler.java: 455)
>
> at
> org.eclipse.rwt.lifecycle.UICallBack.runNonUIThreadWithFakeC ontext(UICallBack.java:44)
>
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:647)
>
> at
> org.eclipse.ui.internal.StartupThreading.runWithoutException s(StartupThreading.java:110)
>
> at org.eclipse.ui.internal.Workbench.doRestoreState(Workbench.j ava:3435)
>
> at org.eclipse.ui.internal.Workbench.restoreState(Workbench.jav a:2165)
>
> at org.eclipse.ui.internal.Workbench.access$26(Workbench.java:2 150)
>
> at org.eclipse.ui.internal.Workbench$45.run(Workbench.java:2001 )
>
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
>
> at org.eclipse.ui.internal.Workbench.restoreState(Workbench.jav a:1939)
>
> at
> org.eclipse.ui.internal.WorkbenchConfigurer.restoreState(Wor kbenchConfigurer.java:181)
>
> at
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:783)
>
> at
> org.eclipse.ui.internal.Workbench$25.runWithException(Workbe nch.java:1430)
>
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:32)
>
> at
> org.eclipse.rwt.internal.lifecycle.UICallBackManager.addSync (UICallBackManager.java:119)
>
> at org.eclipse.swt.widgets.Display$2.run(Display.java:649)
>
> at
> org.eclipse.rwt.internal.lifecycle.UICallBackServiceHandler. runNonUIThreadWithFakeContext(UICallBackServiceHandler.java: 455)
>
> at
> org.eclipse.rwt.lifecycle.UICallBack.runNonUIThreadWithFakeC ontext(UICallBack.java:44)
>
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:647)
>
> at
> org.eclipse.ui.internal.StartupThreading.runWithoutException s(StartupThreading.java:110)
>
> at org.eclipse.ui.internal.Workbench.init(Workbench.java:1425)
>
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2404)
>
> at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:22 95)
>
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:514)
>
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:497)
>
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:157)
>
> at org.eclipse.rap.demo.DemoWorkbench.createUI(DemoWorkbench.ja va:42)
>
> at
> org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:92)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:228)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:116)
>
> at java.lang.Thread.run(Thread.java:595)
>
> java.lang.NullPointerException
>
> at org.eclipse.ui.internal.IntroAction.<init>(IntroAction.java:64)
>
> at org.eclipse.ui.actions.ActionFactory$10.create(ActionFactory .java:342)
>
> at
> org.eclipse.rap.demo.DemoActionBarAdvisor.makeActions(DemoAc tionBarAdvisor.java:87)
>
> at
> org.eclipse.ui.application.ActionBarAdvisor.fillActionBars(A ctionBarAdvisor.java:147)
>
> at
> org.eclipse.ui.internal.WorkbenchWindow.fillActionBars(Workb enchWindow.java:3394)
>
> at org.eclipse.ui.internal.WorkbenchWindow.<init>(WorkbenchWindow.java:363)
>
> at
> org.eclipse.ui.internal.tweaklets.Workbench3xImplementation. createWorkbenchWindow(Workbench3xImplementation.java:29)
>
> at org.eclipse.ui.internal.Workbench.newWorkbenchWindow(Workben ch.java:1765)
>
> at org.eclipse.ui.internal.Workbench.access$11(Workbench.java:1 763)
>
> at
> org.eclipse.ui.internal.Workbench$16.runWithException(Workbe nch.java:1043)
>
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:32)
>
> at
> org.eclipse.rwt.internal.lifecycle.UICallBackManager.addSync (UICallBackManager.java:119)
>
> at org.eclipse.swt.widgets.Display$2.run(Display.java:649)
>
> at
> org.eclipse.rwt.internal.lifecycle.UICallBackServiceHandler. runNonUIThreadWithFakeContext(UICallBackServiceHandler.java: 455)
>
> at
> org.eclipse.rwt.lifecycle.UICallBack.runNonUIThreadWithFakeC ontext(UICallBack.java:44)
>
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:647)
>
> at
> org.eclipse.ui.internal.StartupThreading.runWithWorkbenchExc eptions(StartupThreading.java:55)
>
> at
> org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow(Wo rkbench.java:1041)
>
> at
> org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow(Work bench.java:1888)
>
> at
> org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbe nch.java:1824)
>
> at
> org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWin dow(WorkbenchConfigurer.java:188)
>
> at
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:790)
>
> at
> org.eclipse.ui.internal.Workbench$25.runWithException(Workbe nch.java:1430)
>
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:32)
>
> at
> org.eclipse.rwt.internal.lifecycle.UICallBackManager.addSync (UICallBackManager.java:119)
>
> at org.eclipse.swt.widgets.Display$2.run(Display.java:649)
>
> at
> org.eclipse.rwt.internal.lifecycle.UICallBackServiceHandler. runNonUIThreadWithFakeContext(UICallBackServiceHandler.java: 455)
>
> at
> org.eclipse.rwt.lifecycle.UICallBack.runNonUIThreadWithFakeC ontext(UICallBack.java:44)
>
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:647)
>
> at
> org.eclipse.ui.internal.StartupThreading.runWithoutException s(StartupThreading.java:110)
>
> at org.eclipse.ui.internal.Workbench.init(Workbench.java:1425)
>
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2404)
>
> at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:22 95)
>
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:514)
>
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:497)
>
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:157)
>
> at org.eclipse.rap.demo.DemoWorkbench.createUI(DemoWorkbench.ja va:42)
>
> at
> org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:92)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:228)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:116)
>
> at java.lang.Thread.run(Thread.java:595)
>
>
> !ENTRY org.eclipse.rap.ui 4 0 2009-03-19 12:52:12.515
>
> !MESSAGE Unhandled event loop exception
>
> !STACK 0
>
> java.lang.NullPointerException
>
> at org.eclipse.ui.internal.IntroAction.<init>(IntroAction.java:64)
>
> at org.eclipse.ui.actions.ActionFactory$10.create(ActionFactory .java:342)
>
> at
> org.eclipse.rap.demo.DemoActionBarAdvisor.makeActions(DemoAc tionBarAdvisor.java:87)
>
> at
> org.eclipse.ui.application.ActionBarAdvisor.fillActionBars(A ctionBarAdvisor.java:147)
>
> at
> org.eclipse.ui.internal.WorkbenchWindow.fillActionBars(Workb enchWindow.java:3394)
>
> at org.eclipse.ui.internal.WorkbenchWindow.<init>(WorkbenchWindow.java:363)
>
> at
> org.eclipse.ui.internal.tweaklets.Workbench3xImplementation. createWorkbenchWindow(Workbench3xImplementation.java:29)
>
> at org.eclipse.ui.internal.Workbench.newWorkbenchWindow(Workben ch.java:1765)
>
> at org.eclipse.ui.internal.Workbench.access$11(Workbench.java:1 763)
>
> at
> org.eclipse.ui.internal.Workbench$16.runWithException(Workbe nch.java:1043)
>
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:32)
>
> at
> org.eclipse.rwt.internal.lifecycle.UICallBackManager.addSync (UICallBackManager.java:119)
>
> at org.eclipse.swt.widgets.Display$2.run(Display.java:649)
>
> at
> org.eclipse.rwt.internal.lifecycle.UICallBackServiceHandler. runNonUIThreadWithFakeContext(UICallBackServiceHandler.java: 455)
>
> at
> org.eclipse.rwt.lifecycle.UICallBack.runNonUIThreadWithFakeC ontext(UICallBack.java:44)
>
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:647)
>
> at
> org.eclipse.ui.internal.StartupThreading.runWithWorkbenchExc eptions(StartupThreading.java:55)
>
> at
> org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow(Wo rkbench.java:1041)
>
> at
> org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow(Work bench.java:1888)
>
> at
> org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbe nch.java:1824)
>
> at
> org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWin dow(WorkbenchConfigurer.java:188)
>
> at
> org.eclipse.ui.application.WorkbenchAdvisor.openWindows(Work benchAdvisor.java:790)
>
> at
> org.eclipse.ui.internal.Workbench$25.runWithException(Workbe nch.java:1430)
>
> at
> org.eclipse.ui.internal.StartupThreading$StartupRunnable.run (StartupThreading.java:32)
>
> at
> org.eclipse.rwt.internal.lifecycle.UICallBackManager.addSync (UICallBackManager.java:119)
>
> at org.eclipse.swt.widgets.Display$2.run(Display.java:649)
>
> at
> org.eclipse.rwt.internal.lifecycle.UICallBackServiceHandler. runNonUIThreadWithFakeContext(UICallBackServiceHandler.java: 455)
>
> at
> org.eclipse.rwt.lifecycle.UICallBack.runNonUIThreadWithFakeC ontext(UICallBack.java:44)
>
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:647)
>
> at
> org.eclipse.ui.internal.StartupThreading.runWithoutException s(StartupThreading.java:110)
>
> at org.eclipse.ui.internal.Workbench.init(Workbench.java:1425)
>
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2404)
>
> at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:22 95)
>
> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:514)
>
> at
> org.eclipse.core.databinding.observable.Realm.runWithDefault (Realm.java:332)
>
> at
> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:497)
>
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:157)
>
> at org.eclipse.rap.demo.DemoWorkbench.createUI(DemoWorkbench.ja va:42)
>
> at
> org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:92)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:228)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:116)
>
> at java.lang.Thread.run(Thread.java:595)
>
> 2009-03-19 12:52:13.511::WARN: /rap
>
> org.eclipse.swt.SWTException: Invalid thread access
>
> at org.eclipse.swt.SWT.error(SWT.java:2572)
>
> at org.eclipse.swt.SWT.error(SWT.java:2492)
>
> at org.eclipse.swt.SWT.error(SWT.java:2463)
>
> at org.eclipse.swt.widgets.Widget.error(Widget.java:832)
>
> at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:762)
>
> at org.eclipse.swt.widgets.Composite.getChildren(Composite.java :105)
>
> at
> org.eclipse.swt.internal.widgets.WidgetTreeVisitor.accept(Wi dgetTreeVisitor.java:49)
>
> at org.eclipse.rwt.lifecycle.WidgetUtil.find(WidgetUtil.java:19 7)
>
> at
> org.eclipse.swt.internal.widgets.displaykit.DisplayLCA.readF ocusControl(DisplayLCA.java:531)
>
> at
> org.eclipse.swt.internal.widgets.displaykit.DisplayLCA.readD ata(DisplayLCA.java:316)
>
> at org.eclipse.rwt.internal.lifecycle.ReadData.execute(ReadData .java:26)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.continueLife Cycle(RWTLifeCycle.java:206)
>
> at
> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:115)
>
> at java.lang.Thread.run(Thread.java:595)
>
>
>
>
>
> "Benjamin Muskalla" <bmuskalla@eclipsesource.com> schrieb im Newsbeitrag
> news:gpqno6$76u$1@build.eclipse.org...
>> Hi Markus,
>>
>> there are several ways to open an intro. On the one side automatically by
>> the workbench (which itself has several ways to do that) or manually via
>> the IIntroManager.
>>
>> There was a little oversight of me in one of the the mechanisms of the
>> first way which is now fixed in CVS. Sorry for the inconvenience!
>>
>> Could you try it again with latest CVS?
>>
>> Cheers
>> Benny
>>
>> Markus Krüger wrote:
>>> Hi Rüdiger,
>>>
>>> yes, I tried exactly this. No intro at all.
>>>
>>> Regards,
>>> arkus
>>>
>>>
>>> "Rüdiger Herrmann" <rherrmann@eclipsesource.com> schrieb im Newsbeitrag
>>> news:gpp2ni$m2t$1@build.eclipse.org...
>>>> Markus,
>>>>
>>>> did you try the simple example that is linked in the new & noteworthy
>>>> [1] entry?
>>>>
>>>> HTH
>>>> Rüdiger
>>>>
>>>> [1] http://www.eclipse.org/rap/noteworthy/news_12M6.php#Workbenc h
>>>>
>>>> Markus Krüger wrote:
>>>>> Hello,
>>>>>
>>>>> the intro support seems to be in CVS, but I can't get it to work. I
>>>>> think I did everthing that is needed (intro extension with binding to a
>>>>> branding, created an IIntroPart, added "welcome" command to my menu).
>>>>> The intro does not show up (I deleted workspace before) and the action
>>>>> is grayed out.
>>>>> Is there still something missing that I need to do, or is it not fully
>>>>> implemented yet?
>>>>>
>>>>> Regards,
>>>>> Markus
>>>
>>
>> --
>> Benjamin Muskalla | EclipseSource Karlsruhe
>> http://www.eclipsesource.com | http://twitter.com/eclipsesource
>
>
--
Benjamin Muskalla | EclipseSource Karlsruhe
http://www.eclipsesource.com | http://twitter.com/eclipsesource
|
|
|
|
Powered by
FUDForum. Page generated in 0.22267 seconds