org.eclipse.net4j.util.factory
Class FactoryDescriptor

java.lang.Object
  extended by org.eclipse.net4j.util.factory.Factory
      extended by org.eclipse.net4j.util.factory.FactoryDescriptor
All Implemented Interfaces:
IFactory

public class FactoryDescriptor
extends Factory


Constructor Summary
FactoryDescriptor(org.eclipse.core.runtime.IConfigurationElement configurationElement)
           
 
Method Summary
 java.lang.Object create(java.lang.String description)
           
 IFactory createFactory()
           
 org.eclipse.core.runtime.IConfigurationElement getConfigurationElement()
           
 java.lang.String getDescriptionFor(java.lang.Object product)
           
 
Methods inherited from class org.eclipse.net4j.util.factory.Factory
getKey, getProductGroup, getType, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FactoryDescriptor

public FactoryDescriptor(org.eclipse.core.runtime.IConfigurationElement configurationElement)
Method Detail

getConfigurationElement

public org.eclipse.core.runtime.IConfigurationElement getConfigurationElement()

createFactory

public IFactory createFactory()

create

public java.lang.Object create(java.lang.String description)

getDescriptionFor

public java.lang.String getDescriptionFor(java.lang.Object product)
Specified by:
getDescriptionFor in interface IFactory
Overrides:
getDescriptionFor in class Factory

Copyright (c) 2004 - 2008 Eike Stepper, Germany.
All Rights Reserved.