Package org.jitterbit.integration.data.structure.text

Examples of org.jitterbit.integration.data.structure.text.TextStructureType


        return structureType;
    }

    public void setTextStructureType(TextStructureType type) {
        checkNotNull(type, "type");
        TextStructureType old = structureType;
        structureType = type;
        changeSupport.firePropertyChange(STRUCTURE_TYPE_PROPERTY, old, type);
    }
View Full Code Here


        complexOption.addActionListener(lst);
        ButtonUtils.makeMutuallyExclusive(flatOption, complexOption);
    }

    private void updateModelStructureType() {
        TextStructureType type = flatOption.isSelected() ? TextStructureType.SIMPLE : TextStructureType.COMPLEX;
        model.setTextStructureType(type);
    }
View Full Code Here

        }
    }

    private TextDocumentDefiner getNextDefiner() {
        TextDocument document = getDisplayedObject();
        TextStructureType structureType = model.getStructureType();
        boolean fixed = model.getSegmentType() == SegmentType.FIXED_FIELD;
        return structureType == TextStructureType.SIMPLE ? new SimpleTextPanel(document, fixed) :
            new ComplexTextPanel(document, fixed);
    }
View Full Code Here

                boolean validName = getNameField().isFieldValid();
                createManuallyAction.setEnabled(validName);
                createFromFileAction.setEnabled(validName);
            }
            if (property.equals(NewTextDocumentModel.STRUCTURE_TYPE_PROPERTY)) {
                TextStructureType type = (TextStructureType) evt.getNewValue();
                createFromFileAction.setEnabled(type == TextStructureType.SIMPLE);
            }
        }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.data.structure.text.TextStructureType

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.