public void showAddDialog ( final ModelNode address , boolean isSingleton , SecurityContext securityContext , ModelNode description ) { String resourceAddress = AddressUtils . asKey ( address , isSingleton ) ; if ( securityContext . getOperationPriviledge ( resourceAddress , "add" ) . isGranted ( ) ) { _showAddDialog ( address , isSingleton , securityContext , description ) ; } else { Feedback . alert ( Console . CONSTANTS . unauthorized ( ) , Console . CONSTANTS . unauthorizedAdd ( ) ) ; } }
Callback for creation of add dialogs . Will be invoked once the presenter has loaded the resource description .