org.eclipse.ocl.examples.common.label
Class LabelGeneratorRegistry.Global

java.lang.Object
  extended by org.eclipse.ocl.examples.common.label.LabelGeneratorRegistry
      extended by org.eclipse.ocl.examples.common.label.LabelGeneratorRegistry.Global
All Implemented Interfaces:
ILabelGenerator.Registry
Enclosing class:
LabelGeneratorRegistry

public static class LabelGeneratorRegistry.Global
extends LabelGeneratorRegistry


Nested Class Summary
 
Nested classes/interfaces inherited from class org.eclipse.ocl.examples.common.label.LabelGeneratorRegistry
LabelGeneratorRegistry.Global
 
Field Summary
 
Fields inherited from class org.eclipse.ocl.examples.common.label.LabelGeneratorRegistry
delegate
 
Fields inherited from interface org.eclipse.ocl.examples.common.label.ILabelGenerator.Registry
INSTANCE
 
Constructor Summary
LabelGeneratorRegistry.Global()
           
 
Method Summary
 ILabelGenerator<?> get(java.lang.Class<?> labelledClass)
           
 void initialize()
           
 java.lang.Object install(java.lang.Class<?> labelledClass, ILabelGenerator.Descriptor labelDescriptor)
           
 java.lang.Object install(java.lang.Class<?> labelledClass, ILabelGenerator<?> labelGenerator)
           
 void uninstall(java.lang.Class<?> labelledClass)
           
 
Methods inherited from class org.eclipse.ocl.examples.common.label.LabelGeneratorRegistry
buildLabelFor, buildSubLabelFor, createDefaultLabelBuilder, debugLabelFor, getLabelGenerator, init, initialize, labelFor, labelFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LabelGeneratorRegistry.Global

public LabelGeneratorRegistry.Global()
Method Detail

initialize

public void initialize()

get

@Nullable
public ILabelGenerator<?> get(@NonNull
                                       java.lang.Class<?> labelledClass)
Specified by:
get in interface ILabelGenerator.Registry
Overrides:
get in class LabelGeneratorRegistry

install

@Nullable
public java.lang.Object install(@NonNull
                                         java.lang.Class<?> labelledClass,
                                         @NonNull
                                         ILabelGenerator.Descriptor labelDescriptor)
Specified by:
install in interface ILabelGenerator.Registry
Overrides:
install in class LabelGeneratorRegistry

install

@Nullable
public java.lang.Object install(@NonNull
                                         java.lang.Class<?> labelledClass,
                                         @NonNull
                                         ILabelGenerator<?> labelGenerator)
Specified by:
install in interface ILabelGenerator.Registry
Overrides:
install in class LabelGeneratorRegistry

uninstall

public void uninstall(@NonNull
                      java.lang.Class<?> labelledClass)
Specified by:
uninstall in interface ILabelGenerator.Registry
Overrides:
uninstall in class LabelGeneratorRegistry