Rename CodeMirrorDemo to SideBySide2

This is no longer a proof of concept.  Follow the pattern of
ChangeScreen2 and rename to SideBySide2.

Rename the ,codemirror view selector to the shorter ,cm string.

Change-Id: I5702707b3c329c8771444bb98f148c0b30a73cce
This commit is contained in:
Shawn Pearce
2013-07-17 08:46:31 -07:00
parent 9c65a00298
commit a48e3d79c4
7 changed files with 14 additions and 14 deletions

View File

@@ -70,7 +70,7 @@ import com.google.gerrit.client.changes.PublishCommentScreen;
import com.google.gerrit.client.changes.QueryScreen;
import com.google.gerrit.client.dashboards.DashboardInfo;
import com.google.gerrit.client.dashboards.DashboardList;
import com.google.gerrit.client.diff.CodeMirrorDemo;
import com.google.gerrit.client.diff.SideBySide2;
import com.google.gerrit.client.groups.GroupApi;
import com.google.gerrit.client.groups.GroupInfo;
import com.google.gerrit.client.patches.PatchScreen;
@@ -591,8 +591,8 @@ public class Dispatcher {
top, //
baseId //
);
} else if ("codemirror".equals(panel)) {
return new CodeMirrorDemo(baseId, id.getParentKey(), id.get());
} else if ("cm".equals(panel)) {
return new SideBySide2(baseId, id.getParentKey(), id.get());
}
}