Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Runtime

org.eclipse.gmf.runtime.emf.type.core
Class AbstractElementTypeFactory

java.lang.Object
  extended by 
org.eclipse.gmf.runtime.emf.type.core.AbstractElementTypeFactory
All Implemented Interfaces:
IElementTypeFactory

public abstract class AbstractElementTypeFactory
extends java.lang.Object
implements IElementTypeFactory

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

AbstractElementTypeFactory

public AbstractElementTypeFactory()
Method Detail

createMetamodelType

public 
IMetamodelType createMetamodelType(
IMetamodelTypeDescriptor descriptor)
Description copied from interface: IElementTypeFactory
Creates the custom metamodel type.

Specified by:
createMetamodelType in interface IElementTypeFactory
Parameters:
descriptor - the metamodel type descriptor
Returns:
the custom metamodel type
Throws:
java.lang.UnsupportedOperationException - when metamodel types are not supported by this factory

createSpecializationType

public 
ISpecializationType createSpecializationType(
ISpecializationTypeDescriptor descriptor)
Description copied from interface: IElementTypeFactory
Creates the custom specialization type.

Specified by:
createSpecializationType in interface IElementTypeFactory
Parameters:
descriptor - the specialization type descriptor
Returns:
the custom specialization type
Throws:
java.lang.UnsupportedOperationException - when specialization types are not supported by this factory

Runtime

Guidelines for using Eclipse APIs.

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


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire