IElementType elementType = XsradElementTypes.Composite_2001;
IElementType[] toSpecialize = new IElementType[1];
toSpecialize[0] = elementType;
CustomElementMatcher matcher = new CustomElementMatcher();
CustomContainerDescriptor descriptor = new CustomContainerDescriptor();
ISpecializationType specializedType = new SpecializationType("id", null, "name", toSpecialize, matcher, descriptor, new CustomFileHelperAdvice());
ElementTypeRegistry.getInstance().register(specializedType);
ClientContextManager.getInstance().getBinding(XsradElementTypes.Composite_2001).bindId("id");