diff options
author | Vincent Lorenzo | 2019-03-14 12:53:25 +0000 |
---|---|---|
committer | Quentin Le Menez | 2019-04-03 07:13:02 +0000 |
commit | fa619d6da67acd6e0692b955441bac72e5d08328 (patch) | |
tree | 27b93fc4ac92bbf5d4b93734880a2b1a141dabd5 | |
parent | 73556e3e1c0d99d94ab37619372471c2d74a713f (diff) | |
download | org.eclipse.papyrus-sysml-fa619d6da67acd6e0692b955441bac72e5d08328.tar.gz org.eclipse.papyrus-sysml-fa619d6da67acd6e0692b955441bac72e5d08328.tar.xz org.eclipse.papyrus-sysml-fa619d6da67acd6e0692b955441bac72e5d08328.zip |
Bug 545402: [SysML] method org.eclipse.papyrus.sysml14.nattable.common.manager.cell.SysMLStereotypePropertyCellManager#handles must return false in main cases
Change-Id: I95ad5c0cc16809fa92205f1ab9cc55583f859fea
Signed-off-by: Vincent Lorenzo <vincent.lorenzo@cea.fr>
2 files changed, 8 insertions, 5 deletions
diff --git a/table/org.eclipse.papyrus.sysml14.nattable.common/pom.xml b/table/org.eclipse.papyrus.sysml14.nattable.common/pom.xml index fde3f13d..87b59098 100644 --- a/table/org.eclipse.papyrus.sysml14.nattable.common/pom.xml +++ b/table/org.eclipse.papyrus.sysml14.nattable.common/pom.xml @@ -1,6 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" -xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.eclipse.papyrus.sysml</groupId> @@ -10,4 +11,4 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xs <artifactId>org.eclipse.papyrus.sysml14.nattable.common</artifactId> <packaging>eclipse-plugin</packaging> <description>The plugin gather the shared API for the table based upon nattable framework.</description> -</project>
\ No newline at end of file +</project> diff --git a/table/org.eclipse.papyrus.sysml14.nattable.common/src/org/eclipse/papyrus/sysml14/nattable/common/manager/cell/SysMLStereotypePropertyCellManager.java b/table/org.eclipse.papyrus.sysml14.nattable.common/src/org/eclipse/papyrus/sysml14/nattable/common/manager/cell/SysMLStereotypePropertyCellManager.java index 41caddad..32d4aff6 100644 --- a/table/org.eclipse.papyrus.sysml14.nattable.common/src/org/eclipse/papyrus/sysml14/nattable/common/manager/cell/SysMLStereotypePropertyCellManager.java +++ b/table/org.eclipse.papyrus.sysml14.nattable.common/src/org/eclipse/papyrus/sysml14/nattable/common/manager/cell/SysMLStereotypePropertyCellManager.java @@ -1,5 +1,5 @@ /***************************************************************************** - * Copyright (c) 2012 CEA LIST. + * Copyright (c) 2012, 2019 CEA LIST. * * * All rights reserved. This program and the accompanying materials @@ -12,7 +12,7 @@ * Contributors: * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Initial API and implementation * Nicolas FAUVERGUE (CEA LIST) nicolas.fauvergue@cea.fr - Bug 516997 - * + * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Bug 545402 *****************************************************************************/ package org.eclipse.papyrus.sysml14.nattable.common.manager.cell; @@ -52,6 +52,8 @@ public class SysMLStereotypePropertyCellManager extends StereotypePropertyCellMa final String propertyQualifiedNameString = cellDefinition.getValue().substring(Constants.PROPERTY_OF_STEREOTYPE_PREFIX.length(), cellDefinition.getValue().length()); // We have to use the full name for Constants because of the previous one isHandled = SysMLQualifiedName.STEREOTYPE_FLOWPORT_DIRECTION.equals(propertyQualifiedNameString); + }else { + isHandled = false; } } return isHandled; |