List of usage examples for javafx.beans.value ChangeListener ChangeListener
ChangeListener
From source file:com.panemu.tiwulfx.table.TableControl.java
private void attachWindowVisibilityListener() { this.sceneProperty().addListener(new ChangeListener<Scene>() { @Override/*w w w . j a v a 2 s . c o m*/ public void changed(ObservableValue<? extends Scene> ov, Scene t, Scene scene) { if (scene != null) { /** * TODO Once this code is executed, the scene listener need to be removed * to avoid potential memory leak. * This code need to be initialized once only. */ readColumnPosition(); columns.addListener(new ListChangeListener<TableColumn<R, ?>>() { @Override public void onChanged(ListChangeListener.Change<? extends TableColumn<R, ?>> change) { while (change.next()) { if (change.wasReplaced()) { saveColumnPosition(); } } } }); if (configurationID != null && configurationID.trim().length() != 0) { for (final TableColumn clm : getColumns()) { clm.widthProperty().addListener(new ChangeListener<Number>() { @Override public void changed(ObservableValue<? extends Number> observable, Number oldValue, Number newValue) { int clmIdx = lstTableColumnsOriginalOrder.indexOf(clm); try { TiwulFXUtil.writeProperties(configurationID + "." + clmIdx + ".width", newValue + ""); } catch (Exception ex) { logger.log(Level.WARNING, "Unable to save column width information. Column index: " + clmIdx, ex); } } }); } } } } }); }
From source file:snpviewer.SnpViewer.java
public void refreshView(String chrom, boolean forceRedraw) { //if forceRedraw is false look for existing png files for each snpFile if (chrom == null) { /*if null is passed then select/reselect chromosome from * chromosomeSelector, return and let chromosomeSelector's * listener refire this method//from ww w. ja v a2s.co m */ if (chromosomeSelector.getSelectionModel().isEmpty()) { chromosomeSelector.getSelectionModel().selectFirst(); } else { int sel = chromosomeSelector.getSelectionModel().getSelectedIndex(); chromosomeSelector.getSelectionModel().clearSelection(); chromosomeSelector.getSelectionModel().select(sel); } return; } int totalFiles = affFiles.size() + unFiles.size(); if (totalFiles < 1) { return; } ArrayList<Pane> panesToAdd = new ArrayList<>(); ArrayList<ScrollPane> labelsToAdd = new ArrayList<>(); clearSplitPanes(); setProgressMode(true); nextChromMenu.setDisable(false); nextChromMenu.setDisable(false); for (final SnpFile f : affFiles) { Pane sPane = new Pane(); sPane.setMinHeight(chromSplitPane.getHeight() / totalFiles); sPane.setMinWidth(chromSplitPane.getWidth()); sPane.setVisible(true); panesToAdd.add(sPane); ScrollPane labelPane = new ScrollPane(); Label fileLabel = new Label(f.inputFile.getName() + "\n(Affected)"); fileLabel.setTextFill(Color.WHITE); labelPane.setMinHeight(labelSplitPane.getHeight() / totalFiles); labelPane.setPrefWidth(labelSplitPane.getWidth()); labelPane.minHeightProperty().bind(labelSplitPane.heightProperty().divide(totalFiles)); VBox vbox = new VBox(); vbox.setSpacing(10); vbox.getChildren().add(fileLabel); final TextField textField = new TextField(); textField.setStyle("-fx-text-fill: white; -fx-background-color: " + "rgba(90%,90%,90%,0.3); -fx-border-color:white"); textField.setPromptText("Sample Name"); if (f.getSampleName() != null) { textField.setText(f.getSampleName()); } textField.setFocusTraversable(true); textField.setOnKeyPressed(new EventHandler<KeyEvent>() { @Override public void handle(KeyEvent ke) { if (ke.getCode().equals(KeyCode.ENTER)) { if (!textField.getText().isEmpty()) { String name = textField.getText().trim(); if (name.length() > 0) { f.setSampleName(name); } textField.getParent().requestFocus(); saveProject(); } } } }); textField.focusedProperty().addListener(new ChangeListener<Boolean>() { @Override public void changed(ObservableValue<? extends Boolean> observable, Boolean oldValue, Boolean newValue) { if (!textField.isFocused()) { if (!textField.getText().isEmpty()) { String name = textField.getText().trim(); if (name.length() > 0) { f.setSampleName(name); } saveProject(); } } } }); vbox.getChildren().add(textField); Label noCalls = new Label(); if (f.getPercentNoCall() != null) { noCalls.setText("No Calls: " + DecimalFormat.getInstance().format(f.getPercentNoCall()) + " %"); } else { noCalls.setText("No Calls: none"); } Label meanQual = new Label(); if (f.getMeanQuality() != null) { meanQual.setText("Av. Call Conf: " + DecimalFormat.getInstance().format(100 - (f.getMeanQuality() * 100)) + " %"); } else { meanQual.setText("No Call Confidence Data"); } vbox.getChildren().add(noCalls); vbox.getChildren().add(meanQual); labelPane.setContent(vbox); // labelPane.getChildren().add(fileLabel); // labelPane.getChildren().add(new TextField()); labelsToAdd.add(labelPane); } for (final SnpFile f : unFiles) { Pane sPane = new Pane(); sPane.setMinHeight(chromSplitPane.getHeight() / totalFiles); sPane.setMinWidth(chromSplitPane.getWidth()); sPane.setVisible(true); panesToAdd.add(sPane); ScrollPane labelPane = new ScrollPane(); Label fileLabel = new Label(f.inputFile.getName() + "\n(Unaffected)"); fileLabel.setStyle("-fx-text-fill: black"); labelPane.setMinHeight(labelSplitPane.getHeight() / totalFiles); labelPane.setPrefWidth(labelSplitPane.getWidth()); labelPane.minHeightProperty().bind(labelSplitPane.heightProperty().divide(totalFiles)); VBox vbox = new VBox(); vbox.setSpacing(10); vbox.getChildren().add(fileLabel); final TextField textField = new TextField(); textField.setStyle("-fx-text-fill: black; " + "-fx-background-color: rgba(90%,90%,90%,0.3);" + " -fx-border-color:white"); textField.setPromptText("Sample Name"); if (f.getSampleName() != null) { textField.setText(f.getSampleName()); } textField.setFocusTraversable(true); textField.setOnKeyPressed(new EventHandler<KeyEvent>() { @Override public void handle(KeyEvent ke) { if (ke.getCode().equals(KeyCode.ENTER)) { if (!textField.getText().isEmpty()) { f.setSampleName(textField.getText()); textField.getParent().requestFocus(); saveProject(); } } } }); textField.focusedProperty().addListener(new ChangeListener<Boolean>() { @Override public void changed(ObservableValue<? extends Boolean> observable, Boolean oldValue, Boolean newValue) { if (!textField.isFocused()) { if (!textField.getText().isEmpty()) { f.setSampleName(textField.getText()); saveProject(); } } } }); vbox.getChildren().add(textField); Label noCalls = new Label(); if (f.getPercentNoCall() != null) { noCalls.setText("No Calls: " + DecimalFormat.getInstance().format(f.getPercentNoCall()) + " %"); } else { noCalls.setText("No Calls: none"); } Label meanQual = new Label(); if (f.getMeanQuality() != null) { meanQual.setText("Av. Call Conf: " + DecimalFormat.getInstance().format(100 - (f.getMeanQuality() * 100)) + " %"); } else { meanQual.setText("No Call Confidence Data"); } vbox.getChildren().add(noCalls); vbox.getChildren().add(meanQual); labelPane.setContent(vbox); // labelPane.getChildren().add(fileLabel); labelsToAdd.add(labelPane); } if (panesToAdd.size() > 0) { chromSplitPane.getItems().addAll(panesToAdd); labelSplitPane.getItems().addAll(labelsToAdd); ArrayList<SnpFile> bothFiles = new ArrayList<>(affFiles); bothFiles.addAll(unFiles); final Iterator<SnpFile> fileIter = bothFiles.iterator(); final Iterator<Pane> paneIter = panesToAdd.iterator(); SnpFile firstFileToProcess = fileIter.next(); Pane firstPaneToProcess = paneIter.next(); String pngPath = null; if (qualityFilter != null) { Integer percent = new Integer(100 - (int) (qualityFilter * 100)); pngPath = percent.toString(); } drawWithIterator(firstFileToProcess, firstPaneToProcess, pngPath, fileIter, paneIter, 1, totalFiles, chrom, forceRedraw, chromSplitPane); } else { setProgressMode(false); } }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamJavaFX.CFBamJavaFXSchemaDefPickerPane.java
public CFBamJavaFXSchemaDefPickerPane(ICFFormManager formManager, ICFBamJavaFXSchema argSchema, ICFBamSchemaDefObj argFocus, ICFInternetDomainBaseObj argContainer, Collection<ICFBamSchemaDefObj> argDataCollection, ICFBamJavaFXSchemaDefChosen whenChosen) { super();/*from w w w. j a v a 2 s. c o m*/ final String S_ProcName = "construct-schema-focus"; if (formManager == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1, "formManager"); } cfFormManager = formManager; if (argSchema == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 2, "argSchema"); } if (whenChosen == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 6, "whenChosen"); } invokeWhenChosen = whenChosen; // argFocus is optional; focus may be set later during execution as // conditions of the runtime change. javafxSchema = argSchema; javaFXFocus = argFocus; javafxContainer = argContainer; setJavaFXDataCollection(argDataCollection); dataTable = new TableView<ICFBamSchemaDefObj>(); tableColumnId = new TableColumn<ICFBamSchemaDefObj, Long>("Id"); tableColumnId.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, Long>, ObservableValue<Long>>() { public ObservableValue<Long> call(CellDataFeatures<ICFBamSchemaDefObj, Long> p) { ICFBamScopeObj obj = p.getValue(); if (obj == null) { return (null); } else { long value = obj.getRequiredId(); Long wrapped = new Long(value); ReadOnlyObjectWrapper<Long> observable = new ReadOnlyObjectWrapper<Long>(); observable.setValue(wrapped); return (observable); } } }); tableColumnId.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, Long>, TableCell<ICFBamSchemaDefObj, Long>>() { @Override public TableCell<ICFBamSchemaDefObj, Long> call(TableColumn<ICFBamSchemaDefObj, Long> arg) { return new CFInt64TableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnId); tableColumnName = new TableColumn<ICFBamSchemaDefObj, String>("Name"); tableColumnName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getRequiredName(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnName.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnName); tableColumnDbName = new TableColumn<ICFBamSchemaDefObj, String>("Db Name"); tableColumnDbName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalDbName(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnDbName.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnDbName); tableColumnShortName = new TableColumn<ICFBamSchemaDefObj, String>("Short Name"); tableColumnShortName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalShortName(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnShortName.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnShortName); tableColumnLabel = new TableColumn<ICFBamSchemaDefObj, String>("Label"); tableColumnLabel.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalLabel(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnLabel.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnLabel); tableColumnShortDescription = new TableColumn<ICFBamSchemaDefObj, String>("Short Description"); tableColumnShortDescription.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalShortDescription(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnShortDescription.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnShortDescription); tableColumnDescription = new TableColumn<ICFBamSchemaDefObj, String>("Description"); tableColumnDescription.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalDescription(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnDescription.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnDescription); tableColumnExtendCFCore = new TableColumn<ICFBamSchemaDefObj, Boolean>("Extend CF Core"); tableColumnExtendCFCore.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamSchemaDefObj, Boolean> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredExtendCFCore(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnExtendCFCore.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, Boolean>, TableCell<ICFBamSchemaDefObj, Boolean>>() { @Override public TableCell<ICFBamSchemaDefObj, Boolean> call( TableColumn<ICFBamSchemaDefObj, Boolean> arg) { return new CFBoolTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnExtendCFCore); tableColumnCopyrightPeriod = new TableColumn<ICFBamSchemaDefObj, String>("Copyright Period"); tableColumnCopyrightPeriod.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getRequiredCopyrightPeriod(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnCopyrightPeriod.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnCopyrightPeriod); tableColumnCopyrightHolder = new TableColumn<ICFBamSchemaDefObj, String>("Copyright Holder"); tableColumnCopyrightHolder.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getRequiredCopyrightHolder(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnCopyrightHolder.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnCopyrightHolder); tableColumnPublishURI = new TableColumn<ICFBamSchemaDefObj, String>("Publish URI"); tableColumnPublishURI.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getRequiredPublishURI(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnPublishURI.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnPublishURI); tableColumnJSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JSchemaObjImport"); tableColumnJSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJSchemaObjImport); tableColumnJSchemaObjInterface = new TableColumn<ICFBamSchemaDefObj, String>("JSchemaObjInterface"); tableColumnJSchemaObjInterface.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSchemaObjInterface(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSchemaObjInterface.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJSchemaObjInterface); tableColumnJSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JSchemaObjMembers"); tableColumnJSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJSchemaObjMembers); tableColumnJSchemaObjImplementation = new TableColumn<ICFBamSchemaDefObj, String>( "JSchemaObjImplementation"); tableColumnJSchemaObjImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSchemaObjImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSchemaObjImplementation.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJSchemaObjImplementation); tableColumnJDb2LUWSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JDb2LUWSchemaObjMembers"); tableColumnJDb2LUWSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJDb2LUWSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJDb2LUWSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJDb2LUWSchemaObjMembers); tableColumnJDb2LUWSchemaObjImpl = new TableColumn<ICFBamSchemaDefObj, String>("JDb2LUWSchemaObjImpl"); tableColumnJDb2LUWSchemaObjImpl.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJDb2LUWSchemaObjImpl(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJDb2LUWSchemaObjImpl.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJDb2LUWSchemaObjImpl); tableColumnJDb2LUWSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JDb2LUWSchemaObjImport"); tableColumnJDb2LUWSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJDb2LUWSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJDb2LUWSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJDb2LUWSchemaObjImport); tableColumnJMSSqlSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JMSSqlSchemaObjMembers"); tableColumnJMSSqlSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMSSqlSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMSSqlSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJMSSqlSchemaObjMembers); tableColumnJMSSqlSchemaObjImpl = new TableColumn<ICFBamSchemaDefObj, String>("JMSSqlSchemaObjImpl"); tableColumnJMSSqlSchemaObjImpl.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMSSqlSchemaObjImpl(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMSSqlSchemaObjImpl.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJMSSqlSchemaObjImpl); tableColumnJMSSqlSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JMSSqlSchemaObjImport"); tableColumnJMSSqlSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMSSqlSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMSSqlSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJMSSqlSchemaObjImport); tableColumnJMySqlSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JMySqlSchemaObjMembers"); tableColumnJMySqlSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMySqlSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMySqlSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJMySqlSchemaObjMembers); tableColumnJMySqlSchemaObjImpl = new TableColumn<ICFBamSchemaDefObj, String>("JMySqlSchemaObjImpl"); tableColumnJMySqlSchemaObjImpl.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMySqlSchemaObjImpl(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMySqlSchemaObjImpl.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJMySqlSchemaObjImpl); tableColumnJMySqlSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JMySqlSchemaObjImport"); tableColumnJMySqlSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMySqlSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMySqlSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJMySqlSchemaObjImport); tableColumnJOracleSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JOracleSchemaObjMembers"); tableColumnJOracleSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJOracleSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJOracleSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJOracleSchemaObjMembers); tableColumnJOracleSchemaObjImpl = new TableColumn<ICFBamSchemaDefObj, String>("JOracleSchemaObjImpl"); tableColumnJOracleSchemaObjImpl.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJOracleSchemaObjImpl(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJOracleSchemaObjImpl.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJOracleSchemaObjImpl); tableColumnJOracleSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JOracleSchemaObjImport"); tableColumnJOracleSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJOracleSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJOracleSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJOracleSchemaObjImport); tableColumnJPgSqlSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JPgSqlSchemaObjMembers"); tableColumnJPgSqlSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJPgSqlSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJPgSqlSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJPgSqlSchemaObjMembers); tableColumnJPgSqlSchemaObjImpl = new TableColumn<ICFBamSchemaDefObj, String>("JPgSqlSchemaObjImpl"); tableColumnJPgSqlSchemaObjImpl.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJPgSqlSchemaObjImpl(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJPgSqlSchemaObjImpl.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJPgSqlSchemaObjImpl); tableColumnJPgSqlSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JPgSqlSchemaObjImport"); tableColumnJPgSqlSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJPgSqlSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJPgSqlSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJPgSqlSchemaObjImport); tableColumnJSybaseSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JSybaseSchemaObjMembers"); tableColumnJSybaseSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSybaseSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSybaseSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJSybaseSchemaObjMembers); tableColumnJSybaseSchemaObjImpl = new TableColumn<ICFBamSchemaDefObj, String>("JSybaseSchemaObjImpl"); tableColumnJSybaseSchemaObjImpl.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSybaseSchemaObjImpl(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSybaseSchemaObjImpl.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJSybaseSchemaObjImpl); tableColumnJSybaseSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JSybaseSchemaObjImport"); tableColumnJSybaseSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSybaseSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSybaseSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJSybaseSchemaObjImport); tableColumnJRamSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JRamSchemaObjMembers"); tableColumnJRamSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJRamSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJRamSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJRamSchemaObjMembers); tableColumnJRamSchemaObjImpl = new TableColumn<ICFBamSchemaDefObj, String>("JRamSchemaObjImpl"); tableColumnJRamSchemaObjImpl.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJRamSchemaObjImpl(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJRamSchemaObjImpl.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJRamSchemaObjImpl); tableColumnJRamSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JRamSchemaObjImport"); tableColumnJRamSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJRamSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJRamSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJRamSchemaObjImport); tableColumnJXMsgSchemaImport = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgSchemaImport"); tableColumnJXMsgSchemaImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgSchemaImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgSchemaImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgSchemaImport); tableColumnJXMsgSchemaFormatters = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgSchemaFormatters"); tableColumnJXMsgSchemaFormatters.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgSchemaFormatters(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgSchemaFormatters.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgSchemaFormatters); tableColumnJXMsgClientSchemaImport = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgClientSchemaImport"); tableColumnJXMsgClientSchemaImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgClientSchemaImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgClientSchemaImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgClientSchemaImport); tableColumnJXMsgClientSchemaBody = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgClientSchemaBody"); tableColumnJXMsgClientSchemaBody.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgClientSchemaBody(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgClientSchemaBody.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgClientSchemaBody); tableColumnJXMsgRqstSchemaBody = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgRqstSchemaBody"); tableColumnJXMsgRqstSchemaBody.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRqstSchemaBody(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRqstSchemaBody.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRqstSchemaBody); tableColumnJXMsgRqstSchemaImport = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgRqstSchemaImport"); tableColumnJXMsgRqstSchemaImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRqstSchemaImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRqstSchemaImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRqstSchemaImport); tableColumnJXMsgRqstSchemaWireParsers = new TableColumn<ICFBamSchemaDefObj, String>( "JXMsgRqstSchemaWireParsers"); tableColumnJXMsgRqstSchemaWireParsers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRqstSchemaWireParsers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRqstSchemaWireParsers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRqstSchemaWireParsers); tableColumnJXMsgRqstSchemaXsdSpec = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgRqstSchemaXsdSpec"); tableColumnJXMsgRqstSchemaXsdSpec.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRqstSchemaXsdSpec(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRqstSchemaXsdSpec.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRqstSchemaXsdSpec); tableColumnJXMsgRqstSchemaXsdElementList = new TableColumn<ICFBamSchemaDefObj, String>( "JXMsgRqstSchemaXsdElementList"); tableColumnJXMsgRqstSchemaXsdElementList.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRqstSchemaXsdElementList(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRqstSchemaXsdElementList.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRqstSchemaXsdElementList); tableColumnJXMsgRspnSchemaBody = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgRspnSchemaBody"); tableColumnJXMsgRspnSchemaBody.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRspnSchemaBody(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRspnSchemaBody.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRspnSchemaBody); tableColumnJXMsgRspnSchemaImport = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgRspnSchemaImport"); tableColumnJXMsgRspnSchemaImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRspnSchemaImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRspnSchemaImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRspnSchemaImport); tableColumnJXMsgRspnSchemaWireParsers = new TableColumn<ICFBamSchemaDefObj, String>( "JXMsgRspnSchemaWireParsers"); tableColumnJXMsgRspnSchemaWireParsers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRspnSchemaWireParsers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRspnSchemaWireParsers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRspnSchemaWireParsers); tableColumnJXMsgRspnSchemaXsdElementList = new TableColumn<ICFBamSchemaDefObj, String>( "JXMsgRspnSchemaXsdElementList"); tableColumnJXMsgRspnSchemaXsdElementList.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRspnSchemaXsdElementList(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRspnSchemaXsdElementList.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRspnSchemaXsdElementList); tableColumnJXMsgRspnSchemaXsdSpec = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgRspnSchemaXsdSpec"); tableColumnJXMsgRspnSchemaXsdSpec.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRspnSchemaXsdSpec(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRspnSchemaXsdSpec.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRspnSchemaXsdSpec); tableColumnLookupDefaultLicense = new TableColumn<ICFBamSchemaDefObj, ICFInternetLicenseObj>( "Default License"); tableColumnLookupDefaultLicense.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, ICFInternetLicenseObj>, ObservableValue<ICFInternetLicenseObj>>() { public ObservableValue<ICFInternetLicenseObj> call( CellDataFeatures<ICFBamSchemaDefObj, ICFInternetLicenseObj> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFInternetLicenseObj ref = obj.getOptionalLookupDefaultLicense(); ReadOnlyObjectWrapper<ICFInternetLicenseObj> observable = new ReadOnlyObjectWrapper<ICFInternetLicenseObj>(); observable.setValue(ref); return (observable); } } }); tableColumnLookupDefaultLicense.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, ICFInternetLicenseObj>, TableCell<ICFBamSchemaDefObj, ICFInternetLicenseObj>>() { @Override public TableCell<ICFBamSchemaDefObj, ICFInternetLicenseObj> call( TableColumn<ICFBamSchemaDefObj, ICFInternetLicenseObj> arg) { return new CFReferenceTableCell<ICFBamSchemaDefObj, ICFInternetLicenseObj>(); } }); dataTable.getColumns().add(tableColumnLookupDefaultLicense); dataTable.getSelectionModel().selectedItemProperty().addListener(new ChangeListener<ICFBamSchemaDefObj>() { @Override public void changed(ObservableValue<? extends ICFBamSchemaDefObj> observable, ICFBamSchemaDefObj oldValue, ICFBamSchemaDefObj newValue) { setJavaFXFocus(newValue); if (buttonChooseSelected != null) { if (newValue != null) { buttonChooseSelected.setDisable(false); } else { buttonChooseSelected.setDisable(true); } } } }); hboxMenu = new CFHBox(10); buttonCancel = new CFButton(); buttonCancel.setMinWidth(200); buttonCancel.setText("Cancel"); buttonCancel.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { cfFormManager.closeCurrentForm(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonCancel); buttonChooseNone = new CFButton(); buttonChooseNone.setMinWidth(200); buttonChooseNone.setText("ChooseNone"); buttonChooseNone.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } invokeWhenChosen.choseSchemaDef(null); cfFormManager.closeCurrentForm(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonChooseNone); buttonChooseSelected = new CFButton(); buttonChooseSelected.setMinWidth(200); buttonChooseSelected.setText("ChooseSelected"); buttonChooseSelected.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFBamSchemaDefObj selectedInstance = getJavaFXFocusAsSchemaDef(); invokeWhenChosen.choseSchemaDef(selectedInstance); cfFormManager.closeCurrentForm(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonChooseSelected); if (argFocus != null) { dataTable.getSelectionModel().select(argFocus); } setTop(hboxMenu); setCenter(dataTable); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamJavaFX.CFBamJavaFXSchemaDefListPane.java
public CFBamJavaFXSchemaDefListPane(ICFFormManager formManager, ICFBamJavaFXSchema argSchema, ICFInternetDomainBaseObj argContainer, ICFBamSchemaDefObj argFocus, Collection<ICFBamSchemaDefObj> argDataCollection, ICFRefreshCallback refreshCallback, boolean sortByChain) { super();/*from ww w .j a v a2s . com*/ final String S_ProcName = "construct-schema-focus"; if (formManager == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1, "formManager"); } cfFormManager = formManager; if (argSchema == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 2, "argSchema"); } // argFocus is optional; focus may be set later during execution as // conditions of the runtime change. javafxSchema = argSchema; javaFXFocus = argFocus; javafxContainer = argContainer; javafxRefreshCallback = refreshCallback; javafxSortByChain = sortByChain; setJavaFXDataCollection(argDataCollection); dataTable = new TableView<ICFBamSchemaDefObj>(); tableColumnId = new TableColumn<ICFBamSchemaDefObj, Long>("Id"); tableColumnId.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, Long>, ObservableValue<Long>>() { public ObservableValue<Long> call(CellDataFeatures<ICFBamSchemaDefObj, Long> p) { ICFBamScopeObj obj = p.getValue(); if (obj == null) { return (null); } else { long value = obj.getRequiredId(); Long wrapped = new Long(value); ReadOnlyObjectWrapper<Long> observable = new ReadOnlyObjectWrapper<Long>(); observable.setValue(wrapped); return (observable); } } }); tableColumnId.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, Long>, TableCell<ICFBamSchemaDefObj, Long>>() { @Override public TableCell<ICFBamSchemaDefObj, Long> call(TableColumn<ICFBamSchemaDefObj, Long> arg) { return new CFInt64TableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnId); tableColumnName = new TableColumn<ICFBamSchemaDefObj, String>("Name"); tableColumnName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getRequiredName(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnName.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnName); tableColumnDbName = new TableColumn<ICFBamSchemaDefObj, String>("Db Name"); tableColumnDbName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalDbName(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnDbName.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnDbName); tableColumnShortName = new TableColumn<ICFBamSchemaDefObj, String>("Short Name"); tableColumnShortName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalShortName(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnShortName.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnShortName); tableColumnLabel = new TableColumn<ICFBamSchemaDefObj, String>("Label"); tableColumnLabel.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalLabel(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnLabel.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnLabel); tableColumnShortDescription = new TableColumn<ICFBamSchemaDefObj, String>("Short Description"); tableColumnShortDescription.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalShortDescription(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnShortDescription.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnShortDescription); tableColumnDescription = new TableColumn<ICFBamSchemaDefObj, String>("Description"); tableColumnDescription.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalDescription(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnDescription.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnDescription); tableColumnExtendCFCore = new TableColumn<ICFBamSchemaDefObj, Boolean>("Extend CF Core"); tableColumnExtendCFCore.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamSchemaDefObj, Boolean> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredExtendCFCore(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnExtendCFCore.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, Boolean>, TableCell<ICFBamSchemaDefObj, Boolean>>() { @Override public TableCell<ICFBamSchemaDefObj, Boolean> call( TableColumn<ICFBamSchemaDefObj, Boolean> arg) { return new CFBoolTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnExtendCFCore); tableColumnCopyrightPeriod = new TableColumn<ICFBamSchemaDefObj, String>("Copyright Period"); tableColumnCopyrightPeriod.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getRequiredCopyrightPeriod(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnCopyrightPeriod.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnCopyrightPeriod); tableColumnCopyrightHolder = new TableColumn<ICFBamSchemaDefObj, String>("Copyright Holder"); tableColumnCopyrightHolder.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getRequiredCopyrightHolder(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnCopyrightHolder.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnCopyrightHolder); tableColumnPublishURI = new TableColumn<ICFBamSchemaDefObj, String>("Publish URI"); tableColumnPublishURI.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getRequiredPublishURI(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnPublishURI.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFStringTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnPublishURI); tableColumnJSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JSchemaObjImport"); tableColumnJSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJSchemaObjImport); tableColumnJSchemaObjInterface = new TableColumn<ICFBamSchemaDefObj, String>("JSchemaObjInterface"); tableColumnJSchemaObjInterface.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSchemaObjInterface(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSchemaObjInterface.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJSchemaObjInterface); tableColumnJSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JSchemaObjMembers"); tableColumnJSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJSchemaObjMembers); tableColumnJSchemaObjImplementation = new TableColumn<ICFBamSchemaDefObj, String>( "JSchemaObjImplementation"); tableColumnJSchemaObjImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSchemaObjImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSchemaObjImplementation.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJSchemaObjImplementation); tableColumnJDb2LUWSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JDb2LUWSchemaObjMembers"); tableColumnJDb2LUWSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJDb2LUWSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJDb2LUWSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJDb2LUWSchemaObjMembers); tableColumnJDb2LUWSchemaObjImpl = new TableColumn<ICFBamSchemaDefObj, String>("JDb2LUWSchemaObjImpl"); tableColumnJDb2LUWSchemaObjImpl.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJDb2LUWSchemaObjImpl(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJDb2LUWSchemaObjImpl.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJDb2LUWSchemaObjImpl); tableColumnJDb2LUWSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JDb2LUWSchemaObjImport"); tableColumnJDb2LUWSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJDb2LUWSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJDb2LUWSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJDb2LUWSchemaObjImport); tableColumnJMSSqlSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JMSSqlSchemaObjMembers"); tableColumnJMSSqlSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMSSqlSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMSSqlSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJMSSqlSchemaObjMembers); tableColumnJMSSqlSchemaObjImpl = new TableColumn<ICFBamSchemaDefObj, String>("JMSSqlSchemaObjImpl"); tableColumnJMSSqlSchemaObjImpl.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMSSqlSchemaObjImpl(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMSSqlSchemaObjImpl.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJMSSqlSchemaObjImpl); tableColumnJMSSqlSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JMSSqlSchemaObjImport"); tableColumnJMSSqlSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMSSqlSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMSSqlSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJMSSqlSchemaObjImport); tableColumnJMySqlSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JMySqlSchemaObjMembers"); tableColumnJMySqlSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMySqlSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMySqlSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJMySqlSchemaObjMembers); tableColumnJMySqlSchemaObjImpl = new TableColumn<ICFBamSchemaDefObj, String>("JMySqlSchemaObjImpl"); tableColumnJMySqlSchemaObjImpl.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMySqlSchemaObjImpl(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMySqlSchemaObjImpl.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJMySqlSchemaObjImpl); tableColumnJMySqlSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JMySqlSchemaObjImport"); tableColumnJMySqlSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMySqlSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMySqlSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJMySqlSchemaObjImport); tableColumnJOracleSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JOracleSchemaObjMembers"); tableColumnJOracleSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJOracleSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJOracleSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJOracleSchemaObjMembers); tableColumnJOracleSchemaObjImpl = new TableColumn<ICFBamSchemaDefObj, String>("JOracleSchemaObjImpl"); tableColumnJOracleSchemaObjImpl.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJOracleSchemaObjImpl(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJOracleSchemaObjImpl.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJOracleSchemaObjImpl); tableColumnJOracleSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JOracleSchemaObjImport"); tableColumnJOracleSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJOracleSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJOracleSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJOracleSchemaObjImport); tableColumnJPgSqlSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JPgSqlSchemaObjMembers"); tableColumnJPgSqlSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJPgSqlSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJPgSqlSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJPgSqlSchemaObjMembers); tableColumnJPgSqlSchemaObjImpl = new TableColumn<ICFBamSchemaDefObj, String>("JPgSqlSchemaObjImpl"); tableColumnJPgSqlSchemaObjImpl.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJPgSqlSchemaObjImpl(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJPgSqlSchemaObjImpl.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJPgSqlSchemaObjImpl); tableColumnJPgSqlSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JPgSqlSchemaObjImport"); tableColumnJPgSqlSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJPgSqlSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJPgSqlSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJPgSqlSchemaObjImport); tableColumnJSybaseSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JSybaseSchemaObjMembers"); tableColumnJSybaseSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSybaseSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSybaseSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJSybaseSchemaObjMembers); tableColumnJSybaseSchemaObjImpl = new TableColumn<ICFBamSchemaDefObj, String>("JSybaseSchemaObjImpl"); tableColumnJSybaseSchemaObjImpl.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSybaseSchemaObjImpl(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSybaseSchemaObjImpl.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJSybaseSchemaObjImpl); tableColumnJSybaseSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JSybaseSchemaObjImport"); tableColumnJSybaseSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSybaseSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSybaseSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJSybaseSchemaObjImport); tableColumnJRamSchemaObjMembers = new TableColumn<ICFBamSchemaDefObj, String>("JRamSchemaObjMembers"); tableColumnJRamSchemaObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJRamSchemaObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJRamSchemaObjMembers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJRamSchemaObjMembers); tableColumnJRamSchemaObjImpl = new TableColumn<ICFBamSchemaDefObj, String>("JRamSchemaObjImpl"); tableColumnJRamSchemaObjImpl.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJRamSchemaObjImpl(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJRamSchemaObjImpl.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJRamSchemaObjImpl); tableColumnJRamSchemaObjImport = new TableColumn<ICFBamSchemaDefObj, String>("JRamSchemaObjImport"); tableColumnJRamSchemaObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJRamSchemaObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJRamSchemaObjImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJRamSchemaObjImport); tableColumnJXMsgSchemaImport = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgSchemaImport"); tableColumnJXMsgSchemaImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgSchemaImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgSchemaImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgSchemaImport); tableColumnJXMsgSchemaFormatters = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgSchemaFormatters"); tableColumnJXMsgSchemaFormatters.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgSchemaFormatters(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgSchemaFormatters.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgSchemaFormatters); tableColumnJXMsgClientSchemaImport = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgClientSchemaImport"); tableColumnJXMsgClientSchemaImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgClientSchemaImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgClientSchemaImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgClientSchemaImport); tableColumnJXMsgClientSchemaBody = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgClientSchemaBody"); tableColumnJXMsgClientSchemaBody.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgClientSchemaBody(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgClientSchemaBody.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgClientSchemaBody); tableColumnJXMsgRqstSchemaBody = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgRqstSchemaBody"); tableColumnJXMsgRqstSchemaBody.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRqstSchemaBody(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRqstSchemaBody.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRqstSchemaBody); tableColumnJXMsgRqstSchemaImport = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgRqstSchemaImport"); tableColumnJXMsgRqstSchemaImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRqstSchemaImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRqstSchemaImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRqstSchemaImport); tableColumnJXMsgRqstSchemaWireParsers = new TableColumn<ICFBamSchemaDefObj, String>( "JXMsgRqstSchemaWireParsers"); tableColumnJXMsgRqstSchemaWireParsers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRqstSchemaWireParsers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRqstSchemaWireParsers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRqstSchemaWireParsers); tableColumnJXMsgRqstSchemaXsdSpec = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgRqstSchemaXsdSpec"); tableColumnJXMsgRqstSchemaXsdSpec.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRqstSchemaXsdSpec(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRqstSchemaXsdSpec.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRqstSchemaXsdSpec); tableColumnJXMsgRqstSchemaXsdElementList = new TableColumn<ICFBamSchemaDefObj, String>( "JXMsgRqstSchemaXsdElementList"); tableColumnJXMsgRqstSchemaXsdElementList.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRqstSchemaXsdElementList(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRqstSchemaXsdElementList.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRqstSchemaXsdElementList); tableColumnJXMsgRspnSchemaBody = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgRspnSchemaBody"); tableColumnJXMsgRspnSchemaBody.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRspnSchemaBody(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRspnSchemaBody.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRspnSchemaBody); tableColumnJXMsgRspnSchemaImport = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgRspnSchemaImport"); tableColumnJXMsgRspnSchemaImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRspnSchemaImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRspnSchemaImport.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRspnSchemaImport); tableColumnJXMsgRspnSchemaWireParsers = new TableColumn<ICFBamSchemaDefObj, String>( "JXMsgRspnSchemaWireParsers"); tableColumnJXMsgRspnSchemaWireParsers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRspnSchemaWireParsers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRspnSchemaWireParsers.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRspnSchemaWireParsers); tableColumnJXMsgRspnSchemaXsdElementList = new TableColumn<ICFBamSchemaDefObj, String>( "JXMsgRspnSchemaXsdElementList"); tableColumnJXMsgRspnSchemaXsdElementList.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRspnSchemaXsdElementList(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRspnSchemaXsdElementList.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRspnSchemaXsdElementList); tableColumnJXMsgRspnSchemaXsdSpec = new TableColumn<ICFBamSchemaDefObj, String>("JXMsgRspnSchemaXsdSpec"); tableColumnJXMsgRspnSchemaXsdSpec.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamSchemaDefObj, String> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRspnSchemaXsdSpec(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRspnSchemaXsdSpec.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, String>, TableCell<ICFBamSchemaDefObj, String>>() { @Override public TableCell<ICFBamSchemaDefObj, String> call(TableColumn<ICFBamSchemaDefObj, String> arg) { return new CFTextTableCell<ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRspnSchemaXsdSpec); tableColumnLookupDefaultLicense = new TableColumn<ICFBamSchemaDefObj, ICFInternetLicenseObj>( "Default License"); tableColumnLookupDefaultLicense.setCellValueFactory( new Callback<CellDataFeatures<ICFBamSchemaDefObj, ICFInternetLicenseObj>, ObservableValue<ICFInternetLicenseObj>>() { public ObservableValue<ICFInternetLicenseObj> call( CellDataFeatures<ICFBamSchemaDefObj, ICFInternetLicenseObj> p) { ICFBamSchemaDefObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFInternetLicenseObj ref = obj.getOptionalLookupDefaultLicense(); ReadOnlyObjectWrapper<ICFInternetLicenseObj> observable = new ReadOnlyObjectWrapper<ICFInternetLicenseObj>(); observable.setValue(ref); return (observable); } } }); tableColumnLookupDefaultLicense.setCellFactory( new Callback<TableColumn<ICFBamSchemaDefObj, ICFInternetLicenseObj>, TableCell<ICFBamSchemaDefObj, ICFInternetLicenseObj>>() { @Override public TableCell<ICFBamSchemaDefObj, ICFInternetLicenseObj> call( TableColumn<ICFBamSchemaDefObj, ICFInternetLicenseObj> arg) { return new CFReferenceTableCell<ICFBamSchemaDefObj, ICFInternetLicenseObj>(); } }); dataTable.getColumns().add(tableColumnLookupDefaultLicense); dataTable.getSelectionModel().selectedItemProperty().addListener(new ChangeListener<ICFBamSchemaDefObj>() { @Override public void changed(ObservableValue<? extends ICFBamSchemaDefObj> observable, ICFBamSchemaDefObj oldValue, ICFBamSchemaDefObj newValue) { setJavaFXFocus(newValue); } }); scrollMenu = new ScrollPane(); scrollMenu.setVbarPolicy(ScrollBarPolicy.NEVER); scrollMenu.setHbarPolicy(ScrollBarPolicy.AS_NEEDED); scrollMenu.setFitToHeight(true); scrollMenu.setContent(getPanelHBoxMenu()); setTop(scrollMenu); setCenter(dataTable); javafxIsInitializing = false; if (observableListOfSchemaDef != null) { dataTable.setItems(observableListOfSchemaDef); } adjustListButtons(); }
From source file:ui.main.MainViewController.java
private void addMessageLimiter() { //this method limits the message that can be send over message.textProperty().addListener(new ChangeListener<String>() { @Override/*from w ww.j a va 2 s . c o m*/ public void changed(final ObservableValue<? extends String> ov, final String oldValue, final String newValue) { if (message.getText().length() > 60) { String s = message.getText().substring(0, 60); message.setText(s); } } }); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamJavaFX.CFBamJavaFXTablePickerPane.java
public CFBamJavaFXTablePickerPane(ICFFormManager formManager, ICFBamJavaFXSchema argSchema, ICFBamTableObj argFocus, ICFBamSchemaDefObj argContainer, Collection<ICFBamTableObj> argDataCollection, ICFBamJavaFXTableChosen whenChosen) { super();/*from ww w . j a v a 2s . c o m*/ final String S_ProcName = "construct-schema-focus"; if (formManager == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1, "formManager"); } cfFormManager = formManager; if (argSchema == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 2, "argSchema"); } if (whenChosen == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 6, "whenChosen"); } invokeWhenChosen = whenChosen; // argFocus is optional; focus may be set later during execution as // conditions of the runtime change. javafxSchema = argSchema; javaFXFocus = argFocus; javafxContainer = argContainer; setJavaFXDataCollection(argDataCollection); dataTable = new TableView<ICFBamTableObj>(); tableColumnId = new TableColumn<ICFBamTableObj, Long>("Id"); tableColumnId .setCellValueFactory(new Callback<CellDataFeatures<ICFBamTableObj, Long>, ObservableValue<Long>>() { public ObservableValue<Long> call(CellDataFeatures<ICFBamTableObj, Long> p) { ICFBamScopeObj obj = p.getValue(); if (obj == null) { return (null); } else { long value = obj.getRequiredId(); Long wrapped = new Long(value); ReadOnlyObjectWrapper<Long> observable = new ReadOnlyObjectWrapper<Long>(); observable.setValue(wrapped); return (observable); } } }); tableColumnId .setCellFactory(new Callback<TableColumn<ICFBamTableObj, Long>, TableCell<ICFBamTableObj, Long>>() { @Override public TableCell<ICFBamTableObj, Long> call(TableColumn<ICFBamTableObj, Long> arg) { return new CFInt64TableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnId); tableColumnName = new TableColumn<ICFBamTableObj, String>("Name"); tableColumnName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getRequiredName(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnName.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFStringTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnName); tableColumnDbName = new TableColumn<ICFBamTableObj, String>("Db Name"); tableColumnDbName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalDbName(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnDbName.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFStringTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnDbName); tableColumnShortName = new TableColumn<ICFBamTableObj, String>("Short Name"); tableColumnShortName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalShortName(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnShortName.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFStringTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnShortName); tableColumnLabel = new TableColumn<ICFBamTableObj, String>("Label"); tableColumnLabel.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalLabel(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnLabel.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFStringTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnLabel); tableColumnShortDescription = new TableColumn<ICFBamTableObj, String>("Short Description"); tableColumnShortDescription.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalShortDescription(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnShortDescription.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFStringTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnShortDescription); tableColumnDescription = new TableColumn<ICFBamTableObj, String>("Description"); tableColumnDescription.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalDescription(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnDescription.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFStringTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnDescription); tableColumnPageData = new TableColumn<ICFBamTableObj, Boolean>("PageData"); tableColumnPageData.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamTableObj, Boolean> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredPageData(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnPageData.setCellFactory( new Callback<TableColumn<ICFBamTableObj, Boolean>, TableCell<ICFBamTableObj, Boolean>>() { @Override public TableCell<ICFBamTableObj, Boolean> call(TableColumn<ICFBamTableObj, Boolean> arg) { return new CFBoolTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnPageData); tableColumnTableClassCode = new TableColumn<ICFBamTableObj, String>("Table Class Code"); tableColumnTableClassCode.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getRequiredTableClassCode(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnTableClassCode.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFStringTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnTableClassCode); tableColumnPolyBase = new TableColumn<ICFBamTableObj, Boolean>("Polymorphic Base"); tableColumnPolyBase.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamTableObj, Boolean> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredPolyBase(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnPolyBase.setCellFactory( new Callback<TableColumn<ICFBamTableObj, Boolean>, TableCell<ICFBamTableObj, Boolean>>() { @Override public TableCell<ICFBamTableObj, Boolean> call(TableColumn<ICFBamTableObj, Boolean> arg) { return new CFBoolTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnPolyBase); tableColumnIsInstantiable = new TableColumn<ICFBamTableObj, Boolean>("Is Instantiable"); tableColumnIsInstantiable.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamTableObj, Boolean> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredIsInstantiable(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnIsInstantiable.setCellFactory( new Callback<TableColumn<ICFBamTableObj, Boolean>, TableCell<ICFBamTableObj, Boolean>>() { @Override public TableCell<ICFBamTableObj, Boolean> call(TableColumn<ICFBamTableObj, Boolean> arg) { return new CFBoolTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnIsInstantiable); tableColumnHasHistory = new TableColumn<ICFBamTableObj, Boolean>("Has History"); tableColumnHasHistory.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamTableObj, Boolean> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredHasHistory(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnHasHistory.setCellFactory( new Callback<TableColumn<ICFBamTableObj, Boolean>, TableCell<ICFBamTableObj, Boolean>>() { @Override public TableCell<ICFBamTableObj, Boolean> call(TableColumn<ICFBamTableObj, Boolean> arg) { return new CFBoolTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnHasHistory); tableColumnHasAuditColumns = new TableColumn<ICFBamTableObj, Boolean>("Has Audit Columns"); tableColumnHasAuditColumns.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamTableObj, Boolean> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredHasAuditColumns(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnHasAuditColumns.setCellFactory( new Callback<TableColumn<ICFBamTableObj, Boolean>, TableCell<ICFBamTableObj, Boolean>>() { @Override public TableCell<ICFBamTableObj, Boolean> call(TableColumn<ICFBamTableObj, Boolean> arg) { return new CFBoolTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnHasAuditColumns); tableColumnLoaderBehaviour = new TableColumn<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum>( "Loader Behaviour"); tableColumnLoaderBehaviour.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum>, ObservableValue<ICFBamSchema.LoaderBehaviourEnum>>() { public ObservableValue<ICFBamSchema.LoaderBehaviourEnum> call( CellDataFeatures<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFBamSchema.LoaderBehaviourEnum value = obj.getRequiredLoaderBehaviour(); ReadOnlyObjectWrapper<ICFBamSchema.LoaderBehaviourEnum> observable = new ReadOnlyObjectWrapper<ICFBamSchema.LoaderBehaviourEnum>(); observable.setValue(value); return (observable); } } }); tableColumnLoaderBehaviour.setCellFactory( new Callback<TableColumn<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum>, TableCell<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum>>() { @Override public TableCell<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum> call( TableColumn<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum> arg) { return new CFEnumTableCell<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum>(); } }); dataTable.getColumns().add(tableColumnLoaderBehaviour); tableColumnSecurityScope = new TableColumn<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum>( "Security Scope"); tableColumnSecurityScope.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum>, ObservableValue<ICFBamSchema.SecurityScopeEnum>>() { public ObservableValue<ICFBamSchema.SecurityScopeEnum> call( CellDataFeatures<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFBamSchema.SecurityScopeEnum value = obj.getRequiredSecurityScope(); ReadOnlyObjectWrapper<ICFBamSchema.SecurityScopeEnum> observable = new ReadOnlyObjectWrapper<ICFBamSchema.SecurityScopeEnum>(); observable.setValue(value); return (observable); } } }); tableColumnSecurityScope.setCellFactory( new Callback<TableColumn<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum>, TableCell<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum>>() { @Override public TableCell<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum> call( TableColumn<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum> arg) { return new CFEnumTableCell<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum>(); } }); dataTable.getColumns().add(tableColumnSecurityScope); tableColumnJObjMembers = new TableColumn<ICFBamTableObj, String>("JObjMembers"); tableColumnJObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJObjMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJObjMembers); tableColumnJObjInterface = new TableColumn<ICFBamTableObj, String>("JObjInterface"); tableColumnJObjInterface.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJObjInterface(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJObjInterface.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJObjInterface); tableColumnJObjImport = new TableColumn<ICFBamTableObj, String>("JObjImport"); tableColumnJObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJObjImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJObjImport); tableColumnJObjImplementation = new TableColumn<ICFBamTableObj, String>("JObjImplementation"); tableColumnJObjImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJObjImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJObjImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJObjImplementation); tableColumnJEditObjMembers = new TableColumn<ICFBamTableObj, String>("JEditObjMembers"); tableColumnJEditObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJEditObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJEditObjMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJEditObjMembers); tableColumnJEditObjInterface = new TableColumn<ICFBamTableObj, String>("JEditObjInterface"); tableColumnJEditObjInterface.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJEditObjInterface(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJEditObjInterface.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJEditObjInterface); tableColumnJEditObjImport = new TableColumn<ICFBamTableObj, String>("JEditObjImport"); tableColumnJEditObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJEditObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJEditObjImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJEditObjImport); tableColumnJEditObjImplementation = new TableColumn<ICFBamTableObj, String>("JEditObjImplementation"); tableColumnJEditObjImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJEditObjImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJEditObjImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJEditObjImplementation); tableColumnJTableImport = new TableColumn<ICFBamTableObj, String>("JTableImport"); tableColumnJTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableImport); tableColumnJTableMembers = new TableColumn<ICFBamTableObj, String>("JTableMembers"); tableColumnJTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableMembers); tableColumnJTableInterface = new TableColumn<ICFBamTableObj, String>("JTableInterface"); tableColumnJTableInterface.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableInterface(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableInterface.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableInterface); tableColumnJTableImplementation = new TableColumn<ICFBamTableObj, String>("JTableImplementation"); tableColumnJTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableImplementation); tableColumnJTableObjImport = new TableColumn<ICFBamTableObj, String>("JTableObjImport"); tableColumnJTableObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableObjImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableObjImport); tableColumnJTableObjMembers = new TableColumn<ICFBamTableObj, String>("JTableObjMembers"); tableColumnJTableObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableObjMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableObjMembers); tableColumnJTableObjInterface = new TableColumn<ICFBamTableObj, String>("JTableObjInterface"); tableColumnJTableObjInterface.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableObjInterface(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableObjInterface.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableObjInterface); tableColumnJTableObjImplementation = new TableColumn<ICFBamTableObj, String>("JTableObjImplementation"); tableColumnJTableObjImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableObjImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableObjImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableObjImplementation); tableColumnJDb2LUWTableImport = new TableColumn<ICFBamTableObj, String>("JDb2LUWTableImport"); tableColumnJDb2LUWTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJDb2LUWTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJDb2LUWTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJDb2LUWTableImport); tableColumnJDb2LUWTableMembers = new TableColumn<ICFBamTableObj, String>("JDb2LUWTableMembers"); tableColumnJDb2LUWTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJDb2LUWTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJDb2LUWTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJDb2LUWTableMembers); tableColumnJDb2LUWTableImplementation = new TableColumn<ICFBamTableObj, String>( "JDb2LUWTableImplementation"); tableColumnJDb2LUWTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJDb2LUWTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJDb2LUWTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJDb2LUWTableImplementation); tableColumnJMSSqlTableImport = new TableColumn<ICFBamTableObj, String>("JMSSqlTableImport"); tableColumnJMSSqlTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMSSqlTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMSSqlTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJMSSqlTableImport); tableColumnJMSSqlTableMembers = new TableColumn<ICFBamTableObj, String>("JMSSqlTableMembers"); tableColumnJMSSqlTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMSSqlTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMSSqlTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJMSSqlTableMembers); tableColumnJMSSqlTableImplementation = new TableColumn<ICFBamTableObj, String>("JMSSqlTableImplementation"); tableColumnJMSSqlTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMSSqlTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMSSqlTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJMSSqlTableImplementation); tableColumnJMySqlTableImport = new TableColumn<ICFBamTableObj, String>("JMySqlTableImport"); tableColumnJMySqlTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMySqlTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMySqlTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJMySqlTableImport); tableColumnJMySqlTableMembers = new TableColumn<ICFBamTableObj, String>("JMySqlTableMembers"); tableColumnJMySqlTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMySqlTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMySqlTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJMySqlTableMembers); tableColumnJMySqlTableImplementation = new TableColumn<ICFBamTableObj, String>("JMySqlTableImplementation"); tableColumnJMySqlTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMySqlTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMySqlTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJMySqlTableImplementation); tableColumnJOracleTableImport = new TableColumn<ICFBamTableObj, String>("JOracleTableImport"); tableColumnJOracleTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJOracleTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJOracleTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJOracleTableImport); tableColumnJOracleTableMembers = new TableColumn<ICFBamTableObj, String>("JOracleTableMembers"); tableColumnJOracleTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJOracleTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJOracleTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJOracleTableMembers); tableColumnJOracleTableImplementation = new TableColumn<ICFBamTableObj, String>( "JOracleTableImplementation"); tableColumnJOracleTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJOracleTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJOracleTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJOracleTableImplementation); tableColumnJPgSqlTableImport = new TableColumn<ICFBamTableObj, String>("JPgSqlTableImport"); tableColumnJPgSqlTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJPgSqlTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJPgSqlTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJPgSqlTableImport); tableColumnJPgSqlTableMembers = new TableColumn<ICFBamTableObj, String>("JPgSqlTableMembers"); tableColumnJPgSqlTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJPgSqlTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJPgSqlTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJPgSqlTableMembers); tableColumnJPgSqlTableImplementation = new TableColumn<ICFBamTableObj, String>("JPgSqlTableImplementation"); tableColumnJPgSqlTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJPgSqlTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJPgSqlTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJPgSqlTableImplementation); tableColumnJSybaseTableImport = new TableColumn<ICFBamTableObj, String>("JSybaseTableImport"); tableColumnJSybaseTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSybaseTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSybaseTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJSybaseTableImport); tableColumnJSybaseTableMembers = new TableColumn<ICFBamTableObj, String>("JSybaseTableMembers"); tableColumnJSybaseTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSybaseTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSybaseTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJSybaseTableMembers); tableColumnJSybaseTableImplementation = new TableColumn<ICFBamTableObj, String>( "JSybaseTableImplementation"); tableColumnJSybaseTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSybaseTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSybaseTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJSybaseTableImplementation); tableColumnJRamTableImport = new TableColumn<ICFBamTableObj, String>("JRamTableImport"); tableColumnJRamTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJRamTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJRamTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJRamTableImport); tableColumnJRamTableMembers = new TableColumn<ICFBamTableObj, String>("JRamTableMembers"); tableColumnJRamTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJRamTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJRamTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJRamTableMembers); tableColumnJRamTableImplementation = new TableColumn<ICFBamTableObj, String>("JRamTableImplementation"); tableColumnJRamTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJRamTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJRamTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJRamTableImplementation); tableColumnJSaxLoaderImport = new TableColumn<ICFBamTableObj, String>("JSaxLoaderImport"); tableColumnJSaxLoaderImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSaxLoaderImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSaxLoaderImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJSaxLoaderImport); tableColumnJSaxLoaderStartElement = new TableColumn<ICFBamTableObj, String>("JSaxLoaderStartElement"); tableColumnJSaxLoaderStartElement.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSaxLoaderStartElement(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSaxLoaderStartElement.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJSaxLoaderStartElement); tableColumnJSaxLoaderEndElement = new TableColumn<ICFBamTableObj, String>("JSaxLoaderEndElement"); tableColumnJSaxLoaderEndElement.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSaxLoaderEndElement(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSaxLoaderEndElement.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJSaxLoaderEndElement); tableColumnJXMsgTableImport = new TableColumn<ICFBamTableObj, String>("JXMsgTableImport"); tableColumnJXMsgTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgTableImport); tableColumnJXMsgTableFormatters = new TableColumn<ICFBamTableObj, String>("JXMsgTableFormatters"); tableColumnJXMsgTableFormatters.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgTableFormatters(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgTableFormatters.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgTableFormatters); tableColumnJXMsgRqstTableImport = new TableColumn<ICFBamTableObj, String>("JXMsgRqstTableImport"); tableColumnJXMsgRqstTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRqstTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRqstTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRqstTableImport); tableColumnJXMsgRspnTableImport = new TableColumn<ICFBamTableObj, String>("JXMsgRspnTableImport"); tableColumnJXMsgRspnTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRspnTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRspnTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRspnTableImport); tableColumnJXMsgClientTableImport = new TableColumn<ICFBamTableObj, String>("JXMsgClientTableImport"); tableColumnJXMsgClientTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgClientTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgClientTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgClientTableImport); tableColumnJXMsgRqstTableBody = new TableColumn<ICFBamTableObj, String>("JXMsgRqstTableBody"); tableColumnJXMsgRqstTableBody.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRqstTableBody(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRqstTableBody.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRqstTableBody); tableColumnJXMsgRspnTableBody = new TableColumn<ICFBamTableObj, String>("JXMsgRspnTableBody"); tableColumnJXMsgRspnTableBody.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRspnTableBody(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRspnTableBody.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRspnTableBody); tableColumnJXMsgClientTableBody = new TableColumn<ICFBamTableObj, String>("JXMsgClientTableBody"); tableColumnJXMsgClientTableBody.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgClientTableBody(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgClientTableBody.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgClientTableBody); tableColumnDefaultVisibility = new TableColumn<ICFBamTableObj, Boolean>("DefaultVisibility"); tableColumnDefaultVisibility.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamTableObj, Boolean> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredDefaultVisibility(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnDefaultVisibility.setCellFactory( new Callback<TableColumn<ICFBamTableObj, Boolean>, TableCell<ICFBamTableObj, Boolean>>() { @Override public TableCell<ICFBamTableObj, Boolean> call(TableColumn<ICFBamTableObj, Boolean> arg) { return new CFBoolTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnDefaultVisibility); tableColumnLookupDefSchema = new TableColumn<ICFBamTableObj, ICFBamSchemaDefObj>( "Defining Schema Definition"); tableColumnLookupDefSchema.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, ICFBamSchemaDefObj>, ObservableValue<ICFBamSchemaDefObj>>() { public ObservableValue<ICFBamSchemaDefObj> call( CellDataFeatures<ICFBamTableObj, ICFBamSchemaDefObj> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFBamSchemaDefObj ref = obj.getOptionalLookupDefSchema(); ReadOnlyObjectWrapper<ICFBamSchemaDefObj> observable = new ReadOnlyObjectWrapper<ICFBamSchemaDefObj>(); observable.setValue(ref); return (observable); } } }); tableColumnLookupDefSchema.setCellFactory( new Callback<TableColumn<ICFBamTableObj, ICFBamSchemaDefObj>, TableCell<ICFBamTableObj, ICFBamSchemaDefObj>>() { @Override public TableCell<ICFBamTableObj, ICFBamSchemaDefObj> call( TableColumn<ICFBamTableObj, ICFBamSchemaDefObj> arg) { return new CFReferenceTableCell<ICFBamTableObj, ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnLookupDefSchema); tableColumnLookupLookupIndex = new TableColumn<ICFBamTableObj, ICFBamIndexObj>("Lookup Index"); tableColumnLookupLookupIndex.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, ICFBamIndexObj>, ObservableValue<ICFBamIndexObj>>() { public ObservableValue<ICFBamIndexObj> call( CellDataFeatures<ICFBamTableObj, ICFBamIndexObj> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFBamIndexObj ref = obj.getOptionalLookupLookupIndex(); ReadOnlyObjectWrapper<ICFBamIndexObj> observable = new ReadOnlyObjectWrapper<ICFBamIndexObj>(); observable.setValue(ref); return (observable); } } }); tableColumnLookupLookupIndex.setCellFactory( new Callback<TableColumn<ICFBamTableObj, ICFBamIndexObj>, TableCell<ICFBamTableObj, ICFBamIndexObj>>() { @Override public TableCell<ICFBamTableObj, ICFBamIndexObj> call( TableColumn<ICFBamTableObj, ICFBamIndexObj> arg) { return new CFReferenceTableCell<ICFBamTableObj, ICFBamIndexObj>(); } }); dataTable.getColumns().add(tableColumnLookupLookupIndex); tableColumnLookupAltIndex = new TableColumn<ICFBamTableObj, ICFBamIndexObj>("Alt Index"); tableColumnLookupAltIndex.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, ICFBamIndexObj>, ObservableValue<ICFBamIndexObj>>() { public ObservableValue<ICFBamIndexObj> call( CellDataFeatures<ICFBamTableObj, ICFBamIndexObj> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFBamIndexObj ref = obj.getOptionalLookupAltIndex(); ReadOnlyObjectWrapper<ICFBamIndexObj> observable = new ReadOnlyObjectWrapper<ICFBamIndexObj>(); observable.setValue(ref); return (observable); } } }); tableColumnLookupAltIndex.setCellFactory( new Callback<TableColumn<ICFBamTableObj, ICFBamIndexObj>, TableCell<ICFBamTableObj, ICFBamIndexObj>>() { @Override public TableCell<ICFBamTableObj, ICFBamIndexObj> call( TableColumn<ICFBamTableObj, ICFBamIndexObj> arg) { return new CFReferenceTableCell<ICFBamTableObj, ICFBamIndexObj>(); } }); dataTable.getColumns().add(tableColumnLookupAltIndex); tableColumnLookupQualTable = new TableColumn<ICFBamTableObj, ICFBamTableObj>("Qualifying Table"); tableColumnLookupQualTable.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, ICFBamTableObj>, ObservableValue<ICFBamTableObj>>() { public ObservableValue<ICFBamTableObj> call( CellDataFeatures<ICFBamTableObj, ICFBamTableObj> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFBamTableObj ref = obj.getOptionalLookupQualTable(); ReadOnlyObjectWrapper<ICFBamTableObj> observable = new ReadOnlyObjectWrapper<ICFBamTableObj>(); observable.setValue(ref); return (observable); } } }); tableColumnLookupQualTable.setCellFactory( new Callback<TableColumn<ICFBamTableObj, ICFBamTableObj>, TableCell<ICFBamTableObj, ICFBamTableObj>>() { @Override public TableCell<ICFBamTableObj, ICFBamTableObj> call( TableColumn<ICFBamTableObj, ICFBamTableObj> arg) { return new CFReferenceTableCell<ICFBamTableObj, ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnLookupQualTable); tableColumnLookupPrimaryIndex = new TableColumn<ICFBamTableObj, ICFBamIndexObj>("Primary Index"); tableColumnLookupPrimaryIndex.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, ICFBamIndexObj>, ObservableValue<ICFBamIndexObj>>() { public ObservableValue<ICFBamIndexObj> call( CellDataFeatures<ICFBamTableObj, ICFBamIndexObj> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFBamIndexObj ref = obj.getOptionalLookupPrimaryIndex(); ReadOnlyObjectWrapper<ICFBamIndexObj> observable = new ReadOnlyObjectWrapper<ICFBamIndexObj>(); observable.setValue(ref); return (observable); } } }); tableColumnLookupPrimaryIndex.setCellFactory( new Callback<TableColumn<ICFBamTableObj, ICFBamIndexObj>, TableCell<ICFBamTableObj, ICFBamIndexObj>>() { @Override public TableCell<ICFBamTableObj, ICFBamIndexObj> call( TableColumn<ICFBamTableObj, ICFBamIndexObj> arg) { return new CFReferenceTableCell<ICFBamTableObj, ICFBamIndexObj>(); } }); dataTable.getColumns().add(tableColumnLookupPrimaryIndex); dataTable.getSelectionModel().selectedItemProperty().addListener(new ChangeListener<ICFBamTableObj>() { @Override public void changed(ObservableValue<? extends ICFBamTableObj> observable, ICFBamTableObj oldValue, ICFBamTableObj newValue) { setJavaFXFocus(newValue); if (buttonChooseSelected != null) { if (newValue != null) { buttonChooseSelected.setDisable(false); } else { buttonChooseSelected.setDisable(true); } } } }); hboxMenu = new CFHBox(10); buttonCancel = new CFButton(); buttonCancel.setMinWidth(200); buttonCancel.setText("Cancel"); buttonCancel.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { cfFormManager.closeCurrentForm(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonCancel); buttonChooseNone = new CFButton(); buttonChooseNone.setMinWidth(200); buttonChooseNone.setText("ChooseNone"); buttonChooseNone.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } invokeWhenChosen.choseTable(null); cfFormManager.closeCurrentForm(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonChooseNone); buttonChooseSelected = new CFButton(); buttonChooseSelected.setMinWidth(200); buttonChooseSelected.setText("ChooseSelected"); buttonChooseSelected.setOnAction(new EventHandler<ActionEvent>() { @Override public void handle(ActionEvent e) { final String S_ProcName = "handle"; try { ICFBamSchemaObj schemaObj = (ICFBamSchemaObj) javafxSchema.getSchema(); if (schemaObj == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 0, "schemaObj"); } ICFBamTableObj selectedInstance = getJavaFXFocusAsTable(); invokeWhenChosen.choseTable(selectedInstance); cfFormManager.closeCurrentForm(); } catch (Throwable t) { CFConsole.formException(S_FormName, ((CFButton) e.getSource()).getText(), t); } } }); hboxMenu.getChildren().add(buttonChooseSelected); if (argFocus != null) { dataTable.getSelectionModel().select(argFocus); } setTop(hboxMenu); setCenter(dataTable); }
From source file:net.sourceforge.msscodefactory.cfbam.v2_7.CFBamJavaFX.CFBamJavaFXTableListPane.java
public CFBamJavaFXTableListPane(ICFFormManager formManager, ICFBamJavaFXSchema argSchema, ICFBamSchemaDefObj argContainer, ICFBamTableObj argFocus, Collection<ICFBamTableObj> argDataCollection, ICFRefreshCallback refreshCallback, boolean sortByChain) { super();// ww w . j av a2 s . c o m final String S_ProcName = "construct-schema-focus"; if (formManager == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 1, "formManager"); } cfFormManager = formManager; if (argSchema == null) { throw CFLib.getDefaultExceptionFactory().newNullArgumentException(getClass(), S_ProcName, 2, "argSchema"); } // argFocus is optional; focus may be set later during execution as // conditions of the runtime change. javafxSchema = argSchema; javaFXFocus = argFocus; javafxContainer = argContainer; javafxRefreshCallback = refreshCallback; javafxSortByChain = sortByChain; setJavaFXDataCollection(argDataCollection); dataTable = new TableView<ICFBamTableObj>(); tableColumnId = new TableColumn<ICFBamTableObj, Long>("Id"); tableColumnId .setCellValueFactory(new Callback<CellDataFeatures<ICFBamTableObj, Long>, ObservableValue<Long>>() { public ObservableValue<Long> call(CellDataFeatures<ICFBamTableObj, Long> p) { ICFBamScopeObj obj = p.getValue(); if (obj == null) { return (null); } else { long value = obj.getRequiredId(); Long wrapped = new Long(value); ReadOnlyObjectWrapper<Long> observable = new ReadOnlyObjectWrapper<Long>(); observable.setValue(wrapped); return (observable); } } }); tableColumnId .setCellFactory(new Callback<TableColumn<ICFBamTableObj, Long>, TableCell<ICFBamTableObj, Long>>() { @Override public TableCell<ICFBamTableObj, Long> call(TableColumn<ICFBamTableObj, Long> arg) { return new CFInt64TableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnId); tableColumnName = new TableColumn<ICFBamTableObj, String>("Name"); tableColumnName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getRequiredName(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnName.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFStringTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnName); tableColumnDbName = new TableColumn<ICFBamTableObj, String>("Db Name"); tableColumnDbName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalDbName(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnDbName.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFStringTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnDbName); tableColumnShortName = new TableColumn<ICFBamTableObj, String>("Short Name"); tableColumnShortName.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalShortName(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnShortName.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFStringTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnShortName); tableColumnLabel = new TableColumn<ICFBamTableObj, String>("Label"); tableColumnLabel.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalLabel(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnLabel.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFStringTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnLabel); tableColumnShortDescription = new TableColumn<ICFBamTableObj, String>("Short Description"); tableColumnShortDescription.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalShortDescription(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnShortDescription.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFStringTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnShortDescription); tableColumnDescription = new TableColumn<ICFBamTableObj, String>("Description"); tableColumnDescription.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalDescription(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnDescription.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFStringTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnDescription); tableColumnPageData = new TableColumn<ICFBamTableObj, Boolean>("PageData"); tableColumnPageData.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamTableObj, Boolean> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredPageData(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnPageData.setCellFactory( new Callback<TableColumn<ICFBamTableObj, Boolean>, TableCell<ICFBamTableObj, Boolean>>() { @Override public TableCell<ICFBamTableObj, Boolean> call(TableColumn<ICFBamTableObj, Boolean> arg) { return new CFBoolTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnPageData); tableColumnTableClassCode = new TableColumn<ICFBamTableObj, String>("Table Class Code"); tableColumnTableClassCode.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getRequiredTableClassCode(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnTableClassCode.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFStringTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnTableClassCode); tableColumnPolyBase = new TableColumn<ICFBamTableObj, Boolean>("Polymorphic Base"); tableColumnPolyBase.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamTableObj, Boolean> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredPolyBase(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnPolyBase.setCellFactory( new Callback<TableColumn<ICFBamTableObj, Boolean>, TableCell<ICFBamTableObj, Boolean>>() { @Override public TableCell<ICFBamTableObj, Boolean> call(TableColumn<ICFBamTableObj, Boolean> arg) { return new CFBoolTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnPolyBase); tableColumnIsInstantiable = new TableColumn<ICFBamTableObj, Boolean>("Is Instantiable"); tableColumnIsInstantiable.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamTableObj, Boolean> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredIsInstantiable(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnIsInstantiable.setCellFactory( new Callback<TableColumn<ICFBamTableObj, Boolean>, TableCell<ICFBamTableObj, Boolean>>() { @Override public TableCell<ICFBamTableObj, Boolean> call(TableColumn<ICFBamTableObj, Boolean> arg) { return new CFBoolTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnIsInstantiable); tableColumnHasHistory = new TableColumn<ICFBamTableObj, Boolean>("Has History"); tableColumnHasHistory.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamTableObj, Boolean> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredHasHistory(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnHasHistory.setCellFactory( new Callback<TableColumn<ICFBamTableObj, Boolean>, TableCell<ICFBamTableObj, Boolean>>() { @Override public TableCell<ICFBamTableObj, Boolean> call(TableColumn<ICFBamTableObj, Boolean> arg) { return new CFBoolTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnHasHistory); tableColumnHasAuditColumns = new TableColumn<ICFBamTableObj, Boolean>("Has Audit Columns"); tableColumnHasAuditColumns.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamTableObj, Boolean> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredHasAuditColumns(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnHasAuditColumns.setCellFactory( new Callback<TableColumn<ICFBamTableObj, Boolean>, TableCell<ICFBamTableObj, Boolean>>() { @Override public TableCell<ICFBamTableObj, Boolean> call(TableColumn<ICFBamTableObj, Boolean> arg) { return new CFBoolTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnHasAuditColumns); tableColumnLoaderBehaviour = new TableColumn<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum>( "Loader Behaviour"); tableColumnLoaderBehaviour.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum>, ObservableValue<ICFBamSchema.LoaderBehaviourEnum>>() { public ObservableValue<ICFBamSchema.LoaderBehaviourEnum> call( CellDataFeatures<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFBamSchema.LoaderBehaviourEnum value = obj.getRequiredLoaderBehaviour(); ReadOnlyObjectWrapper<ICFBamSchema.LoaderBehaviourEnum> observable = new ReadOnlyObjectWrapper<ICFBamSchema.LoaderBehaviourEnum>(); observable.setValue(value); return (observable); } } }); tableColumnLoaderBehaviour.setCellFactory( new Callback<TableColumn<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum>, TableCell<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum>>() { @Override public TableCell<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum> call( TableColumn<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum> arg) { return new CFEnumTableCell<ICFBamTableObj, ICFBamSchema.LoaderBehaviourEnum>(); } }); dataTable.getColumns().add(tableColumnLoaderBehaviour); tableColumnSecurityScope = new TableColumn<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum>( "Security Scope"); tableColumnSecurityScope.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum>, ObservableValue<ICFBamSchema.SecurityScopeEnum>>() { public ObservableValue<ICFBamSchema.SecurityScopeEnum> call( CellDataFeatures<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFBamSchema.SecurityScopeEnum value = obj.getRequiredSecurityScope(); ReadOnlyObjectWrapper<ICFBamSchema.SecurityScopeEnum> observable = new ReadOnlyObjectWrapper<ICFBamSchema.SecurityScopeEnum>(); observable.setValue(value); return (observable); } } }); tableColumnSecurityScope.setCellFactory( new Callback<TableColumn<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum>, TableCell<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum>>() { @Override public TableCell<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum> call( TableColumn<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum> arg) { return new CFEnumTableCell<ICFBamTableObj, ICFBamSchema.SecurityScopeEnum>(); } }); dataTable.getColumns().add(tableColumnSecurityScope); tableColumnJObjMembers = new TableColumn<ICFBamTableObj, String>("JObjMembers"); tableColumnJObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJObjMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJObjMembers); tableColumnJObjInterface = new TableColumn<ICFBamTableObj, String>("JObjInterface"); tableColumnJObjInterface.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJObjInterface(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJObjInterface.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJObjInterface); tableColumnJObjImport = new TableColumn<ICFBamTableObj, String>("JObjImport"); tableColumnJObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJObjImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJObjImport); tableColumnJObjImplementation = new TableColumn<ICFBamTableObj, String>("JObjImplementation"); tableColumnJObjImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJObjImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJObjImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJObjImplementation); tableColumnJEditObjMembers = new TableColumn<ICFBamTableObj, String>("JEditObjMembers"); tableColumnJEditObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJEditObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJEditObjMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJEditObjMembers); tableColumnJEditObjInterface = new TableColumn<ICFBamTableObj, String>("JEditObjInterface"); tableColumnJEditObjInterface.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJEditObjInterface(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJEditObjInterface.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJEditObjInterface); tableColumnJEditObjImport = new TableColumn<ICFBamTableObj, String>("JEditObjImport"); tableColumnJEditObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJEditObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJEditObjImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJEditObjImport); tableColumnJEditObjImplementation = new TableColumn<ICFBamTableObj, String>("JEditObjImplementation"); tableColumnJEditObjImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJEditObjImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJEditObjImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJEditObjImplementation); tableColumnJTableImport = new TableColumn<ICFBamTableObj, String>("JTableImport"); tableColumnJTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableImport); tableColumnJTableMembers = new TableColumn<ICFBamTableObj, String>("JTableMembers"); tableColumnJTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableMembers); tableColumnJTableInterface = new TableColumn<ICFBamTableObj, String>("JTableInterface"); tableColumnJTableInterface.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableInterface(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableInterface.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableInterface); tableColumnJTableImplementation = new TableColumn<ICFBamTableObj, String>("JTableImplementation"); tableColumnJTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableImplementation); tableColumnJTableObjImport = new TableColumn<ICFBamTableObj, String>("JTableObjImport"); tableColumnJTableObjImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableObjImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableObjImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableObjImport); tableColumnJTableObjMembers = new TableColumn<ICFBamTableObj, String>("JTableObjMembers"); tableColumnJTableObjMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableObjMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableObjMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableObjMembers); tableColumnJTableObjInterface = new TableColumn<ICFBamTableObj, String>("JTableObjInterface"); tableColumnJTableObjInterface.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableObjInterface(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableObjInterface.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableObjInterface); tableColumnJTableObjImplementation = new TableColumn<ICFBamTableObj, String>("JTableObjImplementation"); tableColumnJTableObjImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJTableObjImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJTableObjImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJTableObjImplementation); tableColumnJDb2LUWTableImport = new TableColumn<ICFBamTableObj, String>("JDb2LUWTableImport"); tableColumnJDb2LUWTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJDb2LUWTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJDb2LUWTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJDb2LUWTableImport); tableColumnJDb2LUWTableMembers = new TableColumn<ICFBamTableObj, String>("JDb2LUWTableMembers"); tableColumnJDb2LUWTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJDb2LUWTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJDb2LUWTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJDb2LUWTableMembers); tableColumnJDb2LUWTableImplementation = new TableColumn<ICFBamTableObj, String>( "JDb2LUWTableImplementation"); tableColumnJDb2LUWTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJDb2LUWTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJDb2LUWTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJDb2LUWTableImplementation); tableColumnJMSSqlTableImport = new TableColumn<ICFBamTableObj, String>("JMSSqlTableImport"); tableColumnJMSSqlTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMSSqlTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMSSqlTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJMSSqlTableImport); tableColumnJMSSqlTableMembers = new TableColumn<ICFBamTableObj, String>("JMSSqlTableMembers"); tableColumnJMSSqlTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMSSqlTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMSSqlTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJMSSqlTableMembers); tableColumnJMSSqlTableImplementation = new TableColumn<ICFBamTableObj, String>("JMSSqlTableImplementation"); tableColumnJMSSqlTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMSSqlTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMSSqlTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJMSSqlTableImplementation); tableColumnJMySqlTableImport = new TableColumn<ICFBamTableObj, String>("JMySqlTableImport"); tableColumnJMySqlTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMySqlTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMySqlTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJMySqlTableImport); tableColumnJMySqlTableMembers = new TableColumn<ICFBamTableObj, String>("JMySqlTableMembers"); tableColumnJMySqlTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMySqlTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMySqlTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJMySqlTableMembers); tableColumnJMySqlTableImplementation = new TableColumn<ICFBamTableObj, String>("JMySqlTableImplementation"); tableColumnJMySqlTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJMySqlTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJMySqlTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJMySqlTableImplementation); tableColumnJOracleTableImport = new TableColumn<ICFBamTableObj, String>("JOracleTableImport"); tableColumnJOracleTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJOracleTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJOracleTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJOracleTableImport); tableColumnJOracleTableMembers = new TableColumn<ICFBamTableObj, String>("JOracleTableMembers"); tableColumnJOracleTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJOracleTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJOracleTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJOracleTableMembers); tableColumnJOracleTableImplementation = new TableColumn<ICFBamTableObj, String>( "JOracleTableImplementation"); tableColumnJOracleTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJOracleTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJOracleTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJOracleTableImplementation); tableColumnJPgSqlTableImport = new TableColumn<ICFBamTableObj, String>("JPgSqlTableImport"); tableColumnJPgSqlTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJPgSqlTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJPgSqlTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJPgSqlTableImport); tableColumnJPgSqlTableMembers = new TableColumn<ICFBamTableObj, String>("JPgSqlTableMembers"); tableColumnJPgSqlTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJPgSqlTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJPgSqlTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJPgSqlTableMembers); tableColumnJPgSqlTableImplementation = new TableColumn<ICFBamTableObj, String>("JPgSqlTableImplementation"); tableColumnJPgSqlTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJPgSqlTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJPgSqlTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJPgSqlTableImplementation); tableColumnJSybaseTableImport = new TableColumn<ICFBamTableObj, String>("JSybaseTableImport"); tableColumnJSybaseTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSybaseTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSybaseTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJSybaseTableImport); tableColumnJSybaseTableMembers = new TableColumn<ICFBamTableObj, String>("JSybaseTableMembers"); tableColumnJSybaseTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSybaseTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSybaseTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJSybaseTableMembers); tableColumnJSybaseTableImplementation = new TableColumn<ICFBamTableObj, String>( "JSybaseTableImplementation"); tableColumnJSybaseTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSybaseTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSybaseTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJSybaseTableImplementation); tableColumnJRamTableImport = new TableColumn<ICFBamTableObj, String>("JRamTableImport"); tableColumnJRamTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJRamTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJRamTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJRamTableImport); tableColumnJRamTableMembers = new TableColumn<ICFBamTableObj, String>("JRamTableMembers"); tableColumnJRamTableMembers.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJRamTableMembers(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJRamTableMembers.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJRamTableMembers); tableColumnJRamTableImplementation = new TableColumn<ICFBamTableObj, String>("JRamTableImplementation"); tableColumnJRamTableImplementation.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJRamTableImplementation(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJRamTableImplementation.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJRamTableImplementation); tableColumnJSaxLoaderImport = new TableColumn<ICFBamTableObj, String>("JSaxLoaderImport"); tableColumnJSaxLoaderImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSaxLoaderImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSaxLoaderImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJSaxLoaderImport); tableColumnJSaxLoaderStartElement = new TableColumn<ICFBamTableObj, String>("JSaxLoaderStartElement"); tableColumnJSaxLoaderStartElement.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSaxLoaderStartElement(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSaxLoaderStartElement.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJSaxLoaderStartElement); tableColumnJSaxLoaderEndElement = new TableColumn<ICFBamTableObj, String>("JSaxLoaderEndElement"); tableColumnJSaxLoaderEndElement.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJSaxLoaderEndElement(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJSaxLoaderEndElement.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJSaxLoaderEndElement); tableColumnJXMsgTableImport = new TableColumn<ICFBamTableObj, String>("JXMsgTableImport"); tableColumnJXMsgTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgTableImport); tableColumnJXMsgTableFormatters = new TableColumn<ICFBamTableObj, String>("JXMsgTableFormatters"); tableColumnJXMsgTableFormatters.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgTableFormatters(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgTableFormatters.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgTableFormatters); tableColumnJXMsgRqstTableImport = new TableColumn<ICFBamTableObj, String>("JXMsgRqstTableImport"); tableColumnJXMsgRqstTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRqstTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRqstTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRqstTableImport); tableColumnJXMsgRspnTableImport = new TableColumn<ICFBamTableObj, String>("JXMsgRspnTableImport"); tableColumnJXMsgRspnTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRspnTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRspnTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRspnTableImport); tableColumnJXMsgClientTableImport = new TableColumn<ICFBamTableObj, String>("JXMsgClientTableImport"); tableColumnJXMsgClientTableImport.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgClientTableImport(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgClientTableImport.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgClientTableImport); tableColumnJXMsgRqstTableBody = new TableColumn<ICFBamTableObj, String>("JXMsgRqstTableBody"); tableColumnJXMsgRqstTableBody.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRqstTableBody(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRqstTableBody.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRqstTableBody); tableColumnJXMsgRspnTableBody = new TableColumn<ICFBamTableObj, String>("JXMsgRspnTableBody"); tableColumnJXMsgRspnTableBody.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgRspnTableBody(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgRspnTableBody.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgRspnTableBody); tableColumnJXMsgClientTableBody = new TableColumn<ICFBamTableObj, String>("JXMsgClientTableBody"); tableColumnJXMsgClientTableBody.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, String>, ObservableValue<String>>() { public ObservableValue<String> call(CellDataFeatures<ICFBamTableObj, String> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { String value = obj.getOptionalJXMsgClientTableBody(); ReadOnlyObjectWrapper<String> observable = new ReadOnlyObjectWrapper<String>(); observable.setValue(value); return (observable); } } }); tableColumnJXMsgClientTableBody.setCellFactory( new Callback<TableColumn<ICFBamTableObj, String>, TableCell<ICFBamTableObj, String>>() { @Override public TableCell<ICFBamTableObj, String> call(TableColumn<ICFBamTableObj, String> arg) { return new CFTextTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnJXMsgClientTableBody); tableColumnDefaultVisibility = new TableColumn<ICFBamTableObj, Boolean>("DefaultVisibility"); tableColumnDefaultVisibility.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, Boolean>, ObservableValue<Boolean>>() { public ObservableValue<Boolean> call(CellDataFeatures<ICFBamTableObj, Boolean> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { boolean value = obj.getRequiredDefaultVisibility(); Boolean wrapped = new Boolean(value); ReadOnlyObjectWrapper<Boolean> observable = new ReadOnlyObjectWrapper<Boolean>(); observable.setValue(wrapped); return (observable); } } }); tableColumnDefaultVisibility.setCellFactory( new Callback<TableColumn<ICFBamTableObj, Boolean>, TableCell<ICFBamTableObj, Boolean>>() { @Override public TableCell<ICFBamTableObj, Boolean> call(TableColumn<ICFBamTableObj, Boolean> arg) { return new CFBoolTableCell<ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnDefaultVisibility); tableColumnLookupDefSchema = new TableColumn<ICFBamTableObj, ICFBamSchemaDefObj>( "Defining Schema Definition"); tableColumnLookupDefSchema.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, ICFBamSchemaDefObj>, ObservableValue<ICFBamSchemaDefObj>>() { public ObservableValue<ICFBamSchemaDefObj> call( CellDataFeatures<ICFBamTableObj, ICFBamSchemaDefObj> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFBamSchemaDefObj ref = obj.getOptionalLookupDefSchema(); ReadOnlyObjectWrapper<ICFBamSchemaDefObj> observable = new ReadOnlyObjectWrapper<ICFBamSchemaDefObj>(); observable.setValue(ref); return (observable); } } }); tableColumnLookupDefSchema.setCellFactory( new Callback<TableColumn<ICFBamTableObj, ICFBamSchemaDefObj>, TableCell<ICFBamTableObj, ICFBamSchemaDefObj>>() { @Override public TableCell<ICFBamTableObj, ICFBamSchemaDefObj> call( TableColumn<ICFBamTableObj, ICFBamSchemaDefObj> arg) { return new CFReferenceTableCell<ICFBamTableObj, ICFBamSchemaDefObj>(); } }); dataTable.getColumns().add(tableColumnLookupDefSchema); tableColumnLookupLookupIndex = new TableColumn<ICFBamTableObj, ICFBamIndexObj>("Lookup Index"); tableColumnLookupLookupIndex.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, ICFBamIndexObj>, ObservableValue<ICFBamIndexObj>>() { public ObservableValue<ICFBamIndexObj> call( CellDataFeatures<ICFBamTableObj, ICFBamIndexObj> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFBamIndexObj ref = obj.getOptionalLookupLookupIndex(); ReadOnlyObjectWrapper<ICFBamIndexObj> observable = new ReadOnlyObjectWrapper<ICFBamIndexObj>(); observable.setValue(ref); return (observable); } } }); tableColumnLookupLookupIndex.setCellFactory( new Callback<TableColumn<ICFBamTableObj, ICFBamIndexObj>, TableCell<ICFBamTableObj, ICFBamIndexObj>>() { @Override public TableCell<ICFBamTableObj, ICFBamIndexObj> call( TableColumn<ICFBamTableObj, ICFBamIndexObj> arg) { return new CFReferenceTableCell<ICFBamTableObj, ICFBamIndexObj>(); } }); dataTable.getColumns().add(tableColumnLookupLookupIndex); tableColumnLookupAltIndex = new TableColumn<ICFBamTableObj, ICFBamIndexObj>("Alt Index"); tableColumnLookupAltIndex.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, ICFBamIndexObj>, ObservableValue<ICFBamIndexObj>>() { public ObservableValue<ICFBamIndexObj> call( CellDataFeatures<ICFBamTableObj, ICFBamIndexObj> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFBamIndexObj ref = obj.getOptionalLookupAltIndex(); ReadOnlyObjectWrapper<ICFBamIndexObj> observable = new ReadOnlyObjectWrapper<ICFBamIndexObj>(); observable.setValue(ref); return (observable); } } }); tableColumnLookupAltIndex.setCellFactory( new Callback<TableColumn<ICFBamTableObj, ICFBamIndexObj>, TableCell<ICFBamTableObj, ICFBamIndexObj>>() { @Override public TableCell<ICFBamTableObj, ICFBamIndexObj> call( TableColumn<ICFBamTableObj, ICFBamIndexObj> arg) { return new CFReferenceTableCell<ICFBamTableObj, ICFBamIndexObj>(); } }); dataTable.getColumns().add(tableColumnLookupAltIndex); tableColumnLookupQualTable = new TableColumn<ICFBamTableObj, ICFBamTableObj>("Qualifying Table"); tableColumnLookupQualTable.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, ICFBamTableObj>, ObservableValue<ICFBamTableObj>>() { public ObservableValue<ICFBamTableObj> call( CellDataFeatures<ICFBamTableObj, ICFBamTableObj> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFBamTableObj ref = obj.getOptionalLookupQualTable(); ReadOnlyObjectWrapper<ICFBamTableObj> observable = new ReadOnlyObjectWrapper<ICFBamTableObj>(); observable.setValue(ref); return (observable); } } }); tableColumnLookupQualTable.setCellFactory( new Callback<TableColumn<ICFBamTableObj, ICFBamTableObj>, TableCell<ICFBamTableObj, ICFBamTableObj>>() { @Override public TableCell<ICFBamTableObj, ICFBamTableObj> call( TableColumn<ICFBamTableObj, ICFBamTableObj> arg) { return new CFReferenceTableCell<ICFBamTableObj, ICFBamTableObj>(); } }); dataTable.getColumns().add(tableColumnLookupQualTable); tableColumnLookupPrimaryIndex = new TableColumn<ICFBamTableObj, ICFBamIndexObj>("Primary Index"); tableColumnLookupPrimaryIndex.setCellValueFactory( new Callback<CellDataFeatures<ICFBamTableObj, ICFBamIndexObj>, ObservableValue<ICFBamIndexObj>>() { public ObservableValue<ICFBamIndexObj> call( CellDataFeatures<ICFBamTableObj, ICFBamIndexObj> p) { ICFBamTableObj obj = p.getValue(); if (obj == null) { return (null); } else { ICFBamIndexObj ref = obj.getOptionalLookupPrimaryIndex(); ReadOnlyObjectWrapper<ICFBamIndexObj> observable = new ReadOnlyObjectWrapper<ICFBamIndexObj>(); observable.setValue(ref); return (observable); } } }); tableColumnLookupPrimaryIndex.setCellFactory( new Callback<TableColumn<ICFBamTableObj, ICFBamIndexObj>, TableCell<ICFBamTableObj, ICFBamIndexObj>>() { @Override public TableCell<ICFBamTableObj, ICFBamIndexObj> call( TableColumn<ICFBamTableObj, ICFBamIndexObj> arg) { return new CFReferenceTableCell<ICFBamTableObj, ICFBamIndexObj>(); } }); dataTable.getColumns().add(tableColumnLookupPrimaryIndex); dataTable.getSelectionModel().selectedItemProperty().addListener(new ChangeListener<ICFBamTableObj>() { @Override public void changed(ObservableValue<? extends ICFBamTableObj> observable, ICFBamTableObj oldValue, ICFBamTableObj newValue) { setJavaFXFocus(newValue); } }); scrollMenu = new ScrollPane(); scrollMenu.setVbarPolicy(ScrollBarPolicy.NEVER); scrollMenu.setHbarPolicy(ScrollBarPolicy.AS_NEEDED); scrollMenu.setFitToHeight(true); scrollMenu.setContent(getPanelHBoxMenu()); setTop(scrollMenu); setCenter(dataTable); javafxIsInitializing = false; if (observableListOfTable != null) { dataTable.setItems(observableListOfTable); } adjustListButtons(); }
From source file:editeurpanovisu.EditeurPanovisu.java
/** * * @param lstPano//from www.j a v a 2 s . c o m * @param numPano * @return */ public Pane affichageHS(String lstPano, int numPano) { Pane panneauHotSpots = new Pane(); panneauHotSpots.setTranslateY(10); panneauHotSpots.setTranslateX(30); VBox vb1 = new VBox(5); panneauHotSpots.getChildren().add(vb1); Label lblPoint; Label sep = new Label(" "); Label sep1 = new Label(" "); int o; for (o = 0; o < panoramiquesProjet[numPano].getNombreHotspots(); o++) { VBox vbPanneauHS = new VBox(); double deplacement = 20; vbPanneauHS.setLayoutX(deplacement); Pane pannneauHS = new Pane(vbPanneauHS); pannneauHS.setStyle("-fx-border-color : #777777;-fx-border-width : 1px;-fx-border-radius : 3;"); panneauHotSpots.setId("HS" + o); lblPoint = new Label("Point n" + (o + 1)); lblPoint.setPadding(new Insets(5, 10, 5, 5)); lblPoint.setTranslateX(-deplacement); lblPoint.setStyle("-fx-background-color : #333;"); lblPoint.setTextFill(Color.WHITE); Separator sp = new Separator(Orientation.HORIZONTAL); sp.setTranslateX(-deplacement); sp.setPrefWidth(300); pannneauHS.setPrefWidth(300); pannneauHS.setTranslateX(5); vbPanneauHS.getChildren().addAll(lblPoint, sp); if (lstPano != null) { Label lblLien = new Label("Panoramique de destination"); ComboBox cbDestPano = new ComboBox(); String[] liste = lstPano.split(";"); cbDestPano.getItems().addAll(Arrays.asList(liste)); cbDestPano.valueProperty().addListener(new ChangeListener<String>() { @Override public void changed(ObservableValue ov, String t, String t1) { valideHS(); } }); cbDestPano.setTranslateX(60); cbDestPano.setId("cbpano" + o); String f1XML = panoramiquesProjet[numPano].getHotspot(o).getFichierXML(); if (f1XML != null) { cbDestPano.setValue(f1XML.split("\\.")[0]); } int num = cbDestPano.getSelectionModel().getSelectedIndex(); vbPanneauHS.getChildren().addAll(lblLien, cbDestPano, sep); } Label lblTexteHS = new Label("Texte du Hotspot"); TextArea txtTexteHS = new TextArea(); if (panoramiquesProjet[numPano].getHotspot(o).getInfo() != null) { txtTexteHS.setText(panoramiquesProjet[numPano].getHotspot(o).getInfo()); } txtTexteHS.textProperty().addListener((final ObservableValue<? extends String> observable, final String oldValue, final String newValue) -> { valideHS(); }); txtTexteHS.setId("txtHS" + o); txtTexteHS.setPrefSize(200, 25); txtTexteHS.setMaxSize(200, 20); txtTexteHS.setTranslateX(60); CheckBox cbAnime = new CheckBox("HostSpot Anim"); cbAnime.setId("anime" + o); cbAnime.selectedProperty().addListener((final ObservableValue<? extends Boolean> observable, final Boolean oldValue, final Boolean newValue) -> { valideHS(); }); if (panoramiquesProjet[numPano].getHotspot(o).isAnime()) { cbAnime.setSelected(true); } cbAnime.setPadding(new Insets(5)); cbAnime.setTranslateX(60); vbPanneauHS.getChildren().addAll(lblTexteHS, txtTexteHS, cbAnime, sep1); vb1.getChildren().addAll(pannneauHS, sep); } int nbHS = o; for (o = 0; o < panoramiquesProjet[numPano].getNombreHotspotImage(); o++) { VBox vbPanneauHS = new VBox(); Pane pannneauHS = new Pane(vbPanneauHS); pannneauHS.setStyle("-fx-border-color : #777777;-fx-border-width : 1px;-fx-border-radius : 3;"); panneauHotSpots.setId("HSImg" + o); lblPoint = new Label("Image n" + (o + 1)); lblPoint.setPadding(new Insets(5, 10, 5, 5)); lblPoint.setStyle("-fx-background-color : #666;"); lblPoint.setTextFill(Color.WHITE); Separator sp = new Separator(Orientation.HORIZONTAL); sp.setPrefWidth(300); pannneauHS.setPrefWidth(300); pannneauHS.setTranslateX(5); vbPanneauHS.getChildren().addAll(lblPoint, sp); Label lblLien = new Label("Image choisie :"); String f1XML = panoramiquesProjet[numPano].getHotspotImage(o).getLienImg(); ImageView IMChoisie = new ImageView( new Image("file:" + repertTemp + File.separator + "images" + File.separator + f1XML, 100, -1, true, true)); IMChoisie.setTranslateX(100); vbPanneauHS.getChildren().addAll(lblLien, IMChoisie, sep); Label lblTexteHS = new Label("Texte du Hotspot"); TextArea txtTexteHS = new TextArea(); if (panoramiquesProjet[numPano].getHotspotImage(o).getInfo() != null) { txtTexteHS.setText(panoramiquesProjet[numPano].getHotspotImage(o).getInfo()); } txtTexteHS.textProperty().addListener((final ObservableValue<? extends String> observable, final String oldValue, final String newValue) -> { valideHS(); }); txtTexteHS.setId("txtHSImage" + o); txtTexteHS.setPrefSize(200, 25); txtTexteHS.setMaxSize(200, 20); txtTexteHS.setTranslateX(60); CheckBox cbAnime = new CheckBox("HostSpot Anim"); cbAnime.setId("animeImage" + o); cbAnime.selectedProperty().addListener((final ObservableValue<? extends Boolean> observable, final Boolean oldValue, final Boolean newValue) -> { valideHS(); }); if (panoramiquesProjet[numPano].getHotspotImage(o).isAnime()) { cbAnime.setSelected(true); } cbAnime.setPadding(new Insets(5)); cbAnime.setTranslateX(60); vbPanneauHS.getChildren().addAll(lblTexteHS, txtTexteHS, cbAnime, sep1); vb1.getChildren().addAll(pannneauHS, sep); } valideHS(); nbHS += o; // if (nbHS == 0) { // } else { // btnValider.setVisible(true); // } return panneauHotSpots; }
From source file:fr.amap.lidar.amapvox.gui.MainFrameController.java
private void editVoxelSpace(final File voxelFile) { if (editingFrameOpened) { return;//from w ww.j a va2s. c o m } editingFrameOpened = true; voxelsToRemove.clear(); final String attributeToView = "PadBVTotal"; //window size ObservableList<Screen> screens = Screen.getScreens(); if (screens != null && screens.size() > 0) { SCREEN_WIDTH = screens.get(0).getBounds().getWidth(); SCREEN_HEIGHT = screens.get(0).getBounds().getHeight(); } try { Service s = new Service() { @Override protected Task createTask() { return new Task() { @Override protected Object call() throws Exception { SimpleViewer viewer3D = new SimpleViewer((int) (SCREEN_WIDTH / 4.0d), (int) (SCREEN_HEIGHT / 4.0d), (int) (SCREEN_WIDTH / 1.5d), (int) (SCREEN_HEIGHT / 2.0d), voxelFile.toString()); fr.amap.viewer3d.object.scene.Scene scene = viewer3D.getScene(); /** * *VOXEL SPACE** */ updateMessage("Loading voxel space: " + voxelFile.getAbsolutePath()); final VoxelSpaceSceneObject voxelSpace = new VoxelSpaceSceneObject(voxelFile); voxelSpace.setMousePickable(true); voxelSpace.addVoxelSpaceListener(new VoxelSpaceAdapter() { @Override public void voxelSpaceCreationProgress(int progress) { updateProgress(progress, 100); } }); voxelSpace.loadVoxels(); float voxelResolution = voxelSpace.data.getVoxelSpaceInfos().getResolution(); VoxelFileReader reader = new VoxelFileReader(voxelFile); VoxelSpaceInfos infos = reader.getVoxelSpaceInfos(); final SceneObject boundingBox = new SimpleSceneObject(); boundingBox.setMesh(GLMeshFactory.createBoundingBox((float) infos.getMinCorner().x, (float) infos.getMinCorner().y, (float) infos.getMinCorner().z, (float) infos.getMaxCorner().x, (float) infos.getMaxCorner().y, (float) infos.getMaxCorner().z)); SimpleShader s = new SimpleShader(); s.setColor(new Vec3F(1, 0, 0)); boundingBox.setShader(s); boundingBox.setDrawType(GLMesh.DrawType.LINES); scene.addSceneObject(boundingBox); /* * Voxel information */ StringToImage stringToImage = new StringToImage(1024, 1024); stringToImage.setAdaptableFontSize(true); stringToImage.setBackgroundColor(new Color(255, 255, 255, 127)); stringToImage.setTextColor(new Color(0, 0, 0, 255)); BufferedImage image = new BufferedImage(1024, 1024, BufferedImage.TYPE_INT_ARGB); Texture texture = new Texture(image); int pickingInfoObjectWidth = viewer3D.getWidth() / 5; int pickingInfoObjectHeight = viewer3D.getHeight() / 5; SceneObject pickingInfoObject = SceneObjectFactory.createTexturedPlane( new Vec3F(viewer3D.getWidth() - pickingInfoObjectWidth, viewer3D.getHeight() - pickingInfoObjectHeight, 0), pickingInfoObjectWidth, pickingInfoObjectHeight, texture); pickingInfoObject.setShader(new TextureShader()); pickingInfoObject.setDrawType(GLMesh.DrawType.TRIANGLES); SceneObject sceneObjectSelectedVox = new SimpleSceneObject( GLMeshFactory.createBoundingBox(-voxelResolution / 2.0f, -voxelResolution / 2.0f, -voxelResolution / 2.0f, voxelResolution / 2.0f, voxelResolution / 2.0f, voxelResolution / 2.0f), false); SimpleShader simpleShader = new SimpleShader(); simpleShader.setColor(new Vec3F(1, 0, 0)); sceneObjectSelectedVox.setVisible(false); sceneObjectSelectedVox.setShader(simpleShader); sceneObjectSelectedVox.setDrawType(GLMesh.DrawType.LINES); viewer3D.getScene().addSceneObject(sceneObjectSelectedVox); final SimpleObjectProperty<VoxelObject> selectedVoxel = new SimpleObjectProperty<>(); SceneObjectListener listener = new SceneObjectListener() { @Override public void clicked(SceneObject sceneObject, MousePicker mousePicker, Point3D intersection) { Vec3F camLocation = viewer3D.getScene().getCamera().getLocation(); selectedVoxel.set(voxelSpace.doPicking(mousePicker)); if (selectedVoxel.get() != null) { String[][] lines = new String[voxelSpace.getColumnsNames().length][2]; for (int i = 0; i < voxelSpace.getColumnsNames().length; i++) { lines[i][0] = voxelSpace.getColumnsNames()[i]; float attribut = selectedVoxel.get().getAttributs()[i]; if (Float.isNaN(attribut)) { lines[i][1] = "NaN"; } else { lines[i][1] = String .valueOf(Math.round(attribut * 1000.0f) / 1000.0f); } } arrangeText(lines); String text = ""; for (int i = 0; i < voxelSpace.getColumnsNames().length; i++) { String attribut = lines[i][0] + " " + lines[i][1]; text += attribut + "\n"; } stringToImage.setText(text, 0, 0); texture.setBufferedImage(stringToImage.buildImage()); Point3f voxelPosition = voxelSpace.getVoxelPosition(selectedVoxel.get().$i, selectedVoxel.get().$j, selectedVoxel.get().$k); sceneObjectSelectedVox.setPosition( new Point3F(voxelPosition.x, voxelPosition.y, voxelPosition.z)); sceneObjectSelectedVox.setVisible(true); pickingInfoObject.setVisible(true); } else { sceneObjectSelectedVox.setVisible(false); pickingInfoObject.setVisible(false); } } }; final SimpleIntegerProperty currentZCropIndex = new SimpleIntegerProperty(0); viewer3D.addEventListener(new EventManager(null, new InputKeyListener()) { @Override public void updateEvents() { if (this.keyboard.isKeyClicked(KeyEvent.VK_DELETE)) { if (selectedVoxel.get() != null) { selectedVoxel.get().setAlpha(0); selectedVoxel.get().isHidden = true; voxelSpace.updateVao(); sceneObjectSelectedVox.setVisible(false); pickingInfoObject.setVisible(false); voxelsToRemove.add(new Point3i(selectedVoxel.get().$i, selectedVoxel.get().$j, selectedVoxel.get().$k)); } } } }); voxelSpace.addSceneObjectListener(listener); voxelSpace.changeCurrentAttribut(attributeToView); voxelSpace.setShader(new InstanceLightedShader()); voxelSpace.setDrawType(GLMesh.DrawType.TRIANGLES); scene.addSceneObject(voxelSpace); scene.addSceneObjectAsHud(pickingInfoObject); /** * *scale** */ updateMessage("Generating scale"); final Texture scaleTexture = new Texture(ScaleGradient.createColorScaleBufferedImage( voxelSpace.getGradient(), voxelSpace.getAttributValueMin(), voxelSpace.getAttributValueMax(), viewer3D.getWidth() - 80, (int) (viewer3D.getHeight() / 20), ScaleGradient.Orientation.HORIZONTAL, 5, 8)); SceneObject scalePlane = SceneObjectFactory.createTexturedPlane(new Vec3F(40, 20, 0), (int) (viewer3D.getWidth() - 80), (int) (viewer3D.getHeight() / 20), scaleTexture); scalePlane.setShader(new TextureShader()); scalePlane.setDrawType(GLMesh.DrawType.TRIANGLES); scene.addSceneObjectAsHud(scalePlane); voxelSpace.addPropertyChangeListener("gradientUpdated", new PropertyChangeListener() { @Override public void propertyChange(PropertyChangeEvent evt) { BufferedImage image = ScaleGradient.createColorScaleBufferedImage( voxelSpace.getGradient(), voxelSpace.getAttributValueMin(), voxelSpace.getAttributValueMax(), viewer3D.getWidth() - 80, (int) (viewer3D.getHeight() / 20), ScaleGradient.Orientation.HORIZONTAL, 5, 8); scaleTexture.setBufferedImage(image); } }); /** * *light** */ scene.setLightPosition( new Point3F(voxelSpace.getGravityCenter().x, voxelSpace.getGravityCenter().y, voxelSpace.getGravityCenter().z + voxelSpace.widthZ + 100)); /** * *camera** */ TrackballCamera trackballCamera = new TrackballCamera(); trackballCamera.setPivot(voxelSpace); trackballCamera .setLocation(new Vec3F(voxelSpace.getGravityCenter().x + voxelSpace.widthX, voxelSpace.getGravityCenter().y + voxelSpace.widthY, voxelSpace.getGravityCenter().z + voxelSpace.widthZ)); viewer3D.getScene().setCamera(trackballCamera); Platform.runLater(new Runnable() { @Override public void run() { final Stage toolBarFrameStage = new Stage(); final FXMLLoader loader = new FXMLLoader( getClass().getResource("/fxml/ToolBoxFrame.fxml")); try { stage.setAlwaysOnTop(false); Parent root = loader.load(); toolBarFrameStage.setScene(new Scene(root)); toolBarFrameStage.initStyle(StageStyle.UNDECORATED); toolBarFrameStage.setAlwaysOnTop(true); ToolBoxFrameController toolBarFrameController = loader.getController(); toolBarFrameController.setStage(toolBarFrameStage); toolBarFrameStage.setX(viewer3D.getPosition().getX()); toolBarFrameStage.setY(viewer3D.getPosition().getY()); toolBarFrameController.setJoglListener(viewer3D.getJoglContext()); toolBarFrameController.setAttributes(attributeToView, voxelSpace.data.getVoxelSpaceInfos().getColumnNames()); toolBarFrameStage.focusedProperty() .addListener(new ChangeListener<Boolean>() { @Override public void changed( ObservableValue<? extends Boolean> observable, Boolean oldValue, Boolean newValue) { if (newValue) { toolBarFrameStage.setAlwaysOnTop(true); toolBarFrameStage.setX(viewer3D.getPosition().getX()); toolBarFrameStage.setY(viewer3D.getPosition().getY()); } else if (!viewer3D.isFocused()) { toolBarFrameStage.setAlwaysOnTop(false); } } }); toolBarFrameController.initContent(voxelSpace); toolBarFrameStage.setAlwaysOnTop(true); toolBarFrameStage.show(); double maxToolBoxHeight = toolBarFrameStage.getHeight(); viewer3D.getJoglContext().setStartX((int) toolBarFrameStage.getWidth()); viewer3D.getRenderFrame().addWindowListener(new WindowAdapter() { @Override public void windowResized(com.jogamp.newt.event.WindowEvent we) { Window window = (Window) we.getSource(); final double height = window.getHeight(); Platform.runLater(new Runnable() { @Override public void run() { if (height < maxToolBoxHeight) { toolBarFrameStage.setHeight(height); } else { toolBarFrameStage.setHeight(maxToolBoxHeight); } toolBarFrameStage.setX(viewer3D.getPosition().getX()); toolBarFrameStage.setY(viewer3D.getPosition().getY()); } }); } @Override public void windowMoved(com.jogamp.newt.event.WindowEvent we) { Platform.runLater(new Runnable() { @Override public void run() { toolBarFrameStage.setX(viewer3D.getPosition().getX()); toolBarFrameStage.setY(viewer3D.getPosition().getY()); } }); } @Override public void windowDestroyed(com.jogamp.newt.event.WindowEvent we) { Platform.runLater(new Runnable() { @Override public void run() { toolBarFrameStage.close(); if (fcSaveVoxelFileForAreaExtracting == null) { fcSaveVoxelFileForAreaExtracting = new FileChooserContext(); if (fcOpenVoxelFileForAreaExtracting != null) { fcSaveVoxelFileForAreaExtracting.fc .setInitialDirectory( fcOpenVoxelFileForAreaExtracting.lastSelectedFile .getParentFile()); } } File selectedFile = fcSaveVoxelFileForAreaExtracting .showSaveDialog(stage); if (selectedFile != null) { VoxelFileReader reader; BufferedWriter writer = null; try { reader = new VoxelFileReader(voxelFile, true); VoxelSpaceInfos infos = reader.getVoxelSpaceInfos(); writer = new BufferedWriter( new FileWriter(selectedFile)); writer.write(infos.toString() + "\n"); Iterator<Voxel> iterator = reader.iterator(); while (iterator.hasNext()) { Voxel voxel = iterator.next(); if (voxelsToRemove.contains(new Point3i( voxel.$i, voxel.$j, voxel.$k))) { voxel.PadBVTotal = 0; voxel.nbEchos = 0; voxel.transmittance = 1; voxel.bvIntercepted = 0; } writer.write(voxel + "\n"); } writer.close(); addFileToProductsList(selectedFile); } catch (Exception ex) { showErrorDialog(ex); } finally { try { if (writer != null) { writer.close(); } } catch (IOException ex) { showErrorDialog(ex); } } } editingFrameOpened = false; } }); } @Override public void windowGainedFocus(com.jogamp.newt.event.WindowEvent we) { viewer3D.setIsFocused(true); Platform.runLater(new Runnable() { @Override public void run() { if (!toolBarFrameStage.isShowing()) { toolBarFrameStage.toFront(); } toolBarFrameStage.setIconified(false); toolBarFrameStage.setAlwaysOnTop(true); toolBarFrameStage.setX(viewer3D.getPosition().getX()); toolBarFrameStage.setY(viewer3D.getPosition().getY()); } }); } @Override public void windowLostFocus(com.jogamp.newt.event.WindowEvent e) { viewer3D.setIsFocused(false); Platform.runLater(new Runnable() { @Override public void run() { if (!toolBarFrameStage.focusedProperty().get()) { toolBarFrameStage.setIconified(true); toolBarFrameStage.setAlwaysOnTop(false); } } }); } }); viewer3D.show(); toolBarFrameStage.setAlwaysOnTop(true); } catch (IOException e) { showErrorDialog(new Exception("Loading ToolBarFrame.fxml failed", e)); } catch (Exception e) { showErrorDialog(new Exception("Error occured during toolbar init", e)); } } }); return null; } }; } }; ProgressDialog d = new ProgressDialog(s); d.show(); s.start(); } catch (Exception ex) { showErrorDialog(new Exception("Cannot launch 3d view", ex)); } }