Package org.criticalfailure.torchlight.core.model.ui

Examples of org.criticalfailure.torchlight.core.model.ui.IObjectCategoryUI


    public void runWithEvent(Event event) {
        logger.debug("running create campaign section action: " + event);

        try {
            // ask user for section name and type of objects
            IObjectCategoryUI ui = (IObjectCategoryUI)ServiceUtils.getService(bundleContext, IObjectCategoryUI.class.getName());
            logger.trace("helper: " + ui);

            logger.debug("setting up");
            ui.setup(PlatformUI.getWorkbench().getActiveWorkbenchWindow());

            ObjectCategory oc = ui.run();
            logger.trace("oc: " + oc);

            if(oc != null) {
                logger.debug("adding section to campaign");
                campaign.addSection(oc);
View Full Code Here

TOP

Related Classes of org.criticalfailure.torchlight.core.model.ui.IObjectCategoryUI

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.