Package de.fu_berlin.inf.dpp.activities.business

Examples of de.fu_berlin.inf.dpp.activities.business.EditorActivity


        return "EditorActivityDataObject(type:" + this.type + ",path:"
            + (this.path != null ? this.path : "no path") + ")";
    }

    public IActivity getActivity(ISarosSession sarosSession) {
        return new EditorActivity(sarosSession.getUser(source), type,
            (path != null ? path.toSPath(sarosSession) : null));
    }
View Full Code Here


            this.locallyOpenEditors.add(path);

        editorListenerDispatch.activeEditorChanged(sarosSession.getLocalUser(),
            path);

        fireActivity(new EditorActivity(sarosSession.getLocalUser(),
            Type.Activated, path));

    }
View Full Code Here

        this.locallyOpenEditors.remove(path);

        editorListenerDispatch.editorRemoved(sarosSession.getLocalUser(), path);

        fireActivity(new EditorActivity(sarosSession.getLocalUser(),
            Type.Closed, path));

        /**
         * TODO We need a reliable way to communicate editors which are outside
         * the shared project scope and a way to deal with closing the active
View Full Code Here

        // TODO technically we should mark the file as saved in the
        // editorPool, or?
        // What is the reason of this?

        editorListenerDispatch.userWithWriteAccessEditorSaved(path, false);
        fireActivity(new EditorActivity(sarosSession.getLocalUser(),
            Type.Saved, path));
    }
View Full Code Here

         * revert just those
         */
        IActivity textEditActivity = new TextEditActivity(localUser, offset,
            newContent, oldContent, path);

        IActivity saveActivity = new EditorActivity(localUser, Type.Saved, path);

        fireActivity(textEditActivity);
        fireActivity(saveActivity);

    }
View Full Code Here

TOP

Related Classes of de.fu_berlin.inf.dpp.activities.business.EditorActivity

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.