Domain Modeling Layer

com.ibm.xtools.presentation.ui.image
Class ImageFileFormat

java.lang.Object
  extended by org.eclipse.gmf.runtime.common.core.util.EnumeratedType
      extended by com.ibm.xtools.presentation.ui.image.ImageFileFormat
All Implemented Interfaces:
Serializable

Deprecated. Use the org.eclipse.gmf.runtime.diagram.ui ImageFileFormat instead. The diagram.ui should be used in place of the presentation plugin whenever possible.

public class ImageFileFormat
extends EnumeratedType

This is here for backwards compatibility only.

See Also:
org.eclipse.gmf.runtime.diagram.ui.image.ImageFileFormat, Serialized Form

Field Summary
static ImageFileFormat BMP
          Deprecated. supported format Windows Bitmap format (BMP).
static ImageFileFormat GIF
          Deprecated. supported format Graphics Interchange Format (GIF).
static int IMAGE_SVG
          Deprecated.  
static ImageFileFormat JPEG
          Deprecated. supported format Joint Photographic Experts Group format (JPEG and JPG).
static ImageFileFormat JPG
          Deprecated.  
static ImageFileFormat SVG
          Deprecated. supported format Scalable Vector Graphics (SVG).
static ImageFileFormat[] VALUES
          Deprecated. The list of values for this enumerated type.
 
Method Summary
static ImageFileFormat getDefaultImageFormat()
          Deprecated. Retrieves the default image format.
protected  List getValues()
          Deprecated. Retrieves the list of constants for this enumerated type.
static ImageFileFormat resolveImageFormat(int ordinal)
          Deprecated. resolve the selected image format to an enumerated type.
static ImageFileFormat resolveImageFormat(String imageFormat)
          Deprecated. Resolve the selected image format to an enumerated type.
 
Methods inherited from class org.eclipse.gmf.runtime.common.core.util.EnumeratedType
equals, getName, getOrdinal, hashCode, readResolve, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

IMAGE_SVG

public static final int IMAGE_SVG
Deprecated. 
See Also:
Constant Field Values

GIF

public static final ImageFileFormat GIF
Deprecated. 
supported format Graphics Interchange Format (GIF).


JPEG

public static final ImageFileFormat JPEG
Deprecated. 
supported format Joint Photographic Experts Group format (JPEG and JPG).


JPG

public static final ImageFileFormat JPG
Deprecated. 

BMP

public static final ImageFileFormat BMP
Deprecated. 
supported format Windows Bitmap format (BMP).


SVG

public static final ImageFileFormat SVG
Deprecated. 
supported format Scalable Vector Graphics (SVG).


VALUES

public static final ImageFileFormat[] VALUES
Deprecated. 
The list of values for this enumerated type.

Method Detail

getValues

protected List getValues()
Deprecated. 
Retrieves the list of constants for this enumerated type.

Specified by:
getValues in class EnumeratedType
Returns:
The list of constants for this enumerated type.
See Also:
EnumeratedType.getValues()

getDefaultImageFormat

public static ImageFileFormat getDefaultImageFormat()
Deprecated. 
Retrieves the default image format.

Returns:
the default image format.

resolveImageFormat

public static ImageFileFormat resolveImageFormat(int ordinal)
Deprecated. 
resolve the selected image format to an enumerated type.

Parameters:
ordinal - the selected format in the pulldown
Returns:
the image format enumerated type

resolveImageFormat

public static ImageFileFormat resolveImageFormat(String imageFormat)
Deprecated. 
Resolve the selected image format to an enumerated type.

Parameters:
imageFormat - the selected format.
Returns:
the image format enumerated type

Domain Modeling Layer

© Copyright IBM Corp. 2009. All rights reserved.