@FunctionalInterface public static interface AddResourceDialog.Callback
| Modifier and Type | Method and Description |
|---|---|
void |
onAdd(String name,
ModelNode model)
Called after the dialog was closed using the primary button.
|
void onAdd(@Nullable String name, @Nullable ModelNode model)
name - The name of the resource to add. null if the dialog's form does not contain a
name item (i.e. when adding a singleton resource)model - The model of the related form. null if the related resource description and thus
the form does not contain attributes / form items.Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.