annotate src/main/java/alice/test/codesegment/api/TakeCodeSegment.java @ 419:aefbe41fcf12 dispose

change tab to space
author sugi
date Tue, 15 Jul 2014 16:00:22 +0900
parents 8f71c3e6f11d
children 6e304a7a60e7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
345
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
1 package alice.test.codesegment.api;
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
2
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
3 import alice.codesegment.CodeSegment;
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
4 import alice.datasegment.CommandType;
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
5 import alice.datasegment.Receiver;
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
6
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
7 public class TakeCodeSegment extends CodeSegment {
419
aefbe41fcf12 change tab to space
sugi
parents: 345
diff changeset
8
aefbe41fcf12 change tab to space
sugi
parents: 345
diff changeset
9 Receiver ds1 = ids.create(CommandType.TAKE);
aefbe41fcf12 change tab to space
sugi
parents: 345
diff changeset
10
aefbe41fcf12 change tab to space
sugi
parents: 345
diff changeset
11 public TakeCodeSegment(String key){
aefbe41fcf12 change tab to space
sugi
parents: 345
diff changeset
12 this.ds1.setKey(key);
aefbe41fcf12 change tab to space
sugi
parents: 345
diff changeset
13 }
aefbe41fcf12 change tab to space
sugi
parents: 345
diff changeset
14 @Override
aefbe41fcf12 change tab to space
sugi
parents: 345
diff changeset
15 public void run() {
aefbe41fcf12 change tab to space
sugi
parents: 345
diff changeset
16 new TakeCodeSegment(ds1.key);
aefbe41fcf12 change tab to space
sugi
parents: 345
diff changeset
17
aefbe41fcf12 change tab to space
sugi
parents: 345
diff changeset
18 }
345
8f71c3e6f11d Change directory structure Maven standard
sugi
parents:
diff changeset
19 }