setResizable(true);
setModal(true);
setMaximizable(true);
contentTypeTree = new ContentTypeTree(types);
TreeGrid treeGrid = contentTypeTree.getTreeGrid();
treeGrid.sinkEvents(Event.ONDBLCLICK + Event.ONCLICK);
treeGrid.addListener(Events.OnDoubleClick, new Listener<BaseEvent>() {
public void handleEvent(BaseEvent baseEvent) {
GWTJahiaNodeType gwtJahiaNodeType = (GWTJahiaNodeType) (((TreeGridEvent) baseEvent).getModel());
if (gwtJahiaNodeType != null && linker != null && !gwtJahiaNodeType.isMixin()) {
EngineLoader.showCreateEngine(linker, parentNode, gwtJahiaNodeType, props, nodeName, createInParentAndMoveBefore);