From: Hannu Niemistö Date: Wed, 19 Apr 2017 13:08:54 +0000 (+0300) Subject: (refs #7152) Remove extra line number indicators in status bar X-Git-Tag: v1.29.0~100 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F28%2F428%2F1;p=simantics%2Fplatform.git (refs #7152) Remove extra line number indicators in status bar Change-Id: Ib8f7b09260f3e64bb123fcbe26ade29937e1b429 --- diff --git a/bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/editor2/SCLModuleEditor2.java b/bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/editor2/SCLModuleEditor2.java index 6fa46b2b2..1398f2c07 100644 --- a/bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/editor2/SCLModuleEditor2.java +++ b/bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/editor2/SCLModuleEditor2.java @@ -10,8 +10,6 @@ import org.eclipse.ui.IEditorSite; import org.eclipse.ui.PartInitException; import org.eclipse.ui.contexts.IContextService; import org.eclipse.ui.editors.text.TextEditor; -import org.eclipse.ui.texteditor.ITextEditorActionConstants; -import org.eclipse.ui.texteditor.StatusLineContributionItem; import org.simantics.scl.ui.editor.SCLSourceViewerConfigurationNew; import org.simantics.scl.ui.editor.completion.SCLTextEditorEnvironment; @@ -41,13 +39,6 @@ public class SCLModuleEditor2 extends TextEditor { @Override public void createPartControl(Composite parent) { super.createPartControl(parent); - StatusLineContributionItem statusLineContribution = new StatusLineContributionItem( - ITextEditorActionConstants.STATUS_CATEGORY_INPUT_POSITION, - true, 14); - setStatusField(statusLineContribution, - ITextEditorActionConstants.STATUS_CATEGORY_INPUT_POSITION); - getEditorSite().getActionBars().getStatusLineManager().add(statusLineContribution); - getEditorSite().getActionBars().updateActionBars(); getEditorSite().getService(IContextService.class).activateContext("org.simantics.scl.ui.editor"); updatePartName(); }