java.lang.Object
com.port80.eclipse.jdt.ThemeManager
- public class ThemeManager
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NAME
private static final java.lang.String NAME
- See Also:
- Constant Field Values
DEBUG
private static final boolean DEBUG
- See Also:
- Constant Field Values
DEFAULT_COLORS
private static final java.lang.String[] DEFAULT_COLORS
DEFAULT_FONTS
private static final java.lang.String[] DEFAULT_FONTS
DEFAULT_IMAGES
private static final java.lang.String[] DEFAULT_IMAGES
DEFAULT_CURSORS
private static final java.lang.String[] DEFAULT_CURSORS
STANDARD_COLORS
private static final java.lang.String[] STANDARD_COLORS
fTheme
private java.lang.String fTheme
fColorFactory
private com.port80.eclipse.util.ColorFactory fColorFactory
fFontFactory
private com.port80.eclipse.util.FontFactory fFontFactory
fCursorFactory
private com.port80.eclipse.util.CursorFactory fCursorFactory
fImageFactory
private com.port80.eclipse.util.ImageFactory fImageFactory
fColorTable
private java.util.Map fColorTable
fFontTable
private java.util.Map fFontTable
fCursorTable
private java.util.Map fCursorTable
fImageTable
private java.util.Map fImageTable
fPluginURL
private java.lang.String fPluginURL
ThemeManager
public ThemeManager()
init
private void init()
getColorName
public java.lang.String getColorName(java.lang.String name)
getFontName
public java.lang.String getFontName(java.lang.String name)
getImageName
public java.lang.String getImageName(java.lang.String name)
getCursorName
public java.lang.String getCursorName(java.lang.String name)
getFontFactory
public com.port80.eclipse.util.FontFactory getFontFactory()
getColor
public org.eclipse.swt.graphics.Color getColor(java.lang.String name)
getFont
public org.eclipse.swt.graphics.Font getFont(java.lang.String name)
getCursor
public org.eclipse.swt.graphics.Cursor getCursor(java.lang.String name)
getImage
public org.eclipse.swt.graphics.Image getImage(java.lang.String name)
widgetDisposed
public void widgetDisposed(org.eclipse.swt.events.DisposeEvent e)
- Application can hook to this listener to the main window instead of the individual factories.
DisposeListener should be invoked only when application exits.
All factory DisposeListener can be called more than once without harm.
dispose
public void dispose()