use of org.jkiss.dbeaver.erd.ui.policy.EntityContainerEditPolicy in project dbeaver by dbeaver.
the class EntityPart method createEditPolicies.
// ******************* Editing related methods *********************/
/**
* Creates edit policies and associates these with roles
*/
@Override
protected void createEditPolicies() {
final boolean editEnabled = isEditEnabled();
if (editEnabled) {
installEditPolicy(EditPolicy.GRAPHICAL_NODE_ROLE, new EntityConnectionEditPolicy());
// installEditPolicy(EditPolicy.LAYOUT_ROLE, new EntityLayoutEditPolicy());
installEditPolicy(EditPolicy.CONTAINER_ROLE, new EntityContainerEditPolicy());
installEditPolicy(EditPolicy.COMPONENT_ROLE, new EntityEditPolicy());
// installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new EntityDirectEditPolicy());
}
}
use of org.jkiss.dbeaver.erd.ui.policy.EntityContainerEditPolicy in project dbeaver by serge-rider.
the class EntityPart method createEditPolicies.
// ******************* Editing related methods *********************/
/**
* Creates edit policies and associates these with roles
*/
@Override
protected void createEditPolicies() {
final boolean editEnabled = isEditEnabled();
if (editEnabled) {
installEditPolicy(EditPolicy.GRAPHICAL_NODE_ROLE, new EntityConnectionEditPolicy());
// installEditPolicy(EditPolicy.LAYOUT_ROLE, new EntityLayoutEditPolicy());
installEditPolicy(EditPolicy.CONTAINER_ROLE, new EntityContainerEditPolicy());
installEditPolicy(EditPolicy.COMPONENT_ROLE, new EntityEditPolicy());
// installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new EntityDirectEditPolicy());
}
}
Aggregations