Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Wouters2014-04-04 14:15:56 +0000
committerLaurent Wouters2014-04-04 14:15:56 +0000
commit2ef4626fbfb2b1e01a6151b6c990d97a552c6f80 (patch)
tree58a54138a302f764a8aaf5af95ba82535d68e01c
parent9fc1721b92623b68a9880dd862b91fc9f3bd26cf (diff)
downloadorg.eclipse.papyrus-2ef4626fbfb2b1e01a6151b6c990d97a552c6f80.tar.gz
org.eclipse.papyrus-2ef4626fbfb2b1e01a6151b6c990d97a552c6f80.tar.xz
org.eclipse.papyrus-2ef4626fbfb2b1e01a6151b6c990d97a552c6f80.zip
[clean] Retiring org.eclipse.papyrus.uml.table.defaultlast/org.eclipse.papyrus.uml.table.default
Signed-off-by: Laurent Wouters <laurent.wouters@cea.fr>
-rw-r--r--deprecated/org.eclipse.papyrus.uml.table.default/.classpath7
-rw-r--r--deprecated/org.eclipse.papyrus.uml.table.default/.project28
-rw-r--r--deprecated/org.eclipse.papyrus.uml.table.default/.settings/org.eclipse.jdt.core.prefs8
-rw-r--r--deprecated/org.eclipse.papyrus.uml.table.default/META-INF/MANIFEST.MF27
-rw-r--r--deprecated/org.eclipse.papyrus.uml.table.default/about.html28
-rw-r--r--deprecated/org.eclipse.papyrus.uml.table.default/build.properties13
-rw-r--r--deprecated/org.eclipse.papyrus.uml.table.default/icons/table.gifbin965 -> 0 bytes
-rw-r--r--deprecated/org.eclipse.papyrus.uml.table.default/icons/table.pngbin1347 -> 0 bytes
-rw-r--r--deprecated/org.eclipse.papyrus.uml.table.default/icons/table_UML_default.gifbin891 -> 0 bytes
-rw-r--r--deprecated/org.eclipse.papyrus.uml.table.default/icons/table_UML_default.pngbin1245 -> 0 bytes
-rw-r--r--deprecated/org.eclipse.papyrus.uml.table.default/plugin.properties12
-rw-r--r--deprecated/org.eclipse.papyrus.uml.table.default/plugin.xml102
-rw-r--r--deprecated/org.eclipse.papyrus.uml.table.default/resources/default.tableconfiguration24
-rw-r--r--deprecated/org.eclipse.papyrus.uml.table.default/src/org/eclipse/papyrus/uml/table/defaultt/Activator.java135
-rw-r--r--deprecated/org.eclipse.papyrus.uml.table.default/src/org/eclipse/papyrus/uml/table/defaultt/editor/DefaultNattableEditor.java49
-rw-r--r--deprecated/org.eclipse.papyrus.uml.table.default/src/org/eclipse/papyrus/uml/table/defaultt/factory/NattableEditorFactory.java39
-rw-r--r--deprecated/org.eclipse.papyrus.uml.table.default/src/org/eclipse/papyrus/uml/table/defaultt/handlers/CreateNattableEditorCommand.java60
17 files changed, 0 insertions, 512 deletions
diff --git a/deprecated/org.eclipse.papyrus.uml.table.default/.classpath b/deprecated/org.eclipse.papyrus.uml.table.default/.classpath
deleted file mode 100644
index 2d1a4302f04..00000000000
--- a/deprecated/org.eclipse.papyrus.uml.table.default/.classpath
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<classpath>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/J2SE-1.5"/>
- <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
- <classpathentry kind="src" path="src"/>
- <classpathentry kind="output" path="bin"/>
-</classpath>
diff --git a/deprecated/org.eclipse.papyrus.uml.table.default/.project b/deprecated/org.eclipse.papyrus.uml.table.default/.project
deleted file mode 100644
index 9d38ffd9417..00000000000
--- a/deprecated/org.eclipse.papyrus.uml.table.default/.project
+++ /dev/null
@@ -1,28 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<projectDescription>
- <name>org.eclipse.papyrus.uml.table.default</name>
- <comment></comment>
- <projects>
- </projects>
- <buildSpec>
- <buildCommand>
- <name>org.eclipse.jdt.core.javabuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.ManifestBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- <buildCommand>
- <name>org.eclipse.pde.SchemaBuilder</name>
- <arguments>
- </arguments>
- </buildCommand>
- </buildSpec>
- <natures>
- <nature>org.eclipse.pde.PluginNature</nature>
- <nature>org.eclipse.jdt.core.javanature</nature>
- </natures>
-</projectDescription>
diff --git a/deprecated/org.eclipse.papyrus.uml.table.default/.settings/org.eclipse.jdt.core.prefs b/deprecated/org.eclipse.papyrus.uml.table.default/.settings/org.eclipse.jdt.core.prefs
deleted file mode 100644
index 7dc5fb2632c..00000000000
--- a/deprecated/org.eclipse.papyrus.uml.table.default/.settings/org.eclipse.jdt.core.prefs
+++ /dev/null
@@ -1,8 +0,0 @@
-#Fri Jan 07 15:31:33 CET 2011
-eclipse.preferences.version=1
-org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
-org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
-org.eclipse.jdt.core.compiler.compliance=1.5
-org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
-org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
-org.eclipse.jdt.core.compiler.source=1.5
diff --git a/deprecated/org.eclipse.papyrus.uml.table.default/META-INF/MANIFEST.MF b/deprecated/org.eclipse.papyrus.uml.table.default/META-INF/MANIFEST.MF
deleted file mode 100644
index bf9eca4e4bf..00000000000
--- a/deprecated/org.eclipse.papyrus.uml.table.default/META-INF/MANIFEST.MF
+++ /dev/null
@@ -1,27 +0,0 @@
-Manifest-Version: 1.0
-Export-Package: org.eclipse.papyrus.uml.table.defaultt,
- org.eclipse.papyrus.uml.table.defaultt.editor,
- org.eclipse.papyrus.uml.table.defaultt.factory,
- org.eclipse.papyrus.uml.table.defaultt.handlers
-Require-Bundle: org.eclipse.papyrus.infra.core;bundle-version="1.0.0",
- org.eclipse.papyrus.infra.table.common;bundle-version="1.0.0",
- org.eclipse.papyrus.infra.table.instance;bundle-version="1.0.0",
- org.eclipse.emf.facet.widgets.nattable;bundle-version="0.1.0",
- org.eclipse.emf.facet.widgets.nattable.tableconfiguration,
- org.eclipse.core.runtime;bundle-version="3.7.0",
- org.eclipse.core.commands;bundle-version="3.6.1",
- org.eclipse.papyrus.infra.core.sasheditor;bundle-version="1.0.0",
- org.eclipse.emf.edit;bundle-version="2.8.0",
- org.eclipse.ui,
- org.eclipse.papyrus.uml.table.common;bundle-version="1.0.0"
-Bundle-Vendor: %providerName
-Bundle-ActivationPolicy: lazy
-Bundle-Version: 1.0.0.qualifier
-Bundle-Name: %pluginName
-Bundle-Localization: plugin
-Bundle-Activator: org.eclipse.papyrus.uml.table.defaultt.Activator
-Bundle-ManifestVersion: 2
-Bundle-SymbolicName: org.eclipse.papyrus.uml.table.default;singleton:=
- true
-Bundle-RequiredExecutionEnvironment: J2SE-1.5
-
diff --git a/deprecated/org.eclipse.papyrus.uml.table.default/about.html b/deprecated/org.eclipse.papyrus.uml.table.default/about.html
deleted file mode 100644
index 82d49bf5f81..00000000000
--- a/deprecated/org.eclipse.papyrus.uml.table.default/about.html
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-<title>About</title>
-</head>
-<body lang="EN-US">
-<h2>About This Content</h2>
-
-<p>June 5, 2007</p>
-<h3>License</h3>
-
-<p>The Eclipse Foundation makes available all content in this plug-in (&quot;Content&quot;). Unless otherwise
-indicated below, the Content is provided to you under the terms and conditions of the
-Eclipse Public License Version 1.0 (&quot;EPL&quot;). A copy of the EPL is available
-at <a href="http://www.eclipse.org/legal/epl-v10.html">http://www.eclipse.org/legal/epl-v10.html</a>.
-For purposes of the EPL, &quot;Program&quot; will mean the Content.</p>
-
-<p>If you did not receive this Content directly from the Eclipse Foundation, the Content is
-being redistributed by another party (&quot;Redistributor&quot;) and different terms and conditions may
-apply to your use of any object code in the Content. Check the Redistributor's license that was
-provided with the Content. If no such license exists, contact the Redistributor. Unless otherwise
-indicated below, the terms and conditions of the EPL still apply to any source code in the Content
-and such source code may be obtained at <a href="http://www.eclipse.org/">http://www.eclipse.org</a>.</p>
-
-</body>
-</html>
diff --git a/deprecated/org.eclipse.papyrus.uml.table.default/build.properties b/deprecated/org.eclipse.papyrus.uml.table.default/build.properties
deleted file mode 100644
index 58db1c21f49..00000000000
--- a/deprecated/org.eclipse.papyrus.uml.table.default/build.properties
+++ /dev/null
@@ -1,13 +0,0 @@
-#
-#Mon Sep 12 09:30:18 CEST 2011
-bin.includes = META-INF/,\
- .,\
- plugin.xml,\
- plugin.properties,\
- icons/,\
- about.html,\
- resources/
-output..=bin/
-src.includes = about.html
-source..=src/
-bin..=bin/
diff --git a/deprecated/org.eclipse.papyrus.uml.table.default/icons/table.gif b/deprecated/org.eclipse.papyrus.uml.table.default/icons/table.gif
deleted file mode 100644
index 4c9048708b0..00000000000
--- a/deprecated/org.eclipse.papyrus.uml.table.default/icons/table.gif
+++ /dev/null
Binary files differ
diff --git a/deprecated/org.eclipse.papyrus.uml.table.default/icons/table.png b/deprecated/org.eclipse.papyrus.uml.table.default/icons/table.png
deleted file mode 100644
index 2a979527f4a..00000000000
--- a/deprecated/org.eclipse.papyrus.uml.table.default/icons/table.png
+++ /dev/null
Binary files differ
diff --git a/deprecated/org.eclipse.papyrus.uml.table.default/icons/table_UML_default.gif b/deprecated/org.eclipse.papyrus.uml.table.default/icons/table_UML_default.gif
deleted file mode 100644
index 7dba0a044de..00000000000
--- a/deprecated/org.eclipse.papyrus.uml.table.default/icons/table_UML_default.gif
+++ /dev/null
Binary files differ
diff --git a/deprecated/org.eclipse.papyrus.uml.table.default/icons/table_UML_default.png b/deprecated/org.eclipse.papyrus.uml.table.default/icons/table_UML_default.png
deleted file mode 100644
index 4bec73c4147..00000000000
--- a/deprecated/org.eclipse.papyrus.uml.table.default/icons/table_UML_default.png
+++ /dev/null
Binary files differ
diff --git a/deprecated/org.eclipse.papyrus.uml.table.default/plugin.properties b/deprecated/org.eclipse.papyrus.uml.table.default/plugin.properties
deleted file mode 100644
index fe62ba45c8b..00000000000
--- a/deprecated/org.eclipse.papyrus.uml.table.default/plugin.properties
+++ /dev/null
@@ -1,12 +0,0 @@
-#################################################################################
-# Copyright (c) 2008 CEA LIST.
-# 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:
-# Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
-##################################################################################
-pluginName=Papyrus Default Table Editor (Incubation)
-providerName=Eclipse Modeling Project
diff --git a/deprecated/org.eclipse.papyrus.uml.table.default/plugin.xml b/deprecated/org.eclipse.papyrus.uml.table.default/plugin.xml
deleted file mode 100644
index 5584625c329..00000000000
--- a/deprecated/org.eclipse.papyrus.uml.table.default/plugin.xml
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<?eclipse version="3.4"?>
-<plugin>
- <extension
- point="org.eclipse.papyrus.infra.core.papyrusDiagram">
- <editorDiagram
- factoryClass="org.eclipse.papyrus.uml.table.defaultt.factory.NattableEditorFactory"
- icon="icons/table_UML_default.gif">
- </editorDiagram>
- </extension>
- <!--extension
- point="org.eclipse.ui.commands">
- <command
- categoryId="org.eclipse.papyrus.editor.category"
- description="Create a New Default Table Editor"
- id="org.eclipse.papyrus.default.table.command"
- name="Create a Default Table Editor">
- </command>
- </extension>
- <extension
- point="org.eclipse.ui.handlers">
- <handler
- class="org.eclipse.papyrus.uml.table.defaultt.handlers.CreateNattableEditorCommand"
- commandId="org.eclipse.papyrus.default.table.command">
- <activeWhen>
- <or>
- <with
- variable="activeEditorId">
- <equals
- value="org.eclipse.papyrus.infra.core.papyrusEditor">
- </equals>
- </with>
- </or>
- </activeWhen>
- </handler>
- </extension>
- <extension
- id="create.table.menus"
- name="Create Table Menus"
- point="org.eclipse.ui.menus">
- <menuContribution
- allPopups="false"
- locationURI="popup:org.eclipse.papyrus.views.modelexplorer.popupmenu.createtable">
- <command
- commandId="org.eclipse.papyrus.default.table.command"
- icon="icons/table_UML_default.gif"
- label="Default Table"
- mnemonic="&amp;D"
- style="push"
- tooltip="Create a new Default Table">
- <visibleWhen>
- <with
- variable="activeEditorId">
- <equals
- value="org.eclipse.papyrus.infra.core.papyrusEditor">
- </equals>
- </with>
- </visibleWhen>
- </command>
- </menuContribution>
- <menuContribution
- allPopups="false"
- locationURI="menu:org.eclipse.papyrus.table.ui.menu.tables">
- <command
- commandId="org.eclipse.papyrus.default.table.command"
- icon="icons/table_UML_default.gif"
- label="Default Table"
- mnemonic="&amp;D"
- style="push"
- tooltip="Create a new Default Table">
- <visibleWhen>
- <with
- variable="activeEditorId">
- <equals
- value="org.eclipse.papyrus.infra.core.papyrusEditor">
- </equals>
- </with>
- </visibleWhen>
- </command>
- </menuContribution>
- <menuContribution
- allPopups="false"
- locationURI="toolbar:org.eclipse.papyrus.table.ui.toolbar">
- <command
- commandId="org.eclipse.papyrus.default.table.command"
- icon="icons/table_UML_default.gif"
- label="Default Table"
- mnemonic="&amp;D"
- style="push"
- tooltip="Create a new Default Table">
- <visibleWhen>
- <with
- variable="activeEditorId">
- <equals
- value="org.eclipse.papyrus.infra.core.papyrusEditor">
- </equals>
- </with>
- </visibleWhen>
- </command>
- </menuContribution>
- </extension-->
-</plugin>
diff --git a/deprecated/org.eclipse.papyrus.uml.table.default/resources/default.tableconfiguration2 b/deprecated/org.eclipse.papyrus.uml.table.default/resources/default.tableconfiguration2
deleted file mode 100644
index 36619b4a402..00000000000
--- a/deprecated/org.eclipse.papyrus.uml.table.default/resources/default.tableconfiguration2
+++ /dev/null
@@ -1,4 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<tableconfiguration2:TableConfiguration2 xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:tableconfiguration2="http://www.eclipse.org/EMF_Facet/Table/0.1.0/tableconfiguration2">
- <defaultCustomizations href="emffacet:/customization/UMLPapyrusDefaultBrowserCustomization#/"/>
-</tableconfiguration2:TableConfiguration2>
diff --git a/deprecated/org.eclipse.papyrus.uml.table.default/src/org/eclipse/papyrus/uml/table/defaultt/Activator.java b/deprecated/org.eclipse.papyrus.uml.table.default/src/org/eclipse/papyrus/uml/table/defaultt/Activator.java
deleted file mode 100644
index 62a73a257dc..00000000000
--- a/deprecated/org.eclipse.papyrus.uml.table.default/src/org/eclipse/papyrus/uml/table/defaultt/Activator.java
+++ /dev/null
@@ -1,135 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 LIFL & CEA LIST.
- *
- *
- * 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:
- * Cedric Dumoulin (LIFL) cedric.dumoulin@lifl.fr - Initial API and implementation
- *
- *****************************************************************************/
-
-package org.eclipse.papyrus.uml.table.defaultt;
-
-import org.eclipse.core.runtime.IStatus;
-import org.eclipse.core.runtime.Status;
-import org.eclipse.ui.plugin.AbstractUIPlugin;
-import org.osgi.framework.BundleContext;
-
-/**
- * The activator class controls the plug-in life cycle
- */
-public class Activator extends AbstractUIPlugin {
-
- /** The plug-in ID */
- public static final String ID = "org.eclipse.papyrus.uml.table.default"; //$NON-NLS-1$
-
- /** The shared instance */
- private static Activator plugin;
-
- /**
- * The constructor
- */
- public Activator() {
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
- */
- @Override
- public void start(BundleContext context) throws Exception {
- super.start(context);
- plugin = this;
- }
-
- /*
- * (non-Javadoc)
- *
- * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
- */
- @Override
- public void stop(BundleContext context) throws Exception {
- plugin = null;
- super.stop(context);
- }
-
- /**
- * Returns the shared instance
- *
- * @return the shared instance
- */
- public static Activator getInstance() {
- return plugin;
- }
-
-
-
- /**
- *
- * @param error
- */
- public void logError(String error) {
- logError(error, null);
- }
-
- /**
- * @param error
- * the error
- * @param throwable
- * actual error or null could be passed
- *
- */
- public void logError(String error, Throwable throwable) {
- if(error == null && throwable != null) {
- error = throwable.getMessage();
- }
- getLog().log(new Status(IStatus.ERROR, Activator.ID, IStatus.OK, error, throwable));
- debug(error, throwable);
- }
-
- /**
- *
- * @param message
- */
- public void logInfo(String message) {
- logInfo(message, null);
- }
-
- /**
- * @param message
- * the message
- * @param throwable
- * actual error or null could be passed
- * @generated
- */
- public void logInfo(String message, Throwable throwable) {
- if(message == null && throwable != null) {
- message = throwable.getMessage();
- }
- getLog().log(new Status(IStatus.INFO, Activator.ID, IStatus.OK, message, throwable));
- debug(message, throwable);
- }
-
- /**
- *
- * @param message
- * @param throwable
- */
- private void debug(String message, Throwable throwable) {
- if(!isDebugging()) {
- return;
- }
- if(message != null) {
- System.err.println(message);
- }
- if(throwable != null) {
- throwable.printStackTrace();
- }
- }
-
-}
diff --git a/deprecated/org.eclipse.papyrus.uml.table.default/src/org/eclipse/papyrus/uml/table/defaultt/editor/DefaultNattableEditor.java b/deprecated/org.eclipse.papyrus.uml.table.default/src/org/eclipse/papyrus/uml/table/defaultt/editor/DefaultNattableEditor.java
deleted file mode 100644
index e7ef60c558a..00000000000
--- a/deprecated/org.eclipse.papyrus.uml.table.default/src/org/eclipse/papyrus/uml/table/defaultt/editor/DefaultNattableEditor.java
+++ /dev/null
@@ -1,49 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2009 CEA LIST & LIFL
- *
- *
- * 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:
- * Cedric Dumoulin Cedric.dumoulin@lifl.fr - Initial API and implementation
- * Vincent Lorenzo (CEA-LIST) vincent.lorenzo@cea.fr
- *****************************************************************************/
-package org.eclipse.papyrus.uml.table.defaultt.editor;
-
-import org.eclipse.papyrus.infra.core.services.ServicesRegistry;
-import org.eclipse.papyrus.infra.table.common.editor.AbstractNattableEditor;
-import org.eclipse.papyrus.infra.table.instance.papyrustableinstance.PapyrusTableInstance;
-import org.eclipse.papyrus.uml.table.common.editor.AbstractUMLTableEditor;
-
-
-/**
- * A TextEditor that can be used as Tab of a sashes window.
- *
- * @author dumoulin
- */
-public class DefaultNattableEditor extends AbstractUMLTableEditor {
-
-
-
- /** the type of the editor */
- public static final String EDITOR_TYPE = "PapyrusDefaultTable"; //$NON-NLS-1$
-
- /** the default name for this table */
- public static final String DEFAULT_NAME = "DefaultTable"; //$NON-NLS-1$
-
- /**
- * @param servicesRegistry
- * @param rawModel
- *
- */
- public DefaultNattableEditor(ServicesRegistry servicesRegistry, PapyrusTableInstance rawModel) {
- super(servicesRegistry, rawModel);
-
- }
-
-
-
-}
diff --git a/deprecated/org.eclipse.papyrus.uml.table.default/src/org/eclipse/papyrus/uml/table/defaultt/factory/NattableEditorFactory.java b/deprecated/org.eclipse.papyrus.uml.table.default/src/org/eclipse/papyrus/uml/table/defaultt/factory/NattableEditorFactory.java
deleted file mode 100644
index 686cade560a..00000000000
--- a/deprecated/org.eclipse.papyrus.uml.table.default/src/org/eclipse/papyrus/uml/table/defaultt/factory/NattableEditorFactory.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 LIFL & CEA LIST.
- *
- *
- * 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:
- * Cedric Dumoulin (LIFL) cedric.dumoulin@lifl.fr - Initial API and implementation
- * Vincent Lorenzo (CEA-LIST) vincent.lorenzo@cea.fr
- *****************************************************************************/
-
-package org.eclipse.papyrus.uml.table.defaultt.factory;
-
-import org.eclipse.papyrus.infra.table.common.factory.AbstractNattableEditorFactory;
-import org.eclipse.papyrus.uml.table.defaultt.editor.DefaultNattableEditor;
-
-
-/**
- * @author dumoulin
- *
- */
-public class NattableEditorFactory extends AbstractNattableEditorFactory {
-
-
- /**
- * Constructor.
- *
- * @param diagramClass
- * @param expectedType
- */
- public NattableEditorFactory() {
- super(DefaultNattableEditor.class, DefaultNattableEditor.EDITOR_TYPE);
- }
-
-
-}
diff --git a/deprecated/org.eclipse.papyrus.uml.table.default/src/org/eclipse/papyrus/uml/table/defaultt/handlers/CreateNattableEditorCommand.java b/deprecated/org.eclipse.papyrus.uml.table.default/src/org/eclipse/papyrus/uml/table/defaultt/handlers/CreateNattableEditorCommand.java
deleted file mode 100644
index cd5ebf2f753..00000000000
--- a/deprecated/org.eclipse.papyrus.uml.table.default/src/org/eclipse/papyrus/uml/table/defaultt/handlers/CreateNattableEditorCommand.java
+++ /dev/null
@@ -1,60 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2011 LIFL & CEA LIST.
- *
- *
- * 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:
- * Cedric Dumoulin (LIFL) cedric.dumoulin@lifl.fr - Initial API and implementation
- * Vincent Lorenzo (CEA-LIST) vincent.lorenzo@cea.fr
- *****************************************************************************/
-
-package org.eclipse.papyrus.uml.table.defaultt.handlers;
-
-import org.eclipse.emf.common.util.URI;
-import org.eclipse.emf.ecore.resource.Resource;
-import org.eclipse.emf.ecore.resource.ResourceSet;
-import org.eclipse.emf.ecore.resource.impl.ResourceSetImpl;
-import org.eclipse.emf.facet.widgets.nattable.tableconfiguration2.TableConfiguration2;
-import org.eclipse.papyrus.infra.table.common.handlers.AbstractCreateNattableEditorCommand;
-import org.eclipse.papyrus.uml.table.defaultt.Activator;
-import org.eclipse.papyrus.uml.table.defaultt.editor.DefaultNattableEditor;
-
-/**
- * @author dumoulin
- *
- */
-public class CreateNattableEditorCommand extends AbstractCreateNattableEditorCommand {
-
- /**
- *
- * Constructor.
- *
- */
- public CreateNattableEditorCommand() {
- super(DefaultNattableEditor.EDITOR_TYPE, DefaultNattableEditor.DEFAULT_NAME);
- }
-
- /**
- *
- * {@inheritDoc}
- */
- @Override
- protected TableConfiguration2 getTableConfiguration2() {
- ResourceSet resourceSet = new ResourceSetImpl();
-
- String symbolicName = Activator.getInstance().getBundle().getSymbolicName();
- URI uri = URI.createPlatformPluginURI(symbolicName + "/resources/default.tableconfiguration2", true); //$NON-NLS-1$
- Resource resource = resourceSet.getResource(uri, true);
-
- TableConfiguration2 tableConfiguration = null;
- if(resource.getContents().get(0) instanceof TableConfiguration2) {
- tableConfiguration = (TableConfiguration2)resource.getContents().get(0);
- return tableConfiguration;
- }
- return null;
- }
-}

Back to the top