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 326535
Collapse All | Expand All

(-)js/org/eclipse/swt/theme/AppearancesBase.js (-1 / +2 lines)
Lines 1422-1429 Link Here
1422
1422
1423
  "sash" : {
1423
  "sash" : {
1424
    style : function( states ) {
1424
    style : function( states ) {
1425
      var tv = new org.eclipse.swt.theme.ThemeValues( states );
1425
      return {
1426
      return {
1426
        border : states.rwt_BORDER ? "inset" : "undefined",
1427
        border : tv.getCssBorder( "Sash-Handle", "border" ),
1427
        cursor : states.disabled
1428
        cursor : states.disabled
1428
                 ? "undefined"
1429
                 ? "undefined"
1429
                 : states.horizontal
1430
                 : states.horizontal
(-)js/org/eclipse/swt/widgets/Sash.js (+10 lines)
Lines 218-223 Link Here
218
      }
218
      }
219
    },
219
    },
220
    
220
    
221
    addState : function ( state ) {
222
    	this.base( arguments, state );
223
        this._handle.addState( state );
224
    },
225
    
226
    removeState : function ( state ) {
227
    	this.base( arguments, state );
228
        this._handle.removeState( state );
229
    },
230
    
221
    _sendWidgetSelected : function() {
231
    _sendWidgetSelected : function() {
222
      if( !org_eclipse_rap_rwt_EventUtil_suspend ) {        
232
      if( !org_eclipse_rap_rwt_EventUtil_suspend ) {        
223
        // TODO [rst] Clarify what the getOffsetLeft() does
233
        // TODO [rst] Clarify what the getOffsetLeft() does
(-)src/org/eclipse/swt/internal/widgets/sashkit/Sash.theme.xml (-1 / +10 lines)
Lines 15-26 Link Here
15
15
16
  <element name="Sash"
16
  <element name="Sash"
17
      description="Sash control">
17
      description="Sash control">
18
18
    
19
    <element name="Sash-Handle">
19
    <element name="Sash-Handle">
20
      <description>
20
      <description>
21
        The place in the middle of the sash.
21
        The place in the middle of the sash.
22
      </description>
22
      </description>
23
23
24
	  <property name="border">
25
	    <description>
26
	      The border that is drawn around the sash handle.
27
	    </description>
28
	  </property>
29
24
      <property name="background-image"
30
      <property name="background-image"
25
          description="Background image for sash handle" />
31
          description="Background image for sash handle" />
26
32
Lines 37-42 Link Here
37
          sash SWT.VERTICAL style flag.
43
          sash SWT.VERTICAL style flag.
38
        </description>
44
        </description>
39
      </state>
45
      </state>
46
    
47
      <style name="BORDER"
48
          description="Indicates that the sash-handle should have a border." />
40
49
41
    </element>
50
    </element>
42
51
(-)theme1/theme.css (+4 lines)
Lines 228-233 Link Here
228
  background-image: url( "/theme1/icons/sash.v_handle.gif" );
228
  background-image: url( "/theme1/icons/sash.v_handle.gif" );
229
}
229
}
230
230
231
Sash-Handle[BORDER] {
232
  border: 1px solid black;
233
}
234
231
/* Shell */
235
/* Shell */
232
236
233
Shell {
237
Shell {

Return to bug 326535