Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Belle2017-08-31 16:06:02 +0000
committerJan Belle2017-08-31 16:06:02 +0000
commit2312786d9c8b27fe97fd361e0aeeef99fe0e67de (patch)
treeeb6430be1083782b820a9107be8ae51e112dc4aa /plugins/org.eclipse.etrice.core.common.ui
parent2b3ac6e99310df76f704e7231748bcc236e708a6 (diff)
downloadorg.eclipse.etrice-2312786d9c8b27fe97fd361e0aeeef99fe0e67de.tar.gz
org.eclipse.etrice-2312786d9c8b27fe97fd361e0aeeef99fe0e67de.tar.xz
org.eclipse.etrice-2312786d9c8b27fe97fd361e0aeeef99fe0e67de.zip
Bug 521698 - Tycho build
generate xtend files Change-Id: Ifc0808742d7f72da305cb0879384af6f7da85581
Diffstat (limited to 'plugins/org.eclipse.etrice.core.common.ui')
-rw-r--r--plugins/org.eclipse.etrice.core.common.ui/xtend-gen/org/eclipse/etrice/core/common/ui/editor/model/BaseTokenTypeToPartitionMapper.java30
-rw-r--r--plugins/org.eclipse.etrice.core.common.ui/xtend-gen/org/eclipse/etrice/core/common/ui/labeling/BaseDescriptionLabelProvider.java22
-rw-r--r--plugins/org.eclipse.etrice.core.common.ui/xtend-gen/org/eclipse/etrice/core/common/ui/labeling/BaseLabelProvider.java95
-rw-r--r--plugins/org.eclipse.etrice.core.common.ui/xtend-gen/org/eclipse/etrice/core/common/ui/outline/BaseOutlineTreeProvider.java22
-rw-r--r--plugins/org.eclipse.etrice.core.common.ui/xtend-gen/org/eclipse/etrice/core/common/ui/quickfix/BaseQuickfixProvider.java22
5 files changed, 0 insertions, 191 deletions
diff --git a/plugins/org.eclipse.etrice.core.common.ui/xtend-gen/org/eclipse/etrice/core/common/ui/editor/model/BaseTokenTypeToPartitionMapper.java b/plugins/org.eclipse.etrice.core.common.ui/xtend-gen/org/eclipse/etrice/core/common/ui/editor/model/BaseTokenTypeToPartitionMapper.java
deleted file mode 100644
index f3a151c15..000000000
--- a/plugins/org.eclipse.etrice.core.common.ui/xtend-gen/org/eclipse/etrice/core/common/ui/editor/model/BaseTokenTypeToPartitionMapper.java
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * Copyright (c) 2011 protos software gmbh (http://www.protos.de).
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * CONTRIBUTORS:
- * Juergen Haug (initial contribution)
- */
-package org.eclipse.etrice.core.common.ui.editor.model;
-
-import org.eclipse.xtext.ui.editor.model.TerminalsTokenTypeToPartitionMapper;
-
-@SuppressWarnings("all")
-public class BaseTokenTypeToPartitionMapper extends TerminalsTokenTypeToPartitionMapper {
- @Override
- protected String calculateId(final String tokenName, final int tokenType) {
- String _switchResult = null;
- switch (tokenName) {
- case "RULE_CC_STRING":
- _switchResult = TerminalsTokenTypeToPartitionMapper.STRING_LITERAL_PARTITION;
- break;
- default:
- _switchResult = super.calculateId(tokenName, tokenType);
- break;
- }
- return _switchResult;
- }
-}
diff --git a/plugins/org.eclipse.etrice.core.common.ui/xtend-gen/org/eclipse/etrice/core/common/ui/labeling/BaseDescriptionLabelProvider.java b/plugins/org.eclipse.etrice.core.common.ui/xtend-gen/org/eclipse/etrice/core/common/ui/labeling/BaseDescriptionLabelProvider.java
deleted file mode 100644
index 884ec5eae..000000000
--- a/plugins/org.eclipse.etrice.core.common.ui/xtend-gen/org/eclipse/etrice/core/common/ui/labeling/BaseDescriptionLabelProvider.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * Copyright (c) 2013 protos software gmbh (http://www.protos.de).
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * CONTRIBUTORS:
- * Eyrak Paen (initial contribution)
- */
-package org.eclipse.etrice.core.common.ui.labeling;
-
-import org.eclipse.xtext.ui.label.DefaultDescriptionLabelProvider;
-
-/**
- * Provides labels for a IEObjectDescriptions and IResourceDescriptions.
- *
- * see http://www.eclipse.org/Xtext/documentation.html#labelProvider
- */
-@SuppressWarnings("all")
-public class BaseDescriptionLabelProvider extends DefaultDescriptionLabelProvider {
-}
diff --git a/plugins/org.eclipse.etrice.core.common.ui/xtend-gen/org/eclipse/etrice/core/common/ui/labeling/BaseLabelProvider.java b/plugins/org.eclipse.etrice.core.common.ui/xtend-gen/org/eclipse/etrice/core/common/ui/labeling/BaseLabelProvider.java
deleted file mode 100644
index c805788d2..000000000
--- a/plugins/org.eclipse.etrice.core.common.ui/xtend-gen/org/eclipse/etrice/core/common/ui/labeling/BaseLabelProvider.java
+++ /dev/null
@@ -1,95 +0,0 @@
-/**
- * Copyright (c) 2013 protos software gmbh (http://www.protos.de).
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * CONTRIBUTORS:
- * Eyrak Paen (initial contribution)
- */
-package org.eclipse.etrice.core.common.ui.labeling;
-
-import com.google.common.base.Objects;
-import com.google.inject.Inject;
-import org.eclipse.emf.edit.ui.provider.AdapterFactoryLabelProvider;
-import org.eclipse.etrice.core.common.base.Import;
-import org.eclipse.jface.resource.ColorRegistry;
-import org.eclipse.jface.resource.FontDescriptor;
-import org.eclipse.jface.resource.JFaceResources;
-import org.eclipse.jface.viewers.StyledString;
-import org.eclipse.swt.SWT;
-import org.eclipse.swt.graphics.RGB;
-import org.eclipse.xtext.ui.label.DefaultEObjectLabelProvider;
-import org.eclipse.xtext.ui.label.StylerFactory;
-
-/**
- * Provides labels for a EObjects.
- *
- * see http://www.eclipse.org/Xtext/documentation.html#labelProvider
- */
-@SuppressWarnings("all")
-public class BaseLabelProvider extends DefaultEObjectLabelProvider {
- protected final static String KEYWORD_COLOR = "KEYWORD_COLOR";
-
- @Inject
- protected StylerFactory stylerFactory;
-
- protected StyledString.Styler keywordStyler = null;
-
- protected StyledString.Styler typeStyler = null;
-
- @Inject
- public BaseLabelProvider(final AdapterFactoryLabelProvider delegate) {
- super(delegate);
- ColorRegistry _colorRegistry = JFaceResources.getColorRegistry();
- RGB _rGB = new RGB(50, 50, 50);
- _colorRegistry.put(BaseLabelProvider.KEYWORD_COLOR, _rGB);
- }
-
- public String image(final Import mdl) {
- return null;
- }
-
- public StyledString text(final Import im) {
- String _importedNamespace = im.getImportedNamespace();
- boolean _equals = Objects.equal(_importedNamespace, null);
- if (_equals) {
- String _importURI = im.getImportURI();
- String _plus = ("import model " + _importURI);
- StyledString txt = new StyledString(_plus);
- StyledString.Styler _keywordStyler = this.getKeywordStyler();
- txt.setStyle(0, 12, _keywordStyler);
- return txt;
- } else {
- String _importedNamespace_1 = im.getImportedNamespace();
- String _plus_1 = ("import ns " + _importedNamespace_1);
- StyledString txt_1 = new StyledString(_plus_1);
- StyledString.Styler _keywordStyler_1 = this.getKeywordStyler();
- txt_1.setStyle(0, 9, _keywordStyler_1);
- return txt_1;
- }
- }
-
- protected StyledString.Styler getKeywordStyler() {
- boolean _equals = Objects.equal(this.keywordStyler, null);
- if (_equals) {
- FontDescriptor font = JFaceResources.getFontDescriptor(JFaceResources.TEXT_FONT);
- FontDescriptor boldFont = font.setStyle(SWT.BOLD);
- StyledString.Styler _createStyler = this.stylerFactory.createStyler(boldFont, BaseLabelProvider.KEYWORD_COLOR, null);
- this.keywordStyler = _createStyler;
- }
- return this.keywordStyler;
- }
-
- protected StyledString.Styler getTypeStyler() {
- boolean _equals = Objects.equal(this.typeStyler, null);
- if (_equals) {
- FontDescriptor font = JFaceResources.getFontDescriptor(JFaceResources.TEXT_FONT);
- FontDescriptor italicFont = font.setStyle(SWT.ITALIC);
- StyledString.Styler _createStyler = this.stylerFactory.createStyler(italicFont, null, null);
- this.typeStyler = _createStyler;
- }
- return this.typeStyler;
- }
-}
diff --git a/plugins/org.eclipse.etrice.core.common.ui/xtend-gen/org/eclipse/etrice/core/common/ui/outline/BaseOutlineTreeProvider.java b/plugins/org.eclipse.etrice.core.common.ui/xtend-gen/org/eclipse/etrice/core/common/ui/outline/BaseOutlineTreeProvider.java
deleted file mode 100644
index 99fbc0dec..000000000
--- a/plugins/org.eclipse.etrice.core.common.ui/xtend-gen/org/eclipse/etrice/core/common/ui/outline/BaseOutlineTreeProvider.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * Copyright (c) 2013 protos software gmbh (http://www.protos.de).
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * CONTRIBUTORS:
- * Eyrak Paen (initial contribution)
- */
-package org.eclipse.etrice.core.common.ui.outline;
-
-import org.eclipse.xtext.ui.editor.outline.impl.DefaultOutlineTreeProvider;
-
-/**
- * Customization of the default outline structure.
- *
- * see http://www.eclipse.org/Xtext/documentation.html#outline
- */
-@SuppressWarnings("all")
-public class BaseOutlineTreeProvider extends DefaultOutlineTreeProvider {
-}
diff --git a/plugins/org.eclipse.etrice.core.common.ui/xtend-gen/org/eclipse/etrice/core/common/ui/quickfix/BaseQuickfixProvider.java b/plugins/org.eclipse.etrice.core.common.ui/xtend-gen/org/eclipse/etrice/core/common/ui/quickfix/BaseQuickfixProvider.java
deleted file mode 100644
index 12517532d..000000000
--- a/plugins/org.eclipse.etrice.core.common.ui/xtend-gen/org/eclipse/etrice/core/common/ui/quickfix/BaseQuickfixProvider.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/**
- * Copyright (c) 2013 protos software gmbh (http://www.protos.de).
- * All rights reserved. This program and the accompanying materials
- * are made available under the terms of the Eclipse Public License v1.0
- * which accompanies this distribution, and is available at
- * http://www.eclipse.org/legal/epl-v10.html
- *
- * CONTRIBUTORS:
- * Eyrak Paen (initial contribution)
- */
-package org.eclipse.etrice.core.common.ui.quickfix;
-
-import org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider;
-
-/**
- * Custom quickfixes.
- *
- * see http://www.eclipse.org/Xtext/documentation.html#quickfixes
- */
-@SuppressWarnings("all")
-public class BaseQuickfixProvider extends DefaultQuickfixProvider {
-}

Back to the top