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 179841 Details for
Bug 326535
[theming] Make sash handle border themable
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]
Patch
clipboard.txt (text/plain), 3.53 KB, created by
Stefan Röck
on 2010-09-29 09:42:56 EDT
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Stefan Röck
Created:
2010-09-29 09:42:56 EDT
Size:
3.53 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rap.rwt.q07 >Index: js/org/eclipse/swt/theme/AppearancesBase.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt.q07/js/org/eclipse/swt/theme/AppearancesBase.js,v >retrieving revision 1.198 >diff -u -r1.198 AppearancesBase.js >--- js/org/eclipse/swt/theme/AppearancesBase.js 29 Apr 2010 10:39:22 -0000 1.198 >+++ js/org/eclipse/swt/theme/AppearancesBase.js 29 Sep 2010 13:41:40 -0000 >@@ -1422,8 +1422,9 @@ > > "sash" : { > style : function( states ) { >+ var tv = new org.eclipse.swt.theme.ThemeValues( states ); > return { >- border : states.rwt_BORDER ? "inset" : "undefined", >+ border : tv.getCssBorder( "Sash-Handle", "border" ), > cursor : states.disabled > ? "undefined" > : states.horizontal >Index: js/org/eclipse/swt/widgets/Sash.js >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt.q07/js/org/eclipse/swt/widgets/Sash.js,v >retrieving revision 1.7 >diff -u -r1.7 Sash.js >--- js/org/eclipse/swt/widgets/Sash.js 9 Dec 2009 14:41:26 -0000 1.7 >+++ js/org/eclipse/swt/widgets/Sash.js 29 Sep 2010 13:41:40 -0000 >@@ -218,6 +218,16 @@ > } > }, > >+ addState : function ( state ) { >+ this.base( arguments, state ); >+ this._handle.addState( state ); >+ }, >+ >+ removeState : function ( state ) { >+ this.base( arguments, state ); >+ this._handle.removeState( state ); >+ }, >+ > _sendWidgetSelected : function() { > if( !org_eclipse_rap_rwt_EventUtil_suspend ) { > // TODO [rst] Clarify what the getOffsetLeft() does >#P org.eclipse.rap.rwt >Index: src/org/eclipse/swt/internal/widgets/sashkit/Sash.theme.xml >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.rwt/org.eclipse.rap.rwt/src/org/eclipse/swt/internal/widgets/sashkit/Sash.theme.xml,v >retrieving revision 1.3 >diff -u -r1.3 Sash.theme.xml >--- src/org/eclipse/swt/internal/widgets/sashkit/Sash.theme.xml 15 Oct 2009 15:48:25 -0000 1.3 >+++ src/org/eclipse/swt/internal/widgets/sashkit/Sash.theme.xml 29 Sep 2010 13:41:42 -0000 >@@ -15,12 +15,18 @@ > > <element name="Sash" > description="Sash control"> >- >+ > <element name="Sash-Handle"> > <description> > The place in the middle of the sash. > </description> > >+ <property name="border"> >+ <description> >+ The border that is drawn around the sash handle. >+ </description> >+ </property> >+ > <property name="background-image" > description="Background image for sash handle" /> > >@@ -37,6 +43,9 @@ > sash SWT.VERTICAL style flag. > </description> > </state> >+ >+ <style name="BORDER" >+ description="Indicates that the sash-handle should have a border." /> > > </element> > >#P org.eclipse.rap.demo >Index: theme1/theme.css >=================================================================== >RCS file: /cvsroot/rt/org.eclipse.rap/runtime.ui/org.eclipse.rap.demo/theme1/theme.css,v >retrieving revision 1.45 >diff -u -r1.45 theme.css >--- theme1/theme.css 6 Apr 2010 16:28:58 -0000 1.45 >+++ theme1/theme.css 29 Sep 2010 13:41:44 -0000 >@@ -228,6 +228,10 @@ > background-image: url( "/theme1/icons/sash.v_handle.gif" ); > } > >+Sash-Handle[BORDER] { >+ border: 1px solid black; >+} >+ > /* Shell */ > > Shell {
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 326535
: 179841