[Viplugin-user] viPlugin and Mac OSX
Brought to you by:
midramas
|
From: Jason V. <vin...@ea...> - 2003-08-24 03:28:12
|
(Forgive me if some of the logic here is flawed. This is after a 2 day course in plugins and Eclipse development.) I found something interesting with viPlugin on Mac OSX, but I am not sure why it occurs. This snip is found in viLayer.java : e.display.getActiveShell().setImeInputMode(SWT.NONE); e.display returns null for some reason, while Display.getCurrent() returns the current display: Display.getCurrent().getActiveShell().setImeInputMode(SWT.NONE); Since the latter is a Static reference, there is the potential issue of performance, but I am not sure how much this really will impact this plugin. I am going to do some more research on this and test the other features between my pc and mac to see if there are other platform dependent discrepancies. One thing i did notice is that you import the org.eclipse.ui.win32_2.1.0/workbenchwin32.jar, which has no correlating jar in the OSX release. Upon further inspection, I see this jar has something to do with OLE editors, but I searched the source and didn't find references to it anywhere. Am I missing your reference to this jar, or is it unneeded? I think this could be one of the potential reasons for the differences b/w mac and windows, but w/ no references it doesn't stand out as the culprit. Other than this little issue, this is a great start for a very useful plugin. Thanks for the hard work, Jason |