org.siebengeisslein.ide
Class TypeProtoTypeFactory

java.lang.Object
  extended by org.siebengeisslein.client.Persistent
      extended by org.siebengeisslein.ide.TypeProtoTypeFactory
All Implemented Interfaces:
Instrumented, ProtoTypeFactory

public class TypeProtoTypeFactory
extends Persistent
implements ProtoTypeFactory


Constructor Summary
TypeProtoTypeFactory()
           
 
Method Summary
 java.lang.Object getProtoType()
          The returned value has to be a prototype value for a combo box that is not derived from Persistent, because swing classes may not hold references to persistent objects (in case they are expired and have to be reloaded.
 
Methods inherited from class org.siebengeisslein.client.Persistent
abort, clearUserLocals, clone, commit, disposeTransient, getGroup, getRef, getTransientValue, hashCode, initTransient, isWriteTransaction, joinWriteTransaction, readLock, setGroup, setTransientValue, toPersistent, toRef, writeExternal, writeLock
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TypeProtoTypeFactory

public TypeProtoTypeFactory()
Method Detail

getProtoType

public java.lang.Object getProtoType()
Description copied from interface: ProtoTypeFactory
The returned value has to be a prototype value for a combo box that is not derived from Persistent, because swing classes may not hold references to persistent objects (in case they are expired and have to be reloaded. This only works with Ref's.

Specified by:
getProtoType in interface ProtoTypeFactory
Returns:
prototype value for the comboxbox/list.