Skip to content

Commit

Permalink
Revert "CHE-1900: Update editor to Orion 12 (eclipse-che#2351)"
Browse files Browse the repository at this point in the history
This reverts commit b962c90.
  • Loading branch information
Roman Iuvshin committed Sep 10, 2016
1 parent 875a751 commit b194568
Show file tree
Hide file tree
Showing 34 changed files with 2,607 additions and 4,572 deletions.
2 changes: 1 addition & 1 deletion plugins/plugin-orion/che-plugin-orion-compare/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<configuration>
<excludes>
<!-- Orion - EPL License -->
<exclude>**/orion/public/built-compare-12.0/*</exclude>
<exclude>**/orion/public/built-compare-11.0/*</exclude>
</excludes>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<script src="require.js"></script>
<script>
var compare, widget, requirePromise = new Promise(function (resolve, reject) {
require(["./built-compare-12.0/built-compare-amd.min.js"], function (Compare) {
require(["./built-compare-11.0/built-compare-amd.min.js"], function (Compare) {
resolve(Compare);
});
});
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@

.headerLayout {
height: 35px;
height: 50px;
}
.toolbarLayout {
height: 35px;
height: 50px;

display: -webkit-box;
display: -moz-box;
Expand Down Expand Up @@ -91,7 +91,7 @@
top: 0;

bottom: 0;
left: 35px;
left: 50px;
right: 0;
background: #3b4b54;

Expand Down Expand Up @@ -252,7 +252,7 @@
}
.toolbarTarget {
position: absolute;
top: 35px;
top: 50px;
width: 100%;
overflow-y: auto;
}
Expand All @@ -261,11 +261,11 @@
}
.pageLayoutTarget {
position: absolute;
width: calc( 100% - 15px );
width: calc( 100% - 60px );
bottom: 0;
overflow-y: auto;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.33);
margin: 5px;
margin: 20px;
margin-right: 0;
padding-top: 10px;
padding-bottom: 5px;
Expand Down Expand Up @@ -438,7 +438,7 @@ and (max-device-width : 1024px) {
margin-right: 0 !important;
}
.sideMenu{
width: 35px;
width: 50px;
background: #26343F;
float: left;
position: absolute;
Expand Down Expand Up @@ -471,7 +471,7 @@ and (max-device-width : 1024px) {
}
.sideMenuHome{
width: 100%;
height: 35px;
height: 50px;
}
.sideMenuList{
display:inline-block !important;
Expand Down Expand Up @@ -523,7 +523,7 @@ and (max-device-width : 1024px) {
text-decoration:none !important;
width: 100%;
display: inline-block;
padding: 4px 0 4px 0;
padding: 9px 0px 12px 0px;
}
.sideMenuItem>.submenu-trigger:hover, .sideMenuItem.expanded>.submenu-trigger{
text-decoration:none;
Expand Down Expand Up @@ -635,12 +635,12 @@ and (max-device-width : 1024px) {
}
.mainContent{
position:absolute;
left:35px;
left:50px;
}
.innerPanels{
position:absolute;
width:100%;
top:35px;
top:50px;
bottom:0;
}
.userMenu {
Expand Down Expand Up @@ -715,16 +715,13 @@ and (max-device-width : 1024px) {
padding-bottom:10px;
height:24px;
}
.splashMessages {
}
.splashMessage {
color: white;
font-size: 14px;
}
.splashDetailedMessage {
color: white;
font-size: 12px;
padding-left: 20px;
font-size: 14px;
}
.splashVisual {
width: 24px;
Expand Down Expand Up @@ -1336,6 +1333,7 @@ textarea.parameterInput {
}
.mainNavColumn {
display: inline-block;
padding: 2px;
vertical-align: baseline;
white-space: nowrap;
}
Expand Down Expand Up @@ -2068,7 +2066,7 @@ html[dir="rtl"] .modifiedFileMarker{
border-collapse: collapse;
border-spacing: 0;
padding: 0;
margin-top: 5px;
margin-top: 40px;
overflow-y: hidden;
}
html[dir="rtl"] .sectionWrapper, html[dir="rtl"] .sectionTable{
Expand All @@ -2085,8 +2083,8 @@ html[dir="rtl"] .sectionWrapper, html[dir="rtl"] .sectionTable{
}
.sectionTable {
margin-top: 0;
margin-left: 5px;
margin-right: 5px;
margin-left: 8%;
margin-right: 8%;
border: 1px solid #f1f3f4;
-webkit-transition: all 0.1s ease, left 0;
transition: all 0.1s ease, left 0;
Expand All @@ -2098,7 +2096,7 @@ html[dir="rtl"] .sectionWrapper, html[dir="rtl"] .sectionTable{
border-top: none;
}
.sectionTable:last-child {
margin-bottom: 5px;
margin-bottom: 20px;
}
.sectionTable.sectionClosed {
height: 0;
Expand All @@ -2108,8 +2106,8 @@ html[dir="rtl"] .sectionWrapper, html[dir="rtl"] .sectionTable{
}
.sectionWrapper{
border: 1px solid;
margin-left: 5px;
margin-right: 5px;
margin-left: 8%;
margin-right: 8%;
background: none repeat scroll 0 0 #f4f4f4;
vertical-align: middle;
font-weight: bold;
Expand Down Expand Up @@ -2504,7 +2502,7 @@ html[dir="rtl"] .fileExplorerProgressDiv {
-moz-osx-font-smoothing: grayscale;
}
.core-sprite-questionmark {
padding-bottom: 3px;
font-weight: bold;
}
.core-sprite-hamburger {
margin-top: -3px;
Expand Down Expand Up @@ -2575,6 +2573,7 @@ html[dir="rtl"] .fileExplorerProgressDiv {
}
.core-sprite-git-logo {
font-size: 20px;
padding-bottom: 10px !important;
}
.core-sprite-page,
.core-sprite-horizontal,
Expand Down Expand Up @@ -2641,7 +2640,7 @@ html[dir="rtl"] .fileExplorerProgressDiv {
.core-sprite-horizontal:before{ content:'\E042'; }
.core-sprite-vertical:before{ content:'\E041'; }
.core-sprite-pip:before{ content:'\E067'; }
.core-sprite-questionmark:before{ content:'\E043'; }
.core-sprite-questionmark:before{ content:'?'; }

.file-sprite-javascript:before{ content:'\E00D'; }
.file-sprite-css:before{ content:'\E00C'; }
Expand Down Expand Up @@ -2716,7 +2715,7 @@ html[dir="rtl"] .fileExplorerProgressDiv {
height: 100%;
}
.rulerLines {
color: #767676;
color: silver;
}
.rulerLines.even
.rulerLines.odd {
Expand Down Expand Up @@ -2808,16 +2807,13 @@ html[dir="rtl"] .fileExplorerProgressDiv {
.textviewTooltip .hoverTooltipTitle {
font-weight: normal;
}
.textviewTooltip .quickFixList {
margin-top: 5px;
}
.textviewTooltip .commandButton {
border: 1px solid #325C80;
background-color: inherit;
color: white;
}
.textviewTooltip .commandButton:not(.dropdownTrigger){
text-transform: initial;
text-transform: initial;
}
.textviewTooltip .commandList > li {
margin: 0;
Expand Down Expand Up @@ -2929,11 +2925,11 @@ html[dir="rtl"] .fileExplorerProgressDiv {
}
.contentassist .proposal-noemphasis-title-keywords {
background-color: aliceblue;
color: #717171;
color: gray;
}
.contentassist .proposal-noemphasis-title {
background-color: aliceblue;
color: #717171;
color: gray;
padding-top: 5px;
}
.contentassist .proposal-default {
Expand Down Expand Up @@ -3791,7 +3787,7 @@ a.breadcrumb.currentLocation {
.mainpane {
border: 0;
background: #3B4B54 !important;
padding-right:5px;
padding-right:20px;
}
.mainToolbar {
color: white;
Expand Down Expand Up @@ -4430,7 +4426,6 @@ a.breadcrumb.currentLocation {
visibility: hidden;
z-index: 175;
position: absolute;
color: #222;
background-color: #fbfbfb;
border-radius: 2px;
border: 1px solid #BBB;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4578,11 +4578,11 @@ a.breadcrumb.currentLocation {

@font-face {
font-family: 'Orion Icon Font';
src: url('built-compare-12.0/OrionIconFont-Regular.eot');
src: url('built-compare-12.0/OrionIconFont-Regular.eot?#iefix') format('embedded-opentype'),
url('built-compare-12.0/OrionIconFont-Regular.woff') format('woff'),
url('built-compare-12.0/OrionIconFont-Regular.ttf') format('truetype'),
url('built-compare-12.0/OrionIconFont-Regular.svg#04b530a8db6e0f4a0fdb83697b7ace5f') format('svg');
src: url('built-compare-11.0/OrionIconFont-Regular.eot');
src: url('built-compare-11.0/OrionIconFont-Regular.eot?#iefix') format('embedded-opentype'),
url('built-compare-11.0/OrionIconFont-Regular.woff') format('woff'),
url('built-compare-11.0/OrionIconFont-Regular.ttf') format('truetype'),
url('built-compare-11.0/OrionIconFont-Regular.svg#04b530a8db6e0f4a0fdb83697b7ace5f') format('svg');

font-style: normal;
font-weight: 400;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4581,11 +4581,11 @@ a.breadcrumb.currentLocation {

@font-face {
font-family: 'Orion Icon Font';
src: url('built-compare-12.0/OrionIconFont-Regular.eot');
src: url('built-compare-12.0/OrionIconFont-Regular.eot?#iefix') format('embedded-opentype'),
url('built-compare-12.0/OrionIconFont-Regular.woff') format('woff'),
url('built-compare-12.0/OrionIconFont-Regular.ttf') format('truetype'),
url('built-compare-12.0/OrionIconFont-Regular.svg#04b530a8db6e0f4a0fdb83697b7ace5f') format('svg');
src: url('built-compare-11.0/OrionIconFont-Regular.eot');
src: url('built-compare-11.0/OrionIconFont-Regular.eot?#iefix') format('embedded-opentype'),
url('built-compare-11.0/OrionIconFont-Regular.woff') format('woff'),
url('built-compare-11.0/OrionIconFont-Regular.ttf') format('truetype'),
url('built-compare-11.0/OrionIconFont-Regular.svg#04b530a8db6e0f4a0fdb83697b7ace5f') format('svg');

font-style: normal;
font-weight: 400;
Expand Down
11 changes: 7 additions & 4 deletions plugins/plugin-orion/che-plugin-orion-editor/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@
<configuration>
<patchDirectory>${patches.location}</patchDirectory>
<patches>
<patch>fix_linked_mode.diff</patch>
<patch>built-codeEdit-amd.js.diff</patch>
<patch>fix_goto_line.diff</patch>
<patch>fix_scrolling.diff</patch>
<patch>fix_focus.diff</patch>
<patch>embeddedToolingPlugin.js.diff</patch>
</patches>
<optimizations>false</optimizations>
<strictPatching>true</strictPatching>
Expand Down Expand Up @@ -160,8 +160,11 @@
<configuration>
<excludes>
<!-- Orion - EPL License -->
<exclude>**/org/eclipse/che/ide/editor/orion/public/built-codeEdit-12.0/**</exclude>
<exclude>**/org/eclipse/che/ide/editor/orion/public/cheJavaHighlightingPlugin/lib/plugin.js</exclude>
<exclude>**/org/eclipse/che/ide/editor/orion/public/built-codeEdit-11.0/**</exclude>
<exclude>**/patches/built-codeEdit-amd.js.diff</exclude>
<exclude>**/patches/fix_goto_line.diff</exclude>
<exclude>**/patches/fix_focus.diff</exclude>
<exclude>**/patches/embeddedToolingPlugin.js.diff</exclude>
</excludes>
</configuration>
</plugin>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public void makeCall(AsyncCallback<Void> callback) {
private void injectOrion(final AsyncCallback<Void> callback) {
loader.setMessage(waitEditorMessage);
final String[] scripts = new String[]{
"built-codeEdit-12.0/code_edit/built-codeEdit-amd",
"built-codeEdit-11.0/code_edit/built-codeEdit-amd",
"orion/CheContentAssistMode"
};

Expand Down Expand Up @@ -111,7 +111,7 @@ public void onFailure(final Throwable e) {
}
}, scripts, new String[0]);

injectCssLink(GWT.getModuleBaseForStaticFiles() + "built-codeEdit-12.0/code_edit/built-codeEdit.css");
injectCssLink(GWT.getModuleBaseForStaticFiles() + "built-codeEdit-11.0/code_edit/built-codeEdit.css");
}

private static void injectCssLink(final String url) {
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

import com.google.gwt.inject.client.AbstractGinModule;
import com.google.gwt.inject.client.assistedinject.GinFactoryModuleBuilder;
import com.google.gwt.inject.client.multibindings.GinMultibinder;
import com.google.inject.Singleton;
import com.google.inject.TypeLiteral;

Expand Down Expand Up @@ -40,6 +39,5 @@ protected void configure() {

install(new GinFactoryModuleBuilder().build(ContentAssistWidgetFactory.class));

GinMultibinder.newSetBinder(binder(), OrionPlugin.class).addBinding().to(JavaHighlightingOrionPlugin.class);
}
}
Loading

0 comments on commit b194568

Please sign in to comment.