Package fr.soleil.salsa.client.entity.event

Examples of fr.soleil.salsa.client.entity.event.HookModel


     */
    private void enableListening(IHook ih, boolean listen) {
        if (ih == null) {
            return;
        }
        HookModel hm = (HookModel) ih;

        if (listen) {
            hm.addListener(listenerHook);
        }
        else {
            hm.removeListener(listenerHook);
        }
        if (ih.getCommandsList() != null) {
            for (IHookCommand ihc : ih.getCommandsList()) {
                enableListening(ihc, listen);
            }
View Full Code Here


    /* (non-Javadoc)
     * @see fr.soleil.salsa.client.controller.impl.IHooksController#notifyNewHookAction()
     */
    public void notifyNewHookAction() {
        IHook h = new HookModel();
        Stage s = getFirstStageUnreserved();
        h.setStage(s);
        hooks.add(h);
    }
View Full Code Here

     * @param ih
     * @param listen
     */
    private void enableListening(IHook ih, boolean listen) {
        if(ih == null) {return;}
        HookModel hm = (HookModel) ih;
       
        if(listen) {
            hm.addListener(listenerHook);
        } else {
            hm.removeListener(listenerHook);
        }
        if(ih.getCommandsList() != null) {
            for(IHookCommand ihc : ih.getCommandsList()) {
                enableListening(ihc, listen);
            }
View Full Code Here

    /* (non-Javadoc)
     * @see fr.soleil.salsa.client.controller.impl.IHooksController#notifyNewHookAction()
     */
    public void notifyNewHookAction() {
        IHook h = new HookModel();
        Stage s = getFirstStageUnreserved();
        h.setStage(s);
        hooks.add(h);
    }
View Full Code Here

TOP

Related Classes of fr.soleil.salsa.client.entity.event.HookModel

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.