Package org.jitterbit.ui.selection

Examples of org.jitterbit.ui.selection.SelectionListener


            @Override
            public void actionPerformed(ActionEvent e) {
                fireActionEvent();
            }
        });
        list.addSelectionListener(new SelectionListener() {

            @Override
            public void selectionChanged(SelectionChangedEvent evt) {
                fireInputChanged();
            }
View Full Code Here


    }

    private SourceAndTargetCombos createSourceAndTargetSelector() {
        final SourceAndTargetCombos selector = new SourceAndTargetCombos(operationPage,
                        TransformationOperationType.TYPE, true);
        selector.addSourceSelectionListener(new SelectionListener() {

            @Override
            public void selectionChanged(SelectionChangedEvent evt) {
                model.setSource(selector.getSelectedSource());
            }
        });
        model.addPropertyChangeListener(new PropertyChangeListener() {

            @Override
            public void propertyChange(PropertyChangeEvent evt) {
                String name = evt.getPropertyName();
                if (name.equals(TransformationChainModel.SOURCE)) {
                    selector.setSelectedSource((Source) evt.getNewValue());
                } else if (name.equals(TransformationChainModel.TARGET)) {
                    selector.setSelectedTarget((Target) evt.getNewValue());
                } else if (name.equals(TransformationChainModel.TARGET_FILTER)) {
                    selector.setTargetFilter((EntityFilter) evt.getNewValue());
                }
            }
        });
        selector.addTargetSelectionListener(new SelectionListener() {

            @Override
            public void selectionChanged(SelectionChangedEvent evt) {
                model.setTarget(selector.getSelectedTarget());
            }
View Full Code Here

    private EntitySelectionControl createTransformationSelector() {
        final EntitySelectionControl selector = new EntitySelectionControl(operationPage, EntityType.Transformation,
                        null, PackageResources.Transformation.LABEL, true);
        selector.setToolTip(PackageResources.Transformation.TOOLTIP);
        selector.asSelectionSource().addSelectionListener(new SelectionListener() {

            @Override
            public void selectionChanged(SelectionChangedEvent evt) {
                model.setTransformation((Transformation) selector.getSelectedEntity());
            }
View Full Code Here

            @Override
            public void windowOpened(WindowEvent e) {
                selector.createStructures(tx, st);
            }
        });
        selector.addSelectionListener(new SelectionListener() {

            @Override
            public void selectionChanged(SelectionChangedEvent evt) {
                updateOkButton(selector, dlg);
            }
View Full Code Here

    }

    private EntitySelectionControl createSourceSelector(OperationType opType, boolean isCompoundEditRoot) {
        EntitySelectionControl c = new EntitySelectionControl(operationPage, EntityType.Source,
                opType.getSourceFilter(), Strings.get("Page.Label.Source"), isCompoundEditRoot);
        c.asSelectionSource().addSelectionListener(new SelectionListener() {

            @Override
            public void selectionChanged(SelectionChangedEvent evt) {
                notifySourceListeners();
            }
View Full Code Here

    }

    @Override
    public void addToWindow(ApplicationWindow window) {
        super.addToWindow(window);
        displayer.addSelectionListener(new SelectionListener() {

            @Override
            public void selectionChanged(SelectionChangedEvent evt) {
                fireActiveObjectChange();
            }
View Full Code Here

    private final CheckBoxInputField policyChoice;

    public SchedulePanel(OperationWrapper op, IntegrationProject project) {
        scheduleSelector = new IntegrationEntityComboBox(project, EntityType.Schedule, null, true);
        scheduleSelector.addSelectionListener(new SelectionListener() {

            @Override
            public void selectionChanged(SelectionChangedEvent evt) {
                updatePolicyChoiceEnabledState();
            }
View Full Code Here

        return c;
    }

    private OperationLogDisplayer createDisplayer() {
        OperationLogDisplayer d = new OperationLogDisplayer(model, filterDescription, LogTableColumnsPreference.selectedColumns());
        d.setSelectionListener(new SelectionListener() {

            @Override
            public void selectionChanged(SelectionChangedEvent evt) {
                showLogDetails();
            }
View Full Code Here

    }
   
    private RelativePositionSelector createSelector() {
        RelativePositionSelector selector = new RelativePositionSelector(EnumSet.allOf(RelativePosition.class),
                        EnumSet.noneOf(RelativePosition.class));
        selector.addSelectionListener(new SelectionListener() {

            @Override
            public void selectionChanged(SelectionChangedEvent evt) {
                printSelection();
            }
View Full Code Here

        table.setCellRendererFor(Model.NAME, new IntegrationEntityTableCellRenderer());
        DateRenderer dateRenderer = new DateRenderer();
        table.setCellRendererFor(Model.CREATED, dateRenderer);
        table.setCellRendererFor(Model.MODIFIED, dateRenderer);
        KongaRowTable rowTable = new KongaRowTable(table);
        rowTable.addSelectionListener(new SelectionListener() {

            @Override
            public void selectionChanged(SelectionChangedEvent evt) {
                IntegrationEntity entity = getSelectedEntity();
                publishPath(ResultTable.this, entity);
View Full Code Here

TOP

Related Classes of org.jitterbit.ui.selection.SelectionListener

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.