Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [udig-devel] holongate vs. SWT_AWT bridge

Alright, when I tried to open the view in Eclipse 3.0 I get an exception thrown. Here's the trace:

<x-tad-smaller>org.eclipse.swt.SWTError: Not implemented
at org.eclipse.swt.SWT.error(SWT.java:2717)
at org.eclipse.swt.SWT.error(SWT.java:2616)
at org.eclipse.swt.SWT.error(SWT.java:2587)
at org.eclipse.swt.awt.SWT_AWT.new_Frame(SWT_AWT.java:63)
at AWT_SWTBridgeTest.ViewPart1.createPartControl(ViewPart1.java:19)
at org.eclipse.ui.internal.PartPane$2.run(PartPane.java:137)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.PartPane.createChildControl(PartPane.java:133)
at org.eclipse.ui.internal.ViewPane.createChildControl(ViewPane.java:131)
at org.eclipse.ui.internal.PartPane.createControl(PartPane.java:205)
at org.eclipse.ui.internal.ViewPane.createControl(ViewPane.java:119)
at org.eclipse.ui.internal.ViewFactory$1.run(ViewFactory.java:335)
at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at org.eclipse.ui.internal.ViewFactory.busyRestoreView(ViewFactory.java:259)
at org.eclipse.ui.internal.ViewFactory$2.run(ViewFactory.java:516)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.ViewFactory.restoreView(ViewFactory.java:514)
at org.eclipse.ui.internal.Perspective.showView(Perspective.java:1583)
at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:774)
at org.eclipse.ui.internal.WorkbenchPage.access$9(WorkbenchPage.java:754)
at org.eclipse.ui.internal.WorkbenchPage$13.run(WorkbenchPage.java:3008)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3005)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:2985)
at org.eclipse.ui.internal.ShowViewMenu.showOther(ShowViewMenu.java:204)
at org.eclipse.ui.internal.ShowViewMenu$2.run(ShowViewMenu.java:68)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:881)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:915)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:866)
at org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContributionItem.java:785)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1196)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1220)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1205)
at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1053)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2865)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2535)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1377)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1348)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:254)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:141)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:96)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)
</x-tad-smaller>

On Aug 5, 2004, at 00:22, Jesse Eichar wrote:

So everyone knows, I followed this email with a private one with the attachment. :)

Jesse Eichar said the following on 08/04/2004 08:55 PM:

Matt Revelle said the following on 08/04/2004 05:29 AM:

If you ever need something tested on a Mac, just let me know, I have a machine running 10.3.


Hey matt,

I'm going to take you up on this. Do you have eclipse installed on your machine?

If yes, I've attached a plugin that uses the AWT_SWT bridge. I would like to see if it works on a mac with JDK1.4. It works fine on windows with 1.4 but linux requires 1.5.
The plugin is a view called AWT_SWTBridgeTest. And all it does is create a awt frame in the view with a Button that says "This is a Test". That's it. But if it doesn't throw an exception then Macs can use the SWT_AWT bridge with 1.4

Thanks

Jesse
_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel


_______________________________________________
User-friendly Desktop Internet GIS (uDig)
http://udig.refractions.net
http://lists.refractions.net/mailman/listinfo/udig-devel

Matt Revelle
Software Engineer
Integrity Applications Incorporated
703 378 8672 x171

Back to the top