|
|
|
@ -137,18 +137,15 @@ public class FormSpacingLineDrawer {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private boolean isSelectedParaComponent() { |
|
|
|
|
return designer.getSelectionModel().getSelection().size() == 1 && |
|
|
|
|
designer.getParaComponent() == designer.getSelectionModel().getSelection().getSelectedCreator(); |
|
|
|
|
return designer.getParaComponent() == designer.getSelectionModel().getSelection().getSelectedCreator(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private boolean isSelectedRootComponent() { |
|
|
|
|
return designer.getSelectionModel().getSelection().size() == 1 && |
|
|
|
|
designer.isRoot(designer.getSelectionModel().getSelection().getSelectedCreator()); |
|
|
|
|
return designer.isRoot(designer.getSelectionModel().getSelection().getSelectedCreator()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private boolean isSelectedForm() { |
|
|
|
|
return designer.getSelectionModel().getSelection().size() == 1 && |
|
|
|
|
designer.getSelectionModel().getSelection().getSelectedCreator().getParent() == null; |
|
|
|
|
return designer.getSelectionModel().getSelection().getSelectedCreator().getParent() == null; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private boolean isNeedExtendedLine(AbstractFormParallelLine[] nearestSides) { |
|
|
|
|