Package org.jitterbit.integration.client.ui.entity

Examples of org.jitterbit.integration.client.ui.entity.EntityTypeMnemonics$AdjustedString


        previousSelection = currentSelection;
        selectionListeners.call().selectionChanged(e);
    }
   
    public void applyMnemonics() {
        EntityTypeMnemonics mnemonics = new EntityTypeMnemonics(checks.keySet(), 'C');
        for (Map.Entry<EntityType, CheckBoxCapsule> e : checks.entrySet()) {
            MnemonicString text = mnemonics.getMnemonicString(e.getKey());
            e.getValue().setText(text);
        }
    }
View Full Code Here


            // Use separate sets of mnemonics for the wizard-types and non-wizard types.
            // We can do this because those items will never show up together in the same
            // menu - the wizard types are added to a Connect-submenu. This results in
            // a more natural assignment of mnemonics within each group.
            // For the non-wizard items we reserve 'C' for "Connect".
            EntityTypeMnemonics normalItemsMnemonics = new EntityTypeMnemonics(nonWizardTypes(), 'C');
            EntityTypeMnemonics wizardItemsMnemonics = new EntityTypeMnemonics(wizardTypes());
            for (EntityType type : types()) {
                EntityIcons icons = EntityIcons.forType(type);
                String actionID = InterchangeActionFactory.getNewEntityFactory(type).getId();
                EntityTypeMnemonics mnemonics = type.isWizardType() ? wizardItemsMnemonics : normalItemsMnemonics;
                names.put(actionID, new NewEntityActionName(type, mnemonics));
                smallIcons.put(actionID, icons.getIcon(Category.VALID, Size.SMALL));
                mediumIcons.put(actionID, icons.getIcon(Category.VALID, Size.MEDIUM));
                largeIcons.put(actionID, icons.getIcon(Category.VALID, Size.LARGE));
            }
View Full Code Here

TOP

Related Classes of org.jitterbit.integration.client.ui.entity.EntityTypeMnemonics$AdjustedString

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.