facebook

Matisse Form missing the Source / Form option in the editor.

  1. MyEclipse Archived
  2.  > 
  3. Matisse/Swing UI Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #256765 Reply

    mrmikechan
    Participant

    I was able to successfully create a Matisse Form and use the Matisse Palette to create my GUI widgets. I added some of my own specific code to the ActionEvent handler and then stepped through my debugger to fix some problems. After switching from the debug view back to the Swing/Matisse view, I noticed that the .form file opened in my editor that had the option to select the Source or Form option was missing. I cannot visually modify my Matisse Form anymore. My Matisse Palette still comes up and displays all the GUI widgets. If I create a new Matisse Form, the new form displays OK with the option to select Source or Form in the editor view so that I can use the Visual design tool to generate the GUI widget via drag and drop.

    How can I resolve my problem with my form to use the visual design tool to generate the GUI widget?

    I am using Eclipse 3.1.2.

    Mike

    #256863 Reply

    Riyad Kalla
    Member

    Mike,
    Is the problem that when you double click to open your form nothing is happening or you are getting an error? Did you check your log file for any loading exceptions (<workspace dir>\.metadata\.log). Also did you move your .java file out of the same package as the .form file? That causes the designer to fail when loading.

    #256891 Reply

    mrmikechan
    Participant

    When I open the form, nothing is happening now. The form that I created was named TestForm.form. The TestForm.form file used to have the option for me to select Source or Form option in the editor. Now it doesn’t anymore after I used my debugger. I just went ahead and created a new form because I am in a time crunch right now to get a GUI prototype working. The only error message that I got yesterday from the log file is this (But I am not sure if this error message is pertinent to my problem though):

    !ENTRY org.eclipse.ui.workbench 4 0 2006-08-14 16:09:56.146
    !MESSAGE WARNING: Prevented recursive attempt to activate part org.eclipse.ui.views.PropertySheet while still in the middle of activating part com.genuitec.eclipse.dehory.paletteview2
    !STACK 0
    java.lang.RuntimeException: WARNING: Prevented recursive attempt to activate part org.eclipse.ui.views.PropertySheet while still in the middle of activating part com.genuitec.eclipse.dehory.paletteview2
    at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:2859)
    at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2512)
    at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:249)
    at org.eclipse.ui.internal.PartPane.handleEvent(PartPane.java:214)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:848)
    at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:998)
    at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:1855)
    at org.eclipse.swt.widgets.Widget.wmSetFocus(Widget.java:1961)
    at org.eclipse.swt.widgets.Control.WM_SETFOCUS(Control.java:3630)
    at org.eclipse.swt.widgets.Tree.WM_SETFOCUS(Tree.java:3238)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3102)
    at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:2391)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:3751)
    at org.eclipse.swt.internal.win32.OS.SetFocus(Native Method)
    at org.eclipse.swt.widgets.Control.forceFocus(Control.java:651)
    at org.eclipse.swt.widgets.Control.setFixedFocus(Control.java:2114)
    at org.eclipse.swt.widgets.Composite.setFixedFocus(Composite.java:689)
    at org.eclipse.swt.widgets.Composite.setFixedFocus(Composite.java:687)
    at org.eclipse.swt.widgets.Control.fixFocus(Control.java:609)
    at org.eclipse.swt.widgets.Control.setVisible(Control.java:2489)
    at org.eclipse.ui.part.PageBook.showPage(PageBook.java:108)
    at org.eclipse.ui.part.PageBookView.showPageRec(PageBookView.java:797)
    at org.eclipse.ui.part.PageBookView.partActivated(PageBookView.java:619)
    at org.eclipse.ui.views.properties.PropertySheet.partActivated(PropertySheet.java:189)
    at org.eclipse.ui.internal.PartListenerList$1.run(PartListenerList.java:72)
    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.PartListenerList.fireEvent(PartListenerList.java:58)
    at org.eclipse.ui.internal.PartListenerList.firePartActivated(PartListenerList.java:70)
    at org.eclipse.ui.internal.PartService.firePartActivated(PartService.java:73)
    at org.eclipse.ui.internal.PartService.setActivePart(PartService.java:171)
    at org.eclipse.ui.internal.WorkbenchPagePartList.fireActivePartChanged(WorkbenchPagePartList.java:56)
    at org.eclipse.ui.internal.PartList.setActivePart(PartList.java:117)
    at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:2910)
    at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2512)
    at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:249)
    at org.eclipse.ui.internal.PartPane.handleEvent(PartPane.java:214)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:843)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:867)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:848)
    at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:998)
    at org.eclipse.swt.widgets.Shell.WM_MOUSEACTIVATE(Shell.java:1635)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3079)
    at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1582)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:3751)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1651)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3123)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:3751)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1651)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3123)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:3751)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1651)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3123)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:3751)
    at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1651)
    at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:77)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3123)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:3751)
    at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
    at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1580)
    at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:229)
    at org.eclipse.swt.widgets.Control.windowProc(Control.java:3123)
    at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:2391)
    at org.eclipse.swt.widgets.Display.windowProc(Display.java:3751)
    at org.eclipse.swt.internal.win32.OS.PeekMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.PeekMessage(OS.java:2111)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2753)
    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(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    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)

    #256896 Reply

    Riyad Kalla
    Member

    Hmm unfortunately that doesn’t help us get to the bottom of the problem, I”m sorry you ran into a hickup, please let me know if it happens again with the new form.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Matisse Form missing the Source / Form option in the editor.

You must be logged in to post in the forum log in