Threaded View

  1. #1
    Ext GWT Premium Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    80
    Vote Rating
    0
    Cypher is on a distinguished road

      0  

    Thumbs up More ExtGWT themes derived from ExtJS ones

    More ExtGWT themes derived from ExtJS ones


    Hi guys,

    I have wrapped the ExtJS themes created by madrabaz so they can be used also in ExtGWT.

    Themes:
    - Black (http://extjs.com/forum/showthread.php?t=15504);
    - DarkGray (http://extjs.com/forum/showthread.php?t=15341);
    - Olive (http://extjs.com/forum/showthread.php?t=15505);
    - Purple (http://extjs.com/forum/showthread.php?t=15377);
    - Slickness (http://extjs.com/forum/showthread.php?t=28024);

    Usage:

    Insert this to your *.gwt.xml file:
    Code:
    <inherits name='ext.ux.theme.black.Black'/>
    <inherits name='ext.ux.theme.darkgray.DarkGray'/>
    <inherits name='ext.ux.theme.purple.Purple'/>
    <inherits name='ext.ux.theme.olive.Olive'/>
    <inherits name='ext.ux.theme.slickness.Slickness'/>
    Then add the theme JAR files to your classpath.

    Then add this to your ExtGWT Java code:
    Code:
    import ext.ux.theme.black.client.Black;
    import ext.ux.theme.darkgray.client.DarkGray;
    import ext.ux.theme.purple.client.Purple;
    import ext.ux.theme.olive.client.Olive;
    import ext.ux.theme.slickness.client.Slickness;
    And then register the theme as follows:
    Code:
    ThemeManager.register(Black.BLACK);
    ThemeManager.register(DarkGray.DARKGRAY);
    ThemeManager.register(Olive.OLIVE);
    ThemeManager.register(Purple.PURPLE);
    ThemeManager.register(Slickness.SLICKNESS);
    Enjoy!

    Cypher

    PS:
    The attached ZIP files need to be renamed to JAR and then included in your ExtGWT project.
    Attached Files