Ejemplo n.º 1
0
        public BookmarkExecuter(ExecuteListener listener)
        {
            mListener = listener;

            catalogLoader  = new CatalogLoader();
            bookmarkLoader = new BookmarkLoader();

            ruleMatcher = new RuleMatcher();
        }
Ejemplo n.º 2
0
        public void init()
        {
            webUI.addView(VIEW_HOME, APP_ROOT + "/index.html", "home");
            webUI.addView(VIEW_PROCESS, APP_ROOT + "/process.html", "process");
            webUI.setCompletedListener(WEBUI_DocumentCompleted);

            webUI.LoadView(VIEW_HOME);
            // Initial the listener
            executeListener = new ExecuteListener();
            executeListener.OnStart += OnStart;
            executeListener.OnFinish += OnFinish;
            executeListener.OnProcess += OnProcess;
            executeListener.OnError += OnError;
            // Executer to delegate the real action
            bookmarkExecuter = new BookmarkExecuter(executeListener);
        }
Ejemplo n.º 3
0
        public void init()
        {
            webUI.addView(VIEW_HOME, APP_ROOT + "/index.html", "home");
            webUI.addView(VIEW_PROCESS, APP_ROOT + "/process.html", "process");
            webUI.setCompletedListener(WEBUI_DocumentCompleted);

            webUI.LoadView(VIEW_HOME);
            // Initial the listener
            executeListener            = new ExecuteListener();
            executeListener.OnStart   += OnStart;
            executeListener.OnFinish  += OnFinish;
            executeListener.OnProcess += OnProcess;
            executeListener.OnError   += OnError;
            // Executer to delegate the real action
            bookmarkExecuter = new BookmarkExecuter(executeListener);
        }