changeset 62:99bcbd897f94

*** empty log message ***
author pin
date Fri, 19 Oct 2007 13:14:07 +0900 (2007-10-19)
parents e6806b2195d3
children 023c20cd07ef
files bin/remoteeditor/editors/RemoteEditor.class src/remoteeditor/editors/RemoteEditor.java
diffstat 2 files changed, 12 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
Binary file bin/remoteeditor/editors/RemoteEditor.class has changed
--- a/src/remoteeditor/editors/RemoteEditor.java	Fri Oct 19 05:16:25 2007 +0900
+++ b/src/remoteeditor/editors/RemoteEditor.java	Fri Oct 19 13:14:07 2007 +0900
@@ -84,19 +84,19 @@
 		repreceive = new REPPacketReceive(sc);
 		repsend = new REPPacketSend(sc);
 		
-
-		IWorkbench workbench = PlatformUI.getWorkbench();
-		Display display = workbench.getDisplay();
-		REPSelectWindow selectwindow = new REPSelectWindow(display);
-		selectwindow.initWindow();
-		selectwindow.setName(this.getEditorInput().getName());
-		selectwindow.setChannel(sc);
-		selectwindow.open();
+//		IWorkbench workbench = PlatformUI.getWorkbench();
+//		Display display = workbench.getDisplay();
+//		REPSelectWindow selectwindow = new REPSelectWindow(display);
+//		selectwindow.initWindow();
+//		selectwindow.setName(this.getEditorInput().getName());
+//		selectwindow.setChannel(sc);
+//		selectwindow.open();
 		
-		REPCommand temp = repreceive.unpack();
-		myeid = temp.eid; mysid = temp.sid;
+		//REPCommand temp = repreceive.unpack();
+		//myeid = temp.eid; mysid = temp.sid;
 		repreceive.addCommandListener(this);
-		repsend.send(new REPCommand(REP.REPCMD_READ, mysid, myeid, myseq, 0, 0, ""));
+		//repsend.send(new REPCommand(REP.REPCMD_READ, mysid, myeid, myseq, 0, 0, ""));
+		joinPart();
 	}
 	
 	public void dispose() {
@@ -219,7 +219,7 @@
 			break;
 		case REP.REP_PUT_ACK_CMD:
 			mysid = command.sid;
-			selectPart();
+			//selectPart();
 			break;
 		case REP.REP_SELECT_ACK_CMD: