Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrsuen2008-12-14 09:14:55 -0500
committerrsuen2008-12-14 09:14:55 -0500
commit613bf6d828ea696451db36d91047b379cde0323a (patch)
tree3ee1916a6bfc60bf9eea51d94aaadd08907d855a /examples/bundles/org.eclipse.ecf.example.collab
parent78aa9bf69265b282052ff3c69ee1a4e5a7861c09 (diff)
downloadorg.eclipse.ecf-613bf6d828ea696451db36d91047b379cde0323a.tar.gz
org.eclipse.ecf-613bf6d828ea696451db36d91047b379cde0323a.tar.xz
org.eclipse.ecf-613bf6d828ea696451db36d91047b379cde0323a.zip
Remove CVS-related code.
Diffstat (limited to 'examples/bundles/org.eclipse.ecf.example.collab')
-rw-r--r--examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/share/EclipseCollabSharedObject.java33
-rw-r--r--examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/ui/MessageLoader.properties4
2 files changed, 1 insertions, 36 deletions
diff --git a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/share/EclipseCollabSharedObject.java b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/share/EclipseCollabSharedObject.java
index bb178d5ae..fdcef1986 100644
--- a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/share/EclipseCollabSharedObject.java
+++ b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/share/EclipseCollabSharedObject.java
@@ -56,7 +56,6 @@ public class EclipseCollabSharedObject extends GenericSharedObject {
private static final String HANDLE_UNREGISTER_PROXY_MSG = "handleUnregisterProxy"; //$NON-NLS-1$
private static final String HANDLE_SHOW_TEXT_MSG = "handleShowTextMsg"; //$NON-NLS-1$
private static final String HANDLE_USER_MSG = "handleUserMessage"; //$NON-NLS-1$
- private static final String HANDLE_CVS_PROJECT_UPDATE_REQUEST_MSG = "handleCVSProjectUpdateRequest"; //$NON-NLS-1$
private static final String HANDLE_REQUEST_USER_UPDATE_MSG = "handleRequestUserUpdate"; //$NON-NLS-1$
private static final String HANDLE_REGISTER_PROXY_MSG = "handleRegisterProxy"; //$NON-NLS-1$
private static final String HANDLE_SHOW_PRIVATE_TEXT_MSG = "handleShowPrivateTextMsg"; //$NON-NLS-1$
@@ -415,10 +414,6 @@ public class EclipseCollabSharedObject extends GenericSharedObject {
sendShowTextMsg(aString);
}
- public boolean isHost() {
- return super.isHost();
- }
-
public void disconnect() {
getContext().disconnect();
}
@@ -529,32 +524,6 @@ public class EclipseCollabSharedObject extends GenericSharedObject {
}
}
- public void sendCVSProjectUpdateRequest(IUser touser, String msg) {
- ID receiver = null;
- if (touser != null) {
- receiver = touser.getID();
- }
- try {
- final SharedObjectMsg m = SharedObjectMsg.createMsg(null, HANDLE_CVS_PROJECT_UPDATE_REQUEST_MSG, getUser(), msg);
- forwardMsgTo(receiver, m);
- if (receiver == null) {
- sendSelf(m);
- }
- } catch (final Exception e) {
- log("Exception on sendCVSProjectUpdateRequest to " + touser, e); //$NON-NLS-1$
- }
- }
-
- public boolean isCVSShared() {
- try {
- // return CVSWorkspaceRoot.isSharedWithCVS(getProject());
- return false;
- } catch (final Exception e) {
- log("CVS Exception calling isSharedWithCVS in TeamUpdateAction", e); //$NON-NLS-1$
- return false;
- }
- }
-
public void sendRingMessageToUser(IUser user, String msg) {
ID receiver = null;
if (user != null) {
@@ -966,7 +935,7 @@ public class EclipseCollabSharedObject extends GenericSharedObject {
sendSelf(m);
}
} catch (final Exception e) {
- log("Exception on sendCVSProjectUpdateRequest to " + touser, e); //$NON-NLS-1$
+ log("Exception on sendShowView to " + touser, e); //$NON-NLS-1$
}
}
diff --git a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/ui/MessageLoader.properties b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/ui/MessageLoader.properties
index 4079a092f..3114f8936 100644
--- a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/ui/MessageLoader.properties
+++ b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/internal/example/collab/ui/MessageLoader.properties
@@ -73,10 +73,6 @@ LineChatClientView.contextmenu.runprogram=Start Remote Program...
LineChatClientView.contextmenu.repobject=Send Replicated Object to Group...
LineChatClientView.contextmenu.repobjectserver=Send Replicated Object to Server...
LineChatClientView.contextmenu.leaveGroup=Disconnect
-LineChatClientView.contextmenu.sendCVSUpdateRequest=Send CVS Update Request...
-LineChatClientView.contextmenu.sendCVSUpdateRequestInitStr=Please allow update
-LineChatClientView.contextmenu.sendCVSUpdateRequestTitle=Launch CVS Update on Remote Clients
-LineChatClientView.contextmenu.sendCVSUpdateRequestMessage=Message to Remote Users:
LineChatClientView.contextmenu.sendShowViewRequest=Send Show View Request...
LineChatClientView.contextmenu.sendShowViewRequest.dialog.title=Select View to Open for Group

Back to the top