Examples of IntegrationEntity


Examples of org.jitterbit.integration.data.entity.IntegrationEntity

        }
        return super.getValidationDecoratedIcon();
    }

    private boolean isValid() {
        IntegrationEntity entity = getUserObject();
        return entity.getValidationStatus() == ValidationStatus.VALID;
    }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.IntegrationEntity

        return selector;
    }

    private Set<? extends IntegrationEntity> getItemsToDisplay() {
        Set<? extends IntegrationEntity> items = cascade.getAllItems();
        IntegrationEntity startPoint = getStartPoint();
        for (Iterator<? extends IntegrationEntity> it = items.iterator(); it.hasNext(); ) {
            IntegrationEntity item = it.next();
            if (item == startPoint || item instanceof BuiltInIntegrationEntity) {
                it.remove();
            }
        }
        return items;
View Full Code Here

Examples of org.jitterbit.integration.data.entity.IntegrationEntity

     *
     * @param entity
     *            the entity, or <code>null</code> to clear the page.
     */
    public boolean setAccessedEntity(IntegrationEntity entity) {
        IntegrationEntity old;
        synchronized (lock) {
            if (!checkAllowAccessedEntity(entity)) {
                return false;
            }
            if (entity == null) {
View Full Code Here

Examples of org.jitterbit.integration.data.entity.IntegrationEntity

        permissionsPanel.setActive(hasSelection);
        buttons.setActive(hasSelection);
    }

    private IntegrationEntity unregisterOldEntity() {
        IntegrationEntity old = displayedEntity;
        if (old != null) {
            old.removePropertyChangeListener(IntegrationEntity.PROPERTY_NAME, entityListener);
            old.removePropertyChangeListener(IntegrationEntity.PROPERTY_DELETED, entityListener);
        }
        return old;
    }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.IntegrationEntity

    private class TreeRenderer extends IntegrationEntityTreeRenderer {

        @Override
        protected Icon getIcon(IntegrationEntityTreeNode node) {
            IntegrationEntity entity = node.getUserObject();
            ValidationStatus status = model.getStatus(entity, true);
            Category category = Category.fromValidationStatus(status);
            return EntityIcons.forType(entity.getEntityType()).getIcon(category, Size.SMALL);
        }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.IntegrationEntity

            super(IntegrationEntity.class, ApplicationResources.STRINGS.getString("Edit.Mnemonic"));
        }

        public void setPageDisplayer(EntityPageDisplayer p) {
            this.pageDisplayer = p;
            IntegrationEntity selected = getSelectedEntity();
            setEnabled(selected != null && isEnabledFor(selected));
        }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.IntegrationEntity

*/
abstract class ConsoleLabelBuilder {

    public static ConsoleLabelBuilder getBuilder(BreakLocation loc, IntegrationEntityLookup debuggeeLookup) {
        if (loc != null) {
            IntegrationEntity item = debuggeeLookup.getEntity(loc.getIntegrationEntityId());
            if (item != null) {
                int lineNumber = loc.getLineNumber();
                if (lineNumber >= 0) {
                    return StringUtils.isNotEmpty(loc.getTargetNodePath())
                                    ? new MappingLineBreakpointLabelBuilder(loc, item)
View Full Code Here

Examples of org.jitterbit.integration.data.entity.IntegrationEntity

                    }
                }
            }

            private void decorateWithSessionInfo(DebugSession session) {
                IntegrationEntity debuggee = itemLookup.getEntity(session.getDebugeeId());
                if (debuggee != null) {
                    setDebuggee(debuggee);
                    switch (session.getState()) {
                    case PAUSED:
                        writePausedInfo(session);
View Full Code Here

Examples of org.jitterbit.integration.data.entity.IntegrationEntity

        @Override
        public void replaced(List<IntegrationEntity> chunks) {
            int size = chunks.size();
            if (size > 0) {
                IntegrationEntity last = chunks.get(size - 1);
                String path = new EntityPath(last, false).toString();
                if (path.length() > 50) {
                    int start = path.length() - 50;
                    path = "..." + path.substring(start);
                }
View Full Code Here

Examples of org.jitterbit.integration.data.entity.IntegrationEntity

*/
public final class ActivityUtilsJUnitTest {

    @Test
    public void ensureIsValidTypeWorksForItems() {
        IntegrationEntity operation = new Operation("Test");
        assertTrue(isValidType(operation));
        IntegrationEntity schedule = new Schedule("Test");
        assertFalse(isValidType(schedule));
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.