public LayoutEditPolicy createLayoutEditPolicy(EditPart context, Object model) {
if (model instanceof DefaultLayoutInfo) {
return new DefaultLayoutEditPolicy(((DefaultLayoutInfo) model));
}
if (model instanceof BorderLayoutInfo) {
return new BorderLayoutEditPolicy(((BorderLayoutInfo) model));
}
if (model instanceof AbsoluteLayoutInfo) {
return new AbsoluteLayoutEditPolicy(((AbsoluteLayoutInfo) model));
}
if (model instanceof TableLayoutInfo) {