Changes between Version 6 and Version 7 of GROUP_BASE_SKINS_R0
- Timestamp:
- 04/21/09 14:47:02 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GROUP_BASE_SKINS_R0
v6 v7 54 54 Currently there is one class that represents a skin in Sophie2. This class is org.sophie2.base.skins.Skin and it represents only one skin. Moreover it is singleton. A new class will be created - org.sophie2.base.skins.SkinManager and it will be responsible for managining skins. This class will have one property - the current skin, and everyone who want to add a new skin will have to change the reference of the current skin - to set the skin he wants. 55 55 56 The org.sophie2.base.skins.Skin will become more general. It will be defined as such depending on its name different skin parts are loaded. It won't be singleton anymore and it will have a name and a fallback skin with a name correspondingly. A skin will be defined by its A fallback skin is a skin from which the values will be retrieved if they are not found the current skin. The default skin is supposed to be full, this means that it can be the fallback in case of wonder.56 The org.sophie2.base.skins.Skin will become more general. It will be defined as such depending on its name different skin parts are loaded. It won't be singleton anymore and it will have a name and a fallback skin with a name correspondingly. A skin will be defined by its A fallback skin is a skin from which the values will be retrieved if they are not found the current skin. Every skin definition is added to the default skin, this means that it can be used as a fallback skin whenever you want. 57 57 58 58 A new module will be added - org.sophie2.main.skin.alternative - that will contain the alternative skin. It will have just one class - AlternativeSkinModule - which will add new values for the record ids (so far) in Sophie2 … … 66 66 * the icons must be with size between 15x15 and 20x20 (18x18 is recommended). 67 67 * use for example the ''sophie2-repo\trunk\sophie2-platform\modules\org.sophie2.base.commons\src\main\resources\distrib\icons'' directory 68 * the new icons must be with the same file names 68 * the new icons must be with the same file names but in the new module 69 69 * all icons must be .png files 70 70 = Implementation =