Examples of CallbackTaskResult


Examples of com.pcmsolutions.system.callback.CallbackTaskResult

            ct.init(new CallbackTaskRunnable() {
                public Object run() throws ComponentGenerationException, ChildViewNotAllowedException, LogicalHierarchyException {
                    return new Boolean(ZoeosFrame.getInstance().getZDesktopManager().addDesktopElement(elem));
                }
            });
            CallbackTaskResult ctr = ct.execute();
        }
    }
View Full Code Here

Examples of com.pcmsolutions.system.callback.CallbackTaskResult

            public Object run() throws ComponentGenerationException, ChildViewNotAllowedException, LogicalHierarchyException {
                ZoeosFrame.getInstance().getZDesktopManager().modifyBranch(branch, activate, clipIndex);
                return null;
            }
        });
        CallbackTaskResult ctr = ct.execute();
    }
View Full Code Here

Examples of com.pcmsolutions.system.callback.CallbackTaskResult

    }

    public static Object executeViewTask(CallbackTaskRunnable ctr) throws Exception {
        CallbackTask ct = new CallbackTask();
        ct.init(ctr);
        CallbackTaskResult ctres = ct.execute();
        if (ctres.suceeded())
            return ctres.getResult();
        else
            throw ctres.getException();
    }
View Full Code Here

Examples of com.pcmsolutions.system.callback.CallbackTaskResult

                tasks[7] = new TaskVoice(voices, VoiceSections.VOICE_CORDS, VoiceSections.voiceCordsTitle);
            }
        }

        public CallbackTaskResult open(boolean activate) {
            CallbackTaskResult rv = null;
            for (int i = 0; i < tasks.length; i++)
                if (i == 0) {
                    rv = tasks[i].open(activate);
                    if (!rv.suceeded() || (rv.suceeded() && !((Boolean) rv.getResult()).booleanValue()))
                        return rv;
                } else if (i == 1)
                    rv = tasks[i].open(activate);
                else
                    rv = tasks[i].open(false);
View Full Code Here

Examples of com.pcmsolutions.system.callback.CallbackTaskResult

        public CallbackTaskResult open() {
            return open(false);
        }

        public CallbackTaskResult close() {
            CallbackTaskResult rv = null;
            for (int i = 0; i < tasks.length; i++)
                rv = tasks[i].close();
            return rv;
        }
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.