Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnsgar Radermacher2014-03-18 12:02:07 +0000
committerAnsgar Radermacher2014-03-18 12:04:40 +0000
commitdc657beebf2d361759345fa2dc9056044008f4d9 (patch)
treee815ad5cd97033835835b0e2530201dc626c19a5 /plugins/uml/properties/org.eclipse.papyrus.uml.properties.xtext
parent06a5b224243938ce831e99640be8f65ae871d692 (diff)
downloadorg.eclipse.papyrus-dc657beebf2d361759345fa2dc9056044008f4d9.tar.gz
org.eclipse.papyrus-dc657beebf2d361759345fa2dc9056044008f4d9.tar.xz
org.eclipse.papyrus-dc657beebf2d361759345fa2dc9056044008f4d9.zip
Bug 427025 - [OCL For Papyrus] Cannot create OCL constraints in Luna: escape updates, if dirty + deactivation of "Advanced text" tab
Diffstat (limited to 'plugins/uml/properties/org.eclipse.papyrus.uml.properties.xtext')
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties.xtext/plugin.xml31
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties.xtext/src/org/eclipse/papyrus/uml/properties/xtext/sheet/AdvancedEditingPropertySection.java4
-rw-r--r--plugins/uml/properties/org.eclipse.papyrus.uml.properties.xtext/src/org/eclipse/papyrus/uml/properties/xtext/sheet/ModelListener.java3
3 files changed, 6 insertions, 32 deletions
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties.xtext/plugin.xml b/plugins/uml/properties/org.eclipse.papyrus.uml.properties.xtext/plugin.xml
index dd9d632f564..d3f366ccdb7 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties.xtext/plugin.xml
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties.xtext/plugin.xml
@@ -1,37 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.4"?>
<plugin>
-<extension
- point="org.eclipse.ui.views.properties.tabbed.propertySections">
- <propertySections contributorId="TreeOutlinePage">
- <propertySection
- class="org.eclipse.papyrus.uml.properties.xtext.sheet.AdvancedEditingPropertySection"
- filter="org.eclipse.papyrus.uml.properties.xtext.sheet.AdvancedEditingPropertySectionFilter"
- id="property.section.AdvancedEditingPropertySection"
- tab="advanced_editing">
- <input type="org.eclipse.gmf.runtime.notation.View"/>
- <input type="org.eclipse.gef.EditPart"/>
- </propertySection>
- </propertySections>
-</extension>
- <extension point="org.eclipse.ui.views.properties.tabbed.propertyTabs">
- <propertyTabs
- contributorId="TreeOutlinePage">
- <propertyTab
- afterTab="advanced"
- category="org.eclipse.papyrus"
- id="advanced_editing"
- label="Advanced Editing">
- </propertyTab>
- </propertyTabs>
- </extension>
- <extension
- point="org.eclipse.papyrus.infra.core.modelListener">
- <listener
- name="advancedEditing.modelListener"
- realization="org.eclipse.papyrus.uml.properties.xtext.sheet.ModelListener">
- </listener>
- </extension>
<extension
point="org.eclipse.papyrus.uml.properties.languageEditor">
<editor
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties.xtext/src/org/eclipse/papyrus/uml/properties/xtext/sheet/AdvancedEditingPropertySection.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties.xtext/src/org/eclipse/papyrus/uml/properties/xtext/sheet/AdvancedEditingPropertySection.java
index ba18d78538a..ff21a2a1e77 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties.xtext/src/org/eclipse/papyrus/uml/properties/xtext/sheet/AdvancedEditingPropertySection.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties.xtext/src/org/eclipse/papyrus/uml/properties/xtext/sheet/AdvancedEditingPropertySection.java
@@ -51,6 +51,10 @@ import org.eclipse.ui.forms.widgets.Form;
import org.eclipse.ui.forms.widgets.FormToolkit;
import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage;
+/**
+ * Attention: class has been deactivated, since the additional tab is redundant with the
+ * body editor in the standard UML property tab.
+ */
public class AdvancedEditingPropertySection extends
AbstractModelerPropertySection implements IContextElementProvider {
diff --git a/plugins/uml/properties/org.eclipse.papyrus.uml.properties.xtext/src/org/eclipse/papyrus/uml/properties/xtext/sheet/ModelListener.java b/plugins/uml/properties/org.eclipse.papyrus.uml.properties.xtext/src/org/eclipse/papyrus/uml/properties/xtext/sheet/ModelListener.java
index db8d01c282b..f43b6292f46 100644
--- a/plugins/uml/properties/org.eclipse.papyrus.uml.properties.xtext/src/org/eclipse/papyrus/uml/properties/xtext/sheet/ModelListener.java
+++ b/plugins/uml/properties/org.eclipse.papyrus.uml.properties.xtext/src/org/eclipse/papyrus/uml/properties/xtext/sheet/ModelListener.java
@@ -21,7 +21,8 @@ import org.eclipse.papyrus.infra.core.listenerservice.IPapyrusListener;
/**
* Main listener for model changes (registered via plugin.xml). It will listen to
* change events. If an element that is a child of the element in use by the current editor
- * changes, it will refresh
+ * changes, it will refresh.
+ * Currently not active, since redundant.
*/
public class ModelListener implements IPapyrusListener {

Back to the top