Package org.jitterbit.integration.debug.client.de

Examples of org.jitterbit.integration.debug.client.de.DataElement


            public boolean isCellEditable(int row, int column) {
                TableColumnMetaData md = tableModel.getColumnDescriptor(column);
                if (md == DataElementTableModel.NAME) {
                    return false;
                }
                DataElement de = tableModel.getRowObjectAt(row);
                return de.getScope() == DataElementScope.GLOBAL || sourceDataElementValuesEditable;
            }
        };
        table.setAutoCreateRowSorter(true);
        TableStyles.wide().makeOver(table);
        table.setShowVerticalLines(true);
View Full Code Here


    private void ensureDataElementValueIsNotNull(int row) {
        String deValue = (String) getValueAt(row, VALUE);
        if (deValue == null) {
            deValue = "";
        }
        DataElement de = getRowObjectAt(row);
        de.setValue(deValue);
    }
View Full Code Here

            globalDataElementStore.updateReferences(source, deRefs);
        }

        private void updateScriptModelWithGlobalDataElements(Set<DataElementReference> deRefs) {
            for (DataElementReference r : deRefs) {
                DataElement de = dataElementFactory.create(r.getDataElement(), DataElementScope.GLOBAL);
                if (de != null) {
                    dataElements.add(de);
                }
            }
        }
View Full Code Here

        private void processSourceDataElements(Result result) {
            Set<String> local = result.getSourceDataElements();
            if (local != null) {
                for (String name : local) {
                    DataElement de = dataElementFactory.create(name, DataElementScope.SOURCE);
                    if (de != null) {
                        dataElements.add(de);
                    }
                }
            }
View Full Code Here

    @Override
    public Component getTableCellRendererComponent(JTable table, Object value, boolean isSelected, boolean hasFocus,
                    int row, int column) {
        super.getTableCellRendererComponent(table, value, isSelected, hasFocus, row, column);
        DataElement de = ((DataElementTableModel) table.getModel()).getRowObjectAt(row);
        setIcon(DataElementIcons.getIcon(de));
        return this;
    }
View Full Code Here

        DataElementScope scope = DataElementScope.SOURCE;
        if (token.startsWith("$")) {
            name = StringUtils.removeStart(token, "$");
            scope = DataElementScope.GLOBAL;
        }
        DataElement de = lookupDataElement(name, scope);
        if (de == null) {
            return null;
        }
        JComponent displayer = createDataElementValueDisplayer(de);
        PopupWindow w = createPopupWindow(displayer, evt);
View Full Code Here

      value = ClientServerCommunicationUtils.decodeString(encodedValue);
    }
    String typeName = wsDataElement.getType();
    DataElementScope scope = wsDataElement.getScope() != null ? DataElementScope.valueOf(wsDataElement.getScope().toUpperCase()) :
        DataElementScope.GLOBAL;
    DataElement de = new DataElement(decodedName, scope, typeName, arrValues);
    de.setValue(value);
    return de;
  }
View Full Code Here

  public DataElement build() {
        if (node == null) {
            return null;
        }
        String value = kit.getDEValue(baseName);
        DataElement de = new DataElement(baseName, DataElementScope.SOURCE, dataTypeStr);
        de.setValue(value != null ? value : "");
        de.setDisplayName(createName());
        return de;
    }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.debug.client.de.DataElement

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