app/src/main/java/com/oracle/javafx/scenebuilder/app/DocumentWindowController.java
@FXML
  void onLibraryImportSelection(ActionEvent event) {
    AbstractSelectionGroup asg = getEditorController().getSelection().getGroup();

    if (asg instanceof ObjectSelectionGroup) {
      ObjectSelectionGroup osg = (ObjectSelectionGroup) asg;
      assert !osg.getItems().isEmpty();
      List<FXOMObject> selection = new ArrayList<>(osg.getItems());
      libraryPanelController.performImportSelection(selection);
    }
  }
// eligible for being dropped onto Library panel.
eligible for being dropped onto Library panel.
eligible for being dropped onto Library panel .
@FXML
  void onLibraryImportSelection(ActionEvent event) {
    AbstractSelectionGroup asg = getEditorController().getSelection().getGroup();
    if (asg instanceof ObjectSelectionGroup) {
      ObjectSelectionGroup osg = (ObjectSelectionGroup) asg;
      assert !osg.getItems().isEmpty();
      List<FXOMObject> selection = new ArrayList<>(osg.getItems());
      libraryPanelController.performImportSelection(selection);
    }
  }
@ FXML void onLibraryImportSelection ( ActionEvent event ) { AbstractSelectionGroup asg = getEditorController ( ) . getSelection ( ) . getGroup ( ) ; if ( asg instanceof ObjectSelectionGroup ) { ObjectSelectionGroup osg = ( ObjectSelectionGroup ) asg ; assert ! osg . getItems ( ) . isEmpty ( ) ; List < FXOMObject > selection = new ArrayList < > ( osg . getItems ( ) ) ; libraryPanelController . performImportSelection ( selection ) ; } }
eligible for being dropped onto Library panel.
eligible for being dropped onto Library panel .