Moin Greg,
please add a bugreport:
http://objectstyle.org/jira/secure/Dashboard.jspa
Thanks
Uli
Am 18.08.2005 um 00:35 schrieb Greg:
> Hi Uli,
> I created a new project to test and it works fine. Would this be
> happening in my project because of the location of the .wo files? I
> have them in the same package heirarchy as the java file, where as
> the test application I made has the .wo in the root of the project.
> Is this a known issue?
>
> Regards,
> Greg
>
> On 17/08/2005, at 5:37 PM, Ulrich Köster wrote:
>
>
>> Moin Greg,
>>
>> the WOComponent Editor is a launcher. A launcher is able to decide
>> which editor should open depending on the file you open. The rules
>> for "WOComponent Editor" are:
>>
>> Open the standard Java editor for foo.java without foo.html and
>> foo.wod.
>> For foo.java with foo.html and foo.wod open the WOComponent Editor
>> internal.
>>
>>
>> If the "WOComponent Editor" is the default for .java files and the
>> user double clicks Application.java Eclipse should display the
>> plain vanilla JavaEditor.
>>
>> Something goes wrong during the loockup of the .html and .wod
>> file. Could you try to reproduce it with a new WOApplication
>> project and the Main component.
>>
>>
>> Uli
>> Am 17.08.2005 um 09:05 schrieb Greg:
>>
>>
>>
>>> G'Day Mate (since we're using native tongue),
>>> In the preferences when I set the java file editor, I do not have
>>> just "WOComponent Editor", only the internal one. When I right
>>> click on a java file and go open with, it has "WOComponent
>>> Editor" as well as the internal one. When I select "WOComponent
>>> Editor", it just displays the normal java file editor, not the
>>> tabbed WO one. When I select the internal one, it throws the
>>> exception that I reported.
>>>
>>> How can I get the "WOComponent Editor" to appear in the list of
>>> editors when setting the default association?
>>>
>>> Regards,
>>> Greg
>>>
>>> On 17/08/2005, at 4:25 PM, Ulrich Köster wrote:
>>>
>>>
>>>
>>>
>>>> Moin Greg,
>>>>
>>>> the correct Editor is the "WOComponent Editor" not the
>>>> "WOComponent Editor internal".
>>>>
>>>> Ulrich
>>>> Am 17.08.2005 um 05:44 schrieb Greg:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> I set the default editor in the preferences to the "WOComponent
>>>>> Editor internal" when I double click on a java file, it
>>>>> displays an exception in the editor part of the workbench.
>>>>>
>>>>> java.lang.ClassCastException
>>>>> at org.eclipse.ui.internal.EditorReference.createPartHelper
>>>>> (EditorReference.java:569)
>>>>> at org.eclipse.ui.internal.EditorReference.createPart
>>>>> (EditorReference.java:384)
>>>>> at org.eclipse.ui.internal.WorkbenchPartReference.getPart
>>>>> (WorkbenchPartReference.java:552)
>>>>> at org.eclipse.ui.internal.PartPane.setVisible
>>>>> (PartPane.java:283)
>>>>> at
>>>>> org.eclipse.ui.internal.presentations.PresentablePart.setVisible
>>>>> (PresentablePart.java:126)
>>>>> at
>>>>> org.eclipse.ui.internal.presentations.util.PresentablePartFolder.s
>>>>> elect(PresentablePartFolder.java:268)
>>>>> at
>>>>> org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.sel
>>>>> ect(LeftToRightTabOrder.java:65)
>>>>> at
>>>>> org.eclipse.ui.internal.presentations.util.TabbedStackPresentation
>>>>> .selectPart(TabbedStackPresentation.java:391)
>>>>> at
>>>>> org.eclipse.ui.internal.PartStack.refreshPresentationSelection
>>>>> (PartStack.java:1102)
>>>>> at org.eclipse.ui.internal.PartStack.setSelection
>>>>> (PartStack.java:1051)
>>>>> at org.eclipse.ui.internal.PartStack.showPart
>>>>> (PartStack.java:1256)
>>>>> at org.eclipse.ui.internal.PartStack.add(PartStack.java:442)
>>>>> at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:
>>>>> 109)
>>>>> at org.eclipse.ui.internal.EditorSashContainer.addEditor
>>>>> (EditorSashContainer.java:60)
>>>>> at org.eclipse.ui.internal.EditorAreaHelper.addToLayout
>>>>> (EditorAreaHelper.java:212)
>>>>> at org.eclipse.ui.internal.EditorAreaHelper.addEditor
>>>>> (EditorAreaHelper.java:202)
>>>>> at org.eclipse.ui.internal.EditorManager.createEditorTab
>>>>> (EditorManager.java:758)
>>>>> at
>>>>> org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor
>>>>> (EditorManager.java:665)
>>>>> at org.eclipse.ui.internal.EditorManager.openEditor
>>>>> (EditorManager.java:628)
>>>>> at
>>>>> org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched
>>>>> (WorkbenchPage.java:2332)
>>>>> at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor
>>>>> (WorkbenchPage.java:2267)
>>>>> at org.eclipse.ui.internal.WorkbenchPage.access$9
>>>>> (WorkbenchPage.java:2259)
>>>>> at org.eclipse.ui.internal.WorkbenchPage$9.run
>>>>> (WorkbenchPage.java:2245)
>>>>> at org.eclipse.swt.custom.BusyIndicator.showWhile
>>>>> (BusyIndicator.java:69)
>>>>> at org.eclipse.ui.internal.WorkbenchPage.openEditor
>>>>> (WorkbenchPage.java:2240)
>>>>> at org.eclipse.ui.internal.WorkbenchPage.openEditor
>>>>> (WorkbenchPage.java:2221)
>>>>> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:371)
>>>>> at org.eclipse.ui.ide.IDE.openEditor(IDE.java:334)
>>>>> at
>>>>> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(
>>>>> EditorUtility.java:251)
>>>>> at
>>>>> org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(
>>>>> EditorUtility.java:136)
>>>>> at org.eclipse.jdt.internal.ui.actions.OpenActionUtil.open
>>>>> (OpenActionUtil.java:49)
>>>>> at org.eclipse.jdt.ui.actions.OpenAction.run
>>>>> (OpenAction.java:169)
>>>>> at org.eclipse.jdt.ui.actions.OpenAction.run
>>>>> (OpenAction.java:153)
>>>>> at
>>>>> org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun
>>>>> (SelectionDispatchAction.java:222)
>>>>> at org.eclipse.jdt.ui.actions.SelectionDispatchAction.run
>>>>> (SelectionDispatchAction.java:198)
>>>>> at
>>>>> org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup
>>>>> .handleOpen(PackageExplorerActionGroup.java:296)
>>>>> at
>>>>> org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart
>>>>> $4.open(PackageExplorerPart.java:869)
>>>>> at org.eclipse.jface.viewers.StructuredViewer$2.run
>>>>> (StructuredViewer.java:741)
>>>>> at org.eclipse.core.internal.runtime.InternalPlatform.run
>>>>> (InternalPlatform.java:1044)
>>>>> at org.eclipse.core.runtime.Platform.run(Platform.java:783)
>>>>> at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
>>>>> at org.eclipse.jface.util.SafeRunnable.run
>>>>> (SafeRunnable.java:148)
>>>>> at org.eclipse.jface.viewers.StructuredViewer.fireOpen
>>>>> (StructuredViewer.java:739)
>>>>> at org.eclipse.jface.viewers.StructuredViewer.handleOpen
>>>>> (StructuredViewer.java:968)
>>>>> at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen
>>>>> (StructuredViewer.java:1067)
>>>>> at org.eclipse.jface.util.OpenStrategy.fireOpenEvent
>>>>> (OpenStrategy.java:243)
>>>>> at org.eclipse.jface.util.OpenStrategy.access$2
>>>>> (OpenStrategy.java:238)
>>>>> at org.eclipse.jface.util.OpenStrategy$1.handleEvent
>>>>> (OpenStrategy.java:277)
>>>>> at org.eclipse.swt.widgets.EventTable.sendEvent
>>>>> (EventTable.java:66)
>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1380)
>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1404)
>>>>> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1389)
>>>>> at org.eclipse.swt.widgets.Widget.notifyListeners
>>>>> (Widget.java:1237)
>>>>> at org.eclipse.swt.widgets.Display.runDeferredEvents
>>>>> (Display.java:3060)
>>>>> at org.eclipse.swt.widgets.Display.readAndDispatch
>>>>> (Display.java:2712)
>>>>> at org.eclipse.ui.internal.Workbench.runEventLoop
>>>>> (Workbench.java:1699)
>>>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:
>>>>> 1663)
>>>>> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench
>>>>> (Workbench.java:367)
>>>>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench
>>>>> (PlatformUI.java:143)
>>>>> at org.eclipse.ui.internal.ide.IDEApplication.run
>>>>> (IDEApplication.java:103)
>>>>> at org.eclipse.core.internal.runtime.PlatformActivator$1.run
>>>>> (PlatformActivator.java:226)
>>>>> at org.eclipse.core.runtime.adaptor.EclipseStarter.run
>>>>> (EclipseStarter.java:376)
>>>>> at org.eclipse.core.runtime.adaptor.EclipseStarter.run
>>>>> (EclipseStarter.java:163)
>>>>> 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.invokeFramework(Main.java:
>>>>> 334)
>>>>> at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
>>>>> at org.eclipse.core.launcher.Main.run(Main.java:973)
>>>>> at org.eclipse.core.launcher.Main.main(Main.java:948)
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>>
>
>
This archive was generated by hypermail 2.0.0 : Sun Aug 28 2005 - 08:25:03 EDT