use of com.evolveum.midpoint.web.component.wizard.resource.component.schemahandling.modal.MappingEditorDialog in project midpoint by Evolveum.
the class ResourceCredentialsEditor method initModals.
private void initModals(NonEmptyModel<Boolean> readOnlyModel) {
ModalWindow inboundEditor = new MappingEditorDialog(ID_MODAL_INBOUND, null, readOnlyModel) {
@Override
public void updateComponents(AjaxRequestTarget target) {
target.add(ResourceCredentialsEditor.this.get(ID_INBOUND));
}
};
add(inboundEditor);
ModalWindow outboundEditor = new MappingEditorDialog(ID_MODAL_OUTBOUND, null, readOnlyModel) {
@Override
public void updateComponents(AjaxRequestTarget target) {
target.add(ResourceCredentialsEditor.this.get(ID_OUTBOUND_LABEL), ResourceCredentialsEditor.this.get(ID_OUTBOUND_BUTTON));
}
};
add(outboundEditor);
}
use of com.evolveum.midpoint.web.component.wizard.resource.component.schemahandling.modal.MappingEditorDialog in project midpoint by Evolveum.
the class ResourceAssociationEditor method initModals.
private void initModals(NonEmptyModel<Boolean> readOnlyModel) {
ModalWindow limitationsEditor = new LimitationsEditorDialog(ID_MODAL_LIMITATIONS, new PropertyModel<List<PropertyLimitationsType>>(getModel(), "limitations"), readOnlyModel);
add(limitationsEditor);
ModalWindow inboundEditor = new MappingEditorDialog(ID_MODAL_INBOUND, null, readOnlyModel) {
@Override
public void updateComponents(AjaxRequestTarget target) {
target.add(ResourceAssociationEditor.this.get(ID_INBOUND), parentStep.getAssociationList());
}
};
add(inboundEditor);
ModalWindow outboundEditor = new MappingEditorDialog(ID_MODAL_OUTBOUND, null, readOnlyModel) {
@Override
public void updateComponents(AjaxRequestTarget target) {
target.add(ResourceAssociationEditor.this.get(ID_OUTBOUND_LABEL), ResourceAssociationEditor.this.get(ID_BUTTON_OUTBOUND), parentStep.getAssociationList());
}
};
add(outboundEditor);
}
use of com.evolveum.midpoint.web.component.wizard.resource.component.schemahandling.modal.MappingEditorDialog in project midpoint by Evolveum.
the class ResourceAttributeEditor method initModals.
private void initModals(NonEmptyModel<Boolean> readOnlyModel) {
ModalWindow limitationsEditor = new LimitationsEditorDialog(ID_MODAL_LIMITATIONS, new PropertyModel<List<PropertyLimitationsType>>(getModel(), "limitations"), readOnlyModel);
add(limitationsEditor);
ModalWindow inboundEditor = new MappingEditorDialog(ID_MODAL_INBOUND, null, readOnlyModel) {
@Override
public void updateComponents(AjaxRequestTarget target) {
target.add(ResourceAttributeEditor.this.get(ID_INBOUND), parentStep.getAttributeList());
}
};
add(inboundEditor);
ModalWindow outboundEditor = new MappingEditorDialog(ID_MODAL_OUTBOUND, null, readOnlyModel) {
@Override
public void updateComponents(AjaxRequestTarget target) {
target.add(ResourceAttributeEditor.this.get(ID_OUTBOUND_LABEL), ResourceAttributeEditor.this.get(ID_BUTTON_OUTBOUND), parentStep.getAttributeList());
}
};
add(outboundEditor);
}
use of com.evolveum.midpoint.web.component.wizard.resource.component.schemahandling.modal.MappingEditorDialog in project midpoint by Evolveum.
the class ResourceActivationEditor method initModals.
private void initModals(NonEmptyModel<Boolean> readOnlyModel) {
ModalWindow mappingEditor = new MappingEditorDialog(ID_MODAL_MAPPING, null, readOnlyModel) {
@Override
public void updateComponents(AjaxRequestTarget target) {
target.add(ResourceActivationEditor.this);
}
};
add(mappingEditor);
}
use of com.evolveum.midpoint.web.component.wizard.resource.component.schemahandling.modal.MappingEditorDialog in project midpoint by Evolveum.
the class ResourceAssociationEditor method inboundEditPerformed.
private void inboundEditPerformed(AjaxRequestTarget target, MappingType mapping) {
MappingEditorDialog window = (MappingEditorDialog) get(ID_MODAL_INBOUND);
window.updateModel(target, mapping, true);
window.show(target);
}
Aggregations