示例#1
0
 @Override
 public boolean fullPick(PPickPath pickPath) {
   if (layoutManager.isZUIVisible()) {
     return super.fullPick(pickPath);
   } else {
     return false;
   }
 }
示例#2
0
 @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);
   }
 }