public final class CoreferenceRegistry
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.Object |
dummyEntry |
Modifier and Type | Method and Description |
---|---|
void |
addAllocation(AllocationDescriptor descriptor) |
void |
addDocumentSet(DocumentSetDescriptor descriptor) |
void |
addListener(java.lang.String eventName,
de.ims.icarus.ui.events.EventListener listener) |
void |
allocationChanged(CoreferenceAllocation allocation) |
static boolean |
canLoad(AllocationDescriptor descriptor) |
static boolean |
canLoad(DocumentSetDescriptor descriptor) |
java.lang.Object |
clone() |
void |
deleteAllocation(AllocationDescriptor descriptor) |
void |
deleteAllocation(CoreferenceAllocation allocation) |
void |
deleteDocumentSet(DocumentSet documentSet) |
void |
deleteDocumentSet(DocumentSetDescriptor descriptor) |
void |
documentSetChanged(DocumentSet documentSet) |
AllocationDescriptor |
getAllocation(java.lang.String id) |
AllocationDescriptor[] |
getAvailableAllocations(DocumentSetDescriptor descriptor) |
org.java.plugin.registry.Extension |
getDefaultAllocatinReaderExtension() |
AllocationDescriptor |
getDefaultAllocationDescriptor(DocumentSetDescriptor descriptor) |
org.java.plugin.registry.Extension |
getDefaultDocumentReaderExtension() |
AllocationDescriptor |
getDescriptor(CoreferenceAllocation allocation) |
DocumentSetDescriptor |
getDescriptor(DocumentSet documentSet) |
DocumentSetDescriptor |
getDocumentSet(int index) |
DocumentSetDescriptor |
getDocumentSet(java.lang.String id) |
DocumentSetDescriptor |
getDocumentSetByName(java.lang.String name) |
int |
getDocumentSetCount() |
javax.swing.ListModel<DocumentSetDescriptor> |
getDocumentSetListModel() |
static CoreferenceRegistry |
getInstance() |
java.lang.String |
getUniqueAllocationName(DocumentSetDescriptor documentSet,
java.lang.String baseName) |
java.lang.String |
getUniqueDocumentSetName(java.lang.String baseName) |
int |
indexOfDocumentSet(DocumentSetDescriptor descriptor) |
static DescriptorState |
loadAllocation(AllocationDescriptor descriptor,
java.lang.Runnable runnable) |
static DescriptorState |
loadDocumentSet(DocumentSetDescriptor descriptor,
java.lang.Runnable runnable) |
AllocationDescriptor |
newAllocation(java.lang.String name,
DocumentSetDescriptor parent) |
DocumentSetDescriptor |
newDocumentSet(java.lang.String name) |
void |
removeListener(de.ims.icarus.ui.events.EventListener listener) |
void |
removeListener(de.ims.icarus.ui.events.EventListener listener,
java.lang.String eventName) |
void |
setLocation(AllocationDescriptor descriptor,
de.ims.icarus.util.location.Location location) |
void |
setLocation(DocumentSetDescriptor descriptor,
de.ims.icarus.util.location.Location location) |
void |
setName(AllocationDescriptor descriptor,
java.lang.String name) |
void |
setName(DocumentSetDescriptor descriptor,
java.lang.String name) |
void |
setProperties(AllocationDescriptor descriptor,
java.util.Map<java.lang.String,java.lang.Object> properties) |
void |
setProperties(DocumentSetDescriptor descriptor,
java.util.Map<java.lang.String,java.lang.Object> properties) |
void |
setReaderExtension(AllocationDescriptor descriptor,
org.java.plugin.registry.Extension extension) |
void |
setReaderExtension(DocumentSetDescriptor descriptor,
org.java.plugin.registry.Extension extension) |
public static CoreferenceRegistry getInstance()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public AllocationDescriptor getDefaultAllocationDescriptor(DocumentSetDescriptor descriptor)
public javax.swing.ListModel<DocumentSetDescriptor> getDocumentSetListModel()
public int getDocumentSetCount()
public DocumentSetDescriptor getDocumentSet(int index)
public DocumentSetDescriptor getDocumentSetByName(java.lang.String name)
public org.java.plugin.registry.Extension getDefaultAllocatinReaderExtension()
public org.java.plugin.registry.Extension getDefaultDocumentReaderExtension()
public int indexOfDocumentSet(DocumentSetDescriptor descriptor)
public DocumentSetDescriptor getDocumentSet(java.lang.String id)
public DocumentSetDescriptor getDescriptor(DocumentSet documentSet)
public DocumentSetDescriptor newDocumentSet(java.lang.String name)
public void addDocumentSet(DocumentSetDescriptor descriptor)
public void deleteDocumentSet(DocumentSetDescriptor descriptor)
public void deleteDocumentSet(DocumentSet documentSet)
public void setName(DocumentSetDescriptor descriptor, java.lang.String name)
public void setLocation(DocumentSetDescriptor descriptor, de.ims.icarus.util.location.Location location)
public void setReaderExtension(DocumentSetDescriptor descriptor, org.java.plugin.registry.Extension extension)
public void setProperties(DocumentSetDescriptor descriptor, java.util.Map<java.lang.String,java.lang.Object> properties)
public AllocationDescriptor getAllocation(java.lang.String id)
public AllocationDescriptor getDescriptor(CoreferenceAllocation allocation)
public AllocationDescriptor newAllocation(java.lang.String name, DocumentSetDescriptor parent)
public void addAllocation(AllocationDescriptor descriptor)
public void deleteAllocation(AllocationDescriptor descriptor)
public void deleteAllocation(CoreferenceAllocation allocation)
public void setName(AllocationDescriptor descriptor, java.lang.String name)
public void setLocation(AllocationDescriptor descriptor, de.ims.icarus.util.location.Location location)
public void setReaderExtension(AllocationDescriptor descriptor, org.java.plugin.registry.Extension extension)
public void setProperties(AllocationDescriptor descriptor, java.util.Map<java.lang.String,java.lang.Object> properties)
public void addListener(java.lang.String eventName, de.ims.icarus.ui.events.EventListener listener)
public void removeListener(de.ims.icarus.ui.events.EventListener listener)
public void removeListener(de.ims.icarus.ui.events.EventListener listener, java.lang.String eventName)
public void documentSetChanged(DocumentSet documentSet)
public void allocationChanged(CoreferenceAllocation allocation)
public java.lang.String getUniqueDocumentSetName(java.lang.String baseName)
public java.lang.String getUniqueAllocationName(DocumentSetDescriptor documentSet, java.lang.String baseName)
public static boolean canLoad(DocumentSetDescriptor descriptor)
public static boolean canLoad(AllocationDescriptor descriptor)
public AllocationDescriptor[] getAvailableAllocations(DocumentSetDescriptor descriptor)
public static DescriptorState loadDocumentSet(DocumentSetDescriptor descriptor, java.lang.Runnable runnable)
public static DescriptorState loadAllocation(AllocationDescriptor descriptor, java.lang.Runnable runnable)