Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 290234 | Differences between
and this patch

Collapse All | Expand All

(-)source/class/qx/ui/core/Widget.js (-2 / +4 lines)
Lines 69-74 Link Here
69
    {
69
    {
70
      this._generateHtmlId();
70
      this._generateHtmlId();
71
    }
71
    }
72
    this.initHideFocus();
72
  },
73
  },
73
74
74
75
Lines 1659-1665 Link Here
1659
    hideFocus :
1660
    hideFocus :
1660
    {
1661
    {
1661
      check : "Boolean",
1662
      check : "Boolean",
1662
      init : false,
1663
      init : true,
1663
      apply : "_applyHideFocus",
1664
      apply : "_applyHideFocus",
1664
      themeable : true
1665
      themeable : true
1665
    },
1666
    },
Lines 5787-5793 Link Here
5787
      zIndex : true,
5788
      zIndex : true,
5788
      filter : true,
5789
      filter : true,
5789
      display : true,
5790
      display : true,
5790
      visibility : true
5791
      visibility : true,
5792
      outline : true
5791
    },
5793
    },
5792
5794
5793
5795
(-)js/org/eclipse/swt/theme/ThemeValues.js (+20 lines)
Added Link Here
1
### Eclipse Workspace Patch 1.0
2
#P org.eclipse.rap.qx.build
3
Index: source/class/qx/ui/core/Widget.js
4
===================================================================
5
RCS file: /cvsroot/rt/org.eclipse.rap/releng/org.eclipse.rap.qx.build/source/class/qx/ui/core/Widget.js,v
6
retrieving revision 1.5
7
diff -u -r1.5 Widget.js
8
--- source/class/qx/ui/core/Widget.js	8 Sep 2009 10:11:57 -0000	1.5
Added Link Here
37
  },
37
  },
38
38
39
  members : {
39
  members : {
40
    
41
    hasValue : function( element, key ) {
42
      var result = false;
43
      var vkey = this._store.getCssValue( element, this._states, key );
44
      var values = this._store.getThemeValues();
45
      for( var slot in values ) {
46
        if( typeof values[ slot ][ vkey ] != "undefined" ) {
47
          result = true;
48
        }
49
      }
50
      return result;
51
    },
40
52
41
    getCssBorder : function( element, key ) {
53
    getCssBorder : function( element, key ) {
42
      var vkey = this._store.getCssValue( element, this._states, key );
54
      var vkey = this._store.getCssValue( element, this._states, key );
(-)js/org/eclipse/rwt/widgets/Button.js (-1 / +31 lines)
Lines 25-31 Link Here
25
     case "radio":
25
     case "radio":
26
      this.setAppearance( "radio-button" );
26
      this.setAppearance( "radio-button" );
27
    }
27
    }
28
    this.initTabIndex();      
28
    this.initTabIndex();
29
    this.addEventListener( "focus", this._onFocus );
30
    this.addEventListener( "blur", this._onBlur );    
29
  },
31
  },
30
  
32
  
31
  properties : {
33
  properties : {
Lines 35-39 Link Here
35
      init : -1
37
      init : -1
36
    }
38
    }
37
        
39
        
40
  },
41
  
42
  members : {
43
44
    //overwritten:
45
    _afterRenderLayout : function( changes ) {
46
      if( this.hasState( "focused" ) ) {
47
         this._showFocusIndicator();
48
      }
49
    },
50
    
51
    _showFocusIndicator : function() {
52
      var focusIndicator = org.eclipse.rwt.FocusIndicator.getInstance();
53
      var node =   this.getCellNode( 2 ) != null 
54
                 ? this.getCellNode( 2 )
55
                 : this.getCellNode( 1 );
56
      focusIndicator.show( this, "Button-FocusIndicator", node );      
57
    },
58
    
59
    _onFocus : function( event ) {
60
      this._showFocusIndicator();
61
    },
62
    
63
    _onBlur : function( event ) {
64
      var focusIndicator = org.eclipse.rwt.FocusIndicator.getInstance();
65
      focusIndicator.hide( this );
66
    }
67
    
38
  }
68
  }
39
} );
69
} );
(-)js/org/eclipse/rwt/widgets/MultiCellWidget.js (+3 lines)
Lines 336-341 Link Here
336
    
336
    
337
    _beforeRenderLayout : qx.lang.Function.returnTrue,
337
    _beforeRenderLayout : qx.lang.Function.returnTrue,
338
    
338
    
339
    _afterRenderLayout : qx.lang.Function.returnTrue,
340
    
339
    _cellHasContent : function( cell ) {
341
    _cellHasContent : function( cell ) {
340
      var content = this.__cellData[ cell ][ 1 ];
342
      var content = this.__cellData[ cell ][ 1 ];
341
      return content != null;
343
      return content != null;
Lines 484-489 Link Here
484
      if ( changes.layoutY ) {
486
      if ( changes.layoutY ) {
485
        this._renderLayoutY();
487
        this._renderLayoutY();
486
      }
488
      }
489
      this._afterRenderLayout( changes );
487
      this.base( arguments, changes );
490
      this.base( arguments, changes );
488
    },
491
    },
489
492
(-)src/org/eclipse/swt/internal/widgets/displaykit/QooxdooResourcesUtil.java (-1 / +4 lines)
Lines 169-174 Link Here
169
    = "org/eclipse/swt/theme/ThemeStore.js";
169
    = "org/eclipse/swt/theme/ThemeStore.js";
170
  private static final String THEME_BORDERS_BASE
170
  private static final String THEME_BORDERS_BASE
171
    = "org/eclipse/swt/theme/BordersBase.js";
171
    = "org/eclipse/swt/theme/BordersBase.js";
172
  private static final String FOCUS_INDICATOR
173
  = "org/eclipse/rwt/FocusIndicator.js";
172
  private static final String MENU_MANAGER
174
  private static final String MENU_MANAGER
173
    = "org/eclipse/rwt/MenuManager.js";
175
    = "org/eclipse/rwt/MenuManager.js";
174
176
Lines 266-272 Link Here
266
      register( THEME_BORDERS_BASE, compress );
268
      register( THEME_BORDERS_BASE, compress );
267
      register( THEME_STORE, compress );
269
      register( THEME_STORE, compress );
268
      register( THEME_VALUES, compress );
270
      register( THEME_VALUES, compress );
269
      register( MENU_MANAGER, compress );
271
      register( FOCUS_INDICATOR, compress );
272
      register( MENU_MANAGER, compress );      
270
273
271
      // register contributions
274
      // register contributions
272
      registerContributions();
275
      registerContributions();
(-)js/org/eclipse/swt/widgets/Scale.js (+13 lines)
Lines 453-458 Link Here
453
    setPageIncrement : function( value ) {
453
    setPageIncrement : function( value ) {
454
      this._pageIncrement = value;
454
      this._pageIncrement = value;
455
      this._updateMiddleMarkers();
455
      this._updateMiddleMarkers();
456
    },
457
    
458
    // overwritten:
459
    _visualizeFocus : function() {
460
      this.base( arguments );
461
      this._thumb.addState( "focused" );
462
    },
463
    
464
    // overwritten:
465
    _visualizeBlur : function() {
466
      this.base( arguments );
467
      this._thumb.removeState( "focused" );
456
    }
468
    }
469
457
  }
470
  }
458
} );
471
} );
(-)js/org/eclipse/swt/widgets/Slider.js (-1 / +14 lines)
Lines 642-647 Link Here
642
    setThumb : function( value ) {
642
    setThumb : function( value ) {
643
      this._thumbWidth = value;
643
      this._thumbWidth = value;
644
      this._updateThumbSize();
644
      this._updateThumbSize();
645
    }
645
    },
646
    
647
    // overwritten:
648
    _visualizeFocus : function() {
649
      this.base( arguments );
650
      this._thumb.addState( "focused" );
651
    },
652
    
653
    // overwritten:
654
    _visualizeBlur : function() {
655
      this.base( arguments );
656
      this._thumb.removeState( "focused" );
657
    }    
658
646
  }
659
  }
647
} );
660
} );
(-)js/org/eclipse/rwt/FocusIndicator.js (+138 lines)
Added Link Here
1
/*******************************************************************************
2
 * Copyright (c) 2009 Innoopract Informationssysteme GmbH.
3
 * All rights reserved. This program and the accompanying materials
4
 * are made available under the terms of the Eclipse Public License v1.0
5
 * which accompanies this distribution, and is available at
6
 * http://www.eclipse.org/legal/epl-v10.html
7
 *
8
 * Contributors:
9
 *     EclipseSource - ongoing development
10
 ******************************************************************************/
11
12
qx.Class.define( "org.eclipse.rwt.FocusIndicator", {
13
  type : "singleton",
14
  extend : qx.core.Object,
15
16
  construct : function() {
17
    this.base( arguments );
18
    this._frame = null;    
19
  },
20
21
  members : {
22
    
23
    _createFrame : function() {
24
      this._frame = document.createElement( "div" );
25
      this._frame.setAttribute( "id", "focusIndicator" );
26
      this._frame.style.position = "absolute";    
27
      this._frame.style.fontSize = 0;
28
      this._frame.style.lineHeight = 0;      
29
      this._frame.style.zIndex = 0;      
30
    },
31
    
32
    _createTheme : function( widget, cssSelector, focusElement ) {
33
      var theme = null;
34
      var states = typeof widget.__states != "undefined" ? widget.__states : {}; 
35
      var tv = new org.eclipse.swt.theme.ThemeValues( states );
36
      var border = tv.getCssBorder( cssSelector, "border" );
37
      var hasValidBorder = border instanceof qx.ui.core.Border;
38
      var margin = tv.getCssBoxDimensions( cssSelector, "margin" );
39
      var padding = tv.getCssBoxDimensions( cssSelector, "padding" );
40
      var paddingIsZero =    padding[ 0 ] == 0
41
                          && padding[ 1 ] == 0
42
                          && padding[ 2 ] == 0
43
                          && padding[ 3 ] == 0;
44
      var usePadding = !paddingIsZero && focusElement != null; 
45
      if( hasValidBorder && ( margin != null || usePadding ) ) {
46
        var color = tv.getCssColor( cssSelector, "background-color" );
47
        theme = {
48
          "backgroundColor" : color != "undefined" ? color : "",
49
          "border" : border,
50
          "margin" : margin,
51
          "padding" : usePadding ? padding : null
52
        };
53
      }
54
      return theme;
55
    },
56
57
    show : function( widget, cssSelector, focusElement ) {
58
      this.hide();
59
      var theme = this._createTheme( widget, cssSelector, focusElement );
60
      if( theme != null ) {
61
        if( widget.isCreated() ) {
62
        var parentNode = widget._getTargetNode();
63
          if( this._frame == null ) {
64
            this._createFrame();
65
          }
66
          if( this._frame.parentNode != parentNode ) {
67
            if( parentNode.hasChildNodes() ) {
68
              var firstChild = parentNode.firstChild;
69
              parentNode.insertBefore( this._frame, firstChild );            
70
            } else {
71
              parentNode.appendChild( this._frame );            
72
            }
73
          }
74
          this._styleFocusIndicator( theme );
75
          this._layoutFocusIndicator( widget, theme, focusElement );
76
        }
77
      }
78
    },
79
    
80
    
81
    hide : function() {
82
      if( this._frame != null && this._frame.parentNode != null ) {
83
        this._frame.parentNode.removeChild( this._frame );
84
      }
85
    },
86
    
87
    _styleFocusIndicator : function( theme ) {
88
      // ignores complex borders and color-manager (for now):
89
      var border = theme[ "border" ];  
90
      var style = this._frame.style;
91
      var edges = [ "Left", "Top", "Bottom", "Right" ];
92
      for( var i = 0; i < 4; i++ ) {
93
        var edge = edges[ i ];
94
        style[ "border" + edge + "Style" ] = border[ "getStyle" + edge ]();
95
        style[ "border" + edge + "Color" ] = border[ "getColor" + edge ]();
96
        style[ "border" + edge + "Width" ] = 
97
          border[ "getWidth" + edge ]() + "px";
98
      }
99
      style.backgroundColor = theme[ "backgroundColor" ];
100
    },
101
    
102
    _layoutFocusIndicator : function( widget, theme, focusElement ) {
103
      // NOTE : It is assumed that a focusElement, if given, has 
104
      //        valid css-bounds (top,left,width,height) set in "px".
105
      var border = theme[ "border" ];  
106
      var bounds = [];
107
      if( theme[ "padding" ] != null ) {
108
        var padding = theme[ "padding" ];
109
        bounds[ 0 ] = parseInt( focusElement.style.left ) - padding[ 3 ];
110
        bounds[ 1 ] = parseInt( focusElement.style.top ) - padding[ 0 ];
111
        bounds[ 2 ] =   parseInt( focusElement.style.width ) 
112
                      + padding[ 1 ] 
113
                      + padding[ 3 ];
114
        bounds[ 3 ] =   parseInt( focusElement.style.height ) 
115
                      + padding[ 2 ] 
116
                      + padding[ 0 ];
117
      } else {
118
        var margin = theme[ "margin" ];
119
        var parentWidth =   widget.getBoxWidth()
120
                          - widget._cachedBorderLeft
121
                          - widget._cachedBorderRight;
122
        var parentHeight =   widget.getBoxHeight()
123
                           - widget._cachedBorderTop
124
                           - widget._cachedBorderBottom;
125
        bounds[ 0 ] = margin[ 3 ];
126
        bounds[ 1 ] = margin[ 0 ];
127
        bounds[ 2 ] = parentWidth - ( margin[ 3 ] + margin[ 1 ] );
128
        bounds[ 3 ] = parentHeight - ( margin[ 0 ] + margin[ 2 ] );
129
      }
130
      this._frame.style.left = bounds[ 0 ] + "px";
131
      this._frame.style.top = bounds[ 1 ] + "px";
132
      this._frame.style.width = bounds[ 2 ] + "px";
133
      this._frame.style.height = bounds[ 3 ] + "px";      
134
    }    
135
  }
136
    
137
} );
138
(-)src/org/eclipse/swt/internal/widgets/scalekit/Scale.theme.xml (+6 lines)
Lines 35-40 Link Here
35
    <state name="disabled"
35
    <state name="disabled"
36
        description="Applies to disabled Scale controls." />
36
        description="Applies to disabled Scale controls." />
37
37
38
    <state name="focused"
39
        description="On focus" />
40
          
38
    <element name="Scale-Thumb"
41
    <element name="Scale-Thumb"
39
        description="The movable knob on a Scale control.">
42
        description="The movable knob on a Scale control.">
40
43
Lines 44-49 Link Here
44
      <state name="disabled"
47
      <state name="disabled"
45
          description="Applies to the thumb of a disabled Scale control." />
48
          description="Applies to the thumb of a disabled Scale control." />
46
49
50
      <state name="focused"
51
          description="On scale-focus" />
52
          
47
    </element>
53
    </element>
48
54
49
  </element>
55
  </element>
(-)src/org/eclipse/swt/internal/widgets/sliderkit/Slider.theme.xml (+6 lines)
Lines 22-27 Link Here
22
    <state name="disabled"
22
    <state name="disabled"
23
        description="Applies to disabled sliders." />
23
        description="Applies to disabled sliders." />
24
24
25
    <state name="focused"
26
        description="On focus" />
27
25
    <element name="Slider-Thumb"
28
    <element name="Slider-Thumb"
26
        description="The movable thumb">
29
        description="The movable thumb">
27
30
Lines 37-42 Link Here
37
      <state name="pressed"
40
      <state name="pressed"
38
          description="On thumb pressed" />
41
          description="On thumb pressed" />
39
42
43
      <state name="focused"
44
          description="On slider-focus" />
45
40
    </element>
46
    </element>
41
47
42
    <element name="Slider-DownButton"
48
    <element name="Slider-DownButton"
(-)src/org/eclipse/swt/internal/widgets/buttonkit/Button.default.css (+14 lines)
Lines 84-86 Link Here
84
Button-RadioIcon:selected:hover {
84
Button-RadioIcon:selected:hover {
85
  background-image: url( resource/widget/rap/button/radio-selected-hover.png );
85
  background-image: url( resource/widget/rap/button/radio-selected-hover.png );
86
}
86
}
87
88
Button-FocusIndicator[PUSH], Button-FocusIndicator[TOGGLE] {
89
  background-color: transparent; 
90
  border: 1px dotted #909090;
91
  margin: 2px;
92
  padding: 0px;
93
}
94
95
Button-FocusIndicator[CHECK], Button-FocusIndicator[RADIO] {
96
  background-color: transparent; 
97
  border: 1px dotted #909090;
98
  padding: 2px 2px 2px 1px;
99
  margin: 0px;
100
}
(-)src/org/eclipse/swt/internal/widgets/buttonkit/Button.theme.xml (+47 lines)
Lines 112-117 Link Here
112
          description="Applies when the button is disabled." />
112
          description="Applies when the button is disabled." />
113
113
114
    </element>
114
    </element>
115
    
116
    <element name="Button-FocusIndicator" 
117
          description="The frame that is drawn when the button is focused." >
118
119
      <property name="background-color"
120
          description="The fill-color of the frame." />
121
  
122
      <property name="border">
123
        <description>
124
          The border of the frame. 
125
          3D-styles inset, outset, etc are not supported.
126
        </description>
127
      </property>
128
      
129
      <property name="padding">
130
        <description>
131
          The padding between the frame and the buttons text. 
132
          If this is set to "0px", margin will be used to layout the FocusIndicator. 
133
        </description>
134
      </property>        
135
136
      <property name="margin">
137
        <description>
138
          The margin between the buttons border and the frame. 
139
          Only used if padding is set to "0px".        
140
        </description>
141
      </property>
142
143
      <style name="PUSH"
144
          description="Indicates that the button is a push button." />
145
  
146
      <style name="TOGGLE"
147
          description="Indicates that the button is a toggle button." />
148
  
149
      <style name="CHECK"
150
          description="Indicates that the button is a check box." />
151
  
152
      <style name="RADIO"
153
          description="Indicates that the button is a radio button." />
154
  
155
      <style name="FLAT"
156
          description="Indicates that the button should have a flat appearance." />
157
  
158
      <style name="BORDER"
159
          description="Indicates that the button should have a border." />
160
161
    </element>
115
162
116
  </element>
163
  </element>
117
164
(-)js/org/eclipse/rwt/test/tests/ButtonTest.js (-3 / +73 lines)
Lines 17-22 Link Here
17
  },
17
  },
18
  
18
  
19
  members : {
19
  members : {
20
        
21
    testFocusIndicatorPush : function() {
22
      var hasFocusIndicator = function( widget ) {
23
        var node = widget._getTargetNode();
24
        var result = false;
25
        for( var i = 0; i < node.childNodes.length; i++ ) {
26
          if( node.childNodes[ i ].getAttribute( "id") == "focusIndicator" ) {
27
            result = true;
28
          }
29
        }
30
        return result;
31
      }
32
      var focudIndicator = org.eclipse.rwt.FocusIndicator.getInstance();
33
      var button = new org.eclipse.rwt.widgets.Button( "push" );
34
      button.addState( "rwt_PUSH" );
35
      button.setText( "bla" );
36
      this._currentButton = button;
37
      button.addToDocument();
38
      qx.ui.core.Widget.flushGlobalQueues();
39
      assertFalse( button.hasState( "focus" ) );
40
      assertFalse( hasFocusIndicator( button ) );
41
      button.focus();
42
      qx.ui.core.Widget.flushGlobalQueues();
43
      assertTrue( hasFocusIndicator( button ) );
44
      button.setImage( "test.jpg" );
45
      qx.ui.core.Widget.flushGlobalQueues();
46
      assertTrue( hasFocusIndicator( button ) );
47
      button.blur();
48
      qx.ui.core.Widget.flushGlobalQueues();
49
      assertFalse( hasFocusIndicator( button ) );
50
      button.destroy();
51
      qx.ui.core.Widget.flushGlobalQueues();
52
    },
53
    
54
    testFocusIndicatorCheck : function() {
55
      var hasFocusIndicator = function( widget ) {
56
        var node = widget._getTargetNode();
57
        var result = false;
58
        for( var i = 0; i < node.childNodes.length; i++ ) {
59
          if( node.childNodes[ i ].getAttribute( "id") == "focusIndicator" ) {
60
            result = true;
61
          }
62
        }
63
        return result;
64
      }
65
      var focudIndicator = org.eclipse.rwt.FocusIndicator.getInstance();
66
      var button = new org.eclipse.rwt.widgets.Button( "check" );      
67
      button.addState( "rwt_CHECK" );
68
      button.setText( "bla" );
69
      this._currentButton = button;
70
      button.addToDocument();
71
      qx.ui.core.Widget.flushGlobalQueues();
72
      assertFalse( button.hasState( "focus" ) );
73
      assertFalse( hasFocusIndicator( button ) );
74
      button.focus();
75
      qx.ui.core.Widget.flushGlobalQueues();
76
      assertTrue( hasFocusIndicator( button ) );
77
      button.setImage( "test.jpg" );
78
      qx.ui.core.Widget.flushGlobalQueues();
79
      assertTrue( hasFocusIndicator( button ) );
80
      button.blur();
81
      qx.ui.core.Widget.flushGlobalQueues();
82
      assertFalse( hasFocusIndicator( button ) );
83
      button.destroy();
84
      qx.ui.core.Widget.flushGlobalQueues();
85
    },
86
        
20
    testParent : function() {
87
    testParent : function() {
21
      var button = new org.eclipse.rwt.widgets.Button( "push" );
88
      var button = new org.eclipse.rwt.widgets.Button( "push" );
22
      this._currentButton = button;
89
      this._currentButton = button;
Lines 33-39 Link Here
33
        button.getCellNode( 2 ).parentNode 
100
        button.getCellNode( 2 ).parentNode 
34
      );
101
      );
35
      button.setParent( null );
102
      button.setParent( null );
36
      button.dispose();
103
      button.destroy();
37
      qx.ui.core.Widget.flushGlobalQueues();
104
      qx.ui.core.Widget.flushGlobalQueues();
38
    },
105
    },
39
    
106
    
Lines 45-51 Link Here
45
      qx.ui.core.Widget.flushGlobalQueues();
112
      qx.ui.core.Widget.flushGlobalQueues();
46
      assertEquals( "Hello World!", button.getCellNode( 2 ).innerHTML );
113
      assertEquals( "Hello World!", button.getCellNode( 2 ).innerHTML );
47
      button.setParent( null );
114
      button.setParent( null );
48
      button.dispose();
115
      button.destroy();
49
      qx.ui.core.Widget.flushGlobalQueues();
116
      qx.ui.core.Widget.flushGlobalQueues();
50
    },
117
    },
51
    
118
    
Lines 59-65 Link Here
59
        this.testUtil.getCssBackgroundImage( button.getCellNode( 1 ) ).search( "test.jpg" ) != -1 
126
        this.testUtil.getCssBackgroundImage( button.getCellNode( 1 ) ).search( "test.jpg" ) != -1 
60
      );
127
      );
61
      button.setParent( null );
128
      button.setParent( null );
62
      button.dispose();
129
      button.destroy();
63
      qx.ui.core.Widget.flushGlobalQueues();
130
      qx.ui.core.Widget.flushGlobalQueues();
64
    },
131
    },
65
    
132
    
Lines 67-72 Link Here
67
      //this test is also valid for toggle button
134
      //this test is also valid for toggle button
68
      //var button = new org.eclipse.swt.widgets.CheckBox();
135
      //var button = new org.eclipse.swt.widgets.CheckBox();
69
      var button = new org.eclipse.rwt.widgets.Button( "check" );
136
      var button = new org.eclipse.rwt.widgets.Button( "check" );
137
      button.addState( "rwt_CHECK" );
70
      button.setUserData( "id", "w1" );
138
      button.setUserData( "id", "w1" );
71
      this._currentButton = button;
139
      this._currentButton = button;
72
      button.addToDocument();
140
      button.addToDocument();
Lines 100-105 Link Here
100
    
168
    
101
    testExecuteRadioButton : function() {
169
    testExecuteRadioButton : function() {
102
      var button = new org.eclipse.rwt.widgets.Button( "radio" );
170
      var button = new org.eclipse.rwt.widgets.Button( "radio" );
171
      button.addState( "rwt_RADIO" );
103
      button.setUserData( "id", "w1" );
172
      button.setUserData( "id", "w1" );
104
      this._currentButton = button;
173
      this._currentButton = button;
105
      button.addToDocument();
174
      button.addToDocument();
Lines 142-147 Link Here
142
    
211
    
143
    testExecutePushButton : function() {
212
    testExecutePushButton : function() {
144
      var button = new org.eclipse.rwt.widgets.Button( "push" );
213
      var button = new org.eclipse.rwt.widgets.Button( "push" );
214
      button.addState( "rwt_PUSH" );
145
      this._currentButton = button;
215
      this._currentButton = button;
146
      button.addToDocument();
216
      button.addToDocument();
147
      qx.ui.core.Widget.flushGlobalQueues();
217
      qx.ui.core.Widget.flushGlobalQueues();
(-)js/org/eclipse/rwt/test/TestRunner.js (-22 / +37 lines)
Lines 21-27 Link Here
21
    this._presenter = null;
21
    this._presenter = null;
22
    this._testsTotal = 0;
22
    this._testsTotal = 0;
23
    this._asserts = 0;
23
    this._asserts = 0;
24
    //org.eclipse.rwt.test.Asserts.createShortcuts();
25
    var classes = qx.Class.__registry;
24
    var classes = qx.Class.__registry;
26
    this._testClasses = {};
25
    this._testClasses = {};
27
    for( var clazz in classes) {
26
    for( var clazz in classes) {
Lines 34-40 Link Here
34
    // helper for debugging
33
    // helper for debugging
35
    getLog = function() {
34
    getLog = function() {
36
      return org.eclipse.rwt.test.TestRunner.getInstance().getLog();
35
      return org.eclipse.rwt.test.TestRunner.getInstance().getLog();
37
    }   
36
    }
37
    //temporarily setting this to true van help debugging in IE
38
    this._NOTRYCATCH = false; 
38
  },
39
  },
39
40
40
41
Lines 45-56 Link Here
45
  	  this._disableAutoFlush();
46
  	  this._disableAutoFlush();
46
  	  // prevent actual dom-events
47
  	  // prevent actual dom-events
47
  	  qx.event.handler.EventHandler.getInstance().detachEvents();
48
  	  qx.event.handler.EventHandler.getInstance().detachEvents();
48
      this.info( "Starting tests..." );     
49
      this.info( "Starting tests..." );
49
  	  try {  	    
50
      if( this._NOTRYCATCH ) {
50
    	  this._run();
51
        this._run();
51
  	  } catch( e ) { 
52
      } else {    
52
  	    this.info( e );      
53
    	  try {  	    
53
  	  }
54
      	  this._run();
55
    	  } catch( e ) { 
56
    	    this.info( e );      
57
    	  }
58
      }
54
  	},
59
  	},
55
60
56
  	_run : function() {
61
  	_run : function() {
Lines 60-85 Link Here
60
                                                this._testsTotal );
65
                                                this._testsTotal );
61
        this.info( " -----===== " + this._currentClass + " =====-----");      	
66
        this.info( " -----===== " + this._currentClass + " =====-----");      	
62
      	var obj = null;
67
      	var obj = null;
63
      	this._currentFunction = "construct";      	
68
      	this._currentFunction = "construct";
64
        try {          
69
      	if( this._NOTRYCATCH ) {
65
          var obj = new this._testClasses[ this._currentClass ]();
70
          obj = new this._testClasses[ this._currentClass ]();
66
          var testFunctions = this._getTestFunctions( obj );      
71
          var testFunctions = this._getTestFunctions( obj );      
67
          for ( this._currentFunction in testFunctions ){   
72
          for ( this._currentFunction in testFunctions ){   
68
            this._asserts = 0;       	
73
            this._asserts = 0;       	
69
            testFunctions[ this._currentFunction ].call( obj );
74
            testFunctions[ this._currentFunction ].call( obj );
70
            this.info( this._currentFunction + " - OK " );
75
            this.info( this._currentFunction + " - OK " );
76
          }      	  
77
      	}  else {    	
78
          try {
79
            obj = new this._testClasses[ this._currentClass ]();
80
            var testFunctions = this._getTestFunctions( obj );      
81
            for ( this._currentFunction in testFunctions ){   
82
              this._asserts = 0;       	
83
              testFunctions[ this._currentFunction ].call( obj );
84
              this.info( this._currentFunction + " - OK " );
85
            }
86
          } catch( e ) {
87
            // a test failed:          
88
            this._freezeQooxdoo();
89
            this._presenter.setFailed( true );
90
            this.info( this._currentFunction + " failed:" );
91
            this.info( e );          
92
            this.info( this._asserts + " asserts succeeded." );          
93
            this._createFailLog( e, obj );
94
            this._checkFlushState();
95
            throw( "Tests aborted!" );
71
          }
96
          }
72
        } catch( e ) {
97
      	}          
73
          // a test failed:          
74
          this._freezeQooxdoo();
75
          this._presenter.setFailed( true );
76
          this.info( this._currentFunction + " failed:" );
77
          this.info( e );          
78
          this.info( this._asserts + " asserts succeeded." );          
79
          this._createFailLog( e, obj );
80
          this._checkFlushState();
81
          throw( "Tests aborted!" );
82
        }          
83
        qx.ui.core.ClientDocument.getInstance().removeAll();
98
        qx.ui.core.ClientDocument.getInstance().removeAll();
84
        obj.dispose();
99
        obj.dispose();
85
        finished++;
100
        finished++;
(-)js/resource/RAPThemeSupport.js (-1 / +2 lines)
Lines 4-10 Link Here
4
qx.Theme.define("org.eclipse.swt.theme.DefaultIcons",{title:"RAP Default Theme",icons:{uri:"rwt-resources/themes/Default/widgets"}});
4
qx.Theme.define("org.eclipse.swt.theme.DefaultIcons",{title:"RAP Default Theme",icons:{uri:"rwt-resources/themes/Default/widgets"}});
5
qx.Theme.define("org.eclipse.swt.theme.DefaultWidgets",{title:"RAP Default Theme",widgets:{uri:"rwt-resources/themes/Default/widgets"}});
5
qx.Theme.define("org.eclipse.swt.theme.DefaultWidgets",{title:"RAP Default Theme",widgets:{uri:"rwt-resources/themes/Default/widgets"}});
6
qx.Theme.define("org.eclipse.swt.theme.DefaultAppearances",{title:"RAP Default Theme",extend:org.eclipse.swt.theme.AppearancesBase,appearances:{}});
6
qx.Theme.define("org.eclipse.swt.theme.DefaultAppearances",{title:"RAP Default Theme",extend:org.eclipse.swt.theme.AppearancesBase,appearances:{}});
7
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;
7
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}});
8
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;
8
qx.io.Alias.getInstance().add( "static", "../org.eclipse.rap.rwt.q07/js/resource/static" );
9
qx.io.Alias.getInstance().add( "static", "../org.eclipse.rap.rwt.q07/js/resource/static" );
9
qx.io.Alias.getInstance().add( "org.eclipse.swt", "../org.eclipse.rap.rwt.q07/js/resource" );
10
qx.io.Alias.getInstance().add( "org.eclipse.swt", "../org.eclipse.rap.rwt.q07/js/resource" );
10
11
(-)js/resource/Includes.js (-4 / +6 lines)
Lines 71-76 Link Here
71
<script src="../org.eclipse.rap.rwt.q07/js/org/eclipse/rwt/GfxMixin.js" type="text/javascript"></script>\
71
<script src="../org.eclipse.rap.rwt.q07/js/org/eclipse/rwt/GfxMixin.js" type="text/javascript"></script>\
72
<script src="../org.eclipse.rap.rwt.q07/js/org/eclipse/rwt/RoundedBorder.js" type="text/javascript"></script>\
72
<script src="../org.eclipse.rap.rwt.q07/js/org/eclipse/rwt/RoundedBorder.js" type="text/javascript"></script>\
73
<script src="../org.eclipse.rap.rwt.q07/js/org/eclipse/rwt/MenuManager.js" type="text/javascript"></script>\
73
<script src="../org.eclipse.rap.rwt.q07/js/org/eclipse/rwt/MenuManager.js" type="text/javascript"></script>\
74
<script src="../org.eclipse.rap.rwt.q07/js/org/eclipse/rwt/FocusIndicator.js" type="text/javascript"></script>\
74
\
75
\
75
<!-- rwt.test -->\
76
<!-- rwt.test -->\
76
<script src="./js/org/eclipse/rwt/test/fixture/RAPRequestPatch.js" type="text/javascript"></script>\
77
<script src="./js/org/eclipse/rwt/test/fixture/RAPRequestPatch.js" type="text/javascript"></script>\
Lines 84-96 Link Here
84
');
85
');
85
86
86
// How to generate the RAPThemeSupport.js:
87
// How to generate the RAPThemeSupport.js:
87
// - Start an RAP-application
88
// - Start an RAP-application (non-debug for client-side)
88
// - Open the application in an Firefox with Firebug 
89
// - Open the application in an Firefox with Firebug 
89
// - In Firebug, go to "Html"
90
// - In Firebug, go to "Html"
90
// - In the document, go to <body> -> <script>
91
// - In the document, go to <body> -> <script>
91
// - Copy all calls that start with qx.Theme.define("org.eclipse.swt.theme.Default...
92
// - Copy all calls that start with "qx.Theme.define("org.eclipse.swt.theme.Default..."
92
// - There should be 7 
93
// - There should be 7 (there are several per row, maybe all in one)
93
// - be careful not to copy the line-numbers with the code
94
// - Also copy the calls after that, "ts=org.eclipse.swt.theme.ThemeStore.getInstance();ts.defineValues..."
95
// - be careful not to copy line-numbers with the code
94
// - add the following lines: (without the "//")
96
// - add the following lines: (without the "//")
95
//  qx.io.Alias.getInstance().add( "static", "../org.eclipse.rap.rwt.q07/js/resource/static" );
97
//  qx.io.Alias.getInstance().add( "static", "../org.eclipse.rap.rwt.q07/js/resource/static" );
96
//  qx.io.Alias.getInstance().add( "org.eclipse.swt", "../org.eclipse.rap.rwt.q07/js/resource" );
98
//  qx.io.Alias.getInstance().add( "org.eclipse.swt", "../org.eclipse.rap.rwt.q07/js/resource" );

Return to bug 290234