Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 150614 Details for
Bug 290234
[Theming] Make focus appearance themeable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Themeable Focus Indicator
ThemeableFocusIndicator.txt (text/plain), 72.71 KB, created by
Tim Buschtoens
on 2009-10-27 08:06:12 EDT
(
hide
)
Description:
Themeable Focus Indicator
Filename:
MIME Type:
Creator:
Tim Buschtoens
Created:
2009-10-27 08:06:12 EDT
Size:
72.71 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.rwt.q07.jstest >Index: js/org/eclipse/rwt/test/tests/ButtonTest.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt.test/org.eclipse.rap.rwt.q07.jstest/js/org/eclipse/rwt/test/tests/ButtonTest.js,v >retrieving revision 1.1 >diff -u -r1.1 ButtonTest.js >--- js/org/eclipse/rwt/test/tests/ButtonTest.js 27 Aug 2009 15:35:40 -0000 1.1 >+++ js/org/eclipse/rwt/test/tests/ButtonTest.js 27 Oct 2009 12:01:34 -0000 >@@ -17,6 +17,80 @@ > }, > > members : { >+ >+ testFocusIndicatorPush : function() { >+ var hasFocusIndicator = function( widget ) { >+ var node = widget._getTargetNode(); >+ var result = false; >+ for( var i = 0; i < node.childNodes.length; i++ ) { >+ if( node.childNodes[ i ].getAttribute( "id") == "focusIndicator" ) { >+ result = true; >+ } >+ } >+ return result; >+ } >+ var focudIndicator = org.eclipse.rwt.FocusIndicator.getInstance(); >+ var button = new org.eclipse.rwt.widgets.Button( "push" ); >+ button.addState( "rwt_PUSH" ); >+ button.setText( "bla" ); >+ this._currentButton = button; >+ button.addToDocument(); >+ qx.ui.core.Widget.flushGlobalQueues(); >+ assertFalse( button.hasState( "focus" ) ); >+ assertFalse( hasFocusIndicator( button ) ); >+ button.focus(); >+ qx.ui.core.Widget.flushGlobalQueues(); >+ assertTrue( hasFocusIndicator( button ) ); >+ assertNotNull( focudIndicator._currentTheme ); >+ assertNotNull( focudIndicator._currentTheme.margin ); >+ assertNull( focudIndicator._currentTheme.padding ); >+ assertIdentical( button, focudIndicator._currentWidget ); >+ button.setImage( "test.jpg" ); >+ qx.ui.core.Widget.flushGlobalQueues(); >+ assertTrue( hasFocusIndicator( button ) ); >+ button.blur(); >+ qx.ui.core.Widget.flushGlobalQueues(); >+ assertFalse( hasFocusIndicator( button ) ); >+ button.destroy(); >+ qx.ui.core.Widget.flushGlobalQueues(); >+ }, >+ >+ testFocusIndicatorCheck : function() { >+ var hasFocusIndicator = function( widget ) { >+ var node = widget._getTargetNode(); >+ var result = false; >+ for( var i = 0; i < node.childNodes.length; i++ ) { >+ if( node.childNodes[ i ].getAttribute( "id") == "focusIndicator" ) { >+ result = true; >+ } >+ } >+ return result; >+ } >+ var focudIndicator = org.eclipse.rwt.FocusIndicator.getInstance(); >+ var button = new org.eclipse.rwt.widgets.Button( "check" ); >+ button.addState( "rwt_CHECK" ); >+ button.setText( "bla" ); >+ this._currentButton = button; >+ button.addToDocument(); >+ qx.ui.core.Widget.flushGlobalQueues(); >+ assertFalse( button.hasState( "focus" ) ); >+ assertFalse( hasFocusIndicator( button ) ); >+ button.focus(); >+ qx.ui.core.Widget.flushGlobalQueues(); >+ assertTrue( hasFocusIndicator( button ) ); >+ assertNotNull( focudIndicator._currentTheme ); >+ assertNotNull( focudIndicator._currentTheme.padding ); >+ assertIdentical( button, focudIndicator._currentWidget ); >+ button.setImage( "test.jpg" ); >+ qx.ui.core.Widget.flushGlobalQueues(); >+ assertTrue( hasFocusIndicator( button ) ); >+ button.blur(); >+ qx.ui.core.Widget.flushGlobalQueues(); >+ assertFalse( hasFocusIndicator( button ) ); >+ button.destroy(); >+ qx.ui.core.Widget.flushGlobalQueues(); >+ }, >+ > testParent : function() { > var button = new org.eclipse.rwt.widgets.Button( "push" ); > this._currentButton = button; >@@ -33,7 +107,7 @@ > button.getCellNode( 2 ).parentNode > ); > button.setParent( null ); >- button.dispose(); >+ button.destroy(); > qx.ui.core.Widget.flushGlobalQueues(); > }, > >@@ -45,7 +119,7 @@ > qx.ui.core.Widget.flushGlobalQueues(); > assertEquals( "Hello World!", button.getCellNode( 2 ).innerHTML ); > button.setParent( null ); >- button.dispose(); >+ button.destroy(); > qx.ui.core.Widget.flushGlobalQueues(); > }, > >@@ -59,7 +133,7 @@ > this.testUtil.getCssBackgroundImage( button.getCellNode( 1 ) ).search( "test.jpg" ) != -1 > ); > button.setParent( null ); >- button.dispose(); >+ button.destroy(); > qx.ui.core.Widget.flushGlobalQueues(); > }, > >@@ -67,6 +141,7 @@ > //this test is also valid for toggle button > //var button = new org.eclipse.swt.widgets.CheckBox(); > var button = new org.eclipse.rwt.widgets.Button( "check" ); >+ button.addState( "rwt_CHECK" ); > button.setUserData( "id", "w1" ); > this._currentButton = button; > button.addToDocument(); >@@ -100,6 +175,7 @@ > > testExecuteRadioButton : function() { > var button = new org.eclipse.rwt.widgets.Button( "radio" ); >+ button.addState( "rwt_RADIO" ); > button.setUserData( "id", "w1" ); > this._currentButton = button; > button.addToDocument(); >@@ -142,6 +218,7 @@ > > testExecutePushButton : function() { > var button = new org.eclipse.rwt.widgets.Button( "push" ); >+ button.addState( "rwt_PUSH" ); > this._currentButton = button; > button.addToDocument(); > qx.ui.core.Widget.flushGlobalQueues(); >Index: js/org/eclipse/rwt/test/TestRunner.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt.test/org.eclipse.rap.rwt.q07.jstest/js/org/eclipse/rwt/test/TestRunner.js,v >retrieving revision 1.1 >diff -u -r1.1 TestRunner.js >--- js/org/eclipse/rwt/test/TestRunner.js 27 Aug 2009 15:35:40 -0000 1.1 >+++ js/org/eclipse/rwt/test/TestRunner.js 27 Oct 2009 12:01:34 -0000 >@@ -21,7 +21,6 @@ > this._presenter = null; > this._testsTotal = 0; > this._asserts = 0; >- //org.eclipse.rwt.test.Asserts.createShortcuts(); > var classes = qx.Class.__registry; > this._testClasses = {}; > for( var clazz in classes) { >@@ -34,7 +33,9 @@ > // helper for debugging > getLog = function() { > return org.eclipse.rwt.test.TestRunner.getInstance().getLog(); >- } >+ } >+ //temporarily setting this to true van help debugging in IE >+ this._NOTRYCATCH = false; > }, > > >@@ -45,12 +46,16 @@ > this._disableAutoFlush(); > // prevent actual dom-events > qx.event.handler.EventHandler.getInstance().detachEvents(); >- this.info( "Starting tests..." ); >- try { >- this._run(); >- } catch( e ) { >- this.info( e ); >- } >+ this.info( "Starting tests..." ); >+ if( this._NOTRYCATCH ) { >+ this._run(); >+ } else { >+ try { >+ this._run(); >+ } catch( e ) { >+ this.info( e ); >+ } >+ } > }, > > _run : function() { >@@ -60,26 +65,36 @@ > this._testsTotal ); > this.info( " -----===== " + this._currentClass + " =====-----"); > var obj = null; >- this._currentFunction = "construct"; >- try { >- var obj = new this._testClasses[ this._currentClass ](); >+ this._currentFunction = "construct"; >+ if( this._NOTRYCATCH ) { >+ obj = new this._testClasses[ this._currentClass ](); > var testFunctions = this._getTestFunctions( obj ); > for ( this._currentFunction in testFunctions ){ > this._asserts = 0; > testFunctions[ this._currentFunction ].call( obj ); > this.info( this._currentFunction + " - OK " ); >+ } >+ } else { >+ try { >+ obj = new this._testClasses[ this._currentClass ](); >+ var testFunctions = this._getTestFunctions( obj ); >+ for ( this._currentFunction in testFunctions ){ >+ this._asserts = 0; >+ testFunctions[ this._currentFunction ].call( obj ); >+ this.info( this._currentFunction + " - OK " ); >+ } >+ } catch( e ) { >+ // a test failed: >+ this._freezeQooxdoo(); >+ this._presenter.setFailed( true ); >+ this.info( this._currentFunction + " failed:" ); >+ this.info( e ); >+ this.info( this._asserts + " asserts succeeded." ); >+ this._createFailLog( e, obj ); >+ this._checkFlushState(); >+ throw( "Tests aborted!" ); > } >- } catch( e ) { >- // a test failed: >- this._freezeQooxdoo(); >- this._presenter.setFailed( true ); >- this.info( this._currentFunction + " failed:" ); >- this.info( e ); >- this.info( this._asserts + " asserts succeeded." ); >- this._createFailLog( e, obj ); >- this._checkFlushState(); >- throw( "Tests aborted!" ); >- } >+ } > qx.ui.core.ClientDocument.getInstance().removeAll(); > obj.dispose(); > finished++; >Index: js/resource/RAPThemeSupport.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt.test/org.eclipse.rap.rwt.q07.jstest/js/resource/RAPThemeSupport.js,v >retrieving revision 1.4 >diff -u -r1.4 RAPThemeSupport.js >--- js/resource/RAPThemeSupport.js 23 Oct 2009 15:18:50 -0000 1.4 >+++ js/resource/RAPThemeSupport.js 27 Oct 2009 12:01:34 -0000 >@@ -4,7 +4,8 @@ > qx.Theme.define("org.eclipse.swt.theme.DefaultIcons",{title:"RAP Default Theme",icons:{uri:"rwt-resources/themes/Default/widgets"}}); > qx.Theme.define("org.eclipse.swt.theme.DefaultWidgets",{title:"RAP Default Theme",widgets:{uri:"rwt-resources/themes/Default/widgets"}}); > qx.Theme.define("org.eclipse.swt.theme.DefaultAppearances",{title:"RAP Default Theme",extend:org.eclipse.swt.theme.AppearancesBase,appearances:{}}); >-qx.Theme.define("org.eclipse.swt.theme.Default",{title:"RAP Default Theme",meta:{"color":org.eclipse.swt.theme.DefaultColors,"border":org.eclipse.swt.theme.DefaultBorders,"font":org.eclipse.swt.theme.DefaultFonts,"icon":org.eclipse.swt.theme.DefaultIcons,"widget":org.eclipse.swt.theme.DefaultWidgets,"appearance":org.eclipse.swt.theme.DefaultAppearances}});ts=org.eclipse.swt.theme.ThemeStore.getInstance();ts.defineValues({"dimensions":{"0": 0,"5e": 2,"34e": 18,"bc": 4,"3db": 21,"eb": 5,"2c1": 15},"boxdims":{"1204d3a5": [4,5,4,5],"1203f6c4": [0,3,0,4],"12043ca2": [1,10,1,10],"120462f3": [2,3,2,3],"12042a9a": [1,2,1,2],"12042cf3": [1,3,2,3],"1205a000": [8,0,0,0],"1203f482": [0,2,0,2],"12050bfe": [5,6,5,6],"12045c31": [2,0,2,1],"1204990b": [3,3,3,3],"1205a4b2": [8,2,2,2],"12046534": [2,4,2,4],"1203f000": [0,0,0,0],"1203f018": [0,0,1,0],"12042859": [1,1,1,1],"1204cef5": [4,3,2,5],"1204969c": [3,2,1,4],"12049b4c": [3,4,3,4]},"images":{"a38b22a1": ["a38b22a1",1,24],"df7ccd2b": ["df7ccd2b",16,5],"1538b132": ["1538b132",10,10],"79831ead": ["79831ead",14,14],"812027ac": ["812027ac",14,14],"bf9cb6": ["bf9cb6",13,13],"ffffffff": null,"343b3df0": ["343b3df0",32,32],"e37249d4": ["e37249d4",32,32],"3698cce2": ["3698cce2",16,15],"6344dd7c": ["6344dd7c",13,13],"8ad6c431": ["8ad6c431",16,7],"9ae0f28": ["9ae0f28",13,13],"1ff103ea": ["1ff103ea",5,8],"6b14472a": ["6b14472a",14,14],"2d0addd8": ["2d0addd8",5,8],"148ab7bc": ["148ab7bc",1,24],"59ba7737": ["59ba7737",5,3],"ce0bfe16": ["ce0bfe16",14,14],"528d932a": ["528d932a",16,15],"4a0314a6": ["4a0314a6",13,13],"cc9c8d43": ["cc9c8d43",14,14],"c3558a6c": ["c3558a6c",14,14],"2d562700": ["2d562700",16,16],"b17f67f9": ["b17f67f9",13,13],"8cbf9f2f": ["8cbf9f2f",14,14],"f5110f98": ["f5110f98",14,14],"5858bdc1": ["5858bdc1",14,14],"e29766ac": ["e29766ac",7,4],"4cc5335": ["4cc5335",14,14],"7e94854d": ["7e94854d",13,13],"d1917230": ["d1917230",5,3],"51c7107f": ["51c7107f",16,16],"9b3a140b": ["9b3a140b",14,14],"4fb4e47": ["4fb4e47",13,13],"bd09f79": ["bd09f79",10,10],"29924320": ["29924320",1,1600],"47c215f1": ["47c215f1",7,4],"5e445f86": ["5e445f86",16,16],"6e4972e7": ["6e4972e7",16,15],"41c42459": ["41c42459",16,16],"6da39160": ["6da39160",13,13],"77a394c9": ["77a394c9",14,14],"383538e6": ["383538e6",8,5],"7cfb3c1e": ["7cfb3c1e",5,3],"2e30c177": ["2e30c177",14,14],"730f342e": ["730f342e",14,14],"fcf99fc5": ["fcf99fc5",7,4],"8cc3d9c2": ["8cc3d9c2",14,14],"e19b70c9": ["e19b70c9",5,3],"38054a38": ["38054a38",32,32],"81f5b807": ["81f5b807",13,13],"37dc5d28": ["37dc5d28",32,32],"6356c615": ["6356c615",13,13],"5efe183f": ["5efe183f",16,15],"2b1b5ef8": ["2b1b5ef8",8,5],"42f14f4f": ["42f14f4f",13,13],"8f565f00": ["8f565f00",14,14]},"gradients":{"a38b22a1": null,"df7ccd2b": null,"1538b132": null,"79831ead": null,"812027ac": null,"bf9cb6": null,"ffffffff": null,"343b3df0": null,"e37249d4": null,"3698cce2": null,"6344dd7c": null,"8ad6c431": null,"9ae0f28": null,"1ff103ea": null,"6b14472a": null,"2d0addd8": null,"148ab7bc": null,"59ba7737": null,"ce0bfe16": null,"528d932a": null,"4a0314a6": null,"cc9c8d43": null,"c3558a6c": null,"2d562700": null,"b17f67f9": null,"8cbf9f2f": null,"f5110f98": null,"5858bdc1": null,"e29766ac": null,"4cc5335": null,"7e94854d": null,"d1917230": null,"51c7107f": null,"9b3a140b": null,"4fb4e47": null,"bd09f79": null,"29924320": null,"47c215f1": null,"5e445f86": null,"6e4972e7": null,"41c42459": null,"6da39160": null,"77a394c9": null,"383538e6": null,"7cfb3c1e": null,"2e30c177": null,"730f342e": null,"fcf99fc5": null,"8cc3d9c2": null,"e19b70c9": null,"38054a38": null,"81f5b807": null,"37dc5d28": null,"6356c615": null,"5efe183f": null,"2b1b5ef8": null,"42f14f4f": null,"8f565f00": null},"colors":{"0": "#000000","e1ffff": "#ffffe1","3cc8fe": "#fec83c","808080": "#808080","fff1f1": "#f1f1ff","ffffffff": "undefined","e4dfdc": "#dcdfe4","c8d0d4": "#d4d0c8","fbf7f7": "#f7f7fb","99a8ac": "#aca899","f8f0f0": "#f0f0f8","21dfff": "#ffdf21","7f0000": "#00007f","c0c0c0": "#c0c0c0","fff8f8": "#f8f8ff","aaa6a7": "#a7a6aa","2020cb": "#cb2020","e6e1e1": "#e1e1e6","dddddd": "#dddddd","8c8785": "#85878c","fefbfb": "#fbfbfe","d0d0d0": "#d0d0d0","c56a31": "#316ac5","a59679": "#7996a5","c08000": "#0080c0","ffffff": "#ffffff","f3e3d9": "#d9e3f3"},"fonts":{"c2bbbd19":{"family": ["Segoe UI","Corbel","Calibri","Tahoma","Lucida Sans Unicode","sans-serif"],"size": 11,"bold": true,"italic": false},"e7de1195":{"family": ["Segoe UI","Corbel","Calibri","Tahoma","Lucida Sans Unicode","sans-serif"],"size": 11,"bold": false,"italic": false}},"borders":{"dc902e9c":{"width": 1,"style": "solid","color": "#a7a6aa"},"c411a436":{"width": 1,"style": "outset","color": null},"defc3b4a":{"width": 1,"style": "solid","color": "#aca899"},"c411a45c":{"width": 2,"style": "outset","color": null},"8879b0d1":{"width": 1,"style": "solid","color": "#000000"},"e185b8a2":{"width": 1,"style": "solid","color": "#d4d0c8"},"36a":{"width": 0,"style": null,"color": null},"5fbe325":{"width": 2,"style": "inset","color": null},"df980d98":{"width": 1,"style": "solid","color": "#c0c0c0"},"defc40ee":{"width": 2,"style": "solid","color": "#aca899"},"5fbe2ff":{"width": 1,"style": "inset","color": null},"e7a19339":{"width": 2,"style": "solid","color": "#fec83c"},"689288d":{"width": 1,"style": "solid","color": null}}});ts.setThemeCssValues("org.eclipse.swt.theme.Default",{"DateTime-DownButton":{"background-image": [[[],"e19b70c9"]],"background-color": [[[],"fff8f8"]],"border": [[[":pressed"],"5fbe325"],[[],"c411a45c"]],"border-radius": [],"width": [[[],"2c1"]]},"Spinner-DownButton":{"background-image": [[[],"59ba7737"]],"background-color": [[[],"fff8f8"]],"border": [[[":pressed"],"5fbe325"],[[],"c411a45c"]],"border-radius": [],"width": [[[],"2c1"]]},"DateTime-DropDownButton":{"background-image": [[[],"47c215f1"]],"background-color": [[[],"fff8f8"]],"border": [[[],"c411a436"]],"border-radius": [],"width": [[[],"2c1"]]},"Link-Hyperlink":{"color": [[[":disabled"],"aaa6a7"],[[],"7f0000"]]},"MenuItem-CascadeIcon":{"background-image": [[[],"4fb4e47"]]},"Spinner":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"ffffff"]],"font": [[[],"e7de1195"]],"border": [[["[BORDER"],"5fbe2ff"],[[],"36a"]],"border-radius": [],"padding": [[[],"120462f3"]]},"ToolItem":{"color": [[[":disabled"],"aaa6a7"],[[],"ffffffff"]],"background-color": [[[":hover"],"ffffff"],[[],"ffffffff"]],"background-image": [[[],"ffffffff"]],"border": [[[":selected"],"5fbe2ff"],[[":pressed"],"5fbe2ff"],[[":hover"],"c411a436"],[["[FLAT"],"36a"],[[],"c411a436"]],"spacing": [[[],"bc"]],"padding": [[[":selected"],"1204969c"],[[":pressed"],"1204969c"],[[":hover"],"120462f3"],[["[FLAT"],"12049b4c"],[[],"120462f3"]]},"Tree-Checkbox":{"background-image": [[[":checked",":grayed",":hover"],"bf9cb6"],[[":checked",":grayed"],"81f5b807"],[[":checked",":hover"],"42f14f4f"],[[":checked"],"6da39160"],[[":hover"],"9ae0f28"],[[],"b17f67f9"]]},"CTabFolder":{"border-color": [[[],"c0c0c0"]],"border-radius": [[[],"1203f000"]]},"TreeColumn":{"background-color": [[[],"fff8f8"]],"background-image": [[[],"ffffffff"]],"border-bottom": [[[":hover"],"e7a19339"],[[],"defc40ee"]],"padding": [[[],"12042a9a"]]},"CoolBar":{"background-image": [[[],"ffffffff"]]},"ExpandItem-Button":{"background-image": [[[":expanded",":hover"],"2d562700"],[[":expanded"],"51c7107f"],[[":hover"],"41c42459"],[[],"5e445f86"]]},"Group":{"background-color": [[[],"fff8f8"]],"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"font": [[[],"e7de1195"]],"border": [[["[BORDER"],"5fbe325"],[[],"36a"]]},"Spinner-UpButton":{"background-image": [[[],"7cfb3c1e"]],"background-color": [[[],"fff8f8"]],"border": [[[":pressed"],"5fbe325"],[[],"c411a45c"]],"border-radius": [],"width": [[[],"2c1"]]},"Menu":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"fff8f8"]],"font": [[[],"e7de1195"]],"border": [[[],"c411a45c"]],"padding": [[[],"12042859"]]},"TabFolder":{},"Button":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[["[TOGGLE","[FLAT",":selected"],"e6e1e1"],[["[TOGGLE","[FLAT",":pressed"],"e6e1e1"],[["[PUSH","[FLAT",":pressed"],"e6e1e1"],[["[TOGGLE",":hover"],"fefbfb"],[["[PUSH",":hover"],"fefbfb"],[["[TOGGLE"],"fbf7f7"],[["[PUSH"],"fbf7f7"],[[],"fff8f8"]],"background-image": [[[],"ffffffff"]],"border": [[["[TOGGLE","[BORDER",":pressed"],"5fbe325"],[["[PUSH","[BORDER",":pressed"],"5fbe325"],[["[TOGGLE",":selected"],"5fbe2ff"],[["[TOGGLE",":pressed"],"5fbe2ff"],[["[PUSH",":pressed"],"5fbe2ff"],[["[TOGGLE","[BORDER"],"c411a45c"],[["[PUSH","[BORDER"],"c411a45c"],[["[TOGGLE","[FLAT"],"8879b0d1"],[["[PUSH","[FLAT"],"8879b0d1"],[["[TOGGLE"],"c411a436"],[["[PUSH"],"c411a436"],[["[BORDER"],"5fbe325"],[[],"36a"]],"border-radius": [],"padding": [[["[TOGGLE","[FLAT",":selected"],"12050bfe"],[["[TOGGLE","[FLAT",":pressed"],"12050bfe"],[["[PUSH","[FLAT",":pressed"],"12050bfe"],[["[TOGGLE",":selected"],"1204cef5"],[["[TOGGLE",":pressed"],"1204cef5"],[["[PUSH",":pressed"],"1204cef5"],[["[TOGGLE","[FLAT"],"12050bfe"],[["[PUSH","[FLAT"],"12050bfe"],[["[TOGGLE"],"12050bfe"],[["[PUSH"],"12050bfe"],[[],"1204d3a5"]],"spacing": [[["[RADIO"],"bc"],[["[CHECK"],"bc"],[[],"5e"]],"font": [[["[TOGGLE"],"e7de1195"],[["[PUSH"],"e7de1195"],[[],"e7de1195"]]},"Slider-UpButton":{"background-color": [[[],"fff8f8"]],"border": [[[],"c411a436"]],"background-image": [[[":vertical"],"2b1b5ef8"],[[":horizontal"],"1ff103ea"],[[],"ffffffff"]]},"DateTime":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"ffffff"]],"font": [[[],"e7de1195"]],"border": [[["[BORDER"],"5fbe2ff"],[[],"36a"]],"border-radius": [],"padding": [[[],"120462f3"]]},"CLabel":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"fff8f8"]],"font": [[[],"e7de1195"]],"border": [[["[BORDER"],"5fbe2ff"],[[],"36a"]],"border-radius": [],"background-image": [[[],"ffffffff"]],"padding": [[[],"1204990b"]],"spacing": [[[],"eb"]]},"MenuItem-CheckIcon":{"background-image": [[[],"8ad6c431"]]},"Slider-DownButton":{"background-color": [[[],"fff8f8"]],"border": [[[],"c411a436"]],"background-image": [[[":vertical"],"383538e6"],[[":horizontal"],"2d0addd8"],[[],"ffffffff"]]},"CCombo-Button":{"background-image": [[[],"e29766ac"]],"background-color": [[[],"fff8f8"]],"border": [[["[FLAT",":hover"],"c411a436"],[["[FLAT"],"36a"],[[],"c411a436"]],"border-radius": [],"width": [[[],"2c1"]]},"Shell":{"border": [[[":maximized"],"36a"],[["[BORDER"],"c411a45c"],[["[TITLE"],"c411a45c"],[["[BORDER"],"5fbe325"],[[],"8879b0d1"]],"border-radius": [],"background-image": [[[],"ffffffff"]],"padding": [[[],"1203f000"]],"background-color": [[[],"fff8f8"]]},"ExpandItem-Header":{"background-color": [[[],"c8d0d4"]],"border": [[[],"36a"]],"border-radius": []},"Scale":{"background-color": [[[],"fff8f8"]],"border": [[["[BORDER"],"5fbe325"],[[],"36a"]],"border-radius": []},"Combo":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"ffffff"]],"font": [[[],"e7de1195"]],"border": [[[],"5fbe325"]],"border-radius": []},"ToolItem-DropDownIcon":{"background-image": [[[],"fcf99fc5"]],"border": [[[":hover"],"5fbe2ff"],[[],"36a"]]},"Combo-Button":{"background-image": [[[],"e29766ac"]],"background-color": [[[],"fff8f8"]],"border": [[[],"c411a436"]],"border-radius": [],"width": [[[],"2c1"]]},"ToolTip":{"color": [[[],"0"]],"background-color": [[[],"e1ffff"]],"border": [[[],"689288d"]],"border-radius": [],"background-image": [[[],"ffffffff"]],"padding": [[[],"12042cf3"]],"font": [[[],"e7de1195"]]},"Slider-Thumb":{"background-color": [[[],"fff8f8"]],"border": [[[],"c411a436"]]},"CCombo-List":{"border": [[[],"dc902e9c"]],"border-radius": []},"DateTime-Calendar-Day":{"color": [[[":selected",":hover"],"ffffff"],[[":otherMonth"],"808080"],[[":selected"],"ffffff"],[[],"0"]],"background-color": [[[":selected",":unfocused"],"c0c0c0"],[[":selected",":hover"],"c56a31"],[[":hover"],"f3e3d9"],[[":otherMonth"],"ffffffff"],[[":selected"],"c56a31"],[[],"fff8f8"]]},"ExpandBar":{"color": [[[],"0"]],"font": [[[],"e7de1195"]],"border": [[["[BORDER"],"5fbe325"],[[],"36a"]],"border-radius": []},"ToolBar":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"fff8f8"]],"background-image": [[[],"ffffffff"]],"padding": [[[],"1203f000"]],"spacing": [[[],"0"]],"border": [[["[BORDER"],"c411a436"],[[],"36a"]]},"Display":{"rwt-shadow-color": [[[],"aaa6a7"]],"rwt-highlight-color": [[[],"ffffff"]],"rwt-darkshadow-color": [[[],"8c8785"]],"rwt-lightshadow-color": [[[],"e4dfdc"]],"rwt-thinborder-color": [[[],"99a8ac"]],"rwt-selectionmarker-color": [[[],"3cc8fe"]],"rwt-error-image": [[[],"e37249d4"]],"rwt-information-image": [[[],"38054a38"]],"rwt-working-image": [],"rwt-question-image": [[[],"343b3df0"]],"rwt-warning-image": [[[],"37dc5d28"]],"background-image": [[[],"29924320"]]},"TableItem":{"color": [[[":selected"],"ffffff"],[[":disabled"],"aaa6a7"],[[],"ffffffff"]],"background-color": [[[":selected",":unfocused"],"c0c0c0"],[[":selected"],"c56a31"],[[],"ffffffff"]]},"*":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"fff8f8"]],"background-image": [[[],"ffffffff"]],"font": [[[],"e7de1195"]],"border": [[["[BORDER"],"5fbe325"],[[],"36a"]]},"CCombo-Button-Icon":{"background-image": [[[],"ffffffff"]]},"Button-RadioIcon":{"background-image": [[[":selected",":hover"],"6344dd7c"],[[":selected"],"7e94854d"],[[":hover"],"6356c615"],[[],"4a0314a6"]]},"Combo-Button-Icon":{"background-image": [[[],"ffffffff"]]},"Sash":{},"DateTime-DropDownCalendar":{"border": [[[],"dc902e9c"]]},"DateTime-Calendar-NextYearButton":{"background-image": [[[],"5efe183f"]]},"DateTime-Field":{"color": [[[":selected"],"ffffff"],[[],"0"]],"background-color": [[[":selected"],"c56a31"],[[],"fff8f8"]]},"TabItem":{"background-color": [[[":hover"],"fff8f8"],[[":selected"],"fff8f8"],[[],"fff8f8"]],"background-image": [[[],"ffffffff"]],"border-top-color": [[[":selected"],"3cc8fe"],[[],"99a8ac"]],"border-bottom-color": [[[":selected"],"3cc8fe"],[[],"99a8ac"]]},"DateTime-Calendar-NextMonthButton":{"background-image": [[[],"528d932a"]]},"ToolItem-Separator":{"width": [[[],"bc"]]},"CCombo":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"ffffff"]],"font": [[[],"e7de1195"]],"border": [[["[BORDER"],"5fbe2ff"],[[],"36a"]],"border-radius": []},"TableColumn-SortIndicator":{"background-image": [[[":down"],"bd09f79"],[[":up"],"1538b132"],[[],"ffffffff"]]},"TreeColumn-SortIndicator":{"background-image": [[[":down"],"bd09f79"],[[":up"],"1538b132"],[[],"ffffffff"]]},"Group-Frame":{"border": [[[],"defc3b4a"]],"border-radius": [],"margin": [[[],"1205a000"]],"padding": [[[],"1205a4b2"]]},"ProgressBar":{"background-color": [[[],"fff8f8"]],"background-image": [[[],"ffffffff"]],"border": [[[],"df980d98"]]},"Composite":{"border": [[["[BORDER"],"5fbe325"],[[],"36a"]],"border-radius": [],"background-color": [[[],"ffffffff"]],"background-image": [[[],"ffffffff"]]},"Shell-MinButton":{"margin": [[[],"12045c31"]],"background-image": [[[":inactive",":hover"],"77a394c9"],[[":inactive"],"8cbf9f2f"],[[":hover"],"f5110f98"],[[],"8f565f00"]]},"TableColumn":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"font": [[[],"e7de1195"]],"background-color": [[[],"fff8f8"]],"background-image": [[[],"ffffffff"]],"border-bottom": [[[":hover"],"e7a19339"],[[],"defc40ee"]],"padding": [[[],"12042a9a"]]},"MenuItem-RadioIcon":{"background-image": [[[],"df7ccd2b"]]},"Group-Label":{"border": [[[],"36a"]],"border-radius": [],"padding": [[[],"1203f6c4"]],"margin": [[[],"12043ca2"]],"background-color": [[[],"ffffffff"]],"color": [[[],"ffffffff"]]},"Table-Checkbox":{"width": [[[],"3db"]],"background-image": [[[":checked",":grayed",":hover"],"bf9cb6"],[[":checked",":grayed"],"81f5b807"],[[":checked",":hover"],"42f14f4f"],[[":checked"],"6da39160"],[[":hover"],"9ae0f28"],[[],"b17f67f9"]]},"CTabItem":{"font": [[[],"e7de1195"]],"color": [[[":disabled"],"0"],[[":selected"],"0"],[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[":selected"],"f3e3d9"],[[],"fff8f8"]],"background-image": [[[],"ffffffff"]],"padding": [[[],"12046534"]],"spacing": [[[],"bc"]]},"Combo-Field":{"padding": []},"Table":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"ffffff"]]},"TreeItem":{"color": [[[":selected",":unfocused"],"ffffff"],[[":selected"],"ffffff"],[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[":selected",":unfocused"],"c0c0c0"],[[":selected"],"c56a31"],[[],"ffffff"]]},"Slider":{"background-color": [[[],"f8f0f0"]]},"DateTime-Calendar-Navbar":{"border": [[[],"36a"]],"border-radius": [],"color": [[[],"ffffff"]],"background-color": [[[],"c08000"]],"font": [[[],"c2bbbd19"]]},"CoolItem-Handle":{"border": [[[],"c411a436"]],"width": [[[],"bc"]]},"Tree":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"ffffff"]]},"DateTime-UpButton":{"background-image": [[[],"d1917230"]],"background-color": [[[],"fff8f8"]],"border": [[[":pressed"],"5fbe325"],[[],"c411a45c"]],"border-radius": [],"width": [[[],"2c1"]]},"DateTime-Calendar-PreviousYearButton":{"background-image": [[[],"3698cce2"]]},"List":{"font": [[[],"e7de1195"]],"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"ffffff"]],"border": [[["[BORDER"],"5fbe2ff"],[[],"36a"]]},"List-Item":{"color": [[[":selected"],"ffffff"],[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[":selected",":unfocused"],"c0c0c0"],[[":selected"],"c56a31"],[[],"ffffffff"]]},"Sash-Handle":{"background-image": [[[":vertical"],"ffffffff"],[[":horizontal"],"ffffffff"],[[],"ffffffff"]]},"DateTime-Calendar-PreviousMonthButton":{"background-image": [[[],"6e4972e7"]]},"Scale-Thumb":{"background-color": [[[],"fff1f1"]]},"Table-Cell":{"padding": [[[],"1203f482"]],"spacing": [[[],"5e"]]},"Text":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"ffffff"]],"font": [[[],"e7de1195"]],"border": [[["[BORDER"],"5fbe2ff"],[[],"36a"]],"border-radius": [],"padding": [[[],"120462f3"]]},"Link":{"font": [[[],"e7de1195"]],"border": [[["[BORDER"],"5fbe325"],[[],"36a"]]},"MenuItem":{"color": [[[":hover"],"ffffff"],[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[":hover"],"c56a31"],[[],"ffffffff"]]},"Button-CheckIcon":{"background-image": [[[":selected",":grayed",":hover"],"bf9cb6"],[[":selected",":grayed"],"81f5b807"],[[":selected",":hover"],"42f14f4f"],[[":selected"],"6da39160"],[[":hover"],"9ae0f28"],[[],"b17f67f9"]]},"Table-GridLine":{"color": [[[],"d0d0d0"]]},"Shell-CloseButton":{"margin": [[[],"12045c31"]],"background-image": [[[":inactive",":hover"],"4cc5335"],[[":inactive"],"cc9c8d43"],[[":hover"],"812027ac"],[[],"c3558a6c"]]},"ProgressBar-Indicator":{"background-color": [[[":error"],"2020cb"],[[":paused"],"21dfff"],[[],"c08000"]],"background-image": [[[],"ffffffff"]]},"ExpandItem":{"border": [[[],"e185b8a2"]],"border-radius": []},"Label":{"color": [[[":hover"],"0"],[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[":hover"],"fff8f8"],[[],"fff8f8"]],"font": [[[],"e7de1195"]],"border": [[["[BORDER"],"5fbe2ff"],[[],"36a"]],"border-radius": [],"background-image": [[[],"ffffffff"]],"text-decoration": [[[],"none"]]},"Shell-Titlebar":{"color": [[[":inactive"],"dddddd"],[[],"ffffff"]],"background-color": [[[":inactive"],"a59679"],[[],"c08000"]],"background-gradient-color": [[[":inactive"],"a59679"],[[],"c08000"]],"background-image": [[[":inactive"],"a38b22a1"],[[],"148ab7bc"]],"font": [[[],"c2bbbd19"]],"margin": [[[],"1203f018"]],"padding": [[[],"12042a9a"]],"height": [[[],"34e"]],"border": [[[],"36a"]],"border-radius": []},"CCombo-Field":{"padding": []},"Shell-MaxButton":{"margin": [[[],"12045c31"]],"background-image": [[[":maximized",":inactive",":hover"],"9b3a140b"],[[":maximized",":inactive"],"79831ead"],[[":maximized",":hover"],"ce0bfe16"],[[":inactive",":hover"],"2e30c177"],[[":maximized"],"8cc3d9c2"],[[":inactive"],"5858bdc1"],[[":hover"],"6b14472a"],[[],"730f342e"]]},"Combo-List":{"border": [[[],"dc902e9c"]],"border-radius": []}},true);delete ts; >+qx.Theme.define("org.eclipse.swt.theme.Default",{title:"RAP Default Theme",meta:{"color":org.eclipse.swt.theme.DefaultColors,"border":org.eclipse.swt.theme.DefaultBorders,"font":org.eclipse.swt.theme.DefaultFonts,"icon":org.eclipse.swt.theme.DefaultIcons,"widget":org.eclipse.swt.theme.DefaultWidgets,"appearance":org.eclipse.swt.theme.DefaultAppearances}}); >+ts=org.eclipse.swt.theme.ThemeStore.getInstance();ts.defineValues({"dimensions":{"0": 0,"5e": 2,"34e": 18,"bc": 4,"3db": 21,"eb": 5,"2c1": 15},"boxdims":{"1204d3a5": [4,5,4,5],"1203f6c4": [0,3,0,4],"12043ca2": [1,10,1,10],"120462f3": [2,3,2,3],"120460b1": [2,2,2,1],"120460b2": [2,2,2,2],"12042a9a": [1,2,1,2],"12042cf3": [1,3,2,3],"1205a000": [8,0,0,0],"1203f482": [0,2,0,2],"12050bfe": [5,6,5,6],"12045c31": [2,0,2,1],"1204990b": [3,3,3,3],"1205a4b2": [8,2,2,2],"12046534": [2,4,2,4],"1203f000": [0,0,0,0],"1203f018": [0,0,1,0],"12042859": [1,1,1,1],"1204cef5": [4,3,2,5],"1204969c": [3,2,1,4],"12049b4c": [3,4,3,4]},"images":{"a38b22a1": ["a38b22a1",1,24],"df7ccd2b": ["df7ccd2b",16,5],"1538b132": ["1538b132",10,10],"79831ead": ["79831ead",14,14],"812027ac": ["812027ac",14,14],"bf9cb6": ["bf9cb6",13,13],"ffffffff": null,"343b3df0": ["343b3df0",32,32],"e37249d4": ["e37249d4",32,32],"3698cce2": ["3698cce2",16,15],"6344dd7c": ["6344dd7c",13,13],"8ad6c431": ["8ad6c431",16,7],"9ae0f28": ["9ae0f28",13,13],"1ff103ea": ["1ff103ea",5,8],"6b14472a": ["6b14472a",14,14],"2d0addd8": ["2d0addd8",5,8],"148ab7bc": ["148ab7bc",1,24],"59ba7737": ["59ba7737",5,3],"ce0bfe16": ["ce0bfe16",14,14],"528d932a": ["528d932a",16,15],"4a0314a6": ["4a0314a6",13,13],"cc9c8d43": ["cc9c8d43",14,14],"c3558a6c": ["c3558a6c",14,14],"2d562700": ["2d562700",16,16],"b17f67f9": ["b17f67f9",13,13],"8cbf9f2f": ["8cbf9f2f",14,14],"f5110f98": ["f5110f98",14,14],"5858bdc1": ["5858bdc1",14,14],"e29766ac": ["e29766ac",7,4],"4cc5335": ["4cc5335",14,14],"9d164bda": ["9d164bda",16,16],"7e94854d": ["7e94854d",13,13],"d1917230": ["d1917230",5,3],"51c7107f": ["51c7107f",16,16],"9b3a140b": ["9b3a140b",14,14],"4fb4e47": ["4fb4e47",13,13],"bd09f79": ["bd09f79",10,10],"29924320": ["29924320",1,1600],"47c215f1": ["47c215f1",7,4],"5e445f86": ["5e445f86",16,16],"6e4972e7": ["6e4972e7",16,15],"41c42459": ["41c42459",16,16],"6da39160": ["6da39160",13,13],"77a394c9": ["77a394c9",14,14],"383538e6": ["383538e6",8,5],"7cfb3c1e": ["7cfb3c1e",5,3],"2e30c177": ["2e30c177",14,14],"730f342e": ["730f342e",14,14],"fcf99fc5": ["fcf99fc5",7,4],"8cc3d9c2": ["8cc3d9c2",14,14],"e19b70c9": ["e19b70c9",5,3],"38054a38": ["38054a38",32,32],"81f5b807": ["81f5b807",13,13],"37dc5d28": ["37dc5d28",32,32],"6356c615": ["6356c615",13,13],"5efe183f": ["5efe183f",16,15],"2b1b5ef8": ["2b1b5ef8",8,5],"42f14f4f": ["42f14f4f",13,13],"8f565f00": ["8f565f00",14,14]},"gradients":{"a38b22a1": null,"df7ccd2b": null,"1538b132": null,"79831ead": null,"812027ac": null,"bf9cb6": null,"ffffffff": null,"343b3df0": null,"e37249d4": null,"3698cce2": null,"6344dd7c": null,"8ad6c431": null,"9ae0f28": null,"1ff103ea": null,"6b14472a": null,"2d0addd8": null,"148ab7bc": null,"59ba7737": null,"ce0bfe16": null,"528d932a": null,"4a0314a6": null,"cc9c8d43": null,"c3558a6c": null,"2d562700": null,"b17f67f9": null,"8cbf9f2f": null,"f5110f98": null,"5858bdc1": null,"e29766ac": null,"4cc5335": null,"9d164bda": null,"7e94854d": null,"d1917230": null,"51c7107f": null,"9b3a140b": null,"4fb4e47": null,"bd09f79": null,"29924320": null,"47c215f1": null,"5e445f86": null,"6e4972e7": null,"41c42459": null,"6da39160": null,"77a394c9": null,"383538e6": null,"7cfb3c1e": null,"2e30c177": null,"730f342e": null,"fcf99fc5": null,"8cc3d9c2": null,"e19b70c9": null,"38054a38": null,"81f5b807": null,"37dc5d28": null,"6356c615": null,"5efe183f": null,"2b1b5ef8": null,"42f14f4f": null,"8f565f00": null},"colors":{"0": "#000000","e1ffff": "#ffffe1","3cc8fe": "#fec83c","808080": "#808080","fff1f1": "#f1f1ff","ffffffff": "undefined","e4dfdc": "#dcdfe4","c8d0d4": "#d4d0c8","fbf7f7": "#f7f7fb","99a8ac": "#aca899","f8f0f0": "#f0f0f8","21dfff": "#ffdf21","7f0000": "#00007f","c0c0c0": "#c0c0c0","fff8f8": "#f8f8ff","aaa6a7": "#a7a6aa","2020cb": "#cb2020","e6e1e1": "#e1e1e6","dddddd": "#dddddd","8c8785": "#85878c","fefbfb": "#fbfbfe","d0d0d0": "#d0d0d0","c56a31": "#316ac5","a59679": "#7996a5","c08000": "#0080c0","ffffff": "#ffffff","f3e3d9": "#d9e3f3"},"fonts":{"c2bbbd19":{"family": ["Segoe UI","Corbel","Calibri","Tahoma","Lucida Sans Unicode","sans-serif"],"size": 11,"bold": true,"italic": false},"e7de1195":{"family": ["Segoe UI","Corbel","Calibri","Tahoma","Lucida Sans Unicode","sans-serif"],"size": 11,"bold": false,"italic": false}},"borders":{"dc902e9c":{"width": 1,"style": "solid","color": "#a7a6aa"},"c411a436":{"width": 1,"style": "outset","color": null},"defc3b4a":{"width": 1,"style": "solid","color": "#aca899"},"c411a45c":{"width": 2,"style": "outset","color": null},"8879b0d1":{"width": 1,"style": "solid","color": "#000000"},"e185b8a2":{"width": 1,"style": "solid","color": "#d4d0c8"},"36a":{"width": 0,"style": null,"color": null},"5fbe325":{"width": 2,"style": "inset","color": null},"e445abb0":{"width": 1,"style": "dotted","color": "#909090"},"df980d98":{"width": 1,"style": "solid","color": "#c0c0c0"},"defc40ee":{"width": 2,"style": "solid","color": "#aca899"},"5fbe2ff":{"width": 1,"style": "inset","color": null},"e7a19339":{"width": 2,"style": "solid","color": "#fec83c"},"689288d":{"width": 1,"style": "solid","color": null}}});ts.setThemeCssValues("org.eclipse.swt.theme.Default",{"DateTime-DownButton":{"background-image": [[[],"e19b70c9"]],"background-color": [[[],"fff8f8"]],"border": [[[":pressed"],"5fbe325"],[[],"c411a45c"]],"border-radius": [],"width": [[[],"2c1"]]},"Spinner-DownButton":{"background-image": [[[],"59ba7737"]],"background-color": [[[],"fff8f8"]],"border": [[[":pressed"],"5fbe325"],[[],"c411a45c"]],"border-radius": [],"width": [[[],"2c1"]]},"DateTime-DropDownButton":{"background-image": [[[],"47c215f1"]],"background-color": [[[],"fff8f8"]],"border": [[[],"c411a436"]],"border-radius": [],"width": [[[],"2c1"]]},"Link-Hyperlink":{"color": [[[":disabled"],"aaa6a7"],[[],"7f0000"]]},"MenuItem-CascadeIcon":{"background-image": [[[],"4fb4e47"]]},"Spinner":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"ffffff"]],"font": [[[],"e7de1195"]],"border": [[["[BORDER"],"5fbe2ff"],[[],"36a"]],"border-radius": [],"padding": [[[],"120462f3"]]},"ToolItem":{"color": [[[":disabled"],"aaa6a7"],[[],"ffffffff"]],"background-color": [[[":hover"],"ffffff"],[[],"ffffffff"]],"background-image": [[[],"ffffffff"]],"border": [[[":selected"],"5fbe2ff"],[[":pressed"],"5fbe2ff"],[[":hover"],"c411a436"],[["[FLAT"],"36a"],[[],"c411a436"]],"spacing": [[[],"bc"]],"padding": [[[":selected"],"1204969c"],[[":pressed"],"1204969c"],[[":hover"],"120462f3"],[["[FLAT"],"12049b4c"],[[],"120462f3"]]},"Tree-Checkbox":{"background-image": [[[":checked",":grayed",":hover"],"bf9cb6"],[[":checked",":grayed"],"81f5b807"],[[":checked",":hover"],"42f14f4f"],[[":checked"],"6da39160"],[[":hover"],"9ae0f28"],[[],"b17f67f9"]]},"CTabFolder":{"border-color": [[[],"c0c0c0"]],"border-radius": [[[],"1203f000"]]},"TreeColumn":{"background-color": [[[],"fff8f8"]],"background-image": [[[],"ffffffff"]],"border-bottom": [[[":hover"],"e7a19339"],[[],"defc40ee"]],"padding": [[[],"12042a9a"]]},"CoolBar":{"background-image": [[[],"ffffffff"]]},"ExpandItem-Button":{"background-image": [[[":expanded",":hover"],"2d562700"],[[":expanded"],"51c7107f"],[[":hover"],"41c42459"],[[],"5e445f86"]]},"Group":{"background-color": [[[],"fff8f8"]],"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"font": [[[],"e7de1195"]],"border": [[["[BORDER"],"5fbe325"],[[],"36a"]]},"Spinner-UpButton":{"background-image": [[[],"7cfb3c1e"]],"background-color": [[[],"fff8f8"]],"border": [[[":pressed"],"5fbe325"],[[],"c411a45c"]],"border-radius": [],"width": [[[],"2c1"]]},"Menu":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"fff8f8"]],"font": [[[],"e7de1195"]],"border": [[[],"c411a45c"]],"padding": [[[],"12042859"]]},"TabFolder":{},"Button":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[["[TOGGLE","[FLAT",":selected"],"e6e1e1"],[["[TOGGLE","[FLAT",":pressed"],"e6e1e1"],[["[PUSH","[FLAT",":pressed"],"e6e1e1"],[["[TOGGLE",":hover"],"fefbfb"],[["[PUSH",":hover"],"fefbfb"],[["[TOGGLE"],"fbf7f7"],[["[PUSH"],"fbf7f7"],[[],"fff8f8"]],"background-image": [[[],"ffffffff"]],"border": [[["[TOGGLE","[BORDER",":pressed"],"5fbe325"],[["[PUSH","[BORDER",":pressed"],"5fbe325"],[["[TOGGLE",":selected"],"5fbe2ff"],[["[TOGGLE",":pressed"],"5fbe2ff"],[["[PUSH",":pressed"],"5fbe2ff"],[["[TOGGLE","[BORDER"],"c411a45c"],[["[PUSH","[BORDER"],"c411a45c"],[["[TOGGLE","[FLAT"],"8879b0d1"],[["[PUSH","[FLAT"],"8879b0d1"],[["[TOGGLE"],"c411a436"],[["[PUSH"],"c411a436"],[["[BORDER"],"5fbe325"],[[],"36a"]],"border-radius": [],"padding": [[["[TOGGLE","[FLAT",":selected"],"12050bfe"],[["[TOGGLE","[FLAT",":pressed"],"12050bfe"],[["[PUSH","[FLAT",":pressed"],"12050bfe"],[["[TOGGLE",":selected"],"1204cef5"],[["[TOGGLE",":pressed"],"1204cef5"],[["[PUSH",":pressed"],"1204cef5"],[["[TOGGLE","[FLAT"],"12050bfe"],[["[PUSH","[FLAT"],"12050bfe"],[["[TOGGLE"],"12050bfe"],[["[PUSH"],"12050bfe"],[[],"1204d3a5"]],"spacing": [[["[RADIO"],"bc"],[["[CHECK"],"bc"],[[],"5e"]],"font": [[["[TOGGLE"],"e7de1195"],[["[PUSH"],"e7de1195"],[[],"e7de1195"]]},"Slider-UpButton":{"background-color": [[[],"fff8f8"]],"border": [[[],"c411a436"]],"background-image": [[[":vertical"],"2b1b5ef8"],[[":horizontal"],"1ff103ea"],[[],"ffffffff"]]},"DateTime":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"ffffff"]],"font": [[[],"e7de1195"]],"border": [[["[BORDER"],"5fbe2ff"],[[],"36a"]],"border-radius": [],"padding": [[[],"120462f3"]]},"CLabel":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"fff8f8"]],"font": [[[],"e7de1195"]],"border": [[["[BORDER"],"5fbe2ff"],[[],"36a"]],"border-radius": [],"background-image": [[[],"ffffffff"]],"padding": [[[],"1204990b"]],"spacing": [[[],"eb"]]},"MenuItem-CheckIcon":{"background-image": [[[],"8ad6c431"]]},"Slider-DownButton":{"background-color": [[[],"fff8f8"]],"border": [[[],"c411a436"]],"background-image": [[[":vertical"],"383538e6"],[[":horizontal"],"2d0addd8"],[[],"ffffffff"]]},"CCombo-Button":{"background-image": [[[],"e29766ac"]],"background-color": [[[],"fff8f8"]],"border": [[["[FLAT",":hover"],"c411a436"],[["[FLAT"],"36a"],[[],"c411a436"]],"border-radius": [],"width": [[[],"2c1"]]},"Shell":{"border": [[[":maximized"],"36a"],[["[BORDER"],"c411a45c"],[["[TITLE"],"c411a45c"],[["[BORDER"],"5fbe325"],[[],"8879b0d1"]],"border-radius": [],"background-image": [[[],"ffffffff"]],"padding": [[[],"1203f000"]],"background-color": [[[],"fff8f8"]]},"ExpandItem-Header":{"background-color": [[[],"c8d0d4"]],"border": [[[],"36a"]],"border-radius": []},"Scale":{"background-color": [[[],"fff8f8"]],"border": [[["[BORDER"],"5fbe325"],[[],"36a"]],"border-radius": []},"Combo":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"ffffff"]],"font": [[[],"e7de1195"]],"border": [[[],"5fbe325"]],"border-radius": []},"ToolItem-DropDownIcon":{"background-image": [[[],"fcf99fc5"]],"border": [[[":hover"],"5fbe2ff"],[[],"36a"]]},"Combo-Button":{"background-image": [[[],"e29766ac"]],"background-color": [[[],"fff8f8"]],"border": [[[],"c411a436"]],"border-radius": [],"width": [[[],"2c1"]]},"ToolTip":{"color": [[[],"0"]],"background-color": [[[],"e1ffff"]],"border": [[[],"689288d"]],"border-radius": [],"background-image": [[[],"ffffffff"]],"padding": [[[],"12042cf3"]],"font": [[[],"e7de1195"]]},"Slider-Thumb":{"background-color": [[[],"fff8f8"]],"border": [[[],"c411a436"]]},"CCombo-List":{"border": [[[],"dc902e9c"]],"border-radius": []},"DateTime-Calendar-Day":{"color": [[[":selected",":hover"],"ffffff"],[[":otherMonth"],"808080"],[[":selected"],"ffffff"],[[],"0"]],"background-color": [[[":selected",":unfocused"],"c0c0c0"],[[":selected",":hover"],"c56a31"],[[":hover"],"f3e3d9"],[[":otherMonth"],"ffffffff"],[[":selected"],"c56a31"],[[],"fff8f8"]]},"ExpandBar":{"color": [[[],"0"]],"font": [[[],"e7de1195"]],"border": [[["[BORDER"],"5fbe325"],[[],"36a"]],"border-radius": []},"ToolBar":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"fff8f8"]],"background-image": [[[],"ffffffff"]],"padding": [[[],"1203f000"]],"spacing": [[[],"0"]],"border": [[["[BORDER"],"c411a436"],[[],"36a"]]},"Display":{"rwt-shadow-color": [[[],"aaa6a7"]],"rwt-highlight-color": [[[],"ffffff"]],"rwt-darkshadow-color": [[[],"8c8785"]],"rwt-lightshadow-color": [[[],"e4dfdc"]],"rwt-thinborder-color": [[[],"99a8ac"]],"rwt-selectionmarker-color": [[[],"3cc8fe"]],"rwt-error-image": [[[],"e37249d4"]],"rwt-information-image": [[[],"38054a38"]],"rwt-working-image": [],"rwt-question-image": [[[],"343b3df0"]],"rwt-warning-image": [[[],"37dc5d28"]],"background-image": [[[],"29924320"]]},"TableItem":{"color": [[[":selected"],"ffffff"],[[":disabled"],"aaa6a7"],[[],"ffffffff"]],"background-color": [[[":selected",":unfocused"],"c0c0c0"],[[":selected"],"c56a31"],[[],"ffffffff"]]},"*":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"fff8f8"]],"background-image": [[[],"ffffffff"]],"font": [[[],"e7de1195"]],"border": [[["[BORDER"],"5fbe325"],[[],"36a"]]},"CCombo-Button-Icon":{"background-image": [[[],"ffffffff"]]},"Button-RadioIcon":{"background-image": [[[":selected",":hover"],"6344dd7c"],[[":selected"],"7e94854d"],[[":hover"],"6356c615"],[[],"4a0314a6"]]},"Combo-Button-Icon":{"background-image": [[[],"ffffffff"]]},"DateTime-UpButton-Icon":{"background-image": [[[],"ffffffff"]]},"Sash":{},"DateTime-DropDownCalendar":{"border": [[[],"dc902e9c"]]},"DateTime-Calendar-NextYearButton":{"background-image": [[[],"5efe183f"]]},"DateTime-Field":{"color": [[[":selected"],"ffffff"],[[],"0"]],"background-color": [[[":selected"],"c56a31"],[[],"fff8f8"]]},"TabItem":{"background-color": [[[":hover"],"fff8f8"],[[":selected"],"fff8f8"],[[],"fff8f8"]],"background-image": [[[],"ffffffff"]],"border-top-color": [[[":selected"],"3cc8fe"],[[],"99a8ac"]],"border-bottom-color": [[[":selected"],"3cc8fe"],[[],"99a8ac"]]},"DateTime-Calendar-NextMonthButton":{"background-image": [[[],"528d932a"]]},"ToolItem-Separator":{"width": [[[],"bc"]]},"CCombo":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"ffffff"]],"font": [[[],"e7de1195"]],"border": [[["[BORDER"],"5fbe2ff"],[[],"36a"]],"border-radius": []},"TableColumn-SortIndicator":{"background-image": [[[":down"],"bd09f79"],[[":up"],"1538b132"],[[],"ffffffff"]]},"TreeColumn-SortIndicator":{"background-image": [[[":down"],"bd09f79"],[[":up"],"1538b132"],[[],"ffffffff"]]},"Group-Frame":{"border": [[[],"defc3b4a"]],"border-radius": [],"margin": [[[],"1205a000"]],"padding": [[[],"1205a4b2"]]},"ProgressBar":{"background-color": [[[],"fff8f8"]],"background-image": [[[],"ffffffff"]],"border": [[[],"df980d98"]]},"Composite":{"border": [[["[BORDER"],"5fbe325"],[[],"36a"]],"border-radius": [],"background-color": [[[],"ffffffff"]],"background-image": [[[],"ffffffff"]]},"Shell-MinButton":{"margin": [[[],"12045c31"]],"background-image": [[[":inactive",":hover"],"77a394c9"],[[":inactive"],"8cbf9f2f"],[[":hover"],"f5110f98"],[[],"8f565f00"]]},"TableColumn":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"font": [[[],"e7de1195"]],"background-color": [[[],"fff8f8"]],"background-image": [[[],"ffffffff"]],"border-bottom": [[[":hover"],"e7a19339"],[[],"defc40ee"]],"padding": [[[],"12042a9a"]]},"TabItem-FocusIndicator":{"background-color": [[[],"fff8f8"]],"border": [[[],"36a"]],"padding": [],"margin": []},"MenuItem-RadioIcon":{"background-image": [[[],"df7ccd2b"]]},"Table-Checkbox":{"width": [[[],"3db"]],"background-image": [[[":checked",":grayed",":hover"],"bf9cb6"],[[":checked",":grayed"],"81f5b807"],[[":checked",":hover"],"42f14f4f"],[[":checked"],"6da39160"],[[":hover"],"9ae0f28"],[[],"b17f67f9"]]},"Group-Label":{"border": [[[],"36a"]],"border-radius": [],"padding": [[[],"1203f6c4"]],"margin": [[[],"12043ca2"]],"background-color": [[[],"ffffffff"]],"color": [[[],"ffffffff"]]},"CTabItem":{"font": [[[],"e7de1195"]],"color": [[[":disabled"],"0"],[[":selected"],"0"],[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[":selected"],"f3e3d9"],[[],"fff8f8"]],"background-image": [[[],"ffffffff"]],"padding": [[[],"12046534"]],"spacing": [[[],"bc"]]},"Combo-Field":{"padding": []},"Table":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"ffffff"]]},"DateTime-DropDownButton-Icon":{"background-image": [[[],"ffffffff"]]},"TreeItem":{"color": [[[":selected",":unfocused"],"ffffff"],[[":selected"],"ffffff"],[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[":selected",":unfocused"],"c0c0c0"],[[":selected"],"c56a31"],[[],"ffffff"]]},"Slider":{"background-color": [[[],"f8f0f0"]]},"DateTime-Calendar-Navbar":{"border": [[[],"36a"]],"border-radius": [],"color": [[[],"ffffff"]],"background-color": [[[],"c08000"]],"font": [[[],"c2bbbd19"]]},"CoolItem-Handle":{"border": [[[],"c411a436"]],"width": [[[],"bc"]]},"Tree":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"ffffff"]]},"DateTime-UpButton":{"background-image": [[[],"d1917230"]],"background-color": [[[],"fff8f8"]],"border": [[[":pressed"],"5fbe325"],[[],"c411a45c"]],"border-radius": [],"width": [[[],"2c1"]]},"DateTime-Calendar-PreviousYearButton":{"background-image": [[[],"3698cce2"]]},"List":{"font": [[[],"e7de1195"]],"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"ffffff"]],"border": [[["[BORDER"],"5fbe2ff"],[[],"36a"]]},"Button-FocusIndicator":{"background-color": [[["[RADIO"],"ffffffff"],[["[CHECK"],"ffffffff"],[["[TOGGLE"],"ffffffff"],[["[PUSH"],"ffffffff"],[[],"ffffffff"]],"border": [[["[RADIO"],"e445abb0"],[["[CHECK"],"e445abb0"],[["[TOGGLE"],"e445abb0"],[["[PUSH"],"e445abb0"],[["[BORDER"],"5fbe325"],[[],"e445abb0"]],"padding": [[["[RADIO"],"120460b1"],[["[CHECK"],"120460b1"],[["[TOGGLE"],"1203f000"],[["[PUSH"],"1203f000"],[[],"120460b2"]],"margin": [[["[RADIO"],"1203f000"],[["[CHECK"],"1203f000"],[["[TOGGLE"],"120460b2"],[["[PUSH"],"120460b2"]]},"List-Item":{"color": [[[":selected"],"ffffff"],[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[":selected",":unfocused"],"c0c0c0"],[[":selected"],"c56a31"],[[],"ffffffff"]]},"Sash-Handle":{"background-image": [[[":vertical"],"ffffffff"],[[":horizontal"],"ffffffff"],[[],"ffffffff"]]},"DateTime-Calendar-PreviousMonthButton":{"background-image": [[[],"6e4972e7"]]},"CTabFolder-DropDownButton-Icon":{"background-image": [[[],"9d164bda"]]},"Scale-Thumb":{"background-color": [[[],"fff1f1"]]},"Spinner-DownButton-Icon":{"background-image": [[[],"ffffffff"]]},"Table-Cell":{"padding": [[[],"1203f482"]],"spacing": [[[],"5e"]]},"Text":{"color": [[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[],"ffffff"]],"font": [[[],"e7de1195"]],"border": [[["[BORDER"],"5fbe2ff"],[[],"36a"]],"border-radius": [],"padding": [[[],"120462f3"]]},"Link":{"font": [[[],"e7de1195"]],"border": [[["[BORDER"],"5fbe325"],[[],"36a"]]},"MenuItem":{"color": [[[":hover"],"ffffff"],[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[":hover"],"c56a31"],[[],"ffffffff"]]},"Table-GridLine":{"color": [[[],"d0d0d0"]]},"Button-CheckIcon":{"background-image": [[[":selected",":grayed",":hover"],"bf9cb6"],[[":selected",":grayed"],"81f5b807"],[[":selected",":hover"],"42f14f4f"],[[":selected"],"6da39160"],[[":hover"],"9ae0f28"],[[],"b17f67f9"]]},"Shell-CloseButton":{"margin": [[[],"12045c31"]],"background-image": [[[":inactive",":hover"],"4cc5335"],[[":inactive"],"cc9c8d43"],[[":hover"],"812027ac"],[[],"c3558a6c"]]},"ProgressBar-Indicator":{"background-color": [[[":error"],"2020cb"],[[":paused"],"21dfff"],[[],"c08000"]],"background-image": [[[],"ffffffff"]]},"DateTime-DownButton-Icon":{"background-image": [[[],"ffffffff"]]},"ExpandItem":{"border": [[[],"e185b8a2"]],"border-radius": []},"Label":{"color": [[[":hover"],"0"],[[":disabled"],"aaa6a7"],[[],"0"]],"background-color": [[[":hover"],"fff8f8"],[[],"fff8f8"]],"font": [[[],"e7de1195"]],"border": [[["[BORDER"],"5fbe2ff"],[[],"36a"]],"border-radius": [],"background-image": [[[],"ffffffff"]],"text-decoration": [[[],"none"]]},"Shell-Titlebar":{"color": [[[":inactive"],"dddddd"],[[],"ffffff"]],"background-color": [[[":inactive"],"a59679"],[[],"c08000"]],"background-gradient-color": [[[":inactive"],"a59679"],[[],"c08000"]],"background-image": [[[":inactive"],"a38b22a1"],[[],"148ab7bc"]],"font": [[[],"c2bbbd19"]],"margin": [[[],"1203f018"]],"padding": [[[],"12042a9a"]],"height": [[[],"34e"]],"border": [[[],"36a"]],"border-radius": []},"CCombo-Field":{"padding": []},"Shell-MaxButton":{"margin": [[[],"12045c31"]],"background-image": [[[":maximized",":inactive",":hover"],"9b3a140b"],[[":maximized",":inactive"],"79831ead"],[[":maximized",":hover"],"ce0bfe16"],[[":inactive",":hover"],"2e30c177"],[[":maximized"],"8cc3d9c2"],[[":inactive"],"5858bdc1"],[[":hover"],"6b14472a"],[[],"730f342e"]]},"Combo-List":{"border": [[[],"dc902e9c"]],"border-radius": []},"Spinner-UpButton-Icon":{"background-image": [[[],"ffffffff"]]}},true);delete ts; > qx.io.Alias.getInstance().add( "static", "../org.eclipse.rap.rwt.q07/js/resource/static" ); > qx.io.Alias.getInstance().add( "org.eclipse.swt", "../org.eclipse.rap.rwt.q07/js/resource" ); > >Index: js/resource/Includes.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt.test/org.eclipse.rap.rwt.q07.jstest/js/resource/Includes.js,v >retrieving revision 1.11 >diff -u -r1.11 Includes.js >--- js/resource/Includes.js 23 Oct 2009 15:23:02 -0000 1.11 >+++ js/resource/Includes.js 27 Oct 2009 12:01:34 -0000 >@@ -71,6 +71,7 @@ > <script src="../org.eclipse.rap.rwt.q07/js/org/eclipse/rwt/GfxMixin.js" type="text/javascript"></script>\ > <script src="../org.eclipse.rap.rwt.q07/js/org/eclipse/rwt/RoundedBorder.js" type="text/javascript"></script>\ > <script src="../org.eclipse.rap.rwt.q07/js/org/eclipse/rwt/MenuManager.js" type="text/javascript"></script>\ >+<script src="../org.eclipse.rap.rwt.q07/js/org/eclipse/rwt/FocusIndicator.js" type="text/javascript"></script>\ > \ > <!-- rwt.test -->\ > <script src="./js/org/eclipse/rwt/test/fixture/RAPRequestPatch.js" type="text/javascript"></script>\ >@@ -84,13 +85,14 @@ > '); > > // How to generate the RAPThemeSupport.js: >-// - Start an RAP-application >+// - Start an RAP-application (non-debug for client-side) > // - Open the application in an Firefox with Firebug > // - In Firebug, go to "Html" > // - In the document, go to <body> -> <script> >-// - Copy all calls that start with qx.Theme.define("org.eclipse.swt.theme.Default... >-// - There should be 7 >-// - be careful not to copy the line-numbers with the code >+// - Copy all calls that start with "qx.Theme.define("org.eclipse.swt.theme.Default..." >+// - There should be 7 (there are several per row, maybe all in one) >+// - Also copy the calls after that, "ts=org.eclipse.swt.theme.ThemeStore.getInstance();ts.defineValues..." >+// - be careful not to copy line-numbers with the code > // - add the following lines: (without the "//") > // qx.io.Alias.getInstance().add( "static", "../org.eclipse.rap.rwt.q07/js/resource/static" ); > // qx.io.Alias.getInstance().add( "org.eclipse.swt", "../org.eclipse.rap.rwt.q07/js/resource" ); >#P org.eclipse.rap.rwt >Index: src/org/eclipse/swt/internal/widgets/scalekit/Scale.theme.xml >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt/src/org/eclipse/swt/internal/widgets/scalekit/Scale.theme.xml,v >retrieving revision 1.5 >diff -u -r1.5 Scale.theme.xml >--- src/org/eclipse/swt/internal/widgets/scalekit/Scale.theme.xml 15 Oct 2009 15:48:25 -0000 1.5 >+++ src/org/eclipse/swt/internal/widgets/scalekit/Scale.theme.xml 27 Oct 2009 12:01:35 -0000 >@@ -35,6 +35,9 @@ > <state name="disabled" > description="Applies to disabled Scale controls." /> > >+ <state name="focused" >+ description="On focus" /> >+ > <element name="Scale-Thumb" > description="The movable knob on a Scale control."> > >@@ -44,6 +47,9 @@ > <state name="disabled" > description="Applies to the thumb of a disabled Scale control." /> > >+ <state name="focused" >+ description="On scale-focus" /> >+ > </element> > > </element> >Index: src/org/eclipse/swt/internal/widgets/sliderkit/Slider.theme.xml >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt/src/org/eclipse/swt/internal/widgets/sliderkit/Slider.theme.xml,v >retrieving revision 1.5 >diff -u -r1.5 Slider.theme.xml >--- src/org/eclipse/swt/internal/widgets/sliderkit/Slider.theme.xml 15 Oct 2009 18:33:27 -0000 1.5 >+++ src/org/eclipse/swt/internal/widgets/sliderkit/Slider.theme.xml 27 Oct 2009 12:01:35 -0000 >@@ -22,6 +22,9 @@ > <state name="disabled" > description="Applies to disabled sliders." /> > >+ <state name="focused" >+ description="On focus" /> >+ > <element name="Slider-Thumb" > description="The movable thumb"> > >@@ -37,6 +40,9 @@ > <state name="pressed" > description="On thumb pressed" /> > >+ <state name="focused" >+ description="On slider-focus" /> >+ > </element> > > <element name="Slider-DownButton" >Index: src/org/eclipse/swt/internal/widgets/buttonkit/Button.default.css >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt/src/org/eclipse/swt/internal/widgets/buttonkit/Button.default.css,v >retrieving revision 1.10 >diff -u -r1.10 Button.default.css >--- src/org/eclipse/swt/internal/widgets/buttonkit/Button.default.css 21 Jul 2009 10:48:55 -0000 1.10 >+++ src/org/eclipse/swt/internal/widgets/buttonkit/Button.default.css 27 Oct 2009 12:01:35 -0000 >@@ -84,3 +84,17 @@ > Button-RadioIcon:selected:hover { > background-image: url( resource/widget/rap/button/radio-selected-hover.png ); > } >+ >+Button-FocusIndicator[PUSH], Button-FocusIndicator[TOGGLE] { >+ background-color: transparent; >+ border: 1px dotted #909090; >+ margin: 2px; >+ padding: 0px; >+} >+ >+Button-FocusIndicator[CHECK], Button-FocusIndicator[RADIO] { >+ background-color: transparent; >+ border: 1px dotted #909090; >+ padding: 2px 2px 2px 1px; >+ margin: 0px; >+} >\ No newline at end of file >Index: src/org/eclipse/swt/internal/widgets/buttonkit/Button.theme.xml >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt/src/org/eclipse/swt/internal/widgets/buttonkit/Button.theme.xml,v >retrieving revision 1.34 >diff -u -r1.34 Button.theme.xml >--- src/org/eclipse/swt/internal/widgets/buttonkit/Button.theme.xml 15 Oct 2009 15:48:26 -0000 1.34 >+++ src/org/eclipse/swt/internal/widgets/buttonkit/Button.theme.xml 27 Oct 2009 12:01:35 -0000 >@@ -112,6 +112,53 @@ > description="Applies when the button is disabled." /> > > </element> >+ >+ <element name="Button-FocusIndicator" >+ description="The frame that is drawn when the button is focused." > >+ >+ <property name="background-color" >+ description="The fill-color of the frame." /> >+ >+ <property name="border"> >+ <description> >+ The border of the frame. >+ 3D-styles inset, outset, etc are not supported. >+ </description> >+ </property> >+ >+ <property name="padding"> >+ <description> >+ The padding between the frame and the buttons text. >+ If this is set to "0px", margin will be used to layout the FocusIndicator. >+ </description> >+ </property> >+ >+ <property name="margin"> >+ <description> >+ The margin between the buttons border and the frame. >+ Only used if padding is set to "0px". >+ </description> >+ </property> >+ >+ <style name="PUSH" >+ description="Indicates that the button is a push button." /> >+ >+ <style name="TOGGLE" >+ description="Indicates that the button is a toggle button." /> >+ >+ <style name="CHECK" >+ description="Indicates that the button is a check box." /> >+ >+ <style name="RADIO" >+ description="Indicates that the button is a radio button." /> >+ >+ <style name="FLAT" >+ description="Indicates that the button should have a flat appearance." /> >+ >+ <style name="BORDER" >+ description="Indicates that the button should have a border." /> >+ >+ </element> > > </element> > >#P org.eclipse.rap.qx.build >Index: source/class/qx/ui/core/Widget.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/releng/org.eclipse.rap.qx.build/source/class/qx/ui/core/Widget.js,v >retrieving revision 1.5 >diff -u -r1.5 Widget.js >--- source/class/qx/ui/core/Widget.js 8 Sep 2009 10:11:57 -0000 1.5 >+++ source/class/qx/ui/core/Widget.js 27 Oct 2009 12:01:39 -0000 >@@ -69,6 +69,7 @@ > { > this._generateHtmlId(); > } >+ this.initHideFocus(); > }, > > >@@ -1659,7 +1660,7 @@ > hideFocus : > { > check : "Boolean", >- init : false, >+ init : true, > apply : "_applyHideFocus", > themeable : true > }, >@@ -5787,7 +5788,8 @@ > zIndex : true, > filter : true, > display : true, >- visibility : true >+ visibility : true, >+ outline : true > }, > > >Index: patches/0.7.4/39-Bug-290234-DisableFocus.diff >=================================================================== >RCS file: patches/0.7.4/39-Bug-290234-DisableFocus.diff >diff -N patches/0.7.4/39-Bug-290234-DisableFocus.diff >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ patches/0.7.4/39-Bug-290234-DisableFocus.diff 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,36 @@ >+### Eclipse Workspace Patch 1.0 >+#P org.eclipse.rap.qx.build >+Index: source/class/qx/ui/core/Widget.js >+=================================================================== >+RCS file: /cvsroot/rt/org.eclipse.rap/releng/org.eclipse.rap.qx.build/source/class/qx/ui/core/Widget.js,v >+retrieving revision 1.5 >+diff -u -r1.5 Widget.js >+--- source/class/qx/ui/core/Widget.js 8 Sep 2009 10:11:57 -0000 1.5 >++++ source/class/qx/ui/core/Widget.js 27 Oct 2009 09:54:43 -0000 >+@@ -69,6 +69,7 @@ >+ { >+ this._generateHtmlId(); >+ } >++ this.initHideFocus(); >+ }, >+ >+ >+@@ -1659,7 +1660,7 @@ >+ hideFocus : >+ { >+ check : "Boolean", >+- init : false, >++ init : true, >+ apply : "_applyHideFocus", >+ themeable : true >+ }, >+@@ -5787,7 +5788,8 @@ >+ zIndex : true, >+ filter : true, >+ display : true, >+- visibility : true >++ visibility : true, >++ outline : true >+ }, >+ >+ >#P org.eclipse.rap.rwt.q07 >Index: js/org/eclipse/swt/theme/ThemeValues.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt.q07/js/org/eclipse/swt/theme/ThemeValues.js,v >retrieving revision 1.23 >diff -u -r1.23 ThemeValues.js >--- js/org/eclipse/swt/theme/ThemeValues.js 23 Oct 2009 13:58:13 -0000 1.23 >+++ js/org/eclipse/swt/theme/ThemeValues.js 27 Oct 2009 12:01:39 -0000 >@@ -37,6 +37,18 @@ > }, > > members : { >+ >+ hasValue : function( element, key ) { >+ var result = false; >+ var vkey = this._store.getCssValue( element, this._states, key ); >+ var values = this._store.getThemeValues(); >+ for( var slot in values ) { >+ if( typeof values[ slot ][ vkey ] != "undefined" ) { >+ result = true; >+ } >+ } >+ return result; >+ }, > > getCssBorder : function( element, key ) { > var vkey = this._store.getCssValue( element, this._states, key ); >Index: js/org/eclipse/rwt/widgets/Button.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt.q07/js/org/eclipse/rwt/widgets/Button.js,v >retrieving revision 1.6 >diff -u -r1.6 Button.js >--- js/org/eclipse/rwt/widgets/Button.js 4 Oct 2009 10:09:59 -0000 1.6 >+++ js/org/eclipse/rwt/widgets/Button.js 27 Oct 2009 12:01:39 -0000 >@@ -25,7 +25,9 @@ > case "radio": > this.setAppearance( "radio-button" ); > } >- this.initTabIndex(); >+ this.initTabIndex(); >+ this.addEventListener( "focus", this._onFocus ); >+ this.addEventListener( "blur", this._onBlur ); > }, > > properties : { >@@ -35,5 +37,29 @@ > init : -1 > } > >+ }, >+ >+ members : { >+ >+ //overwritten: >+ _afterRenderLayout : function( changes ) { >+ if( this.hasState( "focused" ) ) { >+ org.eclipse.rwt.FocusIndicator.getInstance().update( this ); >+ } >+ }, >+ >+ _onFocus : function( event ) { >+ var focusIndicator = org.eclipse.rwt.FocusIndicator.getInstance(); >+ var node = this.getCellNode( 2 ) != null >+ ? this.getCellNode( 2 ) >+ : this.getCellNode( 1 ); >+ focusIndicator.show( this, "Button-FocusIndicator", node ); >+ }, >+ >+ _onBlur : function( event ) { >+ var focusIndicator = org.eclipse.rwt.FocusIndicator.getInstance(); >+ focusIndicator.hide( this ); >+ } >+ > } > } ); >\ No newline at end of file >Index: js/org/eclipse/rwt/widgets/MultiCellWidget.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt.q07/js/org/eclipse/rwt/widgets/MultiCellWidget.js,v >retrieving revision 1.14 >diff -u -r1.14 MultiCellWidget.js >--- js/org/eclipse/rwt/widgets/MultiCellWidget.js 23 Oct 2009 11:42:42 -0000 1.14 >+++ js/org/eclipse/rwt/widgets/MultiCellWidget.js 27 Oct 2009 12:01:39 -0000 >@@ -336,6 +336,8 @@ > > _beforeRenderLayout : qx.lang.Function.returnTrue, > >+ _afterRenderLayout : qx.lang.Function.returnTrue, >+ > _cellHasContent : function( cell ) { > var content = this.__cellData[ cell ][ 1 ]; > return content != null; >@@ -484,6 +486,7 @@ > if ( changes.layoutY ) { > this._renderLayoutY(); > } >+ this._afterRenderLayout( changes ); > this.base( arguments, changes ); > }, > >Index: src/org/eclipse/swt/internal/widgets/displaykit/QooxdooResourcesUtil.java >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt.q07/src/org/eclipse/swt/internal/widgets/displaykit/QooxdooResourcesUtil.java,v >retrieving revision 1.29 >diff -u -r1.29 QooxdooResourcesUtil.java >--- src/org/eclipse/swt/internal/widgets/displaykit/QooxdooResourcesUtil.java 23 Oct 2009 15:23:10 -0000 1.29 >+++ src/org/eclipse/swt/internal/widgets/displaykit/QooxdooResourcesUtil.java 27 Oct 2009 12:01:40 -0000 >@@ -169,6 +169,8 @@ > = "org/eclipse/swt/theme/ThemeStore.js"; > private static final String THEME_BORDERS_BASE > = "org/eclipse/swt/theme/BordersBase.js"; >+ private static final String FOCUS_INDICATOR >+ = "org/eclipse/rwt/FocusIndicator.js"; > private static final String MENU_MANAGER > = "org/eclipse/rwt/MenuManager.js"; > >@@ -266,7 +268,8 @@ > register( THEME_BORDERS_BASE, compress ); > register( THEME_STORE, compress ); > register( THEME_VALUES, compress ); >- register( MENU_MANAGER, compress ); >+ register( FOCUS_INDICATOR, compress ); >+ register( MENU_MANAGER, compress ); > > // register contributions > registerContributions(); >Index: js/org/eclipse/swt/widgets/Scale.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt.q07/js/org/eclipse/swt/widgets/Scale.js,v >retrieving revision 1.9 >diff -u -r1.9 Scale.js >--- js/org/eclipse/swt/widgets/Scale.js 11 Aug 2009 09:13:06 -0000 1.9 >+++ js/org/eclipse/swt/widgets/Scale.js 27 Oct 2009 12:01:39 -0000 >@@ -453,6 +453,19 @@ > setPageIncrement : function( value ) { > this._pageIncrement = value; > this._updateMiddleMarkers(); >+ }, >+ >+ // overwritten: >+ _visualizeFocus : function() { >+ this.base( arguments ); >+ this._thumb.addState( "focused" ); >+ }, >+ >+ // overwritten: >+ _visualizeBlur : function() { >+ this.base( arguments ); >+ this._thumb.removeState( "focused" ); > } >+ > } > } ); >Index: js/org/eclipse/swt/widgets/Slider.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt.q07/js/org/eclipse/swt/widgets/Slider.js,v >retrieving revision 1.8 >diff -u -r1.8 Slider.js >--- js/org/eclipse/swt/widgets/Slider.js 12 Aug 2009 09:28:16 -0000 1.8 >+++ js/org/eclipse/swt/widgets/Slider.js 27 Oct 2009 12:01:40 -0000 >@@ -642,6 +642,19 @@ > setThumb : function( value ) { > this._thumbWidth = value; > this._updateThumbSize(); >- } >+ }, >+ >+ // overwritten: >+ _visualizeFocus : function() { >+ this.base( arguments ); >+ this._thumb.addState( "focused" ); >+ }, >+ >+ // overwritten: >+ _visualizeBlur : function() { >+ this.base( arguments ); >+ this._thumb.removeState( "focused" ); >+ } >+ > } > } ); >Index: js/org/eclipse/rwt/FocusIndicator.js >=================================================================== >RCS file: js/org/eclipse/rwt/FocusIndicator.js >diff -N js/org/eclipse/rwt/FocusIndicator.js >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ js/org/eclipse/rwt/FocusIndicator.js 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,155 @@ >+/******************************************************************************* >+ * Copyright (c) 2009 Innoopract Informationssysteme GmbH. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * EclipseSource - ongoing development >+ ******************************************************************************/ >+ >+qx.Class.define( "org.eclipse.rwt.FocusIndicator", { >+ type : "singleton", >+ extend : qx.core.Object, >+ >+ construct : function() { >+ this.base( arguments ); >+ this._frame = null; >+ this._parentNode = null; >+ this._currentWidget = null; >+ this._currentTheme = null; >+ this._currentFocusElement = null; >+ }, >+ >+ members : { >+ >+ _createFrame : function() { >+ this._frame = document.createElement( "div" ); >+ this._frame.setAttribute( "id", "focusIndicator" ); >+ this._frame.style.position = "absolute"; >+ this._frame.style.fontSize = 0; >+ this._frame.style.lineHeight = 0; >+ this._frame.style.zIndex = 0; >+ }, >+ >+ _createTheme : function( widget, cssSelector, focusElement ) { >+ this._currentTheme = null; >+ var states = typeof widget.__states != "undefined" ? widget.__states : {}; >+ var tv = new org.eclipse.swt.theme.ThemeValues( states ); >+ var border = tv.getCssBorder( cssSelector, "border" ); >+ var hasValidBorder = border instanceof qx.ui.core.Border; >+ var margin = tv.getCssBoxDimensions( cssSelector, "margin" ); >+ var padding = tv.getCssBoxDimensions( cssSelector, "padding" ); >+ var usePadding = focusElement != null && padding.join("") != "0000"; >+ if( hasValidBorder && ( margin != null || usePadding ) ) { >+ var color = tv.getCssColor( cssSelector, "background-color" ); >+ this._currentTheme = { >+ "backgroundColor" : color != "undefined" ? color : "", >+ "border" : border, >+ "margin" : margin, >+ "padding" : usePadding ? padding : null >+ }; >+ } >+ tv.dispose(); >+ }, >+ >+ show : function( widget, cssSelector, focusElement ) { >+ this._hide(); >+ this._createTheme( widget, cssSelector, focusElement ); >+ if( this._currentTheme != null ) { >+ this._currentWidget = widget; >+ this._currentFocusElement = focusElement; >+ if( widget.isCreated() ) { >+ this._parentNode = widget._getTargetNode(); >+ this.update( widget ); >+ } >+ } >+ }, >+ >+ update : function( widget ) { >+ if( widget == this._currentWidget ) { >+ if( this._frame == null ) { >+ this._createFrame(); >+ } >+ if( this._frame.parentNode != this._parentNode ) { >+ if( this._parentNode.hasChildNodes() ) { >+ var firstChild = this._parentNode.firstChild; >+ this._parentNode.insertBefore( this._frame, firstChild ); >+ } else { >+ this._parentNode.appendChild( this._frame ); >+ } >+ } >+ this._styleFocusIndicator(); >+ this._layoutFocusIndicator(); >+ } >+ }, >+ >+ hide : function( widget ) { >+ if( widget == this._currentWidget ) { >+ this._hide(); >+ this._currentWidget = null; >+ this._currentTheme = null; >+ } >+ }, >+ >+ _hide : function() { >+ if( this._frame != null && this._frame.parentNode != null ) { >+ this._frame.parentNode.removeChild( this._frame ); >+ } >+ this._parentNode = null; >+ }, >+ >+ _styleFocusIndicator : function() { >+ // ignores complex borders and color-manager (for now): >+ var border = this._currentTheme[ "border" ]; >+ var style = this._frame.style; >+ var edges = [ "Left", "Top", "Bottom", "Right" ]; >+ for( var i = 0; i < 4; i++ ) { >+ var edge = edges[ i ]; >+ style[ "border" + edge + "Style" ] = border[ "getStyle" + edge ](); >+ style[ "border" + edge + "Color" ] = border[ "getColor" + edge ](); >+ style[ "border" + edge + "Width" ] = >+ border[ "getWidth" + edge ]() + "px"; >+ } >+ style.backgroundColor = this._currentTheme[ "backgroundColor" ]; >+ }, >+ >+ _layoutFocusIndicator : function() { >+ // NOTE : It is assumed that a focusElement, if given, has >+ // valid css-bounds (top,left,width,height) set in "px". >+ var border = this._currentTheme[ "border" ]; >+ var bounds = []; >+ if( this._currentTheme[ "padding" ] != null ) { >+ var padding = this._currentTheme[ "padding" ]; >+ var focusElement = this._currentFocusElement; >+ bounds[ 0 ] = parseInt( focusElement.style.left ) - padding[ 3 ]; >+ bounds[ 1 ] = parseInt( focusElement.style.top ) - padding[ 0 ]; >+ bounds[ 2 ] = parseInt( focusElement.style.width ) >+ + padding[ 1 ] >+ + padding[ 3 ]; >+ bounds[ 3 ] = parseInt( focusElement.style.height ) >+ + padding[ 2 ] >+ + padding[ 0 ]; >+ } else { >+ var margin = this._currentTheme[ "margin" ]; >+ var parentWidth = this._currentWidget.getBoxWidth() >+ - this._currentWidget._cachedBorderLeft >+ - this._currentWidget._cachedBorderRight; >+ var parentHeight = this._currentWidget.getBoxHeight() >+ - this._currentWidget._cachedBorderTop >+ - this._currentWidget._cachedBorderBottom; >+ bounds[ 0 ] = margin[ 3 ]; >+ bounds[ 1 ] = margin[ 0 ]; >+ bounds[ 2 ] = parentWidth - ( margin[ 3 ] + margin[ 1 ] ); >+ bounds[ 3 ] = parentHeight - ( margin[ 0 ] + margin[ 2 ] ); >+ } >+ this._frame.style.left = bounds[ 0 ] + "px"; >+ this._frame.style.top = bounds[ 1 ] + "px"; >+ this._frame.style.width = bounds[ 2 ] + "px"; >+ this._frame.style.height = bounds[ 3 ] + "px"; >+ } >+ } >+ >+} ); >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 290234
:
148406
|
148880
|
148882
|
150614
|
150716
|
150717