@Override public boolean fullPick(PPickPath pickPath) { if (layoutManager.isZUIVisible()) { return super.fullPick(pickPath); } else { return false; } }
@Override protected void paint(PPaintContext paintContext) { layoutManager.updateZoomLayout(paintContext.getScale()); if (layoutManager.isZUIVisibleChanged()) { if (getParent() instanceof ElementView) { ((ElementView) getParent()).getLayoutManager().updateLayout(); } for (ConnectionView cv : getConnections()) { cv.updateLine(); } } if (layoutManager.isZUIVisible()) { super.paint(paintContext); } }