Examples of Modes


Examples of de.netsysit.policymanager.Enums.Modes

        if (activeLevel != PolicyLevel.NONE) {
            policyAlgorithmCombo.setModel(dbModel.getAlgorithmModel(activeLevel));
            if(currentPolicy.getAction() != null) {
                policyAlgorithmCombo.setSelectedItem(currentPolicy.getAction().getAlgorithm());

                Modes mode = currentPolicy.getAction().getMode();
                policyModeCombo.setSelectedItem(mode);
            }
        }

        policyUseTokenCheck.setSelected(currentPolicy.isUseToken());
View Full Code Here

Examples of mage.abilities.Modes

                    }
                }
            }
            // show for modal spell, which mode was choosen
            if (spell.getSpellAbility().isModal()) {
                Modes modes = spell.getSpellAbility().getModes();
                for(UUID modeId : modes.getSelectedModes()) {
                    modes.setMode(modes.get(modeId));
                    this.rules.add("<span color='green'><i>Chosen mode: " + spell.getSpellAbility().getEffects().getText(modes.get(modeId))+"</i></span>");
                }
            }
        }      
    }
View Full Code Here

Examples of mage.abilities.Modes

        if (!names.isEmpty()) {
            getRules().add("<i>Targets: " + names.toString() + "</i>");
        }
        // show for modal ability, which mode was choosen
        if (ability.isModal()) {
            Modes modes = ability.getModes();
            for(UUID modeId : modes.getSelectedModes()) {
                modes.setMode(modes.get(modeId));
                this.rules.add("<span color='green'><i>Chosen mode: " + ability.getEffects().getText(modes.get(modeId))+"</i></span>");
            }
        }
    }
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.