Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Operation "listen" on target "w4" of type "rwt.widgets.MenuBar" failed(Error on startup after changed to RAP 2.0 M4)
Operation "listen" on target "w4" of type "rwt.widgets.MenuBar" failed [message #1001335] Wed, 16 January 2013 14:07 Go to next message
Michael Grossmann is currently offline Michael GrossmannFriend
Messages: 3
Registered: January 2013
Junior Member
I tryed to switch from RAP 1.5.1 (1.5.1.20120917-1116) to newest milestone release of RAP 2.0 M4 (2.0.0.20121218-1016).

I start my application as plain rwt application like described here:
http://www.eclipse.org/rap/developers-guide/devguide.php?topic=advanced/rwt-standalone.html&version=1.5

with respect of the issues described here:
http://www.eclipse.org/rap/noteworthy/2.0/migration-guide/

All deprecated issues was fixed like suggested.

After changing to version 2 the application startup fails with the following error page:

Could not process server response:
Error: Error: Operation "listen" on target "w4" of type "rwt.widgets.MenuBar" failed:
Das Objekt unterstützt die Eigenschaft oder Methode "setHasShowListener" nicht
Properties:
Show = true
Hide = true


Script: {
"head": {
"requestCounter": 0
},
"operations": [ [ "create", "w2", "rwt.widgets.Shell", {
"style": [ "CLOSE", "MIN", "MAX", "RESIZE", "TITLE" ]
} ], [ "listen", "w2", {
"Move": true,
"Resize": true,
"Activate": true,
"Close": true
} ], [ "set", "w2", {
"image": [ "rwt-resources/generated/d3359101.png", 16, 16 ],
"text": "Hello Workbench",
"active": true,
"minimumSize": [ 80, 40 ],
"activeControl": "w3",
"bounds": [ 396, 166, 1024, 650 ],
"children": [ "w3" ],
"tabIndex": -1,
"visibility": true
} ], [ "listen", "w2", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "create", "w4", "rwt.widgets.Menu", {
"style": [ "BAR" ]
} ], [ "listen", "w4", {
"Show": true,
"Hide": true
} ], [ "set", "w4", {
"parent": "w2",
"bounds": [ 15, 54, 992, 23 ]
} ], [ "create", "w67", "rwt.widgets.MenuItem", {
"parent": "w4",
"style": [ "CASCADE" ],
"index": 0,
"text": "&File",
"menu": "w68"
} ], [ "create", "w77", "rwt.widgets.MenuItem", {
"parent": "w4",
"style": [ "CASCADE" ],
"index": 1,
"text": "&Edit",
"menu": "w78"
} ], [ "create", "w28", "rwt.widgets.Menu", {
"style": [ "POP_UP" ]
} ], [ "listen", "w28", {
"Show": true,
"Hide": true
} ], [ "create", "w30", "rwt.widgets.MenuItem", {
"parent": "w28",
"style": [ "PUSH" ],
"index": 0,
"text": "Add new Folder"
} ], [ "listen", "w30", {
"Selection": true
} ], [ "create", "w68", "rwt.widgets.Menu", {
"style": [ "DROP_DOWN" ]
} ], [ "listen", "w68", {
"Show": true,
"Hide": true
} ], [ "create", "w70", "rwt.widgets.MenuItem", {
"parent": "w68",
"style": [ "PUSH" ],
"index": 0,
"text": "New "
} ], [ "listen", "w70", {
"Selection": true
} ], [ "create", "w71", "rwt.widgets.MenuItem", {
"parent": "w68",
"style": [ "PUSH" ],
"index": 1,
"text": "Open file... "
} ], [ "listen", "w71", {
"Selection": true
} ], [ "create", "w72", "rwt.widgets.MenuItem", {
"parent": "w68",
"style": [ "SEPARATOR" ],
"index": 2
} ], [ "create", "w73", "rwt.widgets.MenuItem", {
"parent": "w68",
"style": [ "PUSH" ],
"index": 3,
"text": "Save",
"image": [ "rwt-resources/generated/66f715d2.png", 16, 16 ]
} ], [ "listen", "w73", {
"Selection": true
} ], [ "create", "w74", "rwt.widgets.MenuItem", {
"parent": "w68",
"style": [ "PUSH" ],
"index": 4,
"text": "Save As...",
"image": [ "rwt-resources/generated/66f715d2.png", 16, 16 ]
} ], [ "listen", "w74", {
"Selection": true
} ], [ "create", "w75", "rwt.widgets.MenuItem", {
"parent": "w68",
"style": [ "SEPARATOR" ],
"index": 5
} ], [ "create", "w76", "rwt.widgets.MenuItem", {
"parent": "w68",
"style": [ "PUSH" ],
"index": 6,
"text": "Exit"
} ], [ "listen", "w76", {
"Selection": true
} ], [ "create", "w78", "rwt.widgets.Menu", {
"style": [ "DROP_DOWN" ]
} ], [ "listen", "w78", {
"Show": true,
"Hide": true
} ], [ "create", "w80", "rwt.widgets.MenuItem", {
"parent": "w78",
"style": [ "PUSH" ],
"index": 0,
"text": "Cut",
"image": [ "rwt-resources/generated/8022c71d.png", 16, 16 ]
} ], [ "listen", "w80", {
"Selection": true
} ], [ "create", "w81", "rwt.widgets.MenuItem", {
"parent": "w78",
"style": [ "PUSH" ],
"index": 1,
"text": "Copy",
"image": [ "rwt-resources/generated/29069ec8.png", 16, 16 ]
} ], [ "listen", "w81", {
"Selection": true
} ], [ "create", "w82", "rwt.widgets.MenuItem", {
"parent": "w78",
"style": [ "PUSH" ],
"index": 2,
"text": "Paste",
"image": [ "rwt-resources/generated/a330b322.png", 16, 16 ]
} ], [ "listen", "w82", {
"Selection": true
} ], [ "create", "w3", "rwt.widgets.Composite", {
"parent": "w2",
"style": [ "NONE" ],
"bounds": [ 15, 76, 992, 557 ],
"children": [ "w6", "w8", "w15" ],
"tabIndex": -1,
"background": [ 0, 0, 0, 0 ]
} ], [ "listen", "w3", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "create", "w6", "rwt.widgets.Composite", {
"parent": "w3",
"style": [ "NONE" ],
"bounds": [ 2, 1, 988, 32 ],
"children": [ "w7" ],
"tabIndex": -1,
"background": [ 0, 0, 0, 0 ]
} ], [ "listen", "w6", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "create", "w7", "rwt.widgets.ToolBar", {
"parent": "w6",
"style": [ "FLAT", "HORIZONTAL" ],
"bounds": [ 0, 0, 988, 32 ],
"children": [],
"tabIndex": 3,
"background": [ 0, 0, 0, 0 ]
} ], [ "listen", "w7", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "create", "w60", "rwt.widgets.ToolItem", {
"parent": "w7",
"style": [ "PUSH" ],
"index": 0,
"bounds": [ 0, 0, 32, 32 ],
"toolTip": "Save",
"image": [ "rwt-resources/generated/66f715d2.png", 16, 16 ]
} ], [ "listen", "w60", {
"Selection": true
} ], [ "create", "w61", "rwt.widgets.ToolItem", {
"parent": "w7",
"style": [ "SEPARATOR" ],
"index": 1,
"bounds": [ 32, 0, 4, 32 ]
} ], [ "create", "w62", "rwt.widgets.ToolItem", {
"parent": "w7",
"style": [ "PUSH" ],
"index": 2,
"bounds": [ 36, 0, 32, 32 ],
"toolTip": "Cut",
"image": [ "rwt-resources/generated/8022c71d.png", 16, 16 ]
} ], [ "listen", "w62", {
"Selection": true
} ], [ "create", "w63", "rwt.widgets.ToolItem", {
"parent": "w7",
"style": [ "PUSH" ],
"index": 3,
"bounds": [ 68, 0, 32, 32 ],
"toolTip": "Copy",
"image": [ "rwt-resources/generated/29069ec8.png", 16, 16 ]
} ], [ "listen", "w63", {
"Selection": true
} ], [ "create", "w64", "rwt.widgets.ToolItem", {
"parent": "w7",
"style": [ "PUSH" ],
"index": 4,
"bounds": [ 100, 0, 32, 32 ],
"toolTip": "Paste",
"image": [ "rwt-resources/generated/a330b322.png", 16, 16 ]
} ], [ "listen", "w64", {
"Selection": true
} ], [ "create", "w65", "rwt.widgets.ToolItem", {
"parent": "w7",
"style": [ "SEPARATOR" ],
"index": 5,
"bounds": [ 132, 0, 4, 32 ]
} ], [ "create", "w66", "rwt.widgets.ToolItem", {
"parent": "w7",
"style": [ "PUSH" ],
"index": 6,
"bounds": [ 136, 0, 32, 32 ],
"toolTip": "Print",
"image": [ "rwt-resources/generated/e2ed4beb.png", 16, 16 ]
} ], [ "listen", "w66", {
"Selection": true
} ], [ "create", "w8", "rwt.widgets.Composite", {
"parent": "w3",
"style": [ "NONE" ],
"bounds": [ 2, 34, 988, 521 ],
"children": [ "w9" ],
"tabIndex": -1,
"background": [ 0, 0, 0, 0 ]
} ], [ "listen", "w8", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "create", "w9", "rwt.widgets.Composite", {
"parent": "w8",
"style": [ "NONE" ],
"bounds": [ 0, 0, 988, 521 ],
"children": [ "w10", "w11", "w12" ],
"tabIndex": 5,
"background": [ 0, 0, 0, 0 ]
} ], [ "listen", "w9", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "create", "w10", "rwt.widgets.Sash", {
"parent": "w9",
"style": [ "VERTICAL", "SMOOTH" ],
"bounds": [ 177, 0, 4, 521 ],
"tabIndex": -1,
"background": [ 0, 0, 0, 0 ]
} ], [ "create", "w11", "rwt.widgets.Composite", {
"parent": "w9",
"style": [ "NONE" ],
"bounds": [ 0, 0, 177, 521 ],
"children": [ "w13" ],
"tabIndex": -1,
"background": [ 0, 0, 0, 0 ]
} ], [ "listen", "w11", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "create", "w13", "rwt.widgets.CTabFolder", {
"parent": "w11",
"style": [ "MULTI", "BORDER" ],
"toolTipTexts": [ "Minimize", "Maximize", "Restore", "Show List", "Close" ],
"bounds": [ 0, 0, 177, 521 ],
"children": [ "w17", "w48" ],
"tabIndex": 7,
"background": [ 0, 0, 0, 0 ]
} ], [ "listen", "w13", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "set", "w13", {
"tabHeight": 27,
"chevronBounds": [ 124, 5, 27, 18 ],
"chevronVisible": true,
"selection": "w16",
"borderVisible": true
} ], [ "listen", "w13", {
"Selection": true,
"DefaultSelection": true,
"Folder": true
} ], [ "create", "w16", "rwt.widgets.CTabItem", {
"parent": "w13",
"index": 0,
"style": [ "CLOSE" ],
"toolTip": "Application Demo 1",
"bounds": [ 0, 0, 121, 28 ],
"text": "App 1",
"image": [ "rwt-resources/generated/b0ed535f.png", 16, 16 ],
"showClose": true
} ], [ "create", "w47", "rwt.widgets.CTabItem", {
"parent": "w13",
"index": 1,
"style": [ "CLOSE" ],
"toolTip": "Application Demo 2",
"bounds": [ 1827, 0, 121, 28 ],
"image": [ "rwt-resources/generated/c4119133.png", 16, 16 ],
"showing": false,
"showClose": true
} ], [ "create", "w17", "rwt.widgets.Composite", {
"parent": "w13",
"style": [ "NONE" ],
"bounds": [ 3, 31, 171, 487 ],
"children": [ "w18", "w21", "w22" ],
"tabIndex": -1,
"background": [ 0, 0, 0, 0 ]
} ], [ "listen", "w17", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "create", "w18", "rwt.widgets.Composite", {
"parent": "w17",
"style": [ "NONE" ],
"bounds": [ 0, 0, 171, 32 ],
"children": [ "w19", "w20" ],
"tabIndex": -1,
"background": [ 0, 0, 0, 0 ]
} ], [ "listen", "w18", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "create", "w19", "rwt.widgets.ToolBar", {
"parent": "w18",
"style": [ "FLAT", "HORIZONTAL" ],
"bounds": [ 0, 0, 107, 32 ],
"children": [],
"tabIndex": 10,
"background": [ 0, 0, 0, 0 ]
} ], [ "listen", "w19", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "create", "w20", "rwt.widgets.ToolBar", {
"parent": "w18",
"style": [ "FLAT", "HORIZONTAL" ],
"bounds": [ 107, 0, 64, 32 ],
"children": [],
"tabIndex": 11,
"background": [ 0, 0, 0, 0 ]
} ], [ "listen", "w20", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "create", "w31", "rwt.widgets.ToolItem", {
"parent": "w20",
"style": [ "PUSH" ],
"index": 0,
"bounds": [ 0, 0, 32, 32 ],
"toolTip": "Add new Folder",
"image": [ "rwt-resources/generated/b9c3fcee.png", 16, 16 ]
} ], [ "listen", "w31", {
"Selection": true
} ], [ "create", "w27", "rwt.widgets.ToolItem", {
"parent": "w20",
"style": [ "PUSH" ],
"index": 1,
"bounds": [ 32, 0, 32, 32 ],
"image": [ "rwt-resources/generated/3ca2d024.png", 16, 16 ]
} ], [ "listen", "w27", {
"Selection": true
} ], [ "create", "w21", "rwt.widgets.Separator", {
"parent": "w17",
"style": [ "SEPARATOR", "HORIZONTAL", "SHADOW_OUT" ],
"bounds": [ 0, 32, 171, 2 ],
"tabIndex": -1,
"background": [ 0, 0, 0, 0 ]
} ], [ "listen", "w21", {
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "create", "w22", "rwt.widgets.Composite", {
"parent": "w17",
"style": [ "NONE" ],
"bounds": [ 0, 34, 171, 453 ],
"children": [ "w23" ],
"tabIndex": -1,
"background": [ 0, 0, 0, 0 ]
} ], [ "listen", "w22", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "create", "w23", "rwt.widgets.Grid", {
"parent": "w22",
"style": [ "MULTI" ],
"appearance": "tree",
"selectionPadding": [ 3, 5 ],
"indentionWidth": 16,
"markupEnabled": false
} ], [ "create", "w24", "rwt.widgets.ScrollBar", {
"parent": "w23",
"style": [ "HORIZONTAL" ]
} ], [ "create", "w25", "rwt.widgets.ScrollBar", {
"parent": "w23",
"style": [ "VERTICAL" ]
} ], [ "set", "w23", {
"bounds": [ 0, 0, 171, 453 ],
"children": [],
"tabIndex": 13
} ], [ "listen", "w23", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"KeyDown": true,
"MenuDetect": true
} ], [ "set", "w23", {
"itemCount": 3,
"itemHeight": 27,
"itemMetrics": [ [ 0, 0, 143, 0, 16, 22, 113 ] ]
} ], [ "listen", "w23", {
"Selection": true,
"DefaultSelection": true,
"Expand": true,
"Collapse": true
} ], [ "create", "w32", "rwt.widgets.GridItem", {
"parent": "w23",
"index": 0,
"itemCount": 3,
"texts": [ "Components" ],
"images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
"font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false ]
} ], [ "create", "w33", "rwt.widgets.GridItem", {
"parent": "w32",
"index": 0,
"texts": [ "Component1" ],
"images": [ [ "rwt-resources/generated/ed797d19.png", 16, 16 ] ],
"font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false ]
} ], [ "create", "w34", "rwt.widgets.GridItem", {
"parent": "w32",
"index": 1,
"texts": [ "Component2" ],
"images": [ [ "rwt-resources/generated/ed797d19.png", 16, 16 ] ],
"font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false ]
} ], [ "create", "w35", "rwt.widgets.GridItem", {
"parent": "w32",
"index": 2,
"texts": [ "Component3" ],
"images": [ [ "rwt-resources/generated/ed797d19.png", 16, 16 ] ],
"font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false ]
} ], [ "create", "w36", "rwt.widgets.GridItem", {
"parent": "w23",
"index": 1,
"itemCount": 2,
"texts": [ "Widgets HowTo" ],
"images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
"font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false ]
} ], [ "create", "w37", "rwt.widgets.GridItem", {
"parent": "w36",
"index": 0,
"itemCount": 4,
"texts": [ "Labels" ],
"images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
"font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false ]
} ], [ "create", "w38", "rwt.widgets.GridItem", {
"parent": "w37",
"index": 0,
"texts": [ "Label with text" ],
"images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
"font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false ]
} ], [ "create", "w39", "rwt.widgets.GridItem", {
"parent": "w37",
"index": 1,
"texts": [ "Label with icon" ],
"images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
"font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false ]
} ], [ "create", "w40", "rwt.widgets.GridItem", {
"parent": "w37",
"index": 2,
"texts": [ "Label with icon and text" ],
"images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
"font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false ]
} ], [ "create", "w41", "rwt.widgets.GridItem", {
"parent": "w37",
"index": 3,
"texts": [ "Labels Kitchensink" ],
"images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
"font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false ]
} ], [ "create", "w42", "rwt.widgets.GridItem", {
"parent": "w36",
"index": 1,
"itemCount": 2,
"texts": [ "Addons" ],
"images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
"font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false ]
} ], [ "create", "w43", "rwt.widgets.GridItem", {
"parent": "w42",
"index": 0,
"texts": [ "Browser" ],
"images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
"font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false ]
} ], [ "create", "w44", "rwt.widgets.GridItem", {
"parent": "w42",
"index": 1,
"texts": [ "Map" ],
"images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
"font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false ]
} ], [ "create", "w45", "rwt.widgets.GridItem", {
"parent": "w23",
"index": 2,
"itemCount": 1,
"texts": [ "Misc" ],
"images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
"font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false ]
} ], [ "create", "w46", "rwt.widgets.GridItem", {
"parent": "w45",
"index": 0,
"texts": [ "Important" ],
"images": [ [ "rwt-resources/generated/87f496a7.png", 16, 16 ] ],
"font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false ]
} ], [ "create", "w48", "rwt.widgets.Composite", {
"parent": "w13",
"style": [ "NONE" ],
"bounds": [ 0, 0, 0, 0 ],
"children": [ "w49", "w52", "w53" ],
"tabIndex": -1,
"visibility": false,
"background": [ 0, 0, 0, 0 ]
} ], [ "listen", "w48", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "create", "w49", "rwt.widgets.Composite", {
"parent": "w48",
"style": [ "NONE" ],
"bounds": [ 0, 0, 0, 0 ],
"children": [ "w50", "w51" ],
"tabIndex": -1,
"visibility": false,
"background": [ 0, 0, 0, 0 ]
} ], [ "listen", "w49", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "create", "w50", "rwt.widgets.ToolBar", {
"parent": "w49",
"style": [ "FLAT", "HORIZONTAL" ],
"bounds": [ 0, 0, 0, 22 ],
"children": [],
"tabIndex": 16,
"visibility": false,
"background": [ 0, 0, 0, 0 ]
} ], [ "listen", "w50", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "create", "w51", "rwt.widgets.ToolBar", {
"parent": "w49",
"style": [ "FLAT", "HORIZONTAL" ],
"bounds": [ 0, 0, 0, 22 ],
"children": [],
"tabIndex": 17,
"visibility": false,
"background": [ 0, 0, 0, 0 ]
} ], [ "listen", "w51", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "create", "w52", "rwt.widgets.Separator", {
"parent": "w48",
"style": [ "SEPARATOR", "HORIZONTAL", "SHADOW_OUT" ],
"bounds": [ 0, 0, 0, 0 ],
"tabIndex": -1,
"visibility": false,
"background": [ 0, 0, 0, 0 ]
} ], [ "listen", "w52", {
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "create", "w53", "rwt.widgets.Composite", {
"parent": "w48",
"style": [ "NONE" ],
"bounds": [ 0, 0, 0, 0 ],
"children": [ "w54" ],
"tabIndex": -1,
"visibility": false,
"background": [ 0, 0, 0, 0 ]
} ], [ "listen", "w53", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "create", "w54", "rwt.widgets.Grid", {
"parent": "w53",
"style": [ "MULTI" ],
"appearance": "tree",
"selectionPadding": [ 3, 5 ],
"indentionWidth": 16,
"markupEnabled": false
} ], [ "create", "w55", "rwt.widgets.ScrollBar", {
"parent": "w54",
"style": [ "HORIZONTAL" ]
} ], [ "create", "w56", "rwt.widgets.ScrollBar", {
"parent": "w54",
"style": [ "VERTICAL" ]
} ], [ "set", "w54", {
"bounds": [ 0, 0, 0, 0 ],
"children": [],
"tabIndex": 19,
"visibility": false
} ], [ "listen", "w54", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"KeyDown": true,
"MenuDetect": true
} ], [ "set", "w54", {
"itemCount": 1,
"itemHeight": 27,
"itemMetrics": [ [ 0, 0, 76, 0, 16, 22, 46 ] ]
} ], [ "listen", "w54", {
"Selection": true,
"DefaultSelection": true,
"Expand": true,
"Collapse": true
} ], [ "set", "w55", {
"visibility": true
} ], [ "set", "w56", {
"visibility": true
} ], [ "create", "w58", "rwt.widgets.GridItem", {
"parent": "w54",
"index": 0,
"itemCount": 1,
"texts": [ "Misc" ],
"images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
"font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false ]
} ], [ "create", "w59", "rwt.widgets.GridItem", {
"parent": "w58",
"index": 0,
"texts": [ "Important" ],
"images": [ [ "rwt-resources/generated/87f496a7.png", 16, 16 ] ],
"font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false ]
} ], [ "create", "w12", "rwt.widgets.Composite", {
"parent": "w9",
"style": [ "NONE" ],
"bounds": [ 181, 0, 807, 521 ],
"children": [ "w14" ],
"tabIndex": -1,
"background": [ 0, 0, 0, 0 ]
} ], [ "listen", "w12", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "create", "w14", "rwt.widgets.CTabFolder", {
"parent": "w12",
"style": [ "MULTI", "BORDER" ],
"toolTipTexts": [ "Minimize", "Maximize", "Restore", "Show List", "Close" ],
"bounds": [ 0, 0, 807, 521 ],
"children": [],
"tabIndex": 21,
"background": [ 0, 0, 0, 0 ]
} ], [ "listen", "w14", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "set", "w14", {
"tabHeight": 26,
"borderVisible": true
} ], [ "listen", "w14", {
"Selection": true,
"DefaultSelection": true,
"Folder": true
} ], [ "create", "w15", "rwt.widgets.Composite", {
"parent": "w3",
"style": [ "NONE" ],
"bounds": [ 2, 556, 0, 0 ],
"children": [],
"tabIndex": -1,
"visibility": false,
"background": [ 0, 0, 0, 0 ]
} ], [ "listen", "w15", {
"FocusIn": true,
"FocusOut": true,
"MouseDown": true,
"MouseUp": true,
"MouseDoubleClick": true,
"MenuDetect": true
} ], [ "create", "w5", "rwt.widgets.ToolTip", {
"parent": "w2",
"style": [ "NONE" ],
"autoHide": true
} ], [ "create", "w26", "rwt.widgets.ToolTip", {
"parent": "w2",
"style": [ "NONE" ],
"autoHide": true
} ], [ "create", "w29", "rwt.widgets.ToolTip", {
"parent": "w2",
"style": [ "NONE" ],
"autoHide": true
} ], [ "create", "w57", "rwt.widgets.ToolTip", {
"parent": "w2",
"style": [ "NONE" ],
"autoHide": true
} ], [ "create", "w69", "rwt.widgets.ToolTip", {
"parent": "w2",
"style": [ "NONE" ],
"autoHide": true
} ], [ "create", "w79", "rwt.widgets.ToolTip", {
"parent": "w2",
"style": [ "NONE" ],
"autoHide": true
} ], [ "set", "w1", {
"focusControl": "w3"
} ], [ "set", "rwt.client.ServerPush", {
"active": true
} ], [ "call", "rwt.client.TextSizeMeasurement", "measureItems", {
"items": [ [ "t-277308397", "Misc", [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [ "t1377927101", "Components", [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [ "t-1713147046", "App 1", [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [ "t-1713147047", "App 1", [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [ "t-1713146085", "App 2", [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [ "t-1713146086", "App 2", [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [ "t-2104783487", "Widgets HowTo", [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [ "t1712723464", "", [ "Verdana", "Lucida Sans", "Arial", "Helvetica", "sans-serif" ], 12, false, false, -1, false ] ]
} ] ]
}
description: Operation "listen" on target "w4" of type "rwt.widgets.MenuBar" failed:
Das Objekt unterstützt die Eigenschaft oder Methode "setHasShowListener" nicht
Properties:
Show = true
Hide = true

message: Operation "listen" on target "w4" of type "rwt.widgets.MenuBar" failed:
Das Objekt unterstützt die Eigenschaft oder Methode "setHasShowListener" nicht
Properties:
Show = true
Hide = true

name: Error
Debug: off
Request: {"head":{"rwt_initialize":true},"operations":[["set","w1",{"bounds":[0,0,1817,983],"dpi":[96,96],"colorDepth":24}],["set","rwt.client.ClientInfo",{"timezoneOffset":-60}],["call","rwt.client.TextSizeMeasurement","storeMeasurements",{"results":{"p-785380485":[658,15]}}],["set","w1",{"cursorLocation":[0,0]}]]}


Because the error message seems to be very detailed, maybe you can give me a hint without the need to send my example code to you.

The application i try to start consists of a main shell with menu bar, toolbar, some splitters an tab folders (a kitchensink application). The same application works with Rap 1.4 and Rap 1.5. Removing the menu bar and the toolbar from the shell leads to another error:

Error: Error: Operation "listen" on target "w20" of type "rwt.widgets.MenuBar" failed:
Das Objekt unterstützt die Eigenschaft oder Methode "setHasShowListener" nicht
Properties:
Show = true
Hide = true

...



Re: Operation "listen" on target "w4" of type "rwt.widg [message #1001694 is a reply to message #1001335] Thu, 17 January 2013 08:20 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Michael,
this is definitely a bug. Please open a bugzilla to track the progress
on it.
Thanks,
Ivan

On 1/16/2013 4:07 PM, Michael Grossmann wrote:
> I tryed to switch from RAP 1.5.1 (1.5.1.20120917-1116) to newest
> milestone release of RAP 2.0 M4 (2.0.0.20121218-1016).
>
> I start my application as plain rwt application like described here:
> http://www.eclipse.org/rap/developers-guide/devguide.php?topic=advanced/rwt-standalone.html&version=1.5
>
>
> with respect of the issues described here:
> http://www.eclipse.org/rap/noteworthy/2.0/migration-guide/
>
> All deprecated issues was fixed like suggested.
>
> After changing to version 2 the application startup fails with the
> following error page:
>
> Could not process server response:
> Error: Error: Operation "listen" on target "w4" of type
> "rwt.widgets.MenuBar" failed:
> Das Objekt unterstützt die Eigenschaft oder Methode
> "setHasShowListener" nicht
> Properties: Show = true
> Hide = true
>
>
> Script: {
> "head": {
> "requestCounter": 0
> },
> "operations": [ [ "create", "w2", "rwt.widgets.Shell", {
> "style": [ "CLOSE", "MIN", "MAX", "RESIZE", "TITLE" ]
> } ], [ "listen", "w2", {
> "Move": true,
> "Resize": true,
> "Activate": true,
> "Close": true
> } ], [ "set", "w2", {
> "image": [ "rwt-resources/generated/d3359101.png", 16, 16 ],
> "text": "Hello Workbench",
> "active": true,
> "minimumSize": [ 80, 40 ],
> "activeControl": "w3",
> "bounds": [ 396, 166, 1024, 650 ],
> "children": [ "w3" ],
> "tabIndex": -1,
> "visibility": true
> } ], [ "listen", "w2", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w4", "rwt.widgets.Menu", {
> "style": [ "BAR" ]
> } ], [ "listen", "w4", {
> "Show": true,
> "Hide": true
> } ], [ "set", "w4", {
> "parent": "w2",
> "bounds": [ 15, 54, 992, 23 ]
> } ], [ "create", "w67", "rwt.widgets.MenuItem", {
> "parent": "w4",
> "style": [ "CASCADE" ],
> "index": 0,
> "text": "&File",
> "menu": "w68"
> } ], [ "create", "w77", "rwt.widgets.MenuItem", {
> "parent": "w4",
> "style": [ "CASCADE" ],
> "index": 1,
> "text": "&Edit",
> "menu": "w78"
> } ], [ "create", "w28", "rwt.widgets.Menu", {
> "style": [ "POP_UP" ]
> } ], [ "listen", "w28", {
> "Show": true,
> "Hide": true
> } ], [ "create", "w30", "rwt.widgets.MenuItem", {
> "parent": "w28",
> "style": [ "PUSH" ],
> "index": 0,
> "text": "Add new Folder"
> } ], [ "listen", "w30", {
> "Selection": true
> } ], [ "create", "w68", "rwt.widgets.Menu", {
> "style": [ "DROP_DOWN" ]
> } ], [ "listen", "w68", {
> "Show": true,
> "Hide": true
> } ], [ "create", "w70", "rwt.widgets.MenuItem", {
> "parent": "w68",
> "style": [ "PUSH" ],
> "index": 0,
> "text": "New "
> } ], [ "listen", "w70", {
> "Selection": true
> } ], [ "create", "w71", "rwt.widgets.MenuItem", {
> "parent": "w68",
> "style": [ "PUSH" ],
> "index": 1,
> "text": "Open file... "
> } ], [ "listen", "w71", {
> "Selection": true
> } ], [ "create", "w72", "rwt.widgets.MenuItem", {
> "parent": "w68",
> "style": [ "SEPARATOR" ],
> "index": 2
> } ], [ "create", "w73", "rwt.widgets.MenuItem", {
> "parent": "w68",
> "style": [ "PUSH" ],
> "index": 3,
> "text": "Save",
> "image": [ "rwt-resources/generated/66f715d2.png", 16, 16 ]
> } ], [ "listen", "w73", {
> "Selection": true
> } ], [ "create", "w74", "rwt.widgets.MenuItem", {
> "parent": "w68",
> "style": [ "PUSH" ],
> "index": 4,
> "text": "Save As...",
> "image": [ "rwt-resources/generated/66f715d2.png", 16, 16 ]
> } ], [ "listen", "w74", {
> "Selection": true
> } ], [ "create", "w75", "rwt.widgets.MenuItem", {
> "parent": "w68",
> "style": [ "SEPARATOR" ],
> "index": 5
> } ], [ "create", "w76", "rwt.widgets.MenuItem", {
> "parent": "w68",
> "style": [ "PUSH" ],
> "index": 6,
> "text": "Exit"
> } ], [ "listen", "w76", {
> "Selection": true
> } ], [ "create", "w78", "rwt.widgets.Menu", {
> "style": [ "DROP_DOWN" ]
> } ], [ "listen", "w78", {
> "Show": true,
> "Hide": true
> } ], [ "create", "w80", "rwt.widgets.MenuItem", {
> "parent": "w78",
> "style": [ "PUSH" ],
> "index": 0,
> "text": "Cut",
> "image": [ "rwt-resources/generated/8022c71d.png", 16, 16 ]
> } ], [ "listen", "w80", {
> "Selection": true
> } ], [ "create", "w81", "rwt.widgets.MenuItem", {
> "parent": "w78",
> "style": [ "PUSH" ],
> "index": 1,
> "text": "Copy",
> "image": [ "rwt-resources/generated/29069ec8.png", 16, 16 ]
> } ], [ "listen", "w81", {
> "Selection": true
> } ], [ "create", "w82", "rwt.widgets.MenuItem", {
> "parent": "w78",
> "style": [ "PUSH" ],
> "index": 2,
> "text": "Paste",
> "image": [ "rwt-resources/generated/a330b322.png", 16, 16 ]
> } ], [ "listen", "w82", {
> "Selection": true
> } ], [ "create", "w3", "rwt.widgets.Composite", {
> "parent": "w2",
> "style": [ "NONE" ],
> "bounds": [ 15, 76, 992, 557 ],
> "children": [ "w6", "w8", "w15" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w3", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w6", "rwt.widgets.Composite", {
> "parent": "w3",
> "style": [ "NONE" ],
> "bounds": [ 2, 1, 988, 32 ],
> "children": [ "w7" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w6", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w7", "rwt.widgets.ToolBar", {
> "parent": "w6",
> "style": [ "FLAT", "HORIZONTAL" ],
> "bounds": [ 0, 0, 988, 32 ],
> "children": [],
> "tabIndex": 3,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w7", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w60", "rwt.widgets.ToolItem", {
> "parent": "w7",
> "style": [ "PUSH" ],
> "index": 0,
> "bounds": [ 0, 0, 32, 32 ],
> "toolTip": "Save",
> "image": [ "rwt-resources/generated/66f715d2.png", 16, 16 ]
> } ], [ "listen", "w60", {
> "Selection": true
> } ], [ "create", "w61", "rwt.widgets.ToolItem", {
> "parent": "w7",
> "style": [ "SEPARATOR" ],
> "index": 1,
> "bounds": [ 32, 0, 4, 32 ]
> } ], [ "create", "w62", "rwt.widgets.ToolItem", {
> "parent": "w7",
> "style": [ "PUSH" ],
> "index": 2,
> "bounds": [ 36, 0, 32, 32 ],
> "toolTip": "Cut",
> "image": [ "rwt-resources/generated/8022c71d.png", 16, 16 ]
> } ], [ "listen", "w62", {
> "Selection": true
> } ], [ "create", "w63", "rwt.widgets.ToolItem", {
> "parent": "w7",
> "style": [ "PUSH" ],
> "index": 3,
> "bounds": [ 68, 0, 32, 32 ],
> "toolTip": "Copy",
> "image": [ "rwt-resources/generated/29069ec8.png", 16, 16 ]
> } ], [ "listen", "w63", {
> "Selection": true
> } ], [ "create", "w64", "rwt.widgets.ToolItem", {
> "parent": "w7",
> "style": [ "PUSH" ],
> "index": 4,
> "bounds": [ 100, 0, 32, 32 ],
> "toolTip": "Paste",
> "image": [ "rwt-resources/generated/a330b322.png", 16, 16 ]
> } ], [ "listen", "w64", {
> "Selection": true
> } ], [ "create", "w65", "rwt.widgets.ToolItem", {
> "parent": "w7",
> "style": [ "SEPARATOR" ],
> "index": 5,
> "bounds": [ 132, 0, 4, 32 ]
> } ], [ "create", "w66", "rwt.widgets.ToolItem", {
> "parent": "w7",
> "style": [ "PUSH" ],
> "index": 6,
> "bounds": [ 136, 0, 32, 32 ],
> "toolTip": "Print",
> "image": [ "rwt-resources/generated/e2ed4beb.png", 16, 16 ]
> } ], [ "listen", "w66", {
> "Selection": true
> } ], [ "create", "w8", "rwt.widgets.Composite", {
> "parent": "w3",
> "style": [ "NONE" ],
> "bounds": [ 2, 34, 988, 521 ],
> "children": [ "w9" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w8", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w9", "rwt.widgets.Composite", {
> "parent": "w8",
> "style": [ "NONE" ],
> "bounds": [ 0, 0, 988, 521 ],
> "children": [ "w10", "w11", "w12" ],
> "tabIndex": 5,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w9", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w10", "rwt.widgets.Sash", {
> "parent": "w9",
> "style": [ "VERTICAL", "SMOOTH" ],
> "bounds": [ 177, 0, 4, 521 ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "create", "w11", "rwt.widgets.Composite", {
> "parent": "w9",
> "style": [ "NONE" ],
> "bounds": [ 0, 0, 177, 521 ],
> "children": [ "w13" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w11", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w13", "rwt.widgets.CTabFolder", {
> "parent": "w11",
> "style": [ "MULTI", "BORDER" ],
> "toolTipTexts": [ "Minimize", "Maximize", "Restore", "Show List",
> "Close" ],
> "bounds": [ 0, 0, 177, 521 ],
> "children": [ "w17", "w48" ],
> "tabIndex": 7,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w13", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "set", "w13", {
> "tabHeight": 27,
> "chevronBounds": [ 124, 5, 27, 18 ],
> "chevronVisible": true,
> "selection": "w16",
> "borderVisible": true
> } ], [ "listen", "w13", {
> "Selection": true,
> "DefaultSelection": true,
> "Folder": true
> } ], [ "create", "w16", "rwt.widgets.CTabItem", {
> "parent": "w13",
> "index": 0,
> "style": [ "CLOSE" ],
> "toolTip": "Application Demo 1",
> "bounds": [ 0, 0, 121, 28 ],
> "text": "App 1",
> "image": [ "rwt-resources/generated/b0ed535f.png", 16, 16 ],
> "showClose": true
> } ], [ "create", "w47", "rwt.widgets.CTabItem", {
> "parent": "w13",
> "index": 1,
> "style": [ "CLOSE" ],
> "toolTip": "Application Demo 2",
> "bounds": [ 1827, 0, 121, 28 ],
> "image": [ "rwt-resources/generated/c4119133.png", 16, 16 ],
> "showing": false,
> "showClose": true
> } ], [ "create", "w17", "rwt.widgets.Composite", {
> "parent": "w13",
> "style": [ "NONE" ],
> "bounds": [ 3, 31, 171, 487 ],
> "children": [ "w18", "w21", "w22" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w17", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w18", "rwt.widgets.Composite", {
> "parent": "w17",
> "style": [ "NONE" ],
> "bounds": [ 0, 0, 171, 32 ],
> "children": [ "w19", "w20" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w18", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w19", "rwt.widgets.ToolBar", {
> "parent": "w18",
> "style": [ "FLAT", "HORIZONTAL" ],
> "bounds": [ 0, 0, 107, 32 ],
> "children": [],
> "tabIndex": 10,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w19", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w20", "rwt.widgets.ToolBar", {
> "parent": "w18",
> "style": [ "FLAT", "HORIZONTAL" ],
> "bounds": [ 107, 0, 64, 32 ],
> "children": [],
> "tabIndex": 11,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w20", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w31", "rwt.widgets.ToolItem", {
> "parent": "w20",
> "style": [ "PUSH" ],
> "index": 0,
> "bounds": [ 0, 0, 32, 32 ],
> "toolTip": "Add new Folder",
> "image": [ "rwt-resources/generated/b9c3fcee.png", 16, 16 ]
> } ], [ "listen", "w31", {
> "Selection": true
> } ], [ "create", "w27", "rwt.widgets.ToolItem", {
> "parent": "w20",
> "style": [ "PUSH" ],
> "index": 1,
> "bounds": [ 32, 0, 32, 32 ],
> "image": [ "rwt-resources/generated/3ca2d024.png", 16, 16 ]
> } ], [ "listen", "w27", {
> "Selection": true
> } ], [ "create", "w21", "rwt.widgets.Separator", {
> "parent": "w17",
> "style": [ "SEPARATOR", "HORIZONTAL", "SHADOW_OUT" ],
> "bounds": [ 0, 32, 171, 2 ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w21", {
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w22", "rwt.widgets.Composite", {
> "parent": "w17",
> "style": [ "NONE" ],
> "bounds": [ 0, 34, 171, 453 ],
> "children": [ "w23" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w22", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w23", "rwt.widgets.Grid", {
> "parent": "w22",
> "style": [ "MULTI" ],
> "appearance": "tree",
> "selectionPadding": [ 3, 5 ],
> "indentionWidth": 16,
> "markupEnabled": false
> } ], [ "create", "w24", "rwt.widgets.ScrollBar", {
> "parent": "w23",
> "style": [ "HORIZONTAL" ]
> } ], [ "create", "w25", "rwt.widgets.ScrollBar", {
> "parent": "w23",
> "style": [ "VERTICAL" ]
> } ], [ "set", "w23", {
> "bounds": [ 0, 0, 171, 453 ],
> "children": [],
> "tabIndex": 13
> } ], [ "listen", "w23", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "KeyDown": true,
> "MenuDetect": true
> } ], [ "set", "w23", {
> "itemCount": 3,
> "itemHeight": 27,
> "itemMetrics": [ [ 0, 0, 143, 0, 16, 22, 113 ] ]
> } ], [ "listen", "w23", {
> "Selection": true,
> "DefaultSelection": true,
> "Expand": true,
> "Collapse": true
> } ], [ "create", "w32", "rwt.widgets.GridItem", {
> "parent": "w23",
> "index": 0,
> "itemCount": 3,
> "texts": [ "Components" ],
> "images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w33", "rwt.widgets.GridItem", {
> "parent": "w32",
> "index": 0,
> "texts": [ "Component1" ],
> "images": [ [ "rwt-resources/generated/ed797d19.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w34", "rwt.widgets.GridItem", {
> "parent": "w32",
> "index": 1,
> "texts": [ "Component2" ],
> "images": [ [ "rwt-resources/generated/ed797d19.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w35", "rwt.widgets.GridItem", {
> "parent": "w32",
> "index": 2,
> "texts": [ "Component3" ],
> "images": [ [ "rwt-resources/generated/ed797d19.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w36", "rwt.widgets.GridItem", {
> "parent": "w23",
> "index": 1,
> "itemCount": 2,
> "texts": [ "Widgets HowTo" ],
> "images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w37", "rwt.widgets.GridItem", {
> "parent": "w36",
> "index": 0,
> "itemCount": 4,
> "texts": [ "Labels" ],
> "images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w38", "rwt.widgets.GridItem", {
> "parent": "w37",
> "index": 0,
> "texts": [ "Label with text" ],
> "images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w39", "rwt.widgets.GridItem", {
> "parent": "w37",
> "index": 1,
> "texts": [ "Label with icon" ],
> "images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w40", "rwt.widgets.GridItem", {
> "parent": "w37",
> "index": 2,
> "texts": [ "Label with icon and text" ],
> "images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w41", "rwt.widgets.GridItem", {
> "parent": "w37",
> "index": 3,
> "texts": [ "Labels Kitchensink" ],
> "images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w42", "rwt.widgets.GridItem", {
> "parent": "w36",
> "index": 1,
> "itemCount": 2,
> "texts": [ "Addons" ],
> "images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w43", "rwt.widgets.GridItem", {
> "parent": "w42",
> "index": 0,
> "texts": [ "Browser" ],
> "images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w44", "rwt.widgets.GridItem", {
> "parent": "w42",
> "index": 1,
> "texts": [ "Map" ],
> "images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w45", "rwt.widgets.GridItem", {
> "parent": "w23",
> "index": 2,
> "itemCount": 1,
> "texts": [ "Misc" ],
> "images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w46", "rwt.widgets.GridItem", {
> "parent": "w45",
> "index": 0,
> "texts": [ "Important" ],
> "images": [ [ "rwt-resources/generated/87f496a7.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w48", "rwt.widgets.Composite", {
> "parent": "w13",
> "style": [ "NONE" ],
> "bounds": [ 0, 0, 0, 0 ],
> "children": [ "w49", "w52", "w53" ],
> "tabIndex": -1,
> "visibility": false,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w48", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w49", "rwt.widgets.Composite", {
> "parent": "w48",
> "style": [ "NONE" ],
> "bounds": [ 0, 0, 0, 0 ],
> "children": [ "w50", "w51" ],
> "tabIndex": -1,
> "visibility": false,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w49", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w50", "rwt.widgets.ToolBar", {
> "parent": "w49",
> "style": [ "FLAT", "HORIZONTAL" ],
> "bounds": [ 0, 0, 0, 22 ],
> "children": [],
> "tabIndex": 16,
> "visibility": false,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w50", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w51", "rwt.widgets.ToolBar", {
> "parent": "w49",
> "style": [ "FLAT", "HORIZONTAL" ],
> "bounds": [ 0, 0, 0, 22 ],
> "children": [],
> "tabIndex": 17,
> "visibility": false,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w51", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w52", "rwt.widgets.Separator", {
> "parent": "w48",
> "style": [ "SEPARATOR", "HORIZONTAL", "SHADOW_OUT" ],
> "bounds": [ 0, 0, 0, 0 ],
> "tabIndex": -1,
> "visibility": false,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w52", {
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w53", "rwt.widgets.Composite", {
> "parent": "w48",
> "style": [ "NONE" ],
> "bounds": [ 0, 0, 0, 0 ],
> "children": [ "w54" ],
> "tabIndex": -1,
> "visibility": false,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w53", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w54", "rwt.widgets.Grid", {
> "parent": "w53",
> "style": [ "MULTI" ],
> "appearance": "tree",
> "selectionPadding": [ 3, 5 ],
> "indentionWidth": 16,
> "markupEnabled": false
> } ], [ "create", "w55", "rwt.widgets.ScrollBar", {
> "parent": "w54",
> "style": [ "HORIZONTAL" ]
> } ], [ "create", "w56", "rwt.widgets.ScrollBar", {
> "parent": "w54",
> "style": [ "VERTICAL" ]
> } ], [ "set", "w54", {
> "bounds": [ 0, 0, 0, 0 ],
> "children": [],
> "tabIndex": 19,
> "visibility": false
> } ], [ "listen", "w54", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "KeyDown": true,
> "MenuDetect": true
> } ], [ "set", "w54", {
> "itemCount": 1,
> "itemHeight": 27,
> "itemMetrics": [ [ 0, 0, 76, 0, 16, 22, 46 ] ]
> } ], [ "listen", "w54", {
> "Selection": true,
> "DefaultSelection": true,
> "Expand": true,
> "Collapse": true
> } ], [ "set", "w55", {
> "visibility": true
> } ], [ "set", "w56", {
> "visibility": true
> } ], [ "create", "w58", "rwt.widgets.GridItem", {
> "parent": "w54",
> "index": 0,
> "itemCount": 1,
> "texts": [ "Misc" ],
> "images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w59", "rwt.widgets.GridItem", {
> "parent": "w58",
> "index": 0,
> "texts": [ "Important" ],
> "images": [ [ "rwt-resources/generated/87f496a7.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w12", "rwt.widgets.Composite", {
> "parent": "w9",
> "style": [ "NONE" ],
> "bounds": [ 181, 0, 807, 521 ],
> "children": [ "w14" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w12", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w14", "rwt.widgets.CTabFolder", {
> "parent": "w12",
> "style": [ "MULTI", "BORDER" ],
> "toolTipTexts": [ "Minimize", "Maximize", "Restore", "Show List",
> "Close" ],
> "bounds": [ 0, 0, 807, 521 ],
> "children": [],
> "tabIndex": 21,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w14", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "set", "w14", {
> "tabHeight": 26,
> "borderVisible": true
> } ], [ "listen", "w14", {
> "Selection": true,
> "DefaultSelection": true,
> "Folder": true
> } ], [ "create", "w15", "rwt.widgets.Composite", {
> "parent": "w3",
> "style": [ "NONE" ],
> "bounds": [ 2, 556, 0, 0 ],
> "children": [],
> "tabIndex": -1,
> "visibility": false,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w15", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w5", "rwt.widgets.ToolTip", {
> "parent": "w2",
> "style": [ "NONE" ],
> "autoHide": true
> } ], [ "create", "w26", "rwt.widgets.ToolTip", {
> "parent": "w2",
> "style": [ "NONE" ],
> "autoHide": true
> } ], [ "create", "w29", "rwt.widgets.ToolTip", {
> "parent": "w2",
> "style": [ "NONE" ],
> "autoHide": true
> } ], [ "create", "w57", "rwt.widgets.ToolTip", {
> "parent": "w2",
> "style": [ "NONE" ],
> "autoHide": true
> } ], [ "create", "w69", "rwt.widgets.ToolTip", {
> "parent": "w2",
> "style": [ "NONE" ],
> "autoHide": true
> } ], [ "create", "w79", "rwt.widgets.ToolTip", {
> "parent": "w2",
> "style": [ "NONE" ],
> "autoHide": true
> } ], [ "set", "w1", {
> "focusControl": "w3"
> } ], [ "set", "rwt.client.ServerPush", {
> "active": true
> } ], [ "call", "rwt.client.TextSizeMeasurement", "measureItems", {
> "items": [ [ "t-277308397", "Misc", [ "Verdana", "Lucida Sans",
> "Arial", "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [
> "t1377927101", "Components", [ "Verdana", "Lucida Sans", "Arial",
> "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [
> "t-1713147046", "App 1", [ "Verdana", "Lucida Sans", "Arial",
> "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [
> "t-1713147047", "App 1", [ "Verdana", "Lucida Sans", "Arial",
> "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [
> "t-1713146085", "App 2", [ "Verdana", "Lucida Sans", "Arial",
> "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [
> "t-1713146086", "App 2", [ "Verdana", "Lucida Sans", "Arial",
> "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [
> "t-2104783487", "Widgets HowTo", [ "Verdana", "Lucida Sans", "Arial",
> "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [
> "t1712723464", "", [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false, -1, false ] ]
> } ] ]
> }
> description: Operation "listen" on target "w4" of type
> "rwt.widgets.MenuBar" failed:
> Das Objekt unterstützt die Eigenschaft oder Methode
> "setHasShowListener" nicht
> Properties: Show = true
> Hide = true
>
> message: Operation "listen" on target "w4" of type
> "rwt.widgets.MenuBar" failed:
> Das Objekt unterstützt die Eigenschaft oder Methode
> "setHasShowListener" nicht
> Properties: Show = true
> Hide = true
>
> name: Error
> Debug: off
> Request:
> {"head":{"rwt_initialize":true},"operations":[["set","w1",{"bounds":[0,0,1817,983],"dpi":[96,96],"colorDepth":24}],["set","rwt.client.ClientInfo",{"timezoneOffset":-60}],["call","rwt.client.TextSizeMeasurement","storeMeasurements",{"results":{"p-785380485":[658,15]}}],["set","w1",{"cursorLocation":[0,0]}]]}
>
> Because the error message seems to be very detailed, maybe you can
> give me a hint without the need to send my example code to you.
>
> The application i try to start consists of a main shell with menu bar,
> toolbar, some splitters an tab folders (a kitchensink application).
> The same application works with Rap 1.4 and Rap 1.5. Removing the menu
> bar and the toolbar from the shell leads to another error:
>
> Error: Error: Operation "listen" on target "w20" of type
> "rwt.widgets.MenuBar" failed:
> Das Objekt unterstützt die Eigenschaft oder Methode
> "setHasShowListener" nicht
> Properties: Show = true
> Hide = true
> ..
>
>
>
>

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Operation "listen" on target "w4" of type "rwt.widg [message #1001704 is a reply to message #1001335] Thu, 17 January 2013 08:47 Go to previous messageGo to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
I can reproduce it and opened a bug:
398359: [MenuBar] Adding menu listener leads to JavaScript error
https://bugs.eclipse.org/bugs/show_bug.cgi?id=398359
Best,
Ivan

On 1/16/2013 4:07 PM, Michael Grossmann wrote:
> I tryed to switch from RAP 1.5.1 (1.5.1.20120917-1116) to newest
> milestone release of RAP 2.0 M4 (2.0.0.20121218-1016).
>
> I start my application as plain rwt application like described here:
> http://www.eclipse.org/rap/developers-guide/devguide.php?topic=advanced/rwt-standalone.html&version=1.5
>
>
> with respect of the issues described here:
> http://www.eclipse.org/rap/noteworthy/2.0/migration-guide/
>
> All deprecated issues was fixed like suggested.
>
> After changing to version 2 the application startup fails with the
> following error page:
>
> Could not process server response:
> Error: Error: Operation "listen" on target "w4" of type
> "rwt.widgets.MenuBar" failed:
> Das Objekt unterstützt die Eigenschaft oder Methode
> "setHasShowListener" nicht
> Properties: Show = true
> Hide = true
>
>
> Script: {
> "head": {
> "requestCounter": 0
> },
> "operations": [ [ "create", "w2", "rwt.widgets.Shell", {
> "style": [ "CLOSE", "MIN", "MAX", "RESIZE", "TITLE" ]
> } ], [ "listen", "w2", {
> "Move": true,
> "Resize": true,
> "Activate": true,
> "Close": true
> } ], [ "set", "w2", {
> "image": [ "rwt-resources/generated/d3359101.png", 16, 16 ],
> "text": "Hello Workbench",
> "active": true,
> "minimumSize": [ 80, 40 ],
> "activeControl": "w3",
> "bounds": [ 396, 166, 1024, 650 ],
> "children": [ "w3" ],
> "tabIndex": -1,
> "visibility": true
> } ], [ "listen", "w2", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w4", "rwt.widgets.Menu", {
> "style": [ "BAR" ]
> } ], [ "listen", "w4", {
> "Show": true,
> "Hide": true
> } ], [ "set", "w4", {
> "parent": "w2",
> "bounds": [ 15, 54, 992, 23 ]
> } ], [ "create", "w67", "rwt.widgets.MenuItem", {
> "parent": "w4",
> "style": [ "CASCADE" ],
> "index": 0,
> "text": "&File",
> "menu": "w68"
> } ], [ "create", "w77", "rwt.widgets.MenuItem", {
> "parent": "w4",
> "style": [ "CASCADE" ],
> "index": 1,
> "text": "&Edit",
> "menu": "w78"
> } ], [ "create", "w28", "rwt.widgets.Menu", {
> "style": [ "POP_UP" ]
> } ], [ "listen", "w28", {
> "Show": true,
> "Hide": true
> } ], [ "create", "w30", "rwt.widgets.MenuItem", {
> "parent": "w28",
> "style": [ "PUSH" ],
> "index": 0,
> "text": "Add new Folder"
> } ], [ "listen", "w30", {
> "Selection": true
> } ], [ "create", "w68", "rwt.widgets.Menu", {
> "style": [ "DROP_DOWN" ]
> } ], [ "listen", "w68", {
> "Show": true,
> "Hide": true
> } ], [ "create", "w70", "rwt.widgets.MenuItem", {
> "parent": "w68",
> "style": [ "PUSH" ],
> "index": 0,
> "text": "New "
> } ], [ "listen", "w70", {
> "Selection": true
> } ], [ "create", "w71", "rwt.widgets.MenuItem", {
> "parent": "w68",
> "style": [ "PUSH" ],
> "index": 1,
> "text": "Open file... "
> } ], [ "listen", "w71", {
> "Selection": true
> } ], [ "create", "w72", "rwt.widgets.MenuItem", {
> "parent": "w68",
> "style": [ "SEPARATOR" ],
> "index": 2
> } ], [ "create", "w73", "rwt.widgets.MenuItem", {
> "parent": "w68",
> "style": [ "PUSH" ],
> "index": 3,
> "text": "Save",
> "image": [ "rwt-resources/generated/66f715d2.png", 16, 16 ]
> } ], [ "listen", "w73", {
> "Selection": true
> } ], [ "create", "w74", "rwt.widgets.MenuItem", {
> "parent": "w68",
> "style": [ "PUSH" ],
> "index": 4,
> "text": "Save As...",
> "image": [ "rwt-resources/generated/66f715d2.png", 16, 16 ]
> } ], [ "listen", "w74", {
> "Selection": true
> } ], [ "create", "w75", "rwt.widgets.MenuItem", {
> "parent": "w68",
> "style": [ "SEPARATOR" ],
> "index": 5
> } ], [ "create", "w76", "rwt.widgets.MenuItem", {
> "parent": "w68",
> "style": [ "PUSH" ],
> "index": 6,
> "text": "Exit"
> } ], [ "listen", "w76", {
> "Selection": true
> } ], [ "create", "w78", "rwt.widgets.Menu", {
> "style": [ "DROP_DOWN" ]
> } ], [ "listen", "w78", {
> "Show": true,
> "Hide": true
> } ], [ "create", "w80", "rwt.widgets.MenuItem", {
> "parent": "w78",
> "style": [ "PUSH" ],
> "index": 0,
> "text": "Cut",
> "image": [ "rwt-resources/generated/8022c71d.png", 16, 16 ]
> } ], [ "listen", "w80", {
> "Selection": true
> } ], [ "create", "w81", "rwt.widgets.MenuItem", {
> "parent": "w78",
> "style": [ "PUSH" ],
> "index": 1,
> "text": "Copy",
> "image": [ "rwt-resources/generated/29069ec8.png", 16, 16 ]
> } ], [ "listen", "w81", {
> "Selection": true
> } ], [ "create", "w82", "rwt.widgets.MenuItem", {
> "parent": "w78",
> "style": [ "PUSH" ],
> "index": 2,
> "text": "Paste",
> "image": [ "rwt-resources/generated/a330b322.png", 16, 16 ]
> } ], [ "listen", "w82", {
> "Selection": true
> } ], [ "create", "w3", "rwt.widgets.Composite", {
> "parent": "w2",
> "style": [ "NONE" ],
> "bounds": [ 15, 76, 992, 557 ],
> "children": [ "w6", "w8", "w15" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w3", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w6", "rwt.widgets.Composite", {
> "parent": "w3",
> "style": [ "NONE" ],
> "bounds": [ 2, 1, 988, 32 ],
> "children": [ "w7" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w6", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w7", "rwt.widgets.ToolBar", {
> "parent": "w6",
> "style": [ "FLAT", "HORIZONTAL" ],
> "bounds": [ 0, 0, 988, 32 ],
> "children": [],
> "tabIndex": 3,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w7", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w60", "rwt.widgets.ToolItem", {
> "parent": "w7",
> "style": [ "PUSH" ],
> "index": 0,
> "bounds": [ 0, 0, 32, 32 ],
> "toolTip": "Save",
> "image": [ "rwt-resources/generated/66f715d2.png", 16, 16 ]
> } ], [ "listen", "w60", {
> "Selection": true
> } ], [ "create", "w61", "rwt.widgets.ToolItem", {
> "parent": "w7",
> "style": [ "SEPARATOR" ],
> "index": 1,
> "bounds": [ 32, 0, 4, 32 ]
> } ], [ "create", "w62", "rwt.widgets.ToolItem", {
> "parent": "w7",
> "style": [ "PUSH" ],
> "index": 2,
> "bounds": [ 36, 0, 32, 32 ],
> "toolTip": "Cut",
> "image": [ "rwt-resources/generated/8022c71d.png", 16, 16 ]
> } ], [ "listen", "w62", {
> "Selection": true
> } ], [ "create", "w63", "rwt.widgets.ToolItem", {
> "parent": "w7",
> "style": [ "PUSH" ],
> "index": 3,
> "bounds": [ 68, 0, 32, 32 ],
> "toolTip": "Copy",
> "image": [ "rwt-resources/generated/29069ec8.png", 16, 16 ]
> } ], [ "listen", "w63", {
> "Selection": true
> } ], [ "create", "w64", "rwt.widgets.ToolItem", {
> "parent": "w7",
> "style": [ "PUSH" ],
> "index": 4,
> "bounds": [ 100, 0, 32, 32 ],
> "toolTip": "Paste",
> "image": [ "rwt-resources/generated/a330b322.png", 16, 16 ]
> } ], [ "listen", "w64", {
> "Selection": true
> } ], [ "create", "w65", "rwt.widgets.ToolItem", {
> "parent": "w7",
> "style": [ "SEPARATOR" ],
> "index": 5,
> "bounds": [ 132, 0, 4, 32 ]
> } ], [ "create", "w66", "rwt.widgets.ToolItem", {
> "parent": "w7",
> "style": [ "PUSH" ],
> "index": 6,
> "bounds": [ 136, 0, 32, 32 ],
> "toolTip": "Print",
> "image": [ "rwt-resources/generated/e2ed4beb.png", 16, 16 ]
> } ], [ "listen", "w66", {
> "Selection": true
> } ], [ "create", "w8", "rwt.widgets.Composite", {
> "parent": "w3",
> "style": [ "NONE" ],
> "bounds": [ 2, 34, 988, 521 ],
> "children": [ "w9" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w8", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w9", "rwt.widgets.Composite", {
> "parent": "w8",
> "style": [ "NONE" ],
> "bounds": [ 0, 0, 988, 521 ],
> "children": [ "w10", "w11", "w12" ],
> "tabIndex": 5,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w9", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w10", "rwt.widgets.Sash", {
> "parent": "w9",
> "style": [ "VERTICAL", "SMOOTH" ],
> "bounds": [ 177, 0, 4, 521 ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "create", "w11", "rwt.widgets.Composite", {
> "parent": "w9",
> "style": [ "NONE" ],
> "bounds": [ 0, 0, 177, 521 ],
> "children": [ "w13" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w11", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w13", "rwt.widgets.CTabFolder", {
> "parent": "w11",
> "style": [ "MULTI", "BORDER" ],
> "toolTipTexts": [ "Minimize", "Maximize", "Restore", "Show List",
> "Close" ],
> "bounds": [ 0, 0, 177, 521 ],
> "children": [ "w17", "w48" ],
> "tabIndex": 7,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w13", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "set", "w13", {
> "tabHeight": 27,
> "chevronBounds": [ 124, 5, 27, 18 ],
> "chevronVisible": true,
> "selection": "w16",
> "borderVisible": true
> } ], [ "listen", "w13", {
> "Selection": true,
> "DefaultSelection": true,
> "Folder": true
> } ], [ "create", "w16", "rwt.widgets.CTabItem", {
> "parent": "w13",
> "index": 0,
> "style": [ "CLOSE" ],
> "toolTip": "Application Demo 1",
> "bounds": [ 0, 0, 121, 28 ],
> "text": "App 1",
> "image": [ "rwt-resources/generated/b0ed535f.png", 16, 16 ],
> "showClose": true
> } ], [ "create", "w47", "rwt.widgets.CTabItem", {
> "parent": "w13",
> "index": 1,
> "style": [ "CLOSE" ],
> "toolTip": "Application Demo 2",
> "bounds": [ 1827, 0, 121, 28 ],
> "image": [ "rwt-resources/generated/c4119133.png", 16, 16 ],
> "showing": false,
> "showClose": true
> } ], [ "create", "w17", "rwt.widgets.Composite", {
> "parent": "w13",
> "style": [ "NONE" ],
> "bounds": [ 3, 31, 171, 487 ],
> "children": [ "w18", "w21", "w22" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w17", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w18", "rwt.widgets.Composite", {
> "parent": "w17",
> "style": [ "NONE" ],
> "bounds": [ 0, 0, 171, 32 ],
> "children": [ "w19", "w20" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w18", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w19", "rwt.widgets.ToolBar", {
> "parent": "w18",
> "style": [ "FLAT", "HORIZONTAL" ],
> "bounds": [ 0, 0, 107, 32 ],
> "children": [],
> "tabIndex": 10,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w19", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w20", "rwt.widgets.ToolBar", {
> "parent": "w18",
> "style": [ "FLAT", "HORIZONTAL" ],
> "bounds": [ 107, 0, 64, 32 ],
> "children": [],
> "tabIndex": 11,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w20", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w31", "rwt.widgets.ToolItem", {
> "parent": "w20",
> "style": [ "PUSH" ],
> "index": 0,
> "bounds": [ 0, 0, 32, 32 ],
> "toolTip": "Add new Folder",
> "image": [ "rwt-resources/generated/b9c3fcee.png", 16, 16 ]
> } ], [ "listen", "w31", {
> "Selection": true
> } ], [ "create", "w27", "rwt.widgets.ToolItem", {
> "parent": "w20",
> "style": [ "PUSH" ],
> "index": 1,
> "bounds": [ 32, 0, 32, 32 ],
> "image": [ "rwt-resources/generated/3ca2d024.png", 16, 16 ]
> } ], [ "listen", "w27", {
> "Selection": true
> } ], [ "create", "w21", "rwt.widgets.Separator", {
> "parent": "w17",
> "style": [ "SEPARATOR", "HORIZONTAL", "SHADOW_OUT" ],
> "bounds": [ 0, 32, 171, 2 ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w21", {
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w22", "rwt.widgets.Composite", {
> "parent": "w17",
> "style": [ "NONE" ],
> "bounds": [ 0, 34, 171, 453 ],
> "children": [ "w23" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w22", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w23", "rwt.widgets.Grid", {
> "parent": "w22",
> "style": [ "MULTI" ],
> "appearance": "tree",
> "selectionPadding": [ 3, 5 ],
> "indentionWidth": 16,
> "markupEnabled": false
> } ], [ "create", "w24", "rwt.widgets.ScrollBar", {
> "parent": "w23",
> "style": [ "HORIZONTAL" ]
> } ], [ "create", "w25", "rwt.widgets.ScrollBar", {
> "parent": "w23",
> "style": [ "VERTICAL" ]
> } ], [ "set", "w23", {
> "bounds": [ 0, 0, 171, 453 ],
> "children": [],
> "tabIndex": 13
> } ], [ "listen", "w23", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "KeyDown": true,
> "MenuDetect": true
> } ], [ "set", "w23", {
> "itemCount": 3,
> "itemHeight": 27,
> "itemMetrics": [ [ 0, 0, 143, 0, 16, 22, 113 ] ]
> } ], [ "listen", "w23", {
> "Selection": true,
> "DefaultSelection": true,
> "Expand": true,
> "Collapse": true
> } ], [ "create", "w32", "rwt.widgets.GridItem", {
> "parent": "w23",
> "index": 0,
> "itemCount": 3,
> "texts": [ "Components" ],
> "images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w33", "rwt.widgets.GridItem", {
> "parent": "w32",
> "index": 0,
> "texts": [ "Component1" ],
> "images": [ [ "rwt-resources/generated/ed797d19.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w34", "rwt.widgets.GridItem", {
> "parent": "w32",
> "index": 1,
> "texts": [ "Component2" ],
> "images": [ [ "rwt-resources/generated/ed797d19.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w35", "rwt.widgets.GridItem", {
> "parent": "w32",
> "index": 2,
> "texts": [ "Component3" ],
> "images": [ [ "rwt-resources/generated/ed797d19.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w36", "rwt.widgets.GridItem", {
> "parent": "w23",
> "index": 1,
> "itemCount": 2,
> "texts": [ "Widgets HowTo" ],
> "images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w37", "rwt.widgets.GridItem", {
> "parent": "w36",
> "index": 0,
> "itemCount": 4,
> "texts": [ "Labels" ],
> "images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w38", "rwt.widgets.GridItem", {
> "parent": "w37",
> "index": 0,
> "texts": [ "Label with text" ],
> "images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w39", "rwt.widgets.GridItem", {
> "parent": "w37",
> "index": 1,
> "texts": [ "Label with icon" ],
> "images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w40", "rwt.widgets.GridItem", {
> "parent": "w37",
> "index": 2,
> "texts": [ "Label with icon and text" ],
> "images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w41", "rwt.widgets.GridItem", {
> "parent": "w37",
> "index": 3,
> "texts": [ "Labels Kitchensink" ],
> "images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w42", "rwt.widgets.GridItem", {
> "parent": "w36",
> "index": 1,
> "itemCount": 2,
> "texts": [ "Addons" ],
> "images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w43", "rwt.widgets.GridItem", {
> "parent": "w42",
> "index": 0,
> "texts": [ "Browser" ],
> "images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w44", "rwt.widgets.GridItem", {
> "parent": "w42",
> "index": 1,
> "texts": [ "Map" ],
> "images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w45", "rwt.widgets.GridItem", {
> "parent": "w23",
> "index": 2,
> "itemCount": 1,
> "texts": [ "Misc" ],
> "images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w46", "rwt.widgets.GridItem", {
> "parent": "w45",
> "index": 0,
> "texts": [ "Important" ],
> "images": [ [ "rwt-resources/generated/87f496a7.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w48", "rwt.widgets.Composite", {
> "parent": "w13",
> "style": [ "NONE" ],
> "bounds": [ 0, 0, 0, 0 ],
> "children": [ "w49", "w52", "w53" ],
> "tabIndex": -1,
> "visibility": false,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w48", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w49", "rwt.widgets.Composite", {
> "parent": "w48",
> "style": [ "NONE" ],
> "bounds": [ 0, 0, 0, 0 ],
> "children": [ "w50", "w51" ],
> "tabIndex": -1,
> "visibility": false,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w49", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w50", "rwt.widgets.ToolBar", {
> "parent": "w49",
> "style": [ "FLAT", "HORIZONTAL" ],
> "bounds": [ 0, 0, 0, 22 ],
> "children": [],
> "tabIndex": 16,
> "visibility": false,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w50", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w51", "rwt.widgets.ToolBar", {
> "parent": "w49",
> "style": [ "FLAT", "HORIZONTAL" ],
> "bounds": [ 0, 0, 0, 22 ],
> "children": [],
> "tabIndex": 17,
> "visibility": false,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w51", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w52", "rwt.widgets.Separator", {
> "parent": "w48",
> "style": [ "SEPARATOR", "HORIZONTAL", "SHADOW_OUT" ],
> "bounds": [ 0, 0, 0, 0 ],
> "tabIndex": -1,
> "visibility": false,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w52", {
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w53", "rwt.widgets.Composite", {
> "parent": "w48",
> "style": [ "NONE" ],
> "bounds": [ 0, 0, 0, 0 ],
> "children": [ "w54" ],
> "tabIndex": -1,
> "visibility": false,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w53", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w54", "rwt.widgets.Grid", {
> "parent": "w53",
> "style": [ "MULTI" ],
> "appearance": "tree",
> "selectionPadding": [ 3, 5 ],
> "indentionWidth": 16,
> "markupEnabled": false
> } ], [ "create", "w55", "rwt.widgets.ScrollBar", {
> "parent": "w54",
> "style": [ "HORIZONTAL" ]
> } ], [ "create", "w56", "rwt.widgets.ScrollBar", {
> "parent": "w54",
> "style": [ "VERTICAL" ]
> } ], [ "set", "w54", {
> "bounds": [ 0, 0, 0, 0 ],
> "children": [],
> "tabIndex": 19,
> "visibility": false
> } ], [ "listen", "w54", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "KeyDown": true,
> "MenuDetect": true
> } ], [ "set", "w54", {
> "itemCount": 1,
> "itemHeight": 27,
> "itemMetrics": [ [ 0, 0, 76, 0, 16, 22, 46 ] ]
> } ], [ "listen", "w54", {
> "Selection": true,
> "DefaultSelection": true,
> "Expand": true,
> "Collapse": true
> } ], [ "set", "w55", {
> "visibility": true
> } ], [ "set", "w56", {
> "visibility": true
> } ], [ "create", "w58", "rwt.widgets.GridItem", {
> "parent": "w54",
> "index": 0,
> "itemCount": 1,
> "texts": [ "Misc" ],
> "images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w59", "rwt.widgets.GridItem", {
> "parent": "w58",
> "index": 0,
> "texts": [ "Important" ],
> "images": [ [ "rwt-resources/generated/87f496a7.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w12", "rwt.widgets.Composite", {
> "parent": "w9",
> "style": [ "NONE" ],
> "bounds": [ 181, 0, 807, 521 ],
> "children": [ "w14" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w12", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w14", "rwt.widgets.CTabFolder", {
> "parent": "w12",
> "style": [ "MULTI", "BORDER" ],
> "toolTipTexts": [ "Minimize", "Maximize", "Restore", "Show List",
> "Close" ],
> "bounds": [ 0, 0, 807, 521 ],
> "children": [],
> "tabIndex": 21,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w14", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "set", "w14", {
> "tabHeight": 26,
> "borderVisible": true
> } ], [ "listen", "w14", {
> "Selection": true,
> "DefaultSelection": true,
> "Folder": true
> } ], [ "create", "w15", "rwt.widgets.Composite", {
> "parent": "w3",
> "style": [ "NONE" ],
> "bounds": [ 2, 556, 0, 0 ],
> "children": [],
> "tabIndex": -1,
> "visibility": false,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w15", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w5", "rwt.widgets.ToolTip", {
> "parent": "w2",
> "style": [ "NONE" ],
> "autoHide": true
> } ], [ "create", "w26", "rwt.widgets.ToolTip", {
> "parent": "w2",
> "style": [ "NONE" ],
> "autoHide": true
> } ], [ "create", "w29", "rwt.widgets.ToolTip", {
> "parent": "w2",
> "style": [ "NONE" ],
> "autoHide": true
> } ], [ "create", "w57", "rwt.widgets.ToolTip", {
> "parent": "w2",
> "style": [ "NONE" ],
> "autoHide": true
> } ], [ "create", "w69", "rwt.widgets.ToolTip", {
> "parent": "w2",
> "style": [ "NONE" ],
> "autoHide": true
> } ], [ "create", "w79", "rwt.widgets.ToolTip", {
> "parent": "w2",
> "style": [ "NONE" ],
> "autoHide": true
> } ], [ "set", "w1", {
> "focusControl": "w3"
> } ], [ "set", "rwt.client.ServerPush", {
> "active": true
> } ], [ "call", "rwt.client.TextSizeMeasurement", "measureItems", {
> "items": [ [ "t-277308397", "Misc", [ "Verdana", "Lucida Sans",
> "Arial", "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [
> "t1377927101", "Components", [ "Verdana", "Lucida Sans", "Arial",
> "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [
> "t-1713147046", "App 1", [ "Verdana", "Lucida Sans", "Arial",
> "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [
> "t-1713147047", "App 1", [ "Verdana", "Lucida Sans", "Arial",
> "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [
> "t-1713146085", "App 2", [ "Verdana", "Lucida Sans", "Arial",
> "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [
> "t-1713146086", "App 2", [ "Verdana", "Lucida Sans", "Arial",
> "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [
> "t-2104783487", "Widgets HowTo", [ "Verdana", "Lucida Sans", "Arial",
> "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [
> "t1712723464", "", [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false, -1, false ] ]
> } ] ]
> }
> description: Operation "listen" on target "w4" of type
> "rwt.widgets.MenuBar" failed:
> Das Objekt unterstützt die Eigenschaft oder Methode
> "setHasShowListener" nicht
> Properties: Show = true
> Hide = true
>
> message: Operation "listen" on target "w4" of type
> "rwt.widgets.MenuBar" failed:
> Das Objekt unterstützt die Eigenschaft oder Methode
> "setHasShowListener" nicht
> Properties: Show = true
> Hide = true
>
> name: Error
> Debug: off
> Request:
> {"head":{"rwt_initialize":true},"operations":[["set","w1",{"bounds":[0,0,1817,983],"dpi":[96,96],"colorDepth":24}],["set","rwt.client.ClientInfo",{"timezoneOffset":-60}],["call","rwt.client.TextSizeMeasurement","storeMeasurements",{"results":{"p-785380485":[658,15]}}],["set","w1",{"cursorLocation":[0,0]}]]}
>
> Because the error message seems to be very detailed, maybe you can
> give me a hint without the need to send my example code to you.
>
> The application i try to start consists of a main shell with menu bar,
> toolbar, some splitters an tab folders (a kitchensink application).
> The same application works with Rap 1.4 and Rap 1.5. Removing the menu
> bar and the toolbar from the shell leads to another error:
>
> Error: Error: Operation "listen" on target "w20" of type
> "rwt.widgets.MenuBar" failed:
> Das Objekt unterstützt die Eigenschaft oder Methode
> "setHasShowListener" nicht
> Properties: Show = true
> Hide = true
> ..
>
>
>
>

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Re: Operation "listen" on target "w4" of type "rwt.widg [message #1001748 is a reply to message #1001335] Thu, 17 January 2013 10:15 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Michael,
it's already fixed in master. Will be part of RAP 2.0 RC2.
Best,
Ivan

On 1/16/2013 4:07 PM, Michael Grossmann wrote:
> I tryed to switch from RAP 1.5.1 (1.5.1.20120917-1116) to newest
> milestone release of RAP 2.0 M4 (2.0.0.20121218-1016).
>
> I start my application as plain rwt application like described here:
> http://www.eclipse.org/rap/developers-guide/devguide.php?topic=advanced/rwt-standalone.html&version=1.5
>
>
> with respect of the issues described here:
> http://www.eclipse.org/rap/noteworthy/2.0/migration-guide/
>
> All deprecated issues was fixed like suggested.
>
> After changing to version 2 the application startup fails with the
> following error page:
>
> Could not process server response:
> Error: Error: Operation "listen" on target "w4" of type
> "rwt.widgets.MenuBar" failed:
> Das Objekt unterstützt die Eigenschaft oder Methode
> "setHasShowListener" nicht
> Properties: Show = true
> Hide = true
>
>
> Script: {
> "head": {
> "requestCounter": 0
> },
> "operations": [ [ "create", "w2", "rwt.widgets.Shell", {
> "style": [ "CLOSE", "MIN", "MAX", "RESIZE", "TITLE" ]
> } ], [ "listen", "w2", {
> "Move": true,
> "Resize": true,
> "Activate": true,
> "Close": true
> } ], [ "set", "w2", {
> "image": [ "rwt-resources/generated/d3359101.png", 16, 16 ],
> "text": "Hello Workbench",
> "active": true,
> "minimumSize": [ 80, 40 ],
> "activeControl": "w3",
> "bounds": [ 396, 166, 1024, 650 ],
> "children": [ "w3" ],
> "tabIndex": -1,
> "visibility": true
> } ], [ "listen", "w2", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w4", "rwt.widgets.Menu", {
> "style": [ "BAR" ]
> } ], [ "listen", "w4", {
> "Show": true,
> "Hide": true
> } ], [ "set", "w4", {
> "parent": "w2",
> "bounds": [ 15, 54, 992, 23 ]
> } ], [ "create", "w67", "rwt.widgets.MenuItem", {
> "parent": "w4",
> "style": [ "CASCADE" ],
> "index": 0,
> "text": "&File",
> "menu": "w68"
> } ], [ "create", "w77", "rwt.widgets.MenuItem", {
> "parent": "w4",
> "style": [ "CASCADE" ],
> "index": 1,
> "text": "&Edit",
> "menu": "w78"
> } ], [ "create", "w28", "rwt.widgets.Menu", {
> "style": [ "POP_UP" ]
> } ], [ "listen", "w28", {
> "Show": true,
> "Hide": true
> } ], [ "create", "w30", "rwt.widgets.MenuItem", {
> "parent": "w28",
> "style": [ "PUSH" ],
> "index": 0,
> "text": "Add new Folder"
> } ], [ "listen", "w30", {
> "Selection": true
> } ], [ "create", "w68", "rwt.widgets.Menu", {
> "style": [ "DROP_DOWN" ]
> } ], [ "listen", "w68", {
> "Show": true,
> "Hide": true
> } ], [ "create", "w70", "rwt.widgets.MenuItem", {
> "parent": "w68",
> "style": [ "PUSH" ],
> "index": 0,
> "text": "New "
> } ], [ "listen", "w70", {
> "Selection": true
> } ], [ "create", "w71", "rwt.widgets.MenuItem", {
> "parent": "w68",
> "style": [ "PUSH" ],
> "index": 1,
> "text": "Open file... "
> } ], [ "listen", "w71", {
> "Selection": true
> } ], [ "create", "w72", "rwt.widgets.MenuItem", {
> "parent": "w68",
> "style": [ "SEPARATOR" ],
> "index": 2
> } ], [ "create", "w73", "rwt.widgets.MenuItem", {
> "parent": "w68",
> "style": [ "PUSH" ],
> "index": 3,
> "text": "Save",
> "image": [ "rwt-resources/generated/66f715d2.png", 16, 16 ]
> } ], [ "listen", "w73", {
> "Selection": true
> } ], [ "create", "w74", "rwt.widgets.MenuItem", {
> "parent": "w68",
> "style": [ "PUSH" ],
> "index": 4,
> "text": "Save As...",
> "image": [ "rwt-resources/generated/66f715d2.png", 16, 16 ]
> } ], [ "listen", "w74", {
> "Selection": true
> } ], [ "create", "w75", "rwt.widgets.MenuItem", {
> "parent": "w68",
> "style": [ "SEPARATOR" ],
> "index": 5
> } ], [ "create", "w76", "rwt.widgets.MenuItem", {
> "parent": "w68",
> "style": [ "PUSH" ],
> "index": 6,
> "text": "Exit"
> } ], [ "listen", "w76", {
> "Selection": true
> } ], [ "create", "w78", "rwt.widgets.Menu", {
> "style": [ "DROP_DOWN" ]
> } ], [ "listen", "w78", {
> "Show": true,
> "Hide": true
> } ], [ "create", "w80", "rwt.widgets.MenuItem", {
> "parent": "w78",
> "style": [ "PUSH" ],
> "index": 0,
> "text": "Cut",
> "image": [ "rwt-resources/generated/8022c71d.png", 16, 16 ]
> } ], [ "listen", "w80", {
> "Selection": true
> } ], [ "create", "w81", "rwt.widgets.MenuItem", {
> "parent": "w78",
> "style": [ "PUSH" ],
> "index": 1,
> "text": "Copy",
> "image": [ "rwt-resources/generated/29069ec8.png", 16, 16 ]
> } ], [ "listen", "w81", {
> "Selection": true
> } ], [ "create", "w82", "rwt.widgets.MenuItem", {
> "parent": "w78",
> "style": [ "PUSH" ],
> "index": 2,
> "text": "Paste",
> "image": [ "rwt-resources/generated/a330b322.png", 16, 16 ]
> } ], [ "listen", "w82", {
> "Selection": true
> } ], [ "create", "w3", "rwt.widgets.Composite", {
> "parent": "w2",
> "style": [ "NONE" ],
> "bounds": [ 15, 76, 992, 557 ],
> "children": [ "w6", "w8", "w15" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w3", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w6", "rwt.widgets.Composite", {
> "parent": "w3",
> "style": [ "NONE" ],
> "bounds": [ 2, 1, 988, 32 ],
> "children": [ "w7" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w6", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w7", "rwt.widgets.ToolBar", {
> "parent": "w6",
> "style": [ "FLAT", "HORIZONTAL" ],
> "bounds": [ 0, 0, 988, 32 ],
> "children": [],
> "tabIndex": 3,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w7", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w60", "rwt.widgets.ToolItem", {
> "parent": "w7",
> "style": [ "PUSH" ],
> "index": 0,
> "bounds": [ 0, 0, 32, 32 ],
> "toolTip": "Save",
> "image": [ "rwt-resources/generated/66f715d2.png", 16, 16 ]
> } ], [ "listen", "w60", {
> "Selection": true
> } ], [ "create", "w61", "rwt.widgets.ToolItem", {
> "parent": "w7",
> "style": [ "SEPARATOR" ],
> "index": 1,
> "bounds": [ 32, 0, 4, 32 ]
> } ], [ "create", "w62", "rwt.widgets.ToolItem", {
> "parent": "w7",
> "style": [ "PUSH" ],
> "index": 2,
> "bounds": [ 36, 0, 32, 32 ],
> "toolTip": "Cut",
> "image": [ "rwt-resources/generated/8022c71d.png", 16, 16 ]
> } ], [ "listen", "w62", {
> "Selection": true
> } ], [ "create", "w63", "rwt.widgets.ToolItem", {
> "parent": "w7",
> "style": [ "PUSH" ],
> "index": 3,
> "bounds": [ 68, 0, 32, 32 ],
> "toolTip": "Copy",
> "image": [ "rwt-resources/generated/29069ec8.png", 16, 16 ]
> } ], [ "listen", "w63", {
> "Selection": true
> } ], [ "create", "w64", "rwt.widgets.ToolItem", {
> "parent": "w7",
> "style": [ "PUSH" ],
> "index": 4,
> "bounds": [ 100, 0, 32, 32 ],
> "toolTip": "Paste",
> "image": [ "rwt-resources/generated/a330b322.png", 16, 16 ]
> } ], [ "listen", "w64", {
> "Selection": true
> } ], [ "create", "w65", "rwt.widgets.ToolItem", {
> "parent": "w7",
> "style": [ "SEPARATOR" ],
> "index": 5,
> "bounds": [ 132, 0, 4, 32 ]
> } ], [ "create", "w66", "rwt.widgets.ToolItem", {
> "parent": "w7",
> "style": [ "PUSH" ],
> "index": 6,
> "bounds": [ 136, 0, 32, 32 ],
> "toolTip": "Print",
> "image": [ "rwt-resources/generated/e2ed4beb.png", 16, 16 ]
> } ], [ "listen", "w66", {
> "Selection": true
> } ], [ "create", "w8", "rwt.widgets.Composite", {
> "parent": "w3",
> "style": [ "NONE" ],
> "bounds": [ 2, 34, 988, 521 ],
> "children": [ "w9" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w8", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w9", "rwt.widgets.Composite", {
> "parent": "w8",
> "style": [ "NONE" ],
> "bounds": [ 0, 0, 988, 521 ],
> "children": [ "w10", "w11", "w12" ],
> "tabIndex": 5,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w9", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w10", "rwt.widgets.Sash", {
> "parent": "w9",
> "style": [ "VERTICAL", "SMOOTH" ],
> "bounds": [ 177, 0, 4, 521 ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "create", "w11", "rwt.widgets.Composite", {
> "parent": "w9",
> "style": [ "NONE" ],
> "bounds": [ 0, 0, 177, 521 ],
> "children": [ "w13" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w11", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w13", "rwt.widgets.CTabFolder", {
> "parent": "w11",
> "style": [ "MULTI", "BORDER" ],
> "toolTipTexts": [ "Minimize", "Maximize", "Restore", "Show List",
> "Close" ],
> "bounds": [ 0, 0, 177, 521 ],
> "children": [ "w17", "w48" ],
> "tabIndex": 7,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w13", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "set", "w13", {
> "tabHeight": 27,
> "chevronBounds": [ 124, 5, 27, 18 ],
> "chevronVisible": true,
> "selection": "w16",
> "borderVisible": true
> } ], [ "listen", "w13", {
> "Selection": true,
> "DefaultSelection": true,
> "Folder": true
> } ], [ "create", "w16", "rwt.widgets.CTabItem", {
> "parent": "w13",
> "index": 0,
> "style": [ "CLOSE" ],
> "toolTip": "Application Demo 1",
> "bounds": [ 0, 0, 121, 28 ],
> "text": "App 1",
> "image": [ "rwt-resources/generated/b0ed535f.png", 16, 16 ],
> "showClose": true
> } ], [ "create", "w47", "rwt.widgets.CTabItem", {
> "parent": "w13",
> "index": 1,
> "style": [ "CLOSE" ],
> "toolTip": "Application Demo 2",
> "bounds": [ 1827, 0, 121, 28 ],
> "image": [ "rwt-resources/generated/c4119133.png", 16, 16 ],
> "showing": false,
> "showClose": true
> } ], [ "create", "w17", "rwt.widgets.Composite", {
> "parent": "w13",
> "style": [ "NONE" ],
> "bounds": [ 3, 31, 171, 487 ],
> "children": [ "w18", "w21", "w22" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w17", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w18", "rwt.widgets.Composite", {
> "parent": "w17",
> "style": [ "NONE" ],
> "bounds": [ 0, 0, 171, 32 ],
> "children": [ "w19", "w20" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w18", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w19", "rwt.widgets.ToolBar", {
> "parent": "w18",
> "style": [ "FLAT", "HORIZONTAL" ],
> "bounds": [ 0, 0, 107, 32 ],
> "children": [],
> "tabIndex": 10,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w19", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w20", "rwt.widgets.ToolBar", {
> "parent": "w18",
> "style": [ "FLAT", "HORIZONTAL" ],
> "bounds": [ 107, 0, 64, 32 ],
> "children": [],
> "tabIndex": 11,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w20", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w31", "rwt.widgets.ToolItem", {
> "parent": "w20",
> "style": [ "PUSH" ],
> "index": 0,
> "bounds": [ 0, 0, 32, 32 ],
> "toolTip": "Add new Folder",
> "image": [ "rwt-resources/generated/b9c3fcee.png", 16, 16 ]
> } ], [ "listen", "w31", {
> "Selection": true
> } ], [ "create", "w27", "rwt.widgets.ToolItem", {
> "parent": "w20",
> "style": [ "PUSH" ],
> "index": 1,
> "bounds": [ 32, 0, 32, 32 ],
> "image": [ "rwt-resources/generated/3ca2d024.png", 16, 16 ]
> } ], [ "listen", "w27", {
> "Selection": true
> } ], [ "create", "w21", "rwt.widgets.Separator", {
> "parent": "w17",
> "style": [ "SEPARATOR", "HORIZONTAL", "SHADOW_OUT" ],
> "bounds": [ 0, 32, 171, 2 ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w21", {
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w22", "rwt.widgets.Composite", {
> "parent": "w17",
> "style": [ "NONE" ],
> "bounds": [ 0, 34, 171, 453 ],
> "children": [ "w23" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w22", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w23", "rwt.widgets.Grid", {
> "parent": "w22",
> "style": [ "MULTI" ],
> "appearance": "tree",
> "selectionPadding": [ 3, 5 ],
> "indentionWidth": 16,
> "markupEnabled": false
> } ], [ "create", "w24", "rwt.widgets.ScrollBar", {
> "parent": "w23",
> "style": [ "HORIZONTAL" ]
> } ], [ "create", "w25", "rwt.widgets.ScrollBar", {
> "parent": "w23",
> "style": [ "VERTICAL" ]
> } ], [ "set", "w23", {
> "bounds": [ 0, 0, 171, 453 ],
> "children": [],
> "tabIndex": 13
> } ], [ "listen", "w23", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "KeyDown": true,
> "MenuDetect": true
> } ], [ "set", "w23", {
> "itemCount": 3,
> "itemHeight": 27,
> "itemMetrics": [ [ 0, 0, 143, 0, 16, 22, 113 ] ]
> } ], [ "listen", "w23", {
> "Selection": true,
> "DefaultSelection": true,
> "Expand": true,
> "Collapse": true
> } ], [ "create", "w32", "rwt.widgets.GridItem", {
> "parent": "w23",
> "index": 0,
> "itemCount": 3,
> "texts": [ "Components" ],
> "images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w33", "rwt.widgets.GridItem", {
> "parent": "w32",
> "index": 0,
> "texts": [ "Component1" ],
> "images": [ [ "rwt-resources/generated/ed797d19.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w34", "rwt.widgets.GridItem", {
> "parent": "w32",
> "index": 1,
> "texts": [ "Component2" ],
> "images": [ [ "rwt-resources/generated/ed797d19.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w35", "rwt.widgets.GridItem", {
> "parent": "w32",
> "index": 2,
> "texts": [ "Component3" ],
> "images": [ [ "rwt-resources/generated/ed797d19.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w36", "rwt.widgets.GridItem", {
> "parent": "w23",
> "index": 1,
> "itemCount": 2,
> "texts": [ "Widgets HowTo" ],
> "images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w37", "rwt.widgets.GridItem", {
> "parent": "w36",
> "index": 0,
> "itemCount": 4,
> "texts": [ "Labels" ],
> "images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w38", "rwt.widgets.GridItem", {
> "parent": "w37",
> "index": 0,
> "texts": [ "Label with text" ],
> "images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w39", "rwt.widgets.GridItem", {
> "parent": "w37",
> "index": 1,
> "texts": [ "Label with icon" ],
> "images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w40", "rwt.widgets.GridItem", {
> "parent": "w37",
> "index": 2,
> "texts": [ "Label with icon and text" ],
> "images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w41", "rwt.widgets.GridItem", {
> "parent": "w37",
> "index": 3,
> "texts": [ "Labels Kitchensink" ],
> "images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w42", "rwt.widgets.GridItem", {
> "parent": "w36",
> "index": 1,
> "itemCount": 2,
> "texts": [ "Addons" ],
> "images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w43", "rwt.widgets.GridItem", {
> "parent": "w42",
> "index": 0,
> "texts": [ "Browser" ],
> "images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w44", "rwt.widgets.GridItem", {
> "parent": "w42",
> "index": 1,
> "texts": [ "Map" ],
> "images": [ [ "rwt-resources/generated/c74a6633.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w45", "rwt.widgets.GridItem", {
> "parent": "w23",
> "index": 2,
> "itemCount": 1,
> "texts": [ "Misc" ],
> "images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w46", "rwt.widgets.GridItem", {
> "parent": "w45",
> "index": 0,
> "texts": [ "Important" ],
> "images": [ [ "rwt-resources/generated/87f496a7.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w48", "rwt.widgets.Composite", {
> "parent": "w13",
> "style": [ "NONE" ],
> "bounds": [ 0, 0, 0, 0 ],
> "children": [ "w49", "w52", "w53" ],
> "tabIndex": -1,
> "visibility": false,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w48", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w49", "rwt.widgets.Composite", {
> "parent": "w48",
> "style": [ "NONE" ],
> "bounds": [ 0, 0, 0, 0 ],
> "children": [ "w50", "w51" ],
> "tabIndex": -1,
> "visibility": false,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w49", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w50", "rwt.widgets.ToolBar", {
> "parent": "w49",
> "style": [ "FLAT", "HORIZONTAL" ],
> "bounds": [ 0, 0, 0, 22 ],
> "children": [],
> "tabIndex": 16,
> "visibility": false,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w50", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w51", "rwt.widgets.ToolBar", {
> "parent": "w49",
> "style": [ "FLAT", "HORIZONTAL" ],
> "bounds": [ 0, 0, 0, 22 ],
> "children": [],
> "tabIndex": 17,
> "visibility": false,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w51", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w52", "rwt.widgets.Separator", {
> "parent": "w48",
> "style": [ "SEPARATOR", "HORIZONTAL", "SHADOW_OUT" ],
> "bounds": [ 0, 0, 0, 0 ],
> "tabIndex": -1,
> "visibility": false,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w52", {
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w53", "rwt.widgets.Composite", {
> "parent": "w48",
> "style": [ "NONE" ],
> "bounds": [ 0, 0, 0, 0 ],
> "children": [ "w54" ],
> "tabIndex": -1,
> "visibility": false,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w53", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w54", "rwt.widgets.Grid", {
> "parent": "w53",
> "style": [ "MULTI" ],
> "appearance": "tree",
> "selectionPadding": [ 3, 5 ],
> "indentionWidth": 16,
> "markupEnabled": false
> } ], [ "create", "w55", "rwt.widgets.ScrollBar", {
> "parent": "w54",
> "style": [ "HORIZONTAL" ]
> } ], [ "create", "w56", "rwt.widgets.ScrollBar", {
> "parent": "w54",
> "style": [ "VERTICAL" ]
> } ], [ "set", "w54", {
> "bounds": [ 0, 0, 0, 0 ],
> "children": [],
> "tabIndex": 19,
> "visibility": false
> } ], [ "listen", "w54", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "KeyDown": true,
> "MenuDetect": true
> } ], [ "set", "w54", {
> "itemCount": 1,
> "itemHeight": 27,
> "itemMetrics": [ [ 0, 0, 76, 0, 16, 22, 46 ] ]
> } ], [ "listen", "w54", {
> "Selection": true,
> "DefaultSelection": true,
> "Expand": true,
> "Collapse": true
> } ], [ "set", "w55", {
> "visibility": true
> } ], [ "set", "w56", {
> "visibility": true
> } ], [ "create", "w58", "rwt.widgets.GridItem", {
> "parent": "w54",
> "index": 0,
> "itemCount": 1,
> "texts": [ "Misc" ],
> "images": [ [ "rwt-resources/generated/2fe6ab04.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w59", "rwt.widgets.GridItem", {
> "parent": "w58",
> "index": 0,
> "texts": [ "Important" ],
> "images": [ [ "rwt-resources/generated/87f496a7.png", 16, 16 ] ],
> "font": [ [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false ]
> } ], [ "create", "w12", "rwt.widgets.Composite", {
> "parent": "w9",
> "style": [ "NONE" ],
> "bounds": [ 181, 0, 807, 521 ],
> "children": [ "w14" ],
> "tabIndex": -1,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w12", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w14", "rwt.widgets.CTabFolder", {
> "parent": "w12",
> "style": [ "MULTI", "BORDER" ],
> "toolTipTexts": [ "Minimize", "Maximize", "Restore", "Show List",
> "Close" ],
> "bounds": [ 0, 0, 807, 521 ],
> "children": [],
> "tabIndex": 21,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w14", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "set", "w14", {
> "tabHeight": 26,
> "borderVisible": true
> } ], [ "listen", "w14", {
> "Selection": true,
> "DefaultSelection": true,
> "Folder": true
> } ], [ "create", "w15", "rwt.widgets.Composite", {
> "parent": "w3",
> "style": [ "NONE" ],
> "bounds": [ 2, 556, 0, 0 ],
> "children": [],
> "tabIndex": -1,
> "visibility": false,
> "background": [ 0, 0, 0, 0 ]
> } ], [ "listen", "w15", {
> "FocusIn": true,
> "FocusOut": true,
> "MouseDown": true,
> "MouseUp": true,
> "MouseDoubleClick": true,
> "MenuDetect": true
> } ], [ "create", "w5", "rwt.widgets.ToolTip", {
> "parent": "w2",
> "style": [ "NONE" ],
> "autoHide": true
> } ], [ "create", "w26", "rwt.widgets.ToolTip", {
> "parent": "w2",
> "style": [ "NONE" ],
> "autoHide": true
> } ], [ "create", "w29", "rwt.widgets.ToolTip", {
> "parent": "w2",
> "style": [ "NONE" ],
> "autoHide": true
> } ], [ "create", "w57", "rwt.widgets.ToolTip", {
> "parent": "w2",
> "style": [ "NONE" ],
> "autoHide": true
> } ], [ "create", "w69", "rwt.widgets.ToolTip", {
> "parent": "w2",
> "style": [ "NONE" ],
> "autoHide": true
> } ], [ "create", "w79", "rwt.widgets.ToolTip", {
> "parent": "w2",
> "style": [ "NONE" ],
> "autoHide": true
> } ], [ "set", "w1", {
> "focusControl": "w3"
> } ], [ "set", "rwt.client.ServerPush", {
> "active": true
> } ], [ "call", "rwt.client.TextSizeMeasurement", "measureItems", {
> "items": [ [ "t-277308397", "Misc", [ "Verdana", "Lucida Sans",
> "Arial", "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [
> "t1377927101", "Components", [ "Verdana", "Lucida Sans", "Arial",
> "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [
> "t-1713147046", "App 1", [ "Verdana", "Lucida Sans", "Arial",
> "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [
> "t-1713147047", "App 1", [ "Verdana", "Lucida Sans", "Arial",
> "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [
> "t-1713146085", "App 2", [ "Verdana", "Lucida Sans", "Arial",
> "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [
> "t-1713146086", "App 2", [ "Verdana", "Lucida Sans", "Arial",
> "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [
> "t-2104783487", "Widgets HowTo", [ "Verdana", "Lucida Sans", "Arial",
> "Helvetica", "sans-serif" ], 12, false, false, -1, false ], [
> "t1712723464", "", [ "Verdana", "Lucida Sans", "Arial", "Helvetica",
> "sans-serif" ], 12, false, false, -1, false ] ]
> } ] ]
> }
> description: Operation "listen" on target "w4" of type
> "rwt.widgets.MenuBar" failed:
> Das Objekt unterstützt die Eigenschaft oder Methode
> "setHasShowListener" nicht
> Properties: Show = true
> Hide = true
>
> message: Operation "listen" on target "w4" of type
> "rwt.widgets.MenuBar" failed:
> Das Objekt unterstützt die Eigenschaft oder Methode
> "setHasShowListener" nicht
> Properties: Show = true
> Hide = true
>
> name: Error
> Debug: off
> Request:
> {"head":{"rwt_initialize":true},"operations":[["set","w1",{"bounds":[0,0,1817,983],"dpi":[96,96],"colorDepth":24}],["set","rwt.client.ClientInfo",{"timezoneOffset":-60}],["call","rwt.client.TextSizeMeasurement","storeMeasurements",{"results":{"p-785380485":[658,15]}}],["set","w1",{"cursorLocation":[0,0]}]]}
>
> Because the error message seems to be very detailed, maybe you can
> give me a hint without the need to send my example code to you.
>
> The application i try to start consists of a main shell with menu bar,
> toolbar, some splitters an tab folders (a kitchensink application).
> The same application works with Rap 1.4 and Rap 1.5. Removing the menu
> bar and the toolbar from the shell leads to another error:
>
> Error: Error: Operation "listen" on target "w20" of type
> "rwt.widgets.MenuBar" failed:
> Das Objekt unterstützt die Eigenschaft oder Methode
> "setHasShowListener" nicht
> Properties: Show = true
> Hide = true
> ..
>
>
>
>

--
Ivan Furnadjiev

Twitter: @EclipseRAP
Blog: http://eclipsesource.com/blogs/

Professional services for RAP and RCP?
http://eclipsesource.com/services/rap/
Previous Topic:JS-libraries in custom widgets
Next Topic:How to do a blocking, in-line refresh of shell in RAP
Goto Forum:
  


Current Time: Thu Apr 18 10:16:37 GMT 2024

Powered by FUDForum. Page generated in 0.02707 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top