|
|
@ -1248,7 +1248,7 @@ public class FormDesigner extends TargetComponent<Form> implements TreeSelection |
|
|
|
* @param currentDragEvent |
|
|
|
* @param currentDragEvent |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void startDraggingNewWidget(XCreator xCreator, MouseEvent startDragEvent, MouseEvent currentDragEvent) { |
|
|
|
public void startDraggingNewWidget(XCreator xCreator, MouseEvent startDragEvent, MouseEvent currentDragEvent) { |
|
|
|
if (currentDragEvent == null || this.getDropTarget() != null) { |
|
|
|
if (currentDragEvent == null) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -1270,7 +1270,7 @@ public class FormDesigner extends TargetComponent<Form> implements TreeSelection |
|
|
|
* @param currentDragEvent |
|
|
|
* @param currentDragEvent |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public void startDraggingFormWidget(XCreator xCreator, MouseEvent startDragEvent, MouseEvent currentDragEvent) { |
|
|
|
public void startDraggingFormWidget(XCreator xCreator, MouseEvent startDragEvent, MouseEvent currentDragEvent) { |
|
|
|
if (currentDragEvent == null || this.getDropTarget() != null) { |
|
|
|
if (currentDragEvent == null) { |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
backUpCreator(xCreator); |
|
|
|
backUpCreator(xCreator); |
|
|
|