Skip to content

eclipseguru/xiliary

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xiliary Build Status

with-Eclipse logo

Introduction

Auxiliary libraries for Eclipse, JUnit and Java development in general. It includes the FlatScrollBar and more...

Development

The folder https://github.com/fappel/xiliary/tree/master/com.codeaffine.xiliary.releng contains the Xiliary.setup and XiliaryIDE.setup files. The latter is an Oomph (https://projects.eclipse.org/projects/tools.oomph) product setup model and the first a project setup model. Use the Oomph installer in advanced mode (http://eclipsesource.com/blogs/tutorials/oomph-basic-tutorial/) and refer to the files on GitHub in raw mode. This should help to setup a basic development environment and workspace in no time. However, as this is the first try on Oomph there might be some unknown depths... please report any issues you're running into to help to improve this mechanism. See also https://github.com/fappel/xiliary/blob/master/CONTRIBUTING.md for more information on how to contribute.

FlatScrollBar


Drop in replacement for all your Eclipse 4.4+ based RCP apps table, tree, and styled text scrollbars as easy as this in two tiny steps:
  • add bundles com.codeaffine.eclipse.swt.jar and com.codeaffine.eclipse.ui.swt.theme.jar to your target platform and to your products feature.xml
  • merge this snippet with your RCP apps CSS:
Tree {
  flat-scroll-bar: true;
  flat-scroll-bar-background : #ababab;
  flat-scroll-bar-thumb: #cdcdcd;
  flat-scroll-bar-page-increment: #f8f8f8;
  flat-scroll-bar-thumb-top-level: #454545;
  flat-scroll-bar-page-increment-top-level: #f8f8f8;
  flat-scroll-bar-increment-length: 7;
  adapter-demeanor: expand-on-mouse-over; /* fixed-width */
}

Table {
  flat-scroll-bar: true;
  flat-scroll-bar-background : #ababab;
  flat-scroll-bar-thumb: #cdcdcd;
  flat-scroll-bar-page-increment: #f8f8f8;
  flat-scroll-bar-thumb-top-level: #454545;
  flat-scroll-bar-page-increment-top-level: #f8f8f8;
  flat-scroll-bar-increment-length: 7;
  adapter-demeanor: expand-on-mouse-over; /* fixed-width */
}

StyledText {
  flat-scroll-bar: true;
  flat-scroll-bar-thumb: #ababab;
  flat-scroll-bar-page-increment: #cdcdcd;
  adapter-background-top-level: #f8f8f8;
  flat-scroll-bar-thumb-top-level: #454545;
  flat-scroll-bar-page-increment-top-level: #f8f8f8;
  flat-scroll-bar-increment-length: 7;
  adapter-demeanor: expand-on-mouse-over; /* fixed-width */
}

Note: In case you want to configure background-color style for your trees, tables, or styled texts that differs to the one that is defined for the composite components when using FlatScrollBar, you'll have to do this with an appropriate TreeAdapter, TreeTable, or StyledTextAdapter configuration entry in your css as shown below (see also fappel#94):

Composite * {
  background-color: red;
}

Tree {
  flat-scroll-bar: true;
}

TreeAdapter {
  background-color: blue;
}

About

Auxiliary libraries for Eclipse, JUnit and Java development in general.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 80.0%
  • HTML 12.6%
  • CSS 4.3%
  • SCSS 2.1%
  • JavaScript 0.7%
  • Shell 0.2%
  • Batchfile 0.1%