/*
* instances of this class scoped by some context class
*/
- private IdentityHashMap<StructureSelectionManagerProvider, StructureSelectionManager> structureSelections;
+ private IdentityHashMap<StructureSelectionManagerProvider, StructureSelectionManager> selectionManagers;
/**
* Answers an instance of this class for the current application (Java or JS
StructureSelectionManager getInstanceForContext(
StructureSelectionManagerProvider context)
{
- StructureSelectionManager instance = structureSelections.get(context);
+ StructureSelectionManager instance = selectionManagers.get(context);
if (instance == null)
{
instance = new StructureSelectionManager();
- structureSelections.put(context, instance);
+ selectionManagers.put(context, instance);
}
return instance;
}
public static void release(StructureSelectionManagerProvider provider)
{
- getInstance().structureSelections.remove(provider);
+ getInstance().selectionManagers.remove(provider);
}
/**
*/
private StructureSelectionManager()
{
- structureSelections = new IdentityHashMap<>();
+ selectionManagers = new IdentityHashMap<>();
}
/**