Package javafx.scene.control

Examples of javafx.scene.control.MenuItem.disableProperty()


          final ClipboardContent content = new ClipboardContent();
          content.putString(treeView.getSelectionModel().getSelectedItem().getValue().displayname);
          clipboard.setContent(content);
      }
    });
    copy.disableProperty().bind(treeView.getSelectionModel().selectedItemProperty().isNull());
    contextMenu.getItems().add(copy);
    treeView.setContextMenu(contextMenu);
  }
 
  private void expand(TreeItem<DisplayWorkflowClassesModel> newValue){
View Full Code Here


      public void handle(ActionEvent event) {
        navigation.createWorkflowInstanceDetailForm(resultTable.getSelectionModel().getSelectedItem().id.get(),usedFilter.selectedEngine.get()).show();

      }
    });
        detailMenuItem.disableProperty().bind(resultTable.getSelectionModel().selectedItemProperty().isNull());
        contextMenu.getItems().add(detailMenuItem);
        MenuItem audittrailMenuItem = new MenuItem("Audittrail");
        audittrailMenuItem.setOnAction(new EventHandler<ActionEvent>() {
      @Override
      public void handle(ActionEvent event) {
View Full Code Here

        FilterAbleForm<AuditTrailFilterModel,AuditTrailResultModel> audittrailForm = navigation.createAudittrailForm();
        audittrailForm.getFilter().workflowInstanceId.set(resultTable.getSelectionModel().getSelectedItem().id.get());
        audittrailForm.show();
      }
    });
        audittrailMenuItem.disableProperty().bind(resultTable.getSelectionModel().selectedItemProperty().isNull());
        contextMenu.getItems().add(audittrailMenuItem);
       
        resultTable.setContextMenu(contextMenu);
       
       
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.