com.bbn.swede.ui
Class OWLImages

java.lang.Object
  extended bycom.bbn.swede.ui.OWLImages

public final class OWLImages
extends Object

Centralized image storage for SWeDE. Provides access to icons included in the .ui plugin.

Author:
jlerner

Field Summary
static String IMG_ATTRIB_OBJ
          Image name string for attribute object icon.
static String IMG_CLASS_OBJ
          Image name string for OWL class object icon.
static String IMG_DT_PROP_OBJ
          Image name string for OWL datatype property object icon.
static String IMG_LIT_OBJ
          Image name string for literal object icon.
static String IMG_O_PROP_OBJ
          Image name string for OWL object property object icon.
static String IMG_ONTOLOGY
          Image name string for Ontology object icon.
static String IMG_OWL_EXT_OBJ
          Image name string for external OWL document object icon.
static String IMG_OWL_INST
          Image name string for OWL individual object icon.
static String IMG_OWL_OBJ
          Image name string for OWL document object icon.
static String IMG_OWLFOLD_OBJ
          Image name string for OWL folder object icon.
static String IMG_OWLPROJ_OBJ
          Image name string for OWL project object icon.
static String IMG_PREDICATE
          Image name string for predicate object icon.
static String IMG_PROP_OBJ
          Image name string for OWL property object icon.
static String IMG_THING
          Image name string for OWL thing object icon.
static String IMG_UNPARSEABLE
          Image name string for unparseable object icon.
 
Method Summary
static OWLImages getOWLImages()
          Provides access to the one and only instance of OWLImages.
static Image getSharedImage(String sKey)
          Retrieves a shared image.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IMG_OWL_OBJ

public static final String IMG_OWL_OBJ
Image name string for OWL document object icon.

See Also:
Constant Field Values

IMG_OWL_EXT_OBJ

public static final String IMG_OWL_EXT_OBJ
Image name string for external OWL document object icon.

See Also:
Constant Field Values

IMG_CLASS_OBJ

public static final String IMG_CLASS_OBJ
Image name string for OWL class object icon.

See Also:
Constant Field Values

IMG_LIT_OBJ

public static final String IMG_LIT_OBJ
Image name string for literal object icon.

See Also:
Constant Field Values

IMG_ATTRIB_OBJ

public static final String IMG_ATTRIB_OBJ
Image name string for attribute object icon.

See Also:
Constant Field Values

IMG_PROP_OBJ

public static final String IMG_PROP_OBJ
Image name string for OWL property object icon.

See Also:
Constant Field Values

IMG_DT_PROP_OBJ

public static final String IMG_DT_PROP_OBJ
Image name string for OWL datatype property object icon.

See Also:
Constant Field Values

IMG_O_PROP_OBJ

public static final String IMG_O_PROP_OBJ
Image name string for OWL object property object icon.

See Also:
Constant Field Values

IMG_OWLFOLD_OBJ

public static final String IMG_OWLFOLD_OBJ
Image name string for OWL folder object icon.

See Also:
Constant Field Values

IMG_OWLPROJ_OBJ

public static final String IMG_OWLPROJ_OBJ
Image name string for OWL project object icon.

See Also:
Constant Field Values

IMG_OWL_INST

public static final String IMG_OWL_INST
Image name string for OWL individual object icon.

See Also:
Constant Field Values

IMG_THING

public static final String IMG_THING
Image name string for OWL thing object icon.

See Also:
Constant Field Values

IMG_PREDICATE

public static final String IMG_PREDICATE
Image name string for predicate object icon.

See Also:
Constant Field Values

IMG_UNPARSEABLE

public static final String IMG_UNPARSEABLE
Image name string for unparseable object icon.

See Also:
Constant Field Values

IMG_ONTOLOGY

public static final String IMG_ONTOLOGY
Image name string for Ontology object icon.

See Also:
Constant Field Values
Method Detail

getOWLImages

public static OWLImages getOWLImages()
Provides access to the one and only instance of OWLImages.

Returns:
The singleton instance

getSharedImage

public static Image getSharedImage(String sKey)
Retrieves a shared image.

Parameters:
sKey - The name of the image to retrieve
Returns:
The image specified by sKey, or null if no such image exists in the registry


Copyright © 2004-2005 BBN Technologies. All Rights Reserved.