Package wecui.event

Examples of wecui.event.CUIEvent


        String type = split[0];
        String args = event.getMessage().substring(type.length() + 1);

        this.controller.getDebugger().debug("Received CUI event from server: " + event.getMessage());

        CUIEvent cuievent = new CUIEvent(this.controller, type, args.split("[|]"));
        this.controller.getEventManager().callEvent(cuievent);

        if (!cuievent.isHandled()) {
            cuievent.markInvalid("Invalid message type. Update WorldEditCUI to the latest version.");
        }
    }
View Full Code Here


    }

    @Override
    public void handleCUIEvent(String type, String params[]) {
        if (controller != null) {
            controller.getEventManager().callEvent(new CUIEvent(controller, type, params));
        }
    }
View Full Code Here

TOP

Related Classes of wecui.event.CUIEvent

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.