Examples of EditorActivity


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

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

            this.locallyOpenEditors.add(path);

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

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

    }
View Full Code Here

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

        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

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

        // 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

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

         * 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
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.