annotate src/main/java/christie/remoteTextEditor2/receiveCommand.java @ 237:90d463bfe734

add renew
author ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
date Tue, 21 Jan 2020 19:53:10 +0900
parents src/main/java/christie/remoteTextEditor/receiveCommand.java@665d56665b7e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
237
90d463bfe734 add renew
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents: 234
diff changeset
1 package christie.remoteTextEditor2;
234
665d56665b7e add renew
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
2
665d56665b7e add renew
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 import christie.annotation.Peek;
665d56665b7e add renew
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
4 import christie.annotation.Take;
665d56665b7e add renew
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5 import christie.codegear.CodeGear;
665d56665b7e add renew
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
6 import christie.codegear.CodeGearManager;
665d56665b7e add renew
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
7 import christie.textEditor.NewTextEditor;
665d56665b7e add renew
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
8 import org.msgpack.annotation.Message;
665d56665b7e add renew
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
9
665d56665b7e add renew
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10 public class receiveCommand extends CodeGear {
665d56665b7e add renew
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
11 @Take
665d56665b7e add renew
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 Message cmd;
665d56665b7e add renew
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
13
665d56665b7e add renew
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 @Peek
665d56665b7e add renew
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 NewTextEditor myEditor;
665d56665b7e add renew
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
16
665d56665b7e add renew
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 @Override
665d56665b7e add renew
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
18 protected void run(CodeGearManager cgm) {
665d56665b7e add renew
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
19 // cmd.execute(myEditor);
665d56665b7e add renew
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 System.out.println("キャッチ");
665d56665b7e add renew
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 }
665d56665b7e add renew
ichikitakahiro <e165713@ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 }