|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gmf.runtime.emf.type.core.AbstractElementTypeFactory
public abstract class AbstractElementTypeFactory
Abstract implementation for element type factories. The methods in this
factory throw UnsupportedOperationException
. Element type
factories can support either metamodel types or specialization types, or
both. If a concrete factory is asked to create a kind of element type that is
does not support, the exception will be thrown.
Constructor Summary | |
---|---|
AbstractElementTypeFactory()
|
Method Summary | |
---|---|
IMetamodelType |
createMetamodelType(IMetamodelTypeDescriptor descriptor)
Creates the custom metamodel type. |
ISpecializationType |
createSpecializationType(ISpecializationTypeDescriptor descriptor)
Creates the custom specialization type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AbstractElementTypeFactory()
Method Detail |
---|
public IMetamodelType createMetamodelType(IMetamodelTypeDescriptor descriptor)
IElementTypeFactory
createMetamodelType
in interface IElementTypeFactory
descriptor
- the metamodel type descriptor
java.lang.UnsupportedOperationException
- when metamodel types are not supported by this factorypublic ISpecializationType createSpecializationType(ISpecializationTypeDescriptor descriptor)
IElementTypeFactory
createSpecializationType
in interface IElementTypeFactory
descriptor
- the specialization type descriptor
java.lang.UnsupportedOperationException
- when specialization types are not supported by this factory
|
Runtime | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.