addActions( view, def );
addAttachments( view, def );
views.put( viewKey, view );
final Event event = new Event( EVENT_VIEW_CREATED );
event.attach( "viewName", name );
event.attach( "viewKey", viewKey );
event.attach( "view", view );
event.dispatch();
}
private static void addAttachments( final View view, final ViewDef def )