added icons, fixed donate option

This commit is contained in:
bancika
2011-01-17 19:20:02 +00:00
parent 6dba12eab8
commit 7ad87076d3
7 changed files with 33 additions and 6 deletions
@@ -365,6 +365,13 @@ public class Presenter implements IPlugInPort {
break;
case POINT_BY_POINT:
if (controlPointSlot != null) {
snapPointToGrid(scaledPoint);
if (scaledPoint.equals(controlPointSlot)) {
String message = "Cannot create the component because both controls points match. Choose the second control point.";
LOG.warn(message);
view.showMessage(message, "Error", JOptionPane.ERROR_MESSAGE);
return;
}
try {
instantiateComponent(componentSlot, controlPointSlot, scaledPoint);
} catch (Exception e) {