[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
RE: [platform-dev] Migrating 2.1 Plugin to 3.0
|
Jim,
Thanks for the update. I see that there are other plugins that
create their own ComboFieldEditor in the Eclipse suite. Is this the type of
thing you are suggesting? Me create my own ComboFieldEditor class? That
sounds like a pretty big thing to do but I'll do it none the less. Thanks
for the heads up, Jeremy
-----Original Message-----
From: Jim des Rivieres [mailto:Jim_des_Rivieres@xxxxxxxxxx]
Sent: Tuesday, June 29, 2004 2:53 PM
To: platform-dev@xxxxxxxxxxx
Subject: Re: [platform-dev] Migrating 2.1 Plugin to 3.0
Jeremy writes>
> I am trying to use
'org.eclipse.jdt.internal.debug.ui.launcher.ComboFieldEditor'
> and I just need to know how to update this code to be 3.0 compliant.
Jeremy, The 2.1 plug-in you're trying to migrate to 3.0 is using an
internal class ComboFieldEditor. The class
'org.eclipse.jdt.internal.debug.ui.launcher.ComboFieldEditor' is also an
internal class. In order to make this code 3.0 compliant, you'll need to
avoid using it as well (you should probably be subclassing the API class
org.eclipse.jface.preference.FieldEditor directly).
---jim
"Whitlock, Jeremy x66075" <Jeremy_Whitlock@xxxxxxx>
Sent by: platform-dev-admin@xxxxxxxxxxx
06/29/2004 04:12 PM
Please respond to
platform-dev
To
"Eclipse Platform Dev (E-mail)" <platform-dev@xxxxxxxxxxx>
cc
Subject
[platform-dev] Migrating 2.1 Plugin to 3.0
Eclipse-Dev,
I have a plugin from BEA that is 2.1 compliant and when I run it
in 3.0, I get errors. I understand that there were API/Architecture
changes from 2.1 to 3.0 but this shouldn't be a big deal to migrate so I'm
asking here. Here is the error I get:
!ENTRY org.eclipse.core.runtime 4 2 Jun 29, 2004 13:44:15.790
!MESSAGE Problems occurred when invoking code from plug-in:
"org.eclipse.core.runtime".
!STACK 0
java.lang.NoClassDefFoundError:
org/eclipse/debug/internal/ui/preferences/ComboFieldEditor
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
at java.lang.Class.getConstructor0(Class.java:1922)
at java.lang.Class.newInstance0(Class.java:278)
at java.lang.Class.newInstance(Class.java:261)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExte
nsion(ConfigurationElement.java:141)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExte
nsion(ConfigurationElement.java:124)
at
org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExte
nsion(ConfigurationElement.java:113)
at
org.eclipse.ui.internal.WorkbenchPlugin$1.run(WorkbenchPlugin.java:196)
at
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at
org.eclipse.ui.internal.WorkbenchPlugin.createExtension(WorkbenchPlugin.java
:193)
at
org.eclipse.ui.internal.dialogs.WorkbenchPreferenceNode.createPage(Workbench
PreferenceNode.java:60)
at
org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java
:985)
at
org.eclipse.jface.preference.PreferenceDialog$8.selectionChanged(PreferenceD
ialog.java:529)
at
org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:450)
at
org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java
:615)
at org.eclipse.core.runtime.Platform.run(Platform.java:747)
at
org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(Structur
edViewer.java:448)
at
org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer
.java:708)
at
org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer
.java:726)
at
org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java
:200)
at
org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:195)
at
org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:349)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at
org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:106)
at
org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2749)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2434)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:668)
at org.eclipse.jface.window.Window.open(Window.java:648)
at
org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java
:72)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:881)
at
org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Action
ContributionItem.java:915)
at
org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionI
tem.java:866)
at
org.eclipse.jface.action.ActionContributionItem$7.handleEvent(ActionContribu
tionItem.java:785)
at
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:796)
at
org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2772)
at
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2431)
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)
I am trying to use
'org.eclipse.jdt.internal.debug.ui.launcher.ComboFieldEditor' and I just
need to know how to update this code to be 3.0 compliant. Thanks, Jeremy
This message and any attachments are intended only for the use of the
addressee and may contain information that is privileged and confidential.
If the reader of the message is not the intended recipient or an
authorized representative of the intended recipient, you are hereby
notified that any dissemination of this communication is strictly
prohibited. If you have received this communication in error, please
notify us immediately by e-mail and delete the message and any attachments
from your system.
_______________________________________________
platform-dev mailing list
platform-dev@xxxxxxxxxxx
http://dev.eclipse.org/mailman/listinfo/platform-dev
<<application/ms-tnef>>