コード例 #1
0
 @Override
 public void actionPerformed(ActionEvent e) {
   BoardMetrics.noteCommand("BDDT", "HistoryValue");
   BddtStackView sv = new BddtStackView(for_control, for_value, false);
   BudaBubbleArea bba = BudaRoot.findBudaBubbleArea(BddtHistoryBubble.this);
   if (bba != null) {
     bba.addBubble(
         sv,
         BddtHistoryBubble.this,
         null,
         PLACEMENT_RIGHT | PLACEMENT_LOGICAL | PLACEMENT_GROUPED | PLACEMENT_MOVETO);
   }
 }
コード例 #2
0
    @Override
    public void actionPerformed(ActionEvent e) {
      BumpThreadStack stk = for_item.getStack();
      BumpStackFrame frame = stk.getFrame(0);
      BudaBubble bb = null;
      if (for_control.frameFileExists(frame)) {
        String mid = frame.getMethod() + frame.getSignature();
        bb = BaleFactory.getFactory().createMethodBubble(for_control.getProject(), mid);
      } else {
        bb = new BddtLibraryBubble(frame);
      }

      if (bb != null) {
        BoardMetrics.noteCommand("BDDT", "HistorySource");
        BudaBubbleArea bba = BudaRoot.findBudaBubbleArea(BddtHistoryBubble.this);
        if (bba != null) {
          bba.addBubble(
              bb,
              BddtHistoryBubble.this,
              null,
              PLACEMENT_RIGHT | PLACEMENT_GROUPED | PLACEMENT_LOGICAL | PLACEMENT_MOVETO);
        }
      }
    }