Runtime

org.eclipse.gmf.runtime.diagram.ui.geoshapes.type
Class GeoshapeType

java.lang.Object
  extended by org.eclipse.gmf.runtime.emf.type.core.AbstractElementTypeEnumerator
      extended by org.eclipse.gmf.runtime.diagram.ui.geoshapes.type.GeoshapeType

public class GeoshapeType
extends AbstractElementTypeEnumerator

Element types for the notation elements defined in the Geoshape plugin.

If a new shape type is added, it should also be added to the list returned in getShapeTypes().


Field Summary
static org.eclipse.gmf.runtime.diagram.ui.util.INotationType CYLINDER
           
static org.eclipse.gmf.runtime.diagram.ui.util.INotationType DIAMOND
           
static org.eclipse.gmf.runtime.diagram.ui.util.INotationType HEXAGON
           
static org.eclipse.gmf.runtime.diagram.ui.util.INotationType LINE
           
static org.eclipse.gmf.runtime.diagram.ui.util.INotationType OCTAGON
           
static org.eclipse.gmf.runtime.diagram.ui.util.INotationType OVAL
           
static org.eclipse.gmf.runtime.diagram.ui.util.INotationType PENTAGON
           
static org.eclipse.gmf.runtime.diagram.ui.util.INotationType RECTANGLE
           
static org.eclipse.gmf.runtime.diagram.ui.util.INotationType ROUNDRECTANGLE
           
static org.eclipse.gmf.runtime.diagram.ui.util.INotationType SHADOWRECTANGLE
           
static org.eclipse.gmf.runtime.diagram.ui.util.INotationType THREEDRECTANGLE
           
static org.eclipse.gmf.runtime.diagram.ui.util.INotationType TRIANGLE
           
 
Constructor Summary
GeoshapeType()
           
 
Method Summary
static java.util.List getShapeTypes()
          Gets a list of all the possible shape types.
 
Methods inherited from class org.eclipse.gmf.runtime.emf.type.core.AbstractElementTypeEnumerator
getElementType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OVAL

public static final org.eclipse.gmf.runtime.diagram.ui.util.INotationType OVAL

TRIANGLE

public static final org.eclipse.gmf.runtime.diagram.ui.util.INotationType TRIANGLE

RECTANGLE

public static final org.eclipse.gmf.runtime.diagram.ui.util.INotationType RECTANGLE

SHADOWRECTANGLE

public static final org.eclipse.gmf.runtime.diagram.ui.util.INotationType SHADOWRECTANGLE

THREEDRECTANGLE

public static final org.eclipse.gmf.runtime.diagram.ui.util.INotationType THREEDRECTANGLE

ROUNDRECTANGLE

public static final org.eclipse.gmf.runtime.diagram.ui.util.INotationType ROUNDRECTANGLE

HEXAGON

public static final org.eclipse.gmf.runtime.diagram.ui.util.INotationType HEXAGON

OCTAGON

public static final org.eclipse.gmf.runtime.diagram.ui.util.INotationType OCTAGON

PENTAGON

public static final org.eclipse.gmf.runtime.diagram.ui.util.INotationType PENTAGON

DIAMOND

public static final org.eclipse.gmf.runtime.diagram.ui.util.INotationType DIAMOND

CYLINDER

public static final org.eclipse.gmf.runtime.diagram.ui.util.INotationType CYLINDER

LINE

public static final org.eclipse.gmf.runtime.diagram.ui.util.INotationType LINE
Constructor Detail

GeoshapeType

public GeoshapeType()
Method Detail

getShapeTypes

public static java.util.List getShapeTypes()
Gets a list of all the possible shape types. This is used by the connection handles.

Returns:
a list of shape types

Runtime

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.