@Override
public void open() {
DcObject dco = getSelectedItem();
if (dco != null) {
UserForm form = new UserForm(dco, getType() == View._TYPE_SEARCH, getType() != View._TYPE_SEARCH);
form.setVisible(true);
} else {
DcSwingUtilities.displayWarningMessage(DcResources.getText("msgSelectRowToOpen"));
}
}