use of org.jkiss.dbeaver.erd.ui.policy.EntityConnectionEditPolicy in project dbeaver by serge-rider.
the class NotePart method createEditPolicies.
/**
* 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 NoteEditPolicy());
installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new NoteDirectEditPolicy());
// installEditPolicy(EditPolicy.COMPONENT_ROLE, new NoteDirectEditPolicy());
// installEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE, new ResizableEditPolicy());
}
}
use of org.jkiss.dbeaver.erd.ui.policy.EntityConnectionEditPolicy 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.EntityConnectionEditPolicy in project dbeaver by dbeaver.
the class NotePart method createEditPolicies.
/**
* 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 NoteEditPolicy());
installEditPolicy(EditPolicy.DIRECT_EDIT_ROLE, new NoteDirectEditPolicy());
// installEditPolicy(EditPolicy.COMPONENT_ROLE, new NoteDirectEditPolicy());
// installEditPolicy(EditPolicy.SELECTION_FEEDBACK_ROLE, new ResizableEditPolicy());
}
}
use of org.jkiss.dbeaver.erd.ui.policy.EntityConnectionEditPolicy 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