public DockPanelInfo(AstEditor editor,
ComponentDescription description,
CreationSupport creationSupport) throws Exception {
super(editor, description, creationSupport);
// decorate Widget's text with direction
addBroadcastListener(new ObjectInfoPresentationDecorateText() {
public void invoke(ObjectInfo object, String[] text) throws Exception {
if (object instanceof WidgetInfo && object.getParent() == DockPanelInfo.this) {
String directionText = getDirection((WidgetInfo) object);
text[0] = directionText + " - " + text[0];
}