@Override public void detachModels() { super.detachModels(); if(documentmodel!=null) documentmodel.detach(); }
@Override protected void onInstantiation() { super.onInstantiation(); setIcon(FAIconType.edit); setBootstrapType(BootstrapType.PRIMARY); setChangingDisplayMode(true); }
@Override protected void onDetach() { super.onDetach(); if(oClassModel!=null) oClassModel.detach(); } }
@Override protected void onConfigure() { super.onConfigure(); setVisibilityAllowed(OSecurityHelper.isAllowed(documentmodel.getObject(), OrientPermission.UPDATE)); }
@Override protected void onConfigure() { super.onConfigure(); setVisible(!DisplayMode.EDIT.equals(displayModeModel.getObject())); }