Skip to content

Commit 4af9b98

Browse files
committed
Fix compilation error caused by codes in web editor.
1 parent 57afcb8 commit 4af9b98

1 file changed

Lines changed: 41 additions & 42 deletions

File tree

src/actions/menu/ActionsMenuBarTitles.java

Lines changed: 41 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package actions.menu;
22

33
public class ActionsMenuBarTitles {
4-
4+
55
public String pending;
6-
6+
77
public ActionsMenuBarTitles(String string) {
88
pending = string;
99
}
@@ -12,72 +12,73 @@ public ActionsMenuBarTitles(String string) {
1212
public String toString() {
1313
return pending;
1414
}
15-
16-
public static ActionsMenuBarTitles Data(){
15+
16+
public static ActionsMenuBarTitles Data() {
1717
return new ActionsMenuBarTitles("Data");
1818
}
19-
19+
2020
public static ActionsMenuBarTitles Edit() {
2121
return new ActionsMenuBarTitles("Edit");
2222
}
23+
2324
/**
2425
* Returns the string construct for Developer Only Feature
25-
* @param remainingTitle the remaining menu titles, this should not begin with /
26+
*
27+
* @param remainingTitle
28+
* the remaining menu titles, this should not begin with /
2629
* @return
2730
*/
28-
public static ActionsMenuBarTitles Developer(String remainingTitle){
31+
public static ActionsMenuBarTitles Developer(String remainingTitle) {
2932
return new ActionsMenuBarTitles("Developer" + "/" + remainingTitle);
3033
}
31-
32-
public static ActionsMenuBarTitles File(){
34+
35+
public static ActionsMenuBarTitles File() {
3336
return new ActionsMenuBarTitles("File");
3437
}
35-
36-
37-
public ActionsMenuBarTitles Save(){
38+
39+
public ActionsMenuBarTitles Save() {
3840
append("Save...");
3941
return this;
4042
}
4143

42-
private void append(String str){
44+
private void append(String str) {
4345
this.pending += "/" + str;
4446
}
45-
46-
47-
public ActionsMenuBarTitles Input_Box(){
47+
48+
public ActionsMenuBarTitles Input_Box() {
4849
append("Input Box");
4950
return this;
5051
}
51-
52-
public ActionsMenuBarTitles Display_Box(){
52+
53+
public ActionsMenuBarTitles Display_Box() {
5354
append("Display Box");
5455
return this;
5556
}
56-
57-
public ActionsMenuBarTitles Add(){
57+
58+
public ActionsMenuBarTitles Add() {
5859
append("Add");
5960
return this;
6061
}
61-
62-
public ActionsMenuBarTitles Update(){
62+
63+
public ActionsMenuBarTitles Update() {
6364
append("Update");
6465
return this;
6566
}
66-
67-
public ActionsMenuBarTitles Construct(){
67+
68+
public ActionsMenuBarTitles Construct() {
6869
append("Construct");
6970
return this;
7071
}
71-
72-
public ActionsMenuBarTitles Line_Segment(){
72+
73+
public ActionsMenuBarTitles Line_Segment() {
7374
append("Line Segment");
7475
return this;
7576
}
7677

7778
public static ActionsMenuBarTitles Lazy() {
7879
return new ActionsMenuBarTitles("Lazy");
7980
}
80-
81+
8182
public static ActionsMenuBarTitles Script() {
8283
return new ActionsMenuBarTitles("Script");
8384
}
@@ -91,7 +92,7 @@ public ActionsMenuBarTitles Java_Constructor() {
9192
append("Java Constructor");
9293
return this;
9394
}
94-
95+
9596
public ActionsMenuBarTitles Java_Method() {
9697
append("Java Method");
9798
return this;
@@ -101,17 +102,17 @@ public ActionsMenuBarTitles Java_Fields() {
101102
append("Java Fields");
102103
return this;
103104
}
104-
105+
105106
public ActionsMenuBarTitles Undo() {
106107
append("Undo");
107108
return this;
108109
}
109-
110+
110111
public ActionsMenuBarTitles Redo() {
111112
append("Redo");
112-
return this;
113-
}
114-
113+
return this;
114+
}
115+
115116
public ActionsMenuBarTitles Remove() {
116117
append("Remove");
117118
return this;
@@ -129,41 +130,39 @@ public ActionsMenuBarTitles Font_Size() {
129130

130131
public ActionsMenuBarTitles Point_Size() {
131132
append("Point Size...");
132-
return this;
133-
}
133+
return this;
134+
}
134135

135136
public ActionsMenuBarTitles Zoom_In() {
136137
append("Zoom In");
137138
return this;
138139
}
139-
140+
140141
public ActionsMenuBarTitles Zoom_Out() {
141142
append("Zoom Out");
142143
return this;
143144
}
144145

145-
146146
public ActionsMenuBarTitles Enter_Script() {
147147
append("Enter Script");
148-
return this
149-
}
148+
return this;
149+
}
150150

151151
public ActionsMenuBarTitles Annotations() {
152152
append("Annotations");
153153
return this;
154154
}
155155

156-
157156
public ActionsMenuBarTitles Instance_Operation() {
158157
append("Instance Operation Component");
159158
return this;
160159
}
161-
160+
162161
public ActionsMenuBarTitles Add_Instance_Method() {
163162
append("Add Instance Method");
164163
return this;
165164
}
166-
165+
167166
public ActionsMenuBarTitles Annotation_Font_Size() {
168167
append("Annotation Font Size");
169168

0 commit comments

Comments
 (0)