* @return ITagCreator
*/
public ITagCreator createTagCreator(final TagIdentifier tagId)
{
IElementEdit elementEdit = ElementEditFactoryRegistry.getInstance()
.createElementEdit(tagId);
if (elementEdit != null)
{
// for (ITagCreatorFactory factory : factories)
// {
ITagCreator tagCreator = null;
try
{
tagCreator = elementEdit.getTagCreator(tagId);
}
catch (Exception e)
{
PDPlugin.getLogger(getClass()).error(
"Error.ProblemLoadingTagCreatorFactory", //$NON-NLS-1$
elementEdit.getClass().toString(), e);
}
if (tagCreator != null)
{
if (tagCreator instanceof AbstractTagCreator)