Dashboard > SDL/Swing > ... > Navigation > Resources Layout
Log In   View a printable version of the current page.
Resources Layout
Added by Daniel Leuck, last edited by Daniel Leuck on Jul 04, 2010  (view change)
Labels: 
(None)


SDL/Swing Projects have a resources directory with the following structure:

Path Description
/resources/ The resources root
/resources/ui_global.properties A config file with the required setting of controller_package=(name of the package containing all controllers)
/resources/components/ Directory for SDL UI definitions used by UI.build(String componentName) and UI.startApplication(String title, String componentName). Note: "name" does not include the .sdl extension.
/resources/icons/ A directory for images accessed via the "icon" attribute on components such as buttons and via UI.getIcon(String name)
/resources/patterns/ A directory for images used for tiled backgrounds accessed via UI.getPattern(String name)
/resources/styles/ Root for style related files
/resources/styles/paints.sdl A file containing definitions for colors, patterns and gradients
/resources/styles/style_parts.sdl A file containing definitions for fonts, borders and icons
/resources/styles/styles.sdl A file containing style definitions

See Styles for information about defining paints, style parts and styles.

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.2.8 Build:#525 Aug 08, 2006) - Bug/feature request - Contact Administrators