final GWTJahiaNodeType contentTypeModelData = contentTypeTree.getTreeGrid().getSelectionModel().getSelectedItem();
if (contentTypeModelData != null && !contentTypeModelData.isMixin()) {
final GWTJahiaNodeType gwtJahiaNodeType = contentTypeModelData;
if (gwtJahiaNodeType != null) {
EngineLoader.showCreateEngine(ContentTypeWindow.this.linker, parentNode, gwtJahiaNodeType, props, nodeName, createInParentAndMoveBefore);
window.hide();
}
}
}
});