Пример #1
0
 private void viewWorkflowButtonActionPerformed(
     java.awt.event.ActionEvent evt) { // GEN-FIRST:event_viewWorkflowButtonActionPerformed
   ProcessWithId selectedProcess = ChicletTopComponent.this.selectionManager.getSelectedProcess();
   if (selectedProcess != null) {
     WorkflowDetailsTopComponent win = new WorkflowDetailsTopComponent();
     win.open();
     win.setData(selectedProcess.getProcessFullId(), selectedProcess.getProcess());
     win.requestAttention(true);
   }
 } // GEN-LAST:event_viewWorkflowButtonActionPerformed
Пример #2
0
 @Override
 public void mouseClicked(MouseEvent e) {
   if (e.getClickCount() == 2) {
     ProcessWithId selectedProcess =
         ChicletTopComponent.this.selectionManager.getSelectedProcess();
     if (selectedProcess != null) {
       WorkflowDetailsTopComponent win = new WorkflowDetailsTopComponent();
       win.open();
       win.setData(selectedProcess.getProcessFullId(), selectedProcess.getProcess());
       win.requestAttention(true);
     }
   }
 }