| java.lang.Object org.eclipse.ui.internal.intro.impl.swt.SharedStyleManager
All known Subclasses: org.eclipse.ui.internal.intro.impl.swt.PageStyleManager,
SharedStyleManager | public class SharedStyleManager (Code) | | |
Inner Class :class StyleContext | |
context | protected StyleContext context(Code) | | |
SharedStyleManager | SharedStyleManager()(Code) | | |
SharedStyleManager | public SharedStyleManager(IntroModelRoot modelRoot)(Code) | | Constructor used when shared styles need to be loaded. The bundle is
retrieved from the model root.
Parameters: modelRoot - |
getAssociatedBundle | protected Bundle getAssociatedBundle(String key)(Code) | | Finds the bundle from which this key was loaded. This is the bundle from
which shared styles where loaded.
Parameters: key - |
getAssociatedContext | protected StyleContext getAssociatedContext(String key)(Code) | | |
getColor | public Color getColor(FormToolkit toolkit, String key)(Code) | | Parameters: toolkit - Parameters: key - color. May return null. |
getImage | public Image getImage(String key, String defaultPageKey, String defaultKey)(Code) | | Retrieve an image from this page's properties, given a key.
Parameters: key - Parameters: defaultPageKey - Parameters: defaultKey - |
getProperty | public String getProperty(String key)(Code) | | Get the property from the shared properties.
Parameters: key - |
parseRGB | public static RGB parseRGB(String value)(Code) | | A utility method that creates RGB object from a value encoded in the
following format: #rrggbb, where r, g and b are hex color values in the
range from 00 to ff.
Parameters: value - |
useCustomHomePagelayout | public boolean useCustomHomePagelayout()(Code) | | |
|
|