org.openpermis.editor.policy.gui
Class IconRegistryConverter
java.lang.Object
org.jdesktop.application.ResourceConverter
org.openpermis.editor.policy.gui.IconRegistryConverter
public final class IconRegistryConverter
- extends org.jdesktop.application.ResourceConverter
Resource converter that looks up icon keys in an icon registry.
An icon key is a key enclosed in angle brackets, e.g. <foo>. Icon keys may
have annotations as in the following example: <foo[add,error]>.
- Since:
- 0.3.0
Nested classes/interfaces inherited from class org.jdesktop.application.ResourceConverter |
org.jdesktop.application.ResourceConverter.ResourceConverterException |
Fields inherited from class org.jdesktop.application.ResourceConverter |
type |
Methods inherited from class org.jdesktop.application.ResourceConverter |
forType, register, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
initialize
public static void initialize()
- Reserves a resource converter slot for the icon registry converter.
The slot has to be reserver prior to initialization of the default icon resource
converter since the converter cannot be removed once its registered.
- Since:
- 0.3.0
activate
public static void activate(IconRegistry iconRegistry)
- Initializes the singleton resource converter.
- Parameters:
iconRegistry
- the icon registry to use.- Since:
- 0.3.0
parseString
public Object parseString(String key,
org.jdesktop.application.ResourceMap resourceMap)
throws org.jdesktop.application.ResourceConverter.ResourceConverterException
- Specified by:
parseString
in class org.jdesktop.application.ResourceConverter
- Throws:
org.jdesktop.application.ResourceConverter.ResourceConverterException
- Since:
- 0.3.0
supportsType
public boolean supportsType(Class type)
- Overrides:
supportsType
in class org.jdesktop.application.ResourceConverter
- Since:
- 0.3.0
PERMIS Role Based Access Control 0.4.0 (Build 15)
2009/05/20 08:15:11
Copyright (c) 2002-2007 Ergon Informatik AG