private String getBaseName() {
ComponentDescription description = m_object.getDescription();
String componentClassName = description.getComponentClass().getName();
// check type specific information
{
ComponentNameDescription nameDescription =
NamesManager.getNameDescription(description.getToolkit(), componentClassName);
if (nameDescription != null) {
return nameDescription.getName();
}
}
// check component parameter
{
String name = XmlObjectUtils.getParameter(m_object, NamesManager.NAME_PARAMETER);