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

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

            ruleMatcher = new RuleMatcher();
        }
Exemplo 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);
        }
Exemplo 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);
        }