|
|
|
@ -4,6 +4,7 @@ import com.fr.design.beans.GroupModel;
|
|
|
|
|
import com.fr.design.designer.beans.ConstraintsGroupModel; |
|
|
|
|
import com.fr.design.designer.beans.HoverPainter; |
|
|
|
|
import com.fr.design.designer.beans.models.DraggingModel; |
|
|
|
|
import com.fr.design.designer.beans.models.StateModel; |
|
|
|
|
import com.fr.design.designer.beans.painters.FRAbsoluteLayoutPainter; |
|
|
|
|
import com.fr.design.designer.creator.*; |
|
|
|
|
import com.fr.design.designer.properties.BoundsGroupModel; |
|
|
|
@ -353,7 +354,10 @@ public class FRAbsoluteLayoutAdapter extends FRBodyLayoutAdapter {
|
|
|
|
|
public void dragging(DraggingModel model) { |
|
|
|
|
FormDesigner designer = model.getDesigner(); |
|
|
|
|
MouseEvent dragEvent = model.getCurrentDragEvent(); |
|
|
|
|
designer.getStateModel().dragging(dragEvent); |
|
|
|
|
StateModel stateModel = designer.getStateModel(); |
|
|
|
|
if (stateModel.dragable()) { |
|
|
|
|
stateModel.dragging(dragEvent); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|