/**
* @see edu.indiana.extreme.xbaya.graph.impl.NodeImpl#getComponent()
*/
@Override
public EndBlockComponent getComponent() {
EndBlockComponent component = (EndBlockComponent) super.getComponent();
if (component == null) {
// The component is null when read from the graph XML.
component = new EndBlockComponent();
setComponent(component);
}
return component;
}