diff options
| author | Mélanie Bats | 2016-02-22 09:54:42 +0000 |
|---|---|---|
| committer | Pierre-Charles David | 2016-03-24 17:03:22 +0000 |
| commit | 1fa8bcb9137fc0b49ad3b9c47ce960ce17627186 (patch) | |
| tree | 98238071d6882e5343fe9730b5ff9b3ed8e78ca3 | |
| parent | 40a013bb7a9d9ec64fdd8506d49cc009d9d672a3 (diff) | |
| download | org.eclipse.sirius-1fa8bcb9137fc0b49ad3b9c47ce960ce17627186.tar.gz org.eclipse.sirius-1fa8bcb9137fc0b49ad3b9c47ce960ce17627186.tar.xz org.eclipse.sirius-1fa8bcb9137fc0b49ad3b9c47ce960ce17627186.zip | |
[482528] Add support for custom widgets
Bug: 482528
Change-Id: Ie06e2251402eda007200f2a53866f4ac31c5449a
Signed-off-by: Mélanie Bats <melanie.bats@obeo.fr>
91 files changed, 3908 insertions, 1141 deletions
diff --git a/incubation/org.eclipse.sirius.editor.properties/help/contexts.xml b/incubation/org.eclipse.sirius.editor.properties/help/contexts.xml index 310a26321a..d75cc1555f 100644 --- a/incubation/org.eclipse.sirius.editor.properties/help/contexts.xml +++ b/incubation/org.eclipse.sirius.editor.properties/help/contexts.xml @@ -228,4 +228,37 @@ </description> </context> + <context id="CustomDescription"> + <description> + + + + <!-- Start of user code CustomDescription description --> + + <!-- End of user code CustomDescription description --> + + </description> + </context> + <context id="CustomExpression"> + <description> + + + + <!-- Start of user code CustomExpression description --> + + <!-- End of user code CustomExpression description --> + + </description> + </context> + <context id="CustomOperation"> + <description> + + + + <!-- Start of user code CustomOperation description --> + + <!-- End of user code CustomOperation description --> + + </description> + </context> </contexts>
\ No newline at end of file diff --git a/incubation/org.eclipse.sirius.editor.properties/plugin.xml b/incubation/org.eclipse.sirius.editor.properties/plugin.xml index cc3c67ac69..6a90c7fa14 100644 --- a/incubation/org.eclipse.sirius.editor.properties/plugin.xml +++ b/incubation/org.eclipse.sirius.editor.properties/plugin.xml @@ -19,6 +19,28 @@ <extension point="org.eclipse.ui.views.properties.tabbed.propertySections"> <propertySections contributorId="org.eclipse.sirius.editor.editorPlugin.SiriusEditorContributor"> <propertySection + class="org.eclipse.sirius.properties.editor.properties.sections.properties.customoperation.CustomOperationIdentifierPropertySection" + id="properties.section.customOperation.Identifier" + filter="org.eclipse.sirius.properties.editor.properties.filters.properties.customoperation.CustomOperationIdentifierFilter" + tab="viewpoint.tab.general"> + <input type="org.eclipse.sirius.properties.CustomOperation"/> + </propertySection> + <propertySection + class="org.eclipse.sirius.properties.editor.properties.sections.properties.customexpression.CustomExpressionCustomExpressionPropertySection" + id="properties.section.customExpression.CustomExpression" + filter="org.eclipse.sirius.properties.editor.properties.filters.properties.customexpression.CustomExpressionCustomExpressionFilter" + afterSection="properties.section.customExpression.Identifier" + tab="viewpoint.tab.general"> + <input type="org.eclipse.sirius.properties.CustomExpression"/> + </propertySection> + <propertySection + class="org.eclipse.sirius.properties.editor.properties.sections.properties.customexpression.CustomExpressionIdentifierPropertySection" + id="properties.section.customExpression.Identifier" + filter="org.eclipse.sirius.properties.editor.properties.filters.properties.customexpression.CustomExpressionIdentifierFilter" + tab="viewpoint.tab.general"> + <input type="org.eclipse.sirius.properties.CustomExpression"/> + </propertySection> + <propertySection class="org.eclipse.sirius.properties.editor.properties.sections.properties.multiplereferencesdescription.MultipleReferencesDescriptionDisplayExpressionPropertySection" id="properties.section.multipleReferencesDescription.DisplayExpression" filter="org.eclipse.sirius.properties.editor.properties.filters.properties.multiplereferencesdescription.MultipleReferencesDescriptionDisplayExpressionFilter" diff --git a/incubation/org.eclipse.sirius.editor.properties/src-gen/org/eclipse/sirius/properties/editor/properties/filters/properties/customexpression/CustomExpressionCustomExpressionFilter.java b/incubation/org.eclipse.sirius.editor.properties/src-gen/org/eclipse/sirius/properties/editor/properties/filters/properties/customexpression/CustomExpressionCustomExpressionFilter.java new file mode 100644 index 0000000000..7782bdaa32 --- /dev/null +++ b/incubation/org.eclipse.sirius.editor.properties/src-gen/org/eclipse/sirius/properties/editor/properties/filters/properties/customexpression/CustomExpressionCustomExpressionFilter.java @@ -0,0 +1,45 @@ +/******************************************************************************* + * Copyright (c) 2016 Obeo. + * 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: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.sirius.properties.editor.properties.filters.properties.customexpression; + +// Start of user code specific imports + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.sirius.editor.properties.filters.common.ViewpointPropertyFilter; +import org.eclipse.sirius.properties.PropertiesPackage; + +// End of user code specific imports + +/** + * A filter for the customExpression property section. + */ +public class CustomExpressionCustomExpressionFilter extends ViewpointPropertyFilter { + + /** + * {@inheritDoc} + */ + @Override + protected EStructuralFeature getFeature() { + return PropertiesPackage.eINSTANCE.getCustomExpression_CustomExpression(); + } + + /** + * {@inheritDoc} + */ + @Override + protected boolean isRightInputType(Object arg0) { + return arg0 instanceof org.eclipse.sirius.properties.CustomExpression; + } + + // Start of user code user methods + + // End of user code user methods + +} diff --git a/incubation/org.eclipse.sirius.editor.properties/src-gen/org/eclipse/sirius/properties/editor/properties/filters/properties/customexpression/CustomExpressionIdentifierFilter.java b/incubation/org.eclipse.sirius.editor.properties/src-gen/org/eclipse/sirius/properties/editor/properties/filters/properties/customexpression/CustomExpressionIdentifierFilter.java new file mode 100644 index 0000000000..4a3a81fffb --- /dev/null +++ b/incubation/org.eclipse.sirius.editor.properties/src-gen/org/eclipse/sirius/properties/editor/properties/filters/properties/customexpression/CustomExpressionIdentifierFilter.java @@ -0,0 +1,45 @@ +/******************************************************************************* + * Copyright (c) 2016 Obeo. + * 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: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.sirius.properties.editor.properties.filters.properties.customexpression; + +// Start of user code specific imports + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.sirius.editor.properties.filters.common.ViewpointPropertyFilter; +import org.eclipse.sirius.properties.PropertiesPackage; + +// End of user code specific imports + +/** + * A filter for the identifier property section. + */ +public class CustomExpressionIdentifierFilter extends ViewpointPropertyFilter { + + /** + * {@inheritDoc} + */ + @Override + protected EStructuralFeature getFeature() { + return PropertiesPackage.eINSTANCE.getCustomExpression_Identifier(); + } + + /** + * {@inheritDoc} + */ + @Override + protected boolean isRightInputType(Object arg0) { + return arg0 instanceof org.eclipse.sirius.properties.CustomExpression; + } + + // Start of user code user methods + + // End of user code user methods + +} diff --git a/incubation/org.eclipse.sirius.editor.properties/src-gen/org/eclipse/sirius/properties/editor/properties/filters/properties/customoperation/CustomOperationIdentifierFilter.java b/incubation/org.eclipse.sirius.editor.properties/src-gen/org/eclipse/sirius/properties/editor/properties/filters/properties/customoperation/CustomOperationIdentifierFilter.java new file mode 100644 index 0000000000..351b044d30 --- /dev/null +++ b/incubation/org.eclipse.sirius.editor.properties/src-gen/org/eclipse/sirius/properties/editor/properties/filters/properties/customoperation/CustomOperationIdentifierFilter.java @@ -0,0 +1,45 @@ +/******************************************************************************* + * Copyright (c) 2016 Obeo. + * 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: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.sirius.properties.editor.properties.filters.properties.customoperation; + +// Start of user code specific imports + +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.sirius.editor.properties.filters.common.ViewpointPropertyFilter; +import org.eclipse.sirius.properties.PropertiesPackage; + +// End of user code specific imports + +/** + * A filter for the identifier property section. + */ +public class CustomOperationIdentifierFilter extends ViewpointPropertyFilter { + + /** + * {@inheritDoc} + */ + @Override + protected EStructuralFeature getFeature() { + return PropertiesPackage.eINSTANCE.getCustomOperation_Identifier(); + } + + /** + * {@inheritDoc} + */ + @Override + protected boolean isRightInputType(Object arg0) { + return arg0 instanceof org.eclipse.sirius.properties.CustomOperation; + } + + // Start of user code user methods + + // End of user code user methods + +} diff --git a/incubation/org.eclipse.sirius.editor.properties/src-gen/org/eclipse/sirius/properties/editor/properties/sections/properties/customexpression/CustomExpressionCustomExpressionPropertySection.java b/incubation/org.eclipse.sirius.editor.properties/src-gen/org/eclipse/sirius/properties/editor/properties/sections/properties/customexpression/CustomExpressionCustomExpressionPropertySection.java new file mode 100644 index 0000000000..f536a50e86 --- /dev/null +++ b/incubation/org.eclipse.sirius.editor.properties/src-gen/org/eclipse/sirius/properties/editor/properties/sections/properties/customexpression/CustomExpressionCustomExpressionPropertySection.java @@ -0,0 +1,122 @@ +/******************************************************************************* + * Copyright (c) 2016 Obeo. + * 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: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.sirius.properties.editor.properties.sections.properties.customexpression; + +// Start of user code imports + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.sirius.editor.editorPlugin.SiriusEditor; +import org.eclipse.sirius.editor.properties.sections.common.AbstractTextWithButtonPropertySection; +import org.eclipse.sirius.editor.tools.api.assist.TypeContentProposalProvider; +import org.eclipse.sirius.editor.tools.internal.presentation.TextWithContentProposalDialog; +import org.eclipse.sirius.properties.PropertiesPackage; +import org.eclipse.sirius.ui.tools.api.assist.ContentProposalClient; +import org.eclipse.swt.events.SelectionAdapter; +import org.eclipse.swt.events.SelectionEvent; +import org.eclipse.swt.events.SelectionListener; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage; + +// End of user code imports + +/** + * A section for the customExpression property of a CustomExpression object. + */ +public class CustomExpressionCustomExpressionPropertySection extends AbstractTextWithButtonPropertySection implements ContentProposalClient { + + /** + * @see org.eclipse.sirius.properties.editor.properties.sections.AbstractTextWithButtonPropertySection#getDefaultLabelText() + */ + @Override + protected String getDefaultLabelText() { + return "CustomExpression"; //$NON-NLS-1$ + } + + /** + * @see org.eclipse.sirius.properties.editor.properties.sections.AbstractTextWithButtonPropertySection#getLabelText() + */ + @Override + protected String getLabelText() { + String labelText; + labelText = super.getLabelText() + ":"; //$NON-NLS-1$ + // Start of user code get label text + + // End of user code get label text + return labelText; + } + + /** + * @see org.eclipse.sirius.properties.editor.properties.sections.AbstractTextWithButtonPropertySection#getFeature() + */ + @Override + public EAttribute getFeature() { + return PropertiesPackage.eINSTANCE.getCustomExpression_CustomExpression(); + } + + /** + * @see org.eclipse.sirius.properties.editor.properties.sections.AbstractTextWithButtonPropertySection#getFeatureValue(String) + */ + @Override + protected Object getFeatureValue(String newText) { + return newText; + } + + /** + * @see org.eclipse.sirius.properties.editor.properties.sections.AbstractTextWithButtonPropertySection#isEqual(String) + */ + @Override + protected boolean isEqual(String newText) { + return getFeatureAsText().equals(newText); + } + + /** + * {@inheritDoc} + */ + @Override + public void createControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) { + super.createControls(parent, tabbedPropertySheetPage); + /* + * We set the color as it's a InterpretedExpression + */ + text.setBackground(SiriusEditor.getColorRegistry().get("yellow")); + + TypeContentProposalProvider.bindPluginsCompletionProcessors(this, text); + + // Start of user code create controls + + // End of user code create controls + + } + + @Override + protected SelectionListener createButtonListener() { + return new SelectionAdapter() { + @Override + public void widgetSelected(SelectionEvent e) { + TextWithContentProposalDialog dialog = new TextWithContentProposalDialog(composite.getShell(), CustomExpressionCustomExpressionPropertySection.this, text.getText()); + dialog.open(); + text.setText(dialog.getResult()); + handleTextModified(); + } + }; + } + + /** + * {@inheritDoc} + */ + @Override + protected String getPropertyDescription() { + return ""; + } + + // Start of user code user operations + + // End of user code user operations +} diff --git a/incubation/org.eclipse.sirius.editor.properties/src-gen/org/eclipse/sirius/properties/editor/properties/sections/properties/customexpression/CustomExpressionIdentifierPropertySection.java b/incubation/org.eclipse.sirius.editor.properties/src-gen/org/eclipse/sirius/properties/editor/properties/sections/properties/customexpression/CustomExpressionIdentifierPropertySection.java new file mode 100644 index 0000000000..c8f21778bd --- /dev/null +++ b/incubation/org.eclipse.sirius.editor.properties/src-gen/org/eclipse/sirius/properties/editor/properties/sections/properties/customexpression/CustomExpressionIdentifierPropertySection.java @@ -0,0 +1,99 @@ +/******************************************************************************* + * Copyright (c) 2016 Obeo. + * 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: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.sirius.properties.editor.properties.sections.properties.customexpression; + +// Start of user code imports + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.sirius.editor.editorPlugin.SiriusEditor; +import org.eclipse.sirius.editor.properties.sections.common.AbstractTextPropertySection; +import org.eclipse.sirius.properties.PropertiesPackage; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage; + +// End of user code imports + +/** + * A section for the identifier property of a CustomExpression object. + */ +public class CustomExpressionIdentifierPropertySection extends AbstractTextPropertySection { + + /** + * @see org.eclipse.sirius.properties.editor.properties.sections.AbstractTextPropertySection#getDefaultLabelText() + */ + @Override + protected String getDefaultLabelText() { + return "Identifier"; //$NON-NLS-1$ + } + + /** + * @see org.eclipse.sirius.properties.editor.properties.sections.AbstractTextPropertySection#getLabelText() + */ + @Override + protected String getLabelText() { + String labelText; + labelText = super.getLabelText() + "*:"; //$NON-NLS-1$ + // Start of user code get label text + + // End of user code get label text + return labelText; + } + + /** + * @see org.eclipse.sirius.properties.editor.properties.sections.AbstractTextPropertySection#getFeature() + */ + @Override + public EAttribute getFeature() { + return PropertiesPackage.eINSTANCE.getCustomExpression_Identifier(); + } + + /** + * @see org.eclipse.sirius.properties.editor.properties.sections.AbstractTextPropertySection#getFeatureValue(String) + */ + @Override + protected Object getFeatureValue(String newText) { + return newText; + } + + /** + * @see org.eclipse.sirius.properties.editor.properties.sections.AbstractTextPropertySection#isEqual(String) + */ + @Override + protected boolean isEqual(String newText) { + return getFeatureAsText().equals(newText); + } + + /** + * {@inheritDoc} + */ + @Override + public void createControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) { + super.createControls(parent, tabbedPropertySheetPage); + + nameLabel.setFont(SiriusEditor.getFontRegistry().get("required")); + + // Start of user code create controls + + // End of user code create controls + + } + + /** + * {@inheritDoc} + */ + @Override + protected String getPropertyDescription() { + return ""; + } + + // Start of user code user operations + + // End of user code user operations +} diff --git a/incubation/org.eclipse.sirius.editor.properties/src-gen/org/eclipse/sirius/properties/editor/properties/sections/properties/customoperation/CustomOperationIdentifierPropertySection.java b/incubation/org.eclipse.sirius.editor.properties/src-gen/org/eclipse/sirius/properties/editor/properties/sections/properties/customoperation/CustomOperationIdentifierPropertySection.java new file mode 100644 index 0000000000..2592941258 --- /dev/null +++ b/incubation/org.eclipse.sirius.editor.properties/src-gen/org/eclipse/sirius/properties/editor/properties/sections/properties/customoperation/CustomOperationIdentifierPropertySection.java @@ -0,0 +1,99 @@ +/******************************************************************************* + * Copyright (c) 2016 Obeo. + * 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: + * Obeo - initial API and implementation + *******************************************************************************/ +package org.eclipse.sirius.properties.editor.properties.sections.properties.customoperation; + +// Start of user code imports + +import org.eclipse.emf.ecore.EAttribute; +import org.eclipse.sirius.editor.editorPlugin.SiriusEditor; +import org.eclipse.sirius.editor.properties.sections.common.AbstractTextPropertySection; +import org.eclipse.sirius.properties.PropertiesPackage; +import org.eclipse.swt.widgets.Composite; +import org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage; + +// End of user code imports + +/** + * A section for the identifier property of a CustomOperation object. + */ +public class CustomOperationIdentifierPropertySection extends AbstractTextPropertySection { + + /** + * @see org.eclipse.sirius.properties.editor.properties.sections.AbstractTextPropertySection#getDefaultLabelText() + */ + @Override + protected String getDefaultLabelText() { + return "Identifier"; //$NON-NLS-1$ + } + + /** + * @see org.eclipse.sirius.properties.editor.properties.sections.AbstractTextPropertySection#getLabelText() + */ + @Override + protected String getLabelText() { + String labelText; + labelText = super.getLabelText() + "*:"; //$NON-NLS-1$ + // Start of user code get label text + + // End of user code get label text + return labelText; + } + + /** + * @see org.eclipse.sirius.properties.editor.properties.sections.AbstractTextPropertySection#getFeature() + */ + @Override + public EAttribute getFeature() { + return PropertiesPackage.eINSTANCE.getCustomOperation_Identifier(); + } + + /** + * @see org.eclipse.sirius.properties.editor.properties.sections.AbstractTextPropertySection#getFeatureValue(String) + */ + @Override + protected Object getFeatureValue(String newText) { + return newText; + } + + /** + * @see org.eclipse.sirius.properties.editor.properties.sections.AbstractTextPropertySection#isEqual(String) + */ + @Override + protected boolean isEqual(String newText) { + return getFeatureAsText().equals(newText); + } + + /** + * {@inheritDoc} + */ + @Override + public void createControls(Composite parent, TabbedPropertySheetPage tabbedPropertySheetPage) { + super.createControls(parent, tabbedPropertySheetPage); + + nameLabel.setFont(SiriusEditor.getFontRegistry().get("required")); + + // Start of user code create controls + + // End of user code create controls + + } + + /** + * {@inheritDoc} + */ + @Override + protected String getPropertyDescription() { + return ""; + } + + // Start of user code user operations + + // End of user code user operations +} diff --git a/incubation/org.eclipse.sirius.properties.edit/icons/full/obj16/CustomDescription.gif b/incubation/org.eclipse.sirius.properties.edit/icons/full/obj16/CustomDescription.gif Binary files differnew file mode 100644 index 0000000000..1e5345fb32 --- /dev/null +++ b/incubation/org.eclipse.sirius.properties.edit/icons/full/obj16/CustomDescription.gif diff --git a/incubation/org.eclipse.sirius.properties.edit/icons/full/obj16/CustomExpression.gif b/incubation/org.eclipse.sirius.properties.edit/icons/full/obj16/CustomExpression.gif Binary files differnew file mode 100644 index 0000000000..cdd3b76e3c --- /dev/null +++ b/incubation/org.eclipse.sirius.properties.edit/icons/full/obj16/CustomExpression.gif diff --git a/incubation/org.eclipse.sirius.properties.edit/icons/full/obj16/CustomOperation.gif b/incubation/org.eclipse.sirius.properties.edit/icons/full/obj16/CustomOperation.gif Binary files differnew file mode 100644 index 0000000000..f8041d2255 --- /dev/null +++ b/incubation/org.eclipse.sirius.properties.edit/icons/full/obj16/CustomOperation.gif diff --git a/incubation/org.eclipse.sirius.properties.edit/plugin.properties b/incubation/org.eclipse.sirius.properties.edit/plugin.properties index 4663f4036a..a1f98c52ca 100644 --- a/incubation/org.eclipse.sirius.properties.edit/plugin.properties +++ b/incubation/org.eclipse.sirius.properties.edit/plugin.properties @@ -89,6 +89,18 @@ _UI_SingleReferenceDescription_createOperation_feature = Create Operation _UI_SingleReferenceDescription_searchOperation_feature = Search Operation _UI_SingleReferenceDescription_unsetOperation_feature = Unset Operation _UI_SingleReferenceDescription_onClickOperation_feature = On Click Operation +_UI_CustomDescription_type = Custom Description +_UI_CustomExpression_type = Custom Expression +_UI_CustomDescription_customExpressions_feature = Custom Expressions +_UI_CustomExpression_identifier_feature = Identifier +_UI_CustomExpression_customExpression_feature = Custom Expression +_UI_CustomExpression_customOperation_feature = Custom Operation +_UI_CustomDescription_initialOperation_feature = Initial Operation +_UI_CustomExpression_initialOperation_feature = Initial Operation +_UI_CustomOperation_type = Custom Operation +_UI_CustomDescription_customOperations_feature = Custom Operations +_UI_CustomOperation_identifier_feature = Identifier +_UI_CustomOperation_initialOperation_feature = Initial Operation _UI_OperationDescription_initialOperation_feature = Initial Operation _UI_MultipleReferencesDescription_type = Multiple References Description _UI_MultipleReferencesDescription_valueExpression_feature = Value Expression diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/ButtonDescriptionItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/ButtonDescriptionItemProvider.java index 4f635dc525..5a83741656 100644 --- a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/ButtonDescriptionItemProvider.java +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/ButtonDescriptionItemProvider.java @@ -62,7 +62,7 @@ public class ButtonDescriptionItemProvider extends WidgetDescriptionItemProvider /** * This adds a property descriptor for the Button Label Expression feature. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected void addButtonLabelExpressionPropertyDescriptor(Object object) { @@ -79,7 +79,7 @@ public class ButtonDescriptionItemProvider extends WidgetDescriptionItemProvider * {@link org.eclipse.emf.edit.command.RemoveCommand} or * {@link org.eclipse.emf.edit.command.MoveCommand} in * {@link #createCommand}. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -93,7 +93,7 @@ public class ButtonDescriptionItemProvider extends WidgetDescriptionItemProvider /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -108,7 +108,7 @@ public class ButtonDescriptionItemProvider extends WidgetDescriptionItemProvider /** * This returns ButtonDescription.gif. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override @@ -119,7 +119,7 @@ public class ButtonDescriptionItemProvider extends WidgetDescriptionItemProvider /** * This returns the label text for the adapted class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -133,7 +133,7 @@ public class ButtonDescriptionItemProvider extends WidgetDescriptionItemProvider * update any cached children and by creating a viewer notification, which * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/CheckboxDescriptionItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/CheckboxDescriptionItemProvider.java index 937edbd578..28c119f89b 100644 --- a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/CheckboxDescriptionItemProvider.java +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/CheckboxDescriptionItemProvider.java @@ -79,7 +79,7 @@ public class CheckboxDescriptionItemProvider extends WidgetDescriptionItemProvid * {@link org.eclipse.emf.edit.command.RemoveCommand} or * {@link org.eclipse.emf.edit.command.MoveCommand} in * {@link #createCommand}. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -93,7 +93,7 @@ public class CheckboxDescriptionItemProvider extends WidgetDescriptionItemProvid /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -108,7 +108,7 @@ public class CheckboxDescriptionItemProvider extends WidgetDescriptionItemProvid /** * This returns CheckboxDescription.gif. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override @@ -119,7 +119,7 @@ public class CheckboxDescriptionItemProvider extends WidgetDescriptionItemProvid /** * This returns the label text for the adapted class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -133,7 +133,7 @@ public class CheckboxDescriptionItemProvider extends WidgetDescriptionItemProvid * update any cached children and by creating a viewer notification, which * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/ContainerDescriptionItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/ContainerDescriptionItemProvider.java index 15f2fae1f7..d2e44487d7 100644 --- a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/ContainerDescriptionItemProvider.java +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/ContainerDescriptionItemProvider.java @@ -87,7 +87,7 @@ IItemPropertySource { * {@link org.eclipse.emf.edit.command.RemoveCommand} or * {@link org.eclipse.emf.edit.command.MoveCommand} in * {@link #createCommand}. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -102,7 +102,7 @@ IItemPropertySource { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -117,7 +117,7 @@ IItemPropertySource { /** * This returns ContainerDescription.gif. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override @@ -128,7 +128,7 @@ IItemPropertySource { /** * This returns the label text for the adapted class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -142,7 +142,7 @@ IItemPropertySource { * update any cached children and by creating a viewer notification, which * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override @@ -190,6 +190,8 @@ IItemPropertySource { newChildDescriptors.add(createChildParameter(PropertiesPackage.Literals.CONTAINER_DESCRIPTION__WIDGETS, PropertiesFactory.eINSTANCE.createMultipleReferencesDescription())); + newChildDescriptors.add(createChildParameter(PropertiesPackage.Literals.CONTAINER_DESCRIPTION__WIDGETS, PropertiesFactory.eINSTANCE.createCustomDescription())); + newChildDescriptors.add(createChildParameter(PropertiesPackage.Literals.CONTAINER_DESCRIPTION__DYNAMIC_MAPPINGS, PropertiesFactory.eINSTANCE.createDynamicMappingFor())); } diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/CustomDescriptionItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/CustomDescriptionItemProvider.java new file mode 100644 index 0000000000..e851f7d007 --- /dev/null +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/CustomDescriptionItemProvider.java @@ -0,0 +1,153 @@ +/** + * Copyright (c) 2016 Obeo. + * 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: + * Obeo - initial API and implementation + * + */ +package org.eclipse.sirius.properties.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ViewerNotification; +import org.eclipse.sirius.properties.CustomDescription; +import org.eclipse.sirius.properties.PropertiesFactory; +import org.eclipse.sirius.properties.PropertiesPackage; + +/** + * This is the item provider adapter for a + * {@link org.eclipse.sirius.properties.CustomDescription} object. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ +public class CustomDescriptionItemProvider extends WidgetDescriptionItemProvider { + /** + * This constructs an instance from a factory and a notifier. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public CustomDescriptionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + } + return itemPropertyDescriptors; + } + + /** + * This specifies how to implement {@link #getChildren} and is used to + * deduce an appropriate feature for an + * {@link org.eclipse.emf.edit.command.AddCommand}, + * {@link org.eclipse.emf.edit.command.RemoveCommand} or + * {@link org.eclipse.emf.edit.command.MoveCommand} in + * {@link #createCommand}. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(PropertiesPackage.Literals.CUSTOM_DESCRIPTION__CUSTOM_EXPRESSIONS); + childrenFeatures.add(PropertiesPackage.Literals.CUSTOM_DESCRIPTION__CUSTOM_OPERATIONS); + } + return childrenFeatures; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper + // feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns CustomDescription.gif. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/CustomDescription")); + } + + /** + * This returns the label text for the adapted class. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((CustomDescription) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_CustomDescription_type") : getString("_UI_CustomDescription_type") + " " + label; + } + + /** + * This handles model notifications by calling {@link #updateChildren} to + * update any cached children and by creating a viewer notification, which + * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(CustomDescription.class)) { + case PropertiesPackage.CUSTOM_DESCRIPTION__CUSTOM_EXPRESSIONS: + case PropertiesPackage.CUSTOM_DESCRIPTION__CUSTOM_OPERATIONS: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s + * describing the children that can be created under this object. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add(createChildParameter(PropertiesPackage.Literals.CUSTOM_DESCRIPTION__CUSTOM_EXPRESSIONS, PropertiesFactory.eINSTANCE.createCustomExpression())); + + newChildDescriptors.add(createChildParameter(PropertiesPackage.Literals.CUSTOM_DESCRIPTION__CUSTOM_OPERATIONS, PropertiesFactory.eINSTANCE.createCustomOperation())); + } + +} diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/CustomExpressionItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/CustomExpressionItemProvider.java new file mode 100644 index 0000000000..d4cb60c87d --- /dev/null +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/CustomExpressionItemProvider.java @@ -0,0 +1,161 @@ +/** + * Copyright (c) 2016 Obeo. + * 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: + * Obeo - initial API and implementation + * + */ +package org.eclipse.sirius.properties.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.util.ResourceLocator; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; +import org.eclipse.sirius.properties.CustomExpression; +import org.eclipse.sirius.properties.PropertiesPackage; + +/** + * This is the item provider adapter for a + * {@link org.eclipse.sirius.properties.CustomExpression} object. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ +public class CustomExpressionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, +IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public CustomExpressionItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addIdentifierPropertyDescriptor(object); + addCustomExpressionPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Identifier feature. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected void addIdentifierPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_CustomExpression_identifier_feature"), getString("_UI_PropertyDescriptor_description", "_UI_CustomExpression_identifier_feature", "_UI_CustomExpression_type"), + PropertiesPackage.Literals.CUSTOM_EXPRESSION__IDENTIFIER, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This adds a property descriptor for the Custom Expression feature. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected void addCustomExpressionPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_CustomExpression_customExpression_feature"), + getString("_UI_PropertyDescriptor_description", "_UI_CustomExpression_customExpression_feature", "_UI_CustomExpression_type"), + PropertiesPackage.Literals.CUSTOM_EXPRESSION__CUSTOM_EXPRESSION, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This returns CustomExpression.gif. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/CustomExpression")); + } + + /** + * This returns the label text for the adapted class. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((CustomExpression) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_CustomExpression_type") : getString("_UI_CustomExpression_type") + " " + label; + } + + /** + * This handles model notifications by calling {@link #updateChildren} to + * update any cached children and by creating a viewer notification, which + * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(CustomExpression.class)) { + case PropertiesPackage.CUSTOM_EXPRESSION__IDENTIFIER: + case PropertiesPackage.CUSTOM_EXPRESSION__CUSTOM_EXPRESSION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s + * describing the children that can be created under this object. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + } + + /** + * Return the resource locator for this item provider's resources. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return PropertiesEditPlugin.INSTANCE; + } + +} diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/CustomOperationItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/CustomOperationItemProvider.java new file mode 100644 index 0000000000..e5d8184154 --- /dev/null +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/CustomOperationItemProvider.java @@ -0,0 +1,186 @@ +/** + * Copyright (c) 2016 Obeo. + * 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: + * Obeo - initial API and implementation + * + */ +package org.eclipse.sirius.properties.provider; + +import java.util.Collection; +import java.util.List; + +import org.eclipse.emf.common.notify.AdapterFactory; +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.util.ResourceLocator; +import org.eclipse.emf.ecore.EStructuralFeature; +import org.eclipse.emf.edit.provider.ComposeableAdapterFactory; +import org.eclipse.emf.edit.provider.IEditingDomainItemProvider; +import org.eclipse.emf.edit.provider.IItemLabelProvider; +import org.eclipse.emf.edit.provider.IItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.IItemPropertySource; +import org.eclipse.emf.edit.provider.IStructuredItemContentProvider; +import org.eclipse.emf.edit.provider.ITreeItemContentProvider; +import org.eclipse.emf.edit.provider.ItemPropertyDescriptor; +import org.eclipse.emf.edit.provider.ItemProviderAdapter; +import org.eclipse.emf.edit.provider.ViewerNotification; +import org.eclipse.sirius.properties.CustomOperation; +import org.eclipse.sirius.properties.PropertiesPackage; +import org.eclipse.sirius.viewpoint.description.tool.ToolFactory; + +/** + * This is the item provider adapter for a + * {@link org.eclipse.sirius.properties.CustomOperation} object. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ +public class CustomOperationItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, +IItemPropertySource { + /** + * This constructs an instance from a factory and a notifier. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public CustomOperationItemProvider(AdapterFactory adapterFactory) { + super(adapterFactory); + } + + /** + * This returns the property descriptors for the adapted class. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) { + if (itemPropertyDescriptors == null) { + super.getPropertyDescriptors(object); + + addIdentifierPropertyDescriptor(object); + } + return itemPropertyDescriptors; + } + + /** + * This adds a property descriptor for the Identifier feature. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected void addIdentifierPropertyDescriptor(Object object) { + itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_CustomOperation_identifier_feature"), getString("_UI_PropertyDescriptor_description", "_UI_CustomOperation_identifier_feature", "_UI_CustomOperation_type"), + PropertiesPackage.Literals.CUSTOM_OPERATION__IDENTIFIER, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); + } + + /** + * This specifies how to implement {@link #getChildren} and is used to + * deduce an appropriate feature for an + * {@link org.eclipse.emf.edit.command.AddCommand}, + * {@link org.eclipse.emf.edit.command.RemoveCommand} or + * {@link org.eclipse.emf.edit.command.MoveCommand} in + * {@link #createCommand}. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) { + if (childrenFeatures == null) { + super.getChildrenFeatures(object); + childrenFeatures.add(PropertiesPackage.Literals.CUSTOM_OPERATION__INITIAL_OPERATION); + } + return childrenFeatures; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EStructuralFeature getChildFeature(Object object, Object child) { + // Check the type of the specified child object and return the proper + // feature to use for + // adding (see {@link AddCommand}) it as a child. + + return super.getChildFeature(object, child); + } + + /** + * This returns CustomOperation.gif. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @generated + */ + @Override + public Object getImage(Object object) { + return overlayImage(object, getResourceLocator().getImage("full/obj16/CustomOperation")); + } + + /** + * This returns the label text for the adapted class. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public String getText(Object object) { + String label = ((CustomOperation) object).getIdentifier(); + return label == null || label.length() == 0 ? getString("_UI_CustomOperation_type") : getString("_UI_CustomOperation_type") + " " + label; + } + + /** + * This handles model notifications by calling {@link #updateChildren} to + * update any cached children and by creating a viewer notification, which + * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @generated + */ + @Override + public void notifyChanged(Notification notification) { + updateChildren(notification); + + switch (notification.getFeatureID(CustomOperation.class)) { + case PropertiesPackage.CUSTOM_OPERATION__IDENTIFIER: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); + return; + case PropertiesPackage.CUSTOM_OPERATION__INITIAL_OPERATION: + fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false)); + return; + } + super.notifyChanged(notification); + } + + /** + * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s + * describing the children that can be created under this object. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) { + super.collectNewChildDescriptors(newChildDescriptors, object); + + newChildDescriptors.add(createChildParameter(PropertiesPackage.Literals.CUSTOM_OPERATION__INITIAL_OPERATION, ToolFactory.eINSTANCE.createInitialOperation())); + } + + /** + * Return the resource locator for this item provider's resources. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public ResourceLocator getResourceLocator() { + return PropertiesEditPlugin.INSTANCE; + } + +} diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/DynamicMappingForItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/DynamicMappingForItemProvider.java index fd2203e548..448043edba 100644 --- a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/DynamicMappingForItemProvider.java +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/DynamicMappingForItemProvider.java @@ -83,7 +83,7 @@ IItemPropertySource { /** * This adds a property descriptor for the Domain Class Expression feature. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected void addDomainClassExpressionPropertyDescriptor(Object object) { @@ -100,7 +100,7 @@ IItemPropertySource { * {@link org.eclipse.emf.edit.command.RemoveCommand} or * {@link org.eclipse.emf.edit.command.MoveCommand} in * {@link #createCommand}. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -114,7 +114,7 @@ IItemPropertySource { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -129,7 +129,7 @@ IItemPropertySource { /** * This returns DynamicMappingFor.gif. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override @@ -140,7 +140,7 @@ IItemPropertySource { /** * This returns the label text for the adapted class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -154,7 +154,7 @@ IItemPropertySource { * update any cached children and by creating a viewer notification, which * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/DynamicMappingIfItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/DynamicMappingIfItemProvider.java index 1dc0140750..0b4f70d0bf 100644 --- a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/DynamicMappingIfItemProvider.java +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/DynamicMappingIfItemProvider.java @@ -70,7 +70,7 @@ IItemPropertySource { /** * This adds a property descriptor for the Predicate Expression feature. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected void addPredicateExpressionPropertyDescriptor(Object object) { @@ -87,7 +87,7 @@ IItemPropertySource { * {@link org.eclipse.emf.edit.command.RemoveCommand} or * {@link org.eclipse.emf.edit.command.MoveCommand} in * {@link #createCommand}. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -101,7 +101,7 @@ IItemPropertySource { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -116,7 +116,7 @@ IItemPropertySource { /** * This returns DynamicMappingIf.gif. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override @@ -127,7 +127,7 @@ IItemPropertySource { /** * This returns the label text for the adapted class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -141,7 +141,7 @@ IItemPropertySource { * update any cached children and by creating a viewer notification, which * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override @@ -187,6 +187,8 @@ IItemPropertySource { newChildDescriptors.add(createChildParameter(PropertiesPackage.Literals.DYNAMIC_MAPPING_IF__WIDGET, PropertiesFactory.eINSTANCE.createSingleReferenceDescription())); newChildDescriptors.add(createChildParameter(PropertiesPackage.Literals.DYNAMIC_MAPPING_IF__WIDGET, PropertiesFactory.eINSTANCE.createMultipleReferencesDescription())); + + newChildDescriptors.add(createChildParameter(PropertiesPackage.Literals.DYNAMIC_MAPPING_IF__WIDGET, PropertiesFactory.eINSTANCE.createCustomDescription())); } /** diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/GroupDescriptionItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/GroupDescriptionItemProvider.java index 441070c215..5df598fd29 100644 --- a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/GroupDescriptionItemProvider.java +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/GroupDescriptionItemProvider.java @@ -110,7 +110,7 @@ IItemPropertySource { /** * This adds a property descriptor for the Semantic Candidate Expression * feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected void addSemanticCandidateExpressionPropertyDescriptor(Object object) { @@ -127,7 +127,7 @@ IItemPropertySource { * {@link org.eclipse.emf.edit.command.RemoveCommand} or * {@link org.eclipse.emf.edit.command.MoveCommand} in * {@link #createCommand}. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -142,7 +142,7 @@ IItemPropertySource { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -157,7 +157,7 @@ IItemPropertySource { /** * This returns GroupDescription.gif. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override @@ -168,7 +168,7 @@ IItemPropertySource { /** * This returns the label text for the adapted class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -182,7 +182,7 @@ IItemPropertySource { * update any cached children and by creating a viewer notification, which * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/GroupValidationSetDescriptionItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/GroupValidationSetDescriptionItemProvider.java index 0468968a32..55a9beb12f 100644 --- a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/GroupValidationSetDescriptionItemProvider.java +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/GroupValidationSetDescriptionItemProvider.java @@ -35,7 +35,7 @@ import org.eclipse.sirius.viewpoint.description.validation.ValidationFactory; * This is the item provider adapter for a * {@link org.eclipse.sirius.properties.GroupValidationSetDescription} object. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public class GroupValidationSetDescriptionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, @@ -72,7 +72,7 @@ IItemPropertySource { * {@link org.eclipse.emf.edit.command.RemoveCommand} or * {@link org.eclipse.emf.edit.command.MoveCommand} in * {@link #createCommand}. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -87,7 +87,7 @@ IItemPropertySource { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -102,7 +102,7 @@ IItemPropertySource { /** * This returns GroupValidationSetDescription.gif. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @generated */ @Override @@ -113,7 +113,7 @@ IItemPropertySource { /** * This returns the label text for the adapted class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -126,7 +126,7 @@ IItemPropertySource { * update any cached children and by creating a viewer notification, which * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/LabelDescriptionItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/LabelDescriptionItemProvider.java index ac10f3bef8..852820f07e 100644 --- a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/LabelDescriptionItemProvider.java +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/LabelDescriptionItemProvider.java @@ -72,7 +72,7 @@ public class LabelDescriptionItemProvider extends WidgetDescriptionItemProvider /** * This returns LabelDescription.gif. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override @@ -83,7 +83,7 @@ public class LabelDescriptionItemProvider extends WidgetDescriptionItemProvider /** * This returns the label text for the adapted class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -97,7 +97,7 @@ public class LabelDescriptionItemProvider extends WidgetDescriptionItemProvider * update any cached children and by creating a viewer notification, which * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/MultipleReferencesDescriptionItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/MultipleReferencesDescriptionItemProvider.java index 78199cfeb1..61e56b6dda 100644 --- a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/MultipleReferencesDescriptionItemProvider.java +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/MultipleReferencesDescriptionItemProvider.java @@ -29,7 +29,7 @@ import org.eclipse.sirius.properties.PropertiesPackage; * This is the item provider adapter for a * {@link org.eclipse.sirius.properties.MultipleReferencesDescription} object. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public class MultipleReferencesDescriptionItemProvider extends WidgetDescriptionItemProvider { @@ -93,7 +93,7 @@ public class MultipleReferencesDescriptionItemProvider extends WidgetDescription * {@link org.eclipse.emf.edit.command.RemoveCommand} or * {@link org.eclipse.emf.edit.command.MoveCommand} in * {@link #createCommand}. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -112,7 +112,7 @@ public class MultipleReferencesDescriptionItemProvider extends WidgetDescription /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -127,7 +127,7 @@ public class MultipleReferencesDescriptionItemProvider extends WidgetDescription /** * This returns MultipleReferencesDescription.gif. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @generated */ @Override @@ -138,7 +138,7 @@ public class MultipleReferencesDescriptionItemProvider extends WidgetDescription /** * This returns the label text for the adapted class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -152,7 +152,7 @@ public class MultipleReferencesDescriptionItemProvider extends WidgetDescription * update any cached children and by creating a viewer notification, which * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/OperationDescriptionItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/OperationDescriptionItemProvider.java index 935cd4814e..f89d57e1be 100644 --- a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/OperationDescriptionItemProvider.java +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/OperationDescriptionItemProvider.java @@ -71,7 +71,7 @@ IItemPropertySource { * {@link org.eclipse.emf.edit.command.RemoveCommand} or * {@link org.eclipse.emf.edit.command.MoveCommand} in * {@link #createCommand}. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -85,7 +85,7 @@ IItemPropertySource { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -100,7 +100,7 @@ IItemPropertySource { /** * This returns OperationDescription.gif. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override @@ -111,7 +111,7 @@ IItemPropertySource { /** * This returns the label text for the adapted class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -124,7 +124,7 @@ IItemPropertySource { * update any cached children and by creating a viewer notification, which * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/PageDescriptionItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/PageDescriptionItemProvider.java index b839d2be75..2c1474a23c 100644 --- a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/PageDescriptionItemProvider.java +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/PageDescriptionItemProvider.java @@ -110,7 +110,7 @@ IItemPropertySource { /** * This adds a property descriptor for the Semantic Candidate Expression * feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected void addSemanticCandidateExpressionPropertyDescriptor(Object object) { @@ -139,7 +139,7 @@ IItemPropertySource { * {@link org.eclipse.emf.edit.command.RemoveCommand} or * {@link org.eclipse.emf.edit.command.MoveCommand} in * {@link #createCommand}. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -153,7 +153,7 @@ IItemPropertySource { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -168,7 +168,7 @@ IItemPropertySource { /** * This returns PageDescription.gif. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override @@ -179,7 +179,7 @@ IItemPropertySource { /** * This returns the label text for the adapted class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -193,7 +193,7 @@ IItemPropertySource { * update any cached children and by creating a viewer notification, which * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/PageValidationSetDescriptionItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/PageValidationSetDescriptionItemProvider.java index 54cabeba36..8193b2f51d 100644 --- a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/PageValidationSetDescriptionItemProvider.java +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/PageValidationSetDescriptionItemProvider.java @@ -34,7 +34,7 @@ import org.eclipse.sirius.viewpoint.description.validation.ValidationFactory; * This is the item provider adapter for a * {@link org.eclipse.sirius.properties.PageValidationSetDescription} object. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public class PageValidationSetDescriptionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, @@ -71,7 +71,7 @@ IItemPropertySource { * {@link org.eclipse.emf.edit.command.RemoveCommand} or * {@link org.eclipse.emf.edit.command.MoveCommand} in * {@link #createCommand}. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -85,7 +85,7 @@ IItemPropertySource { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -100,7 +100,7 @@ IItemPropertySource { /** * This returns PageValidationSetDescription.gif. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @generated */ @Override @@ -111,7 +111,7 @@ IItemPropertySource { /** * This returns the label text for the adapted class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -124,7 +124,7 @@ IItemPropertySource { * update any cached children and by creating a viewer notification, which * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/PropertiesEditPlugin.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/PropertiesEditPlugin.java index 454d712886..d21d33263e 100644 --- a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/PropertiesEditPlugin.java +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/PropertiesEditPlugin.java @@ -41,7 +41,7 @@ public final class PropertiesEditPlugin extends EMFPlugin { /** * Create the instance. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public PropertiesEditPlugin() { @@ -51,7 +51,7 @@ public final class PropertiesEditPlugin extends EMFPlugin { /** * Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @return the singleton instance. * @generated */ @@ -63,7 +63,7 @@ public final class PropertiesEditPlugin extends EMFPlugin { /** * Returns the singleton instance of the Eclipse plugin. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @return the singleton instance. * @generated */ @@ -80,7 +80,7 @@ public final class PropertiesEditPlugin extends EMFPlugin { public static class Implementation extends EclipsePlugin { /** * Creates an instance. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public Implementation() { diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/PropertiesItemProviderAdapterFactory.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/PropertiesItemProviderAdapterFactory.java index 4bcc9fa881..44db2c6e7b 100644 --- a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/PropertiesItemProviderAdapterFactory.java +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/PropertiesItemProviderAdapterFactory.java @@ -50,14 +50,14 @@ import org.eclipse.sirius.viewpoint.description.validation.util.ValidationSwitch * adapters also support Eclipse property sheets. Note that most of the adapters * are shared among multiple instances. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFactory implements ComposeableAdapterFactory, IChangeNotifier, IDisposable { /** * This keeps track of the root adapter factory that delegates to this * adapter factory. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected ComposedAdapterFactory parentAdapterFactory; @@ -75,7 +75,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto * This keeps track of all the supported types checked by * {@link #isFactoryForType isFactoryForType}. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ protected Collection<Object> supportedTypes = new ArrayList<Object>(); @@ -98,7 +98,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto * This keeps track of the one adapter used for all * {@link org.eclipse.sirius.properties.ViewExtensionDescription} instances. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected ViewExtensionDescriptionItemProvider viewExtensionDescriptionItemProvider; @@ -148,7 +148,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto * This keeps track of the one adapter used for all * {@link org.eclipse.sirius.properties.PageValidationSetDescription} * instances. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected PageValidationSetDescriptionItemProvider pageValidationSetDescriptionItemProvider; @@ -198,7 +198,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto * This keeps track of the one adapter used for all * {@link org.eclipse.sirius.properties.GroupValidationSetDescription} * instances. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected GroupValidationSetDescriptionItemProvider groupValidationSetDescriptionItemProvider; @@ -223,7 +223,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto * This keeps track of the one adapter used for all * {@link org.eclipse.sirius.properties.PropertyValidationRule} instances. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected PropertyValidationRuleItemProvider propertyValidationRuleItemProvider; @@ -248,7 +248,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto * This keeps track of the one adapter used for all * {@link org.eclipse.sirius.properties.ContainerDescription} instances. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected ContainerDescriptionItemProvider containerDescriptionItemProvider; @@ -498,7 +498,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto * This keeps track of the one adapter used for all * {@link org.eclipse.sirius.properties.SingleReferenceDescription} * instances. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected SingleReferenceDescriptionItemProvider singleReferenceDescriptionItemProvider; @@ -523,7 +523,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto * This keeps track of the one adapter used for all * {@link org.eclipse.sirius.properties.OperationDescription} instances. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected OperationDescriptionItemProvider operationDescriptionItemProvider; @@ -548,7 +548,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto * This keeps track of the one adapter used for all * {@link org.eclipse.sirius.properties.MultipleReferencesDescription} * instances. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected MultipleReferencesDescriptionItemProvider multipleReferencesDescriptionItemProvider; @@ -570,6 +570,81 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto } /** + * This keeps track of the one adapter used for all + * {@link org.eclipse.sirius.properties.CustomDescription} instances. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected CustomDescriptionItemProvider customDescriptionItemProvider; + + /** + * This creates an adapter for a + * {@link org.eclipse.sirius.properties.CustomDescription}. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public Adapter createCustomDescriptionAdapter() { + if (customDescriptionItemProvider == null) { + customDescriptionItemProvider = new CustomDescriptionItemProvider(this); + } + + return customDescriptionItemProvider; + } + + /** + * This keeps track of the one adapter used for all + * {@link org.eclipse.sirius.properties.CustomExpression} instances. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected CustomExpressionItemProvider customExpressionItemProvider; + + /** + * This creates an adapter for a + * {@link org.eclipse.sirius.properties.CustomExpression}. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public Adapter createCustomExpressionAdapter() { + if (customExpressionItemProvider == null) { + customExpressionItemProvider = new CustomExpressionItemProvider(this); + } + + return customExpressionItemProvider; + } + + /** + * This keeps track of the one adapter used for all + * {@link org.eclipse.sirius.properties.CustomOperation} instances. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected CustomOperationItemProvider customOperationItemProvider; + + /** + * This creates an adapter for a + * {@link org.eclipse.sirius.properties.CustomOperation}. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public Adapter createCustomOperationAdapter() { + if (customOperationItemProvider == null) { + customOperationItemProvider = new CustomOperationItemProvider(this); + } + + return customOperationItemProvider; + } + + /** * This returns the root adapter factory that contains this factory. <!-- * begin-user-doc --> <!-- end-user-doc --> * @@ -593,7 +668,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -604,7 +679,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto /** * This implementation substitutes the factory itself as the key for the * adapter. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -614,7 +689,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -631,7 +706,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto /** * This adds a listener. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -641,7 +716,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto /** * This removes a listener. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -730,6 +805,15 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto if (multipleReferencesDescriptionItemProvider != null) { multipleReferencesDescriptionItemProvider.dispose(); } + if (customDescriptionItemProvider != null) { + customDescriptionItemProvider.dispose(); + } + if (customExpressionItemProvider != null) { + customExpressionItemProvider.dispose(); + } + if (customOperationItemProvider != null) { + customOperationItemProvider.dispose(); + } } /** @@ -742,14 +826,14 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto /** * The switch for creating child descriptors specific to each extended * class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected static class CreationSwitch extends DescriptionSwitch<Object> { /** * The child descriptors being populated. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @generated */ protected List<Object> newChildDescriptors; @@ -757,7 +841,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto /** * The domain in which to create the children. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @generated */ protected EditingDomain editingDomain; @@ -765,7 +849,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto /** * Creates the a switch for populating child descriptors in the * given domain. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ CreationSwitch(List<Object> newChildDescriptors, EditingDomain editingDomain) { @@ -775,7 +859,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -787,7 +871,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected CommandParameter createChildParameter(Object feature, Object child) { @@ -798,7 +882,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -810,7 +894,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -829,14 +913,14 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto /** * The switch for creating child descriptors specific to each extended * class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected static class CreationSwitch extends ValidationSwitch<Object> { /** * The child descriptors being populated. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @generated */ protected List<Object> newChildDescriptors; @@ -844,7 +928,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto /** * The domain in which to create the children. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @generated */ protected EditingDomain editingDomain; @@ -852,7 +936,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto /** * Creates the a switch for populating child descriptors in the * given domain. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ CreationSwitch(List<Object> newChildDescriptors, EditingDomain editingDomain) { @@ -862,7 +946,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -874,7 +958,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected CommandParameter createChildParameter(Object feature, Object child) { @@ -885,7 +969,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -897,7 +981,7 @@ public class PropertiesItemProviderAdapterFactory extends PropertiesAdapterFacto /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/PropertyValidationRuleItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/PropertyValidationRuleItemProvider.java index d2ca6eeb4f..78d9189ba8 100644 --- a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/PropertyValidationRuleItemProvider.java +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/PropertyValidationRuleItemProvider.java @@ -73,7 +73,7 @@ public class PropertyValidationRuleItemProvider extends ValidationRuleItemProvid /** * This returns PropertyValidationRule.gif. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override @@ -84,7 +84,7 @@ public class PropertyValidationRuleItemProvider extends ValidationRuleItemProvid /** * This returns the label text for the adapted class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -98,7 +98,7 @@ public class PropertyValidationRuleItemProvider extends ValidationRuleItemProvid * update any cached children and by creating a viewer notification, which * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/RadioDescriptionItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/RadioDescriptionItemProvider.java index af76c16779..a04da70cbd 100644 --- a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/RadioDescriptionItemProvider.java +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/RadioDescriptionItemProvider.java @@ -77,7 +77,7 @@ public class RadioDescriptionItemProvider extends WidgetDescriptionItemProvider /** * This adds a property descriptor for the Candidates Expression feature. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected void addCandidatesExpressionPropertyDescriptor(Object object) { @@ -90,7 +90,7 @@ public class RadioDescriptionItemProvider extends WidgetDescriptionItemProvider /** * This adds a property descriptor for the Candidate Display Expression * feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected void addCandidateDisplayExpressionPropertyDescriptor(Object object) { @@ -107,7 +107,7 @@ public class RadioDescriptionItemProvider extends WidgetDescriptionItemProvider * {@link org.eclipse.emf.edit.command.RemoveCommand} or * {@link org.eclipse.emf.edit.command.MoveCommand} in * {@link #createCommand}. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -121,7 +121,7 @@ public class RadioDescriptionItemProvider extends WidgetDescriptionItemProvider /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -136,7 +136,7 @@ public class RadioDescriptionItemProvider extends WidgetDescriptionItemProvider /** * This returns RadioDescription.gif. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override @@ -147,7 +147,7 @@ public class RadioDescriptionItemProvider extends WidgetDescriptionItemProvider /** * This returns the label text for the adapted class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -161,7 +161,7 @@ public class RadioDescriptionItemProvider extends WidgetDescriptionItemProvider * update any cached children and by creating a viewer notification, which * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/SelectDescriptionItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/SelectDescriptionItemProvider.java index 16f2c84a3c..7d8a0920c7 100644 --- a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/SelectDescriptionItemProvider.java +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/SelectDescriptionItemProvider.java @@ -77,7 +77,7 @@ public class SelectDescriptionItemProvider extends WidgetDescriptionItemProvider /** * This adds a property descriptor for the Candidates Expression feature. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected void addCandidatesExpressionPropertyDescriptor(Object object) { @@ -90,7 +90,7 @@ public class SelectDescriptionItemProvider extends WidgetDescriptionItemProvider /** * This adds a property descriptor for the Candidate Display Expression * feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected void addCandidateDisplayExpressionPropertyDescriptor(Object object) { @@ -107,7 +107,7 @@ public class SelectDescriptionItemProvider extends WidgetDescriptionItemProvider * {@link org.eclipse.emf.edit.command.RemoveCommand} or * {@link org.eclipse.emf.edit.command.MoveCommand} in * {@link #createCommand}. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -121,7 +121,7 @@ public class SelectDescriptionItemProvider extends WidgetDescriptionItemProvider /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -136,7 +136,7 @@ public class SelectDescriptionItemProvider extends WidgetDescriptionItemProvider /** * This returns SelectDescription.gif. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override @@ -147,7 +147,7 @@ public class SelectDescriptionItemProvider extends WidgetDescriptionItemProvider /** * This returns the label text for the adapted class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -161,7 +161,7 @@ public class SelectDescriptionItemProvider extends WidgetDescriptionItemProvider * update any cached children and by creating a viewer notification, which * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/SingleReferenceDescriptionItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/SingleReferenceDescriptionItemProvider.java index 381c635862..c12b98e18d 100644 --- a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/SingleReferenceDescriptionItemProvider.java +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/SingleReferenceDescriptionItemProvider.java @@ -93,7 +93,7 @@ public class SingleReferenceDescriptionItemProvider extends WidgetDescriptionIte * {@link org.eclipse.emf.edit.command.RemoveCommand} or * {@link org.eclipse.emf.edit.command.MoveCommand} in * {@link #createCommand}. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -110,7 +110,7 @@ public class SingleReferenceDescriptionItemProvider extends WidgetDescriptionIte /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -125,7 +125,7 @@ public class SingleReferenceDescriptionItemProvider extends WidgetDescriptionIte /** * This returns SingleReferenceDescription.gif. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override @@ -136,7 +136,7 @@ public class SingleReferenceDescriptionItemProvider extends WidgetDescriptionIte /** * This returns the label text for the adapted class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -150,7 +150,7 @@ public class SingleReferenceDescriptionItemProvider extends WidgetDescriptionIte * update any cached children and by creating a viewer notification, which * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/TextAreaDescriptionItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/TextAreaDescriptionItemProvider.java index b25a9692b0..13f3e4d304 100644 --- a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/TextAreaDescriptionItemProvider.java +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/TextAreaDescriptionItemProvider.java @@ -72,7 +72,7 @@ public class TextAreaDescriptionItemProvider extends TextDescriptionItemProvider /** * This returns TextAreaDescription.gif. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override @@ -83,7 +83,7 @@ public class TextAreaDescriptionItemProvider extends TextDescriptionItemProvider /** * This returns the label text for the adapted class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -97,7 +97,7 @@ public class TextAreaDescriptionItemProvider extends TextDescriptionItemProvider * update any cached children and by creating a viewer notification, which * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/TextDescriptionItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/TextDescriptionItemProvider.java index 4c2fc9aec7..dcc7e1a16d 100644 --- a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/TextDescriptionItemProvider.java +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/TextDescriptionItemProvider.java @@ -78,7 +78,7 @@ public class TextDescriptionItemProvider extends WidgetDescriptionItemProvider { * {@link org.eclipse.emf.edit.command.RemoveCommand} or * {@link org.eclipse.emf.edit.command.MoveCommand} in * {@link #createCommand}. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -92,7 +92,7 @@ public class TextDescriptionItemProvider extends WidgetDescriptionItemProvider { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -107,7 +107,7 @@ public class TextDescriptionItemProvider extends WidgetDescriptionItemProvider { /** * This returns TextDescription.gif. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override @@ -118,7 +118,7 @@ public class TextDescriptionItemProvider extends WidgetDescriptionItemProvider { /** * This returns the label text for the adapted class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -132,7 +132,7 @@ public class TextDescriptionItemProvider extends WidgetDescriptionItemProvider { * update any cached children and by creating a viewer notification, which * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/ViewExtensionDescriptionItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/ViewExtensionDescriptionItemProvider.java index 6e170e236e..5ed6d98716 100644 --- a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/ViewExtensionDescriptionItemProvider.java +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/ViewExtensionDescriptionItemProvider.java @@ -129,7 +129,7 @@ IItemPropertySource { * {@link org.eclipse.emf.edit.command.RemoveCommand} or * {@link org.eclipse.emf.edit.command.MoveCommand} in * {@link #createCommand}. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -144,7 +144,7 @@ IItemPropertySource { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -159,7 +159,7 @@ IItemPropertySource { /** * This returns ViewExtensionDescription.gif. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override @@ -170,7 +170,7 @@ IItemPropertySource { /** * This returns the label text for the adapted class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -184,7 +184,7 @@ IItemPropertySource { * update any cached children and by creating a viewer notification, which * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/WidgetDescriptionItemProvider.java b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/WidgetDescriptionItemProvider.java index 9c2fbe97ff..b524e18a36 100644 --- a/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/WidgetDescriptionItemProvider.java +++ b/incubation/org.eclipse.sirius.properties.edit/src-gen/org/eclipse/sirius/properties/provider/WidgetDescriptionItemProvider.java @@ -108,7 +108,7 @@ IItemPropertySource { /** * This returns the label text for the adapted class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -122,7 +122,7 @@ IItemPropertySource { * update any cached children and by creating a viewer notification, which * it passes to {@link #fireNotifyChanged}. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties/model/properties.ecore b/incubation/org.eclipse.sirius.properties/model/properties.ecore index a7f38d54c2..65ae71c2df 100644 --- a/incubation/org.eclipse.sirius.properties/model/properties.ecore +++ b/incubation/org.eclipse.sirius.properties/model/properties.ecore @@ -238,4 +238,22 @@ <eStructuralFeatures xsi:type="ecore:EReference" name="downOperation" eType="#//OperationDescription" containment="true"/> </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="CustomDescription" eSuperTypes="#//WidgetDescription"> + <eStructuralFeatures xsi:type="ecore:EReference" name="customExpressions" upperBound="-1" + eType="#//CustomExpression" containment="true"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="customOperations" upperBound="-1" + eType="#//CustomOperation" containment="true"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="CustomExpression"> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="identifier" lowerBound="1" + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="customExpression" eType="ecore:EDataType ../../org.eclipse.sirius/model/viewpoint.ecore#//description/InterpretedExpression"/> + </eClassifiers> + <eClassifiers xsi:type="ecore:EClass" name="CustomOperation"> + <eStructuralFeatures xsi:type="ecore:EAttribute" name="identifier" lowerBound="1" + eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/> + <eStructuralFeatures xsi:type="ecore:EReference" name="initialOperation" lowerBound="1" + eType="ecore:EClass ../../org.eclipse.sirius/model/viewpoint.ecore#//description/tool/InitialOperation" + containment="true"/> + </eClassifiers> </ecore:EPackage> diff --git a/incubation/org.eclipse.sirius.properties/model/properties.genmodel b/incubation/org.eclipse.sirius.properties/model/properties.genmodel index 79c5f5e182..623f966802 100644 --- a/incubation/org.eclipse.sirius.properties/model/properties.genmodel +++ b/incubation/org.eclipse.sirius.properties/model/properties.genmodel @@ -117,5 +117,17 @@ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference properties.ecore#//MultipleReferencesDescription/upOperation"/> <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference properties.ecore#//MultipleReferencesDescription/downOperation"/> </genClasses> + <genClasses ecoreClass="properties.ecore#//CustomDescription"> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference properties.ecore#//CustomDescription/customExpressions"/> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference properties.ecore#//CustomDescription/customOperations"/> + </genClasses> + <genClasses ecoreClass="properties.ecore#//CustomExpression"> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute properties.ecore#//CustomExpression/identifier"/> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute properties.ecore#//CustomExpression/customExpression"/> + </genClasses> + <genClasses ecoreClass="properties.ecore#//CustomOperation"> + <genFeatures createChild="false" ecoreFeature="ecore:EAttribute properties.ecore#//CustomOperation/identifier"/> + <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference properties.ecore#//CustomOperation/initialOperation"/> + </genClasses> </genPackages> </genmodel:GenModel> diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/ButtonDescription.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/ButtonDescription.java index 2263aa80fa..2e7bddf5eb 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/ButtonDescription.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/ButtonDescription.java @@ -42,7 +42,7 @@ public interface ButtonDescription extends WidgetDescription { * clear, there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Button Label Expression</em>' attribute. * @see #setButtonLabelExpression(String) * @see org.eclipse.sirius.properties.PropertiesPackage#getButtonDescription_ButtonLabelExpression() @@ -57,7 +57,7 @@ public interface ButtonDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.ButtonDescription#getButtonLabelExpression * <em>Button Label Expression</em>}' attribute. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>Button Label Expression</em>' * attribute. @@ -74,7 +74,7 @@ public interface ButtonDescription extends WidgetDescription { * isn't clear, there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Initial Operation</em>' containment * reference. * @see #setInitialOperation(InitialOperation) @@ -89,7 +89,7 @@ public interface ButtonDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.ButtonDescription#getInitialOperation * <em>Initial Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>Initial Operation</em>' containment * reference. diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/CheckboxDescription.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/CheckboxDescription.java index 64f62e808b..983f6636b3 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/CheckboxDescription.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/CheckboxDescription.java @@ -42,7 +42,7 @@ public interface CheckboxDescription extends WidgetDescription { * there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Value Expression</em>' attribute. * @see #setValueExpression(String) * @see org.eclipse.sirius.properties.PropertiesPackage#getCheckboxDescription_ValueExpression() @@ -57,7 +57,7 @@ public interface CheckboxDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.CheckboxDescription#getValueExpression * <em>Value Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Value Expression</em>' attribute. * @see #getValueExpression() @@ -73,7 +73,7 @@ public interface CheckboxDescription extends WidgetDescription { * isn't clear, there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Initial Operation</em>' containment * reference. * @see #setInitialOperation(InitialOperation) @@ -88,7 +88,7 @@ public interface CheckboxDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.CheckboxDescription#getInitialOperation * <em>Initial Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>Initial Operation</em>' containment * reference. diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/ContainerDescription.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/ContainerDescription.java index e97069f536..7cf5d2d1f5 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/ContainerDescription.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/ContainerDescription.java @@ -58,7 +58,7 @@ public interface ContainerDescription extends EObject { * {@link org.eclipse.sirius.properties.ContainerDescription#getIdentifier * <em>Identifier</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Identifier</em>' attribute. * @see #getIdentifier() diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/CustomDescription.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/CustomDescription.java new file mode 100644 index 0000000000..08ab1b4b17 --- /dev/null +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/CustomDescription.java @@ -0,0 +1,75 @@ +/** + * Copyright (c) 2016 Obeo. + * 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: + * Obeo - initial API and implementation + * + */ +package org.eclipse.sirius.properties; + +import org.eclipse.emf.common.util.EList; + +/** + * <!-- begin-user-doc --> A representation of the model object ' + * <em><b>Custom Description</b></em>'. <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li> + * {@link org.eclipse.sirius.properties.CustomDescription#getCustomExpressions + * <em>Custom Expressions</em>}</li> + * <li> + * {@link org.eclipse.sirius.properties.CustomDescription#getCustomOperations + * <em>Custom Operations</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.sirius.properties.PropertiesPackage#getCustomDescription() + * @model + * @generated + */ +public interface CustomDescription extends WidgetDescription { + /** + * Returns the value of the '<em><b>Custom Expressions</b></em>' containment + * reference list. The list contents are of type + * {@link org.eclipse.sirius.properties.CustomExpression}. <!-- + * begin-user-doc --> + * <p> + * If the meaning of the '<em>Custom Expressions</em>' containment reference + * list isn't clear, there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Custom Expressions</em>' containment + * reference list. + * @see org.eclipse.sirius.properties.PropertiesPackage#getCustomDescription_CustomExpressions() + * @model containment="true" + * @generated + */ + EList<CustomExpression> getCustomExpressions(); + + /** + * Returns the value of the '<em><b>Custom Operations</b></em>' containment + * reference list. The list contents are of type + * {@link org.eclipse.sirius.properties.CustomOperation}. <!-- + * begin-user-doc --> + * <p> + * If the meaning of the '<em>Custom Operations</em>' containment reference + * list isn't clear, there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Custom Operations</em>' containment + * reference list. + * @see org.eclipse.sirius.properties.PropertiesPackage#getCustomDescription_CustomOperations() + * @model containment="true" + * @generated + */ + EList<CustomOperation> getCustomOperations(); + +} // CustomDescription diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/CustomExpression.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/CustomExpression.java new file mode 100644 index 0000000000..e2325523c1 --- /dev/null +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/CustomExpression.java @@ -0,0 +1,97 @@ +/** + * Copyright (c) 2016 Obeo. + * 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: + * Obeo - initial API and implementation + * + */ +package org.eclipse.sirius.properties; + +import org.eclipse.emf.ecore.EObject; + +/** + * <!-- begin-user-doc --> A representation of the model object ' + * <em><b>Custom Expression</b></em>'. <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.sirius.properties.CustomExpression#getIdentifier <em> + * Identifier</em>}</li> + * <li> + * {@link org.eclipse.sirius.properties.CustomExpression#getCustomExpression + * <em>Custom Expression</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.sirius.properties.PropertiesPackage#getCustomExpression() + * @model + * @generated + */ +public interface CustomExpression extends EObject { + /** + * Returns the value of the '<em><b>Identifier</b></em>' attribute. <!-- + * begin-user-doc --> + * <p> + * If the meaning of the '<em>Identifier</em>' attribute isn't clear, there + * really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Identifier</em>' attribute. + * @see #setIdentifier(String) + * @see org.eclipse.sirius.properties.PropertiesPackage#getCustomExpression_Identifier() + * @model required="true" + * @generated + */ + String getIdentifier(); + + /** + * Sets the value of the ' + * {@link org.eclipse.sirius.properties.CustomExpression#getIdentifier + * <em>Identifier</em>}' attribute. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @param value + * the new value of the '<em>Identifier</em>' attribute. + * @see #getIdentifier() + * @generated + */ + void setIdentifier(String value); + + /** + * Returns the value of the '<em><b>Custom Expression</b></em>' attribute. + * <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Custom Expression</em>' attribute isn't clear, + * there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Custom Expression</em>' attribute. + * @see #setCustomExpression(String) + * @see org.eclipse.sirius.properties.PropertiesPackage#getCustomExpression_CustomExpression() + * @model dataType= + * "org.eclipse.sirius.viewpoint.description.InterpretedExpression" + * @generated + */ + String getCustomExpression(); + + /** + * Sets the value of the ' + * {@link org.eclipse.sirius.properties.CustomExpression#getCustomExpression + * <em>Custom Expression</em>}' attribute. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @param value + * the new value of the '<em>Custom Expression</em>' attribute. + * @see #getCustomExpression() + * @generated + */ + void setCustomExpression(String value); + +} // CustomExpression diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/CustomOperation.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/CustomOperation.java new file mode 100644 index 0000000000..71ee9d51a4 --- /dev/null +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/CustomOperation.java @@ -0,0 +1,98 @@ +/** + * Copyright (c) 2016 Obeo. + * 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: + * Obeo - initial API and implementation + * + */ +package org.eclipse.sirius.properties; + +import org.eclipse.emf.ecore.EObject; +import org.eclipse.sirius.viewpoint.description.tool.InitialOperation; + +/** + * <!-- begin-user-doc --> A representation of the model object ' + * <em><b>Custom Operation</b></em>'. <!-- end-user-doc --> + * + * <p> + * The following features are supported: + * <ul> + * <li>{@link org.eclipse.sirius.properties.CustomOperation#getIdentifier <em> + * Identifier</em>}</li> + * <li>{@link org.eclipse.sirius.properties.CustomOperation#getInitialOperation + * <em>Initial Operation</em>}</li> + * </ul> + * </p> + * + * @see org.eclipse.sirius.properties.PropertiesPackage#getCustomOperation() + * @model + * @generated + */ +public interface CustomOperation extends EObject { + /** + * Returns the value of the '<em><b>Identifier</b></em>' attribute. <!-- + * begin-user-doc --> + * <p> + * If the meaning of the '<em>Identifier</em>' attribute isn't clear, there + * really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Identifier</em>' attribute. + * @see #setIdentifier(String) + * @see org.eclipse.sirius.properties.PropertiesPackage#getCustomOperation_Identifier() + * @model required="true" + * @generated + */ + String getIdentifier(); + + /** + * Sets the value of the ' + * {@link org.eclipse.sirius.properties.CustomOperation#getIdentifier + * <em>Identifier</em>}' attribute. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @param value + * the new value of the '<em>Identifier</em>' attribute. + * @see #getIdentifier() + * @generated + */ + void setIdentifier(String value); + + /** + * Returns the value of the '<em><b>Initial Operation</b></em>' containment + * reference. <!-- begin-user-doc --> + * <p> + * If the meaning of the '<em>Initial Operation</em>' containment reference + * isn't clear, there really should be more of a description here... + * </p> + * <!-- end-user-doc --> + * + * @return the value of the '<em>Initial Operation</em>' containment + * reference. + * @see #setInitialOperation(InitialOperation) + * @see org.eclipse.sirius.properties.PropertiesPackage#getCustomOperation_InitialOperation() + * @model containment="true" required="true" + * @generated + */ + InitialOperation getInitialOperation(); + + /** + * Sets the value of the ' + * {@link org.eclipse.sirius.properties.CustomOperation#getInitialOperation + * <em>Initial Operation</em>}' containment reference. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @param value + * the new value of the '<em>Initial Operation</em>' containment + * reference. + * @see #getInitialOperation() + * @generated + */ + void setInitialOperation(InitialOperation value); + +} // CustomOperation diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/DynamicMappingFor.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/DynamicMappingFor.java index ccbefe8f7a..3bac07a604 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/DynamicMappingFor.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/DynamicMappingFor.java @@ -74,7 +74,7 @@ public interface DynamicMappingFor extends EObject { * clear, there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Domain Class Expression</em>' attribute. * @see #setDomainClassExpression(String) * @see org.eclipse.sirius.properties.PropertiesPackage#getDynamicMappingFor_DomainClassExpression() @@ -88,7 +88,7 @@ public interface DynamicMappingFor extends EObject { * {@link org.eclipse.sirius.properties.DynamicMappingFor#getDomainClassExpression * <em>Domain Class Expression</em>}' attribute. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>Domain Class Expression</em>' * attribute. diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/DynamicMappingIf.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/DynamicMappingIf.java index 3289383380..1e17d228d7 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/DynamicMappingIf.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/DynamicMappingIf.java @@ -41,7 +41,7 @@ public interface DynamicMappingIf extends EObject { * clear, there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Predicate Expression</em>' attribute. * @see #setPredicateExpression(String) * @see org.eclipse.sirius.properties.PropertiesPackage#getDynamicMappingIf_PredicateExpression() @@ -55,7 +55,7 @@ public interface DynamicMappingIf extends EObject { * {@link org.eclipse.sirius.properties.DynamicMappingIf#getPredicateExpression * <em>Predicate Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Predicate Expression</em>' * attribute. @@ -72,7 +72,7 @@ public interface DynamicMappingIf extends EObject { * clear, there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Widget</em>' containment reference. * @see #setWidget(WidgetDescription) * @see org.eclipse.sirius.properties.PropertiesPackage#getDynamicMappingIf_Widget() @@ -86,7 +86,7 @@ public interface DynamicMappingIf extends EObject { * {@link org.eclipse.sirius.properties.DynamicMappingIf#getWidget * <em>Widget</em>}' containment reference. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Widget</em>' containment reference. * @see #getWidget() diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/GroupDescription.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/GroupDescription.java index e2a3f5d760..e9dc2c01f6 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/GroupDescription.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/GroupDescription.java @@ -63,7 +63,7 @@ public interface GroupDescription extends EObject { * {@link org.eclipse.sirius.properties.GroupDescription#getIdentifier * <em>Identifier</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Identifier</em>' attribute. * @see #getIdentifier() @@ -79,7 +79,7 @@ public interface GroupDescription extends EObject { * there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Label Expression</em>' attribute. * @see #setLabelExpression(String) * @see org.eclipse.sirius.properties.PropertiesPackage#getGroupDescription_LabelExpression() @@ -94,7 +94,7 @@ public interface GroupDescription extends EObject { * {@link org.eclipse.sirius.properties.GroupDescription#getLabelExpression * <em>Label Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Label Expression</em>' attribute. * @see #getLabelExpression() @@ -124,7 +124,7 @@ public interface GroupDescription extends EObject { * {@link org.eclipse.sirius.properties.GroupDescription#getDomainClass * <em>Domain Class</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Domain Class</em>' attribute. * @see #getDomainClass() @@ -140,7 +140,7 @@ public interface GroupDescription extends EObject { * isn't clear, there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Semantic Candidate Expression</em>' * attribute. * @see #setSemanticCandidateExpression(String) @@ -156,7 +156,7 @@ public interface GroupDescription extends EObject { * {@link org.eclipse.sirius.properties.GroupDescription#getSemanticCandidateExpression * <em>Semantic Candidate Expression</em>}' attribute. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>Semantic Candidate Expression</em>' * attribute. @@ -173,7 +173,7 @@ public interface GroupDescription extends EObject { * clear, there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Container</em>' containment reference. * @see #setContainer(ContainerDescription) * @see org.eclipse.sirius.properties.PropertiesPackage#getGroupDescription_Container() @@ -187,7 +187,7 @@ public interface GroupDescription extends EObject { * {@link org.eclipse.sirius.properties.GroupDescription#getContainer * <em>Container</em>}' containment reference. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Container</em>' containment * reference. @@ -204,7 +204,7 @@ public interface GroupDescription extends EObject { * isn't clear, there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Validation Set</em>' containment reference. * @see #setValidationSet(GroupValidationSetDescription) * @see org.eclipse.sirius.properties.PropertiesPackage#getGroupDescription_ValidationSet() @@ -218,7 +218,7 @@ public interface GroupDescription extends EObject { * {@link org.eclipse.sirius.properties.GroupDescription#getValidationSet * <em>Validation Set</em>}' containment reference. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>Validation Set</em>' containment * reference. diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/GroupValidationSetDescription.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/GroupValidationSetDescription.java index 28e7c8f358..e65d206e17 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/GroupValidationSetDescription.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/GroupValidationSetDescription.java @@ -47,7 +47,7 @@ public interface GroupValidationSetDescription extends EObject { * here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Semantic Validation Rules</em>' containment * reference list. * @see org.eclipse.sirius.properties.PropertiesPackage#getGroupValidationSetDescription_SemanticValidationRules() diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/LabelDescription.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/LabelDescription.java index 0295b15c80..130c34cc34 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/LabelDescription.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/LabelDescription.java @@ -36,7 +36,7 @@ public interface LabelDescription extends WidgetDescription { * there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Body Expression</em>' attribute. * @see #setBodyExpression(String) * @see org.eclipse.sirius.properties.PropertiesPackage#getLabelDescription_BodyExpression() @@ -51,7 +51,7 @@ public interface LabelDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.LabelDescription#getBodyExpression * <em>Body Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Body Expression</em>' attribute. * @see #getBodyExpression() diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/MultipleReferencesDescription.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/MultipleReferencesDescription.java index e612ca1c35..5e609fb53a 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/MultipleReferencesDescription.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/MultipleReferencesDescription.java @@ -72,7 +72,7 @@ public interface MultipleReferencesDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.MultipleReferencesDescription#getValueExpression * <em>Value Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Value Expression</em>' attribute. * @see #getValueExpression() @@ -99,7 +99,7 @@ public interface MultipleReferencesDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.MultipleReferencesDescription#getDisplayExpression * <em>Display Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Display Expression</em>' attribute. * @see #getDisplayExpression() @@ -115,7 +115,7 @@ public interface MultipleReferencesDescription extends WidgetDescription { * isn't clear, there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Create Operation</em>' containment * reference. * @see #setCreateOperation(OperationDescription) @@ -130,7 +130,7 @@ public interface MultipleReferencesDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.MultipleReferencesDescription#getCreateOperation * <em>Create Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>Create Operation</em>' containment * reference. @@ -147,7 +147,7 @@ public interface MultipleReferencesDescription extends WidgetDescription { * isn't clear, there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Search Operation</em>' containment * reference. * @see #setSearchOperation(OperationDescription) @@ -162,7 +162,7 @@ public interface MultipleReferencesDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.MultipleReferencesDescription#getSearchOperation * <em>Search Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>Search Operation</em>' containment * reference. @@ -179,7 +179,7 @@ public interface MultipleReferencesDescription extends WidgetDescription { * isn't clear, there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Unset Operation</em>' containment * reference. * @see #setUnsetOperation(OperationDescription) @@ -194,7 +194,7 @@ public interface MultipleReferencesDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.MultipleReferencesDescription#getUnsetOperation * <em>Unset Operation</em>}' containment reference. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>Unset Operation</em>' containment * reference. @@ -211,7 +211,7 @@ public interface MultipleReferencesDescription extends WidgetDescription { * isn't clear, there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>On Click Operation</em>' containment * reference. * @see #setOnClickOperation(OperationDescription) @@ -226,7 +226,7 @@ public interface MultipleReferencesDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.MultipleReferencesDescription#getOnClickOperation * <em>On Click Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>On Click Operation</em>' containment * reference. @@ -243,7 +243,7 @@ public interface MultipleReferencesDescription extends WidgetDescription { * clear, there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Up Operation</em>' containment reference. * @see #setUpOperation(OperationDescription) * @see org.eclipse.sirius.properties.PropertiesPackage#getMultipleReferencesDescription_UpOperation() @@ -257,7 +257,7 @@ public interface MultipleReferencesDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.MultipleReferencesDescription#getUpOperation * <em>Up Operation</em>}' containment reference. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>Up Operation</em>' containment * reference. @@ -274,7 +274,7 @@ public interface MultipleReferencesDescription extends WidgetDescription { * isn't clear, there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Down Operation</em>' containment reference. * @see #setDownOperation(OperationDescription) * @see org.eclipse.sirius.properties.PropertiesPackage#getMultipleReferencesDescription_DownOperation() @@ -288,7 +288,7 @@ public interface MultipleReferencesDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.MultipleReferencesDescription#getDownOperation * <em>Down Operation</em>}' containment reference. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>Down Operation</em>' containment * reference. diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/OperationDescription.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/OperationDescription.java index 345bf8951a..4d8631d787 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/OperationDescription.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/OperationDescription.java @@ -40,7 +40,7 @@ public interface OperationDescription extends EObject { * isn't clear, there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Initial Operation</em>' containment * reference. * @see #setInitialOperation(InitialOperation) @@ -55,7 +55,7 @@ public interface OperationDescription extends EObject { * {@link org.eclipse.sirius.properties.OperationDescription#getInitialOperation * <em>Initial Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>Initial Operation</em>' containment * reference. diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/PageDescription.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/PageDescription.java index 61659fe260..4178b2ea45 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/PageDescription.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/PageDescription.java @@ -64,7 +64,7 @@ public interface PageDescription extends EObject { * {@link org.eclipse.sirius.properties.PageDescription#getIdentifier * <em>Identifier</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Identifier</em>' attribute. * @see #getIdentifier() @@ -80,7 +80,7 @@ public interface PageDescription extends EObject { * there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Label Expression</em>' attribute. * @see #setLabelExpression(String) * @see org.eclipse.sirius.properties.PropertiesPackage#getPageDescription_LabelExpression() @@ -95,7 +95,7 @@ public interface PageDescription extends EObject { * {@link org.eclipse.sirius.properties.PageDescription#getLabelExpression * <em>Label Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Label Expression</em>' attribute. * @see #getLabelExpression() @@ -125,7 +125,7 @@ public interface PageDescription extends EObject { * {@link org.eclipse.sirius.properties.PageDescription#getDomainClass * <em>Domain Class</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Domain Class</em>' attribute. * @see #getDomainClass() @@ -141,7 +141,7 @@ public interface PageDescription extends EObject { * isn't clear, there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Semantic Candidate Expression</em>' * attribute. * @see #setSemanticCandidateExpression(String) @@ -157,7 +157,7 @@ public interface PageDescription extends EObject { * {@link org.eclipse.sirius.properties.PageDescription#getSemanticCandidateExpression * <em>Semantic Candidate Expression</em>}' attribute. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>Semantic Candidate Expression</em>' * attribute. @@ -192,7 +192,7 @@ public interface PageDescription extends EObject { * isn't clear, there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Validation Set</em>' containment reference. * @see #setValidationSet(PageValidationSetDescription) * @see org.eclipse.sirius.properties.PropertiesPackage#getPageDescription_ValidationSet() @@ -206,7 +206,7 @@ public interface PageDescription extends EObject { * {@link org.eclipse.sirius.properties.PageDescription#getValidationSet * <em>Validation Set</em>}' containment reference. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>Validation Set</em>' containment * reference. diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/PageValidationSetDescription.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/PageValidationSetDescription.java index aa8404c86a..cab6ecd20b 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/PageValidationSetDescription.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/PageValidationSetDescription.java @@ -44,7 +44,7 @@ public interface PageValidationSetDescription extends EObject { * here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Semantic Validation Rules</em>' containment * reference list. * @see org.eclipse.sirius.properties.PropertiesPackage#getPageValidationSetDescription_SemanticValidationRules() diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/PropertiesFactory.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/PropertiesFactory.java index 481081a232..06ef1e20a2 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/PropertiesFactory.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/PropertiesFactory.java @@ -16,7 +16,7 @@ import org.eclipse.emf.ecore.EFactory; /** * <!-- begin-user-doc --> The <b>Factory</b> for the model. It provides a * create method for each non-abstract class of the model. <!-- end-user-doc --> - * + * * @see org.eclipse.sirius.properties.PropertiesPackage * @generated */ @@ -24,7 +24,7 @@ public interface PropertiesFactory extends EFactory { /** * The singleton instance of the factory. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ PropertiesFactory eINSTANCE = org.eclipse.sirius.properties.impl.PropertiesFactoryImpl.init(); @@ -50,7 +50,7 @@ public interface PropertiesFactory extends EFactory { /** * Returns a new object of class '<em>Page Validation Set Description</em>'. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return a new object of class '<em>Page Validation Set Description</em>'. * @generated */ @@ -77,7 +77,7 @@ public interface PropertiesFactory extends EFactory { /** * Returns a new object of class '<em>Group Validation Set Description</em> * '. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return a new object of class '<em>Group Validation Set Description</em> * '. * @generated @@ -177,7 +177,7 @@ public interface PropertiesFactory extends EFactory { /** * Returns a new object of class '<em>Single Reference Description</em>'. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return a new object of class '<em>Single Reference Description</em>'. * @generated */ @@ -195,16 +195,43 @@ public interface PropertiesFactory extends EFactory { /** * Returns a new object of class '<em>Multiple References Description</em>'. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return a new object of class '<em>Multiple References Description</em>'. * @generated */ MultipleReferencesDescription createMultipleReferencesDescription(); /** + * Returns a new object of class '<em>Custom Description</em>'. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @return a new object of class '<em>Custom Description</em>'. + * @generated + */ + CustomDescription createCustomDescription(); + + /** + * Returns a new object of class '<em>Custom Expression</em>'. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @return a new object of class '<em>Custom Expression</em>'. + * @generated + */ + CustomExpression createCustomExpression(); + + /** + * Returns a new object of class '<em>Custom Operation</em>'. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @return a new object of class '<em>Custom Operation</em>'. + * @generated + */ + CustomOperation createCustomOperation(); + + /** * Returns the package supported by this factory. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @return the package supported by this factory. * @generated */ diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/PropertiesPackage.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/PropertiesPackage.java index 1e99109a1a..057b97a038 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/PropertiesPackage.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/PropertiesPackage.java @@ -28,7 +28,7 @@ import org.eclipse.sirius.viewpoint.description.validation.ValidationPackage; * <li>and each data type</li> * </ul> * <!-- end-user-doc --> - * + * * @see org.eclipse.sirius.properties.PropertiesFactory * @model kind="package" * @generated @@ -36,21 +36,21 @@ import org.eclipse.sirius.viewpoint.description.validation.ValidationPackage; public interface PropertiesPackage extends EPackage { /** * The package name. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ String eNAME = "properties"; /** * The package namespace URI. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ String eNS_URI = "http://www.eclipse.org/sirius/properties/1.0.0"; /** * The package namespace name. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ String eNS_PREFIX = "properties"; @@ -58,7 +58,7 @@ public interface PropertiesPackage extends EPackage { /** * The singleton instance of the package. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ PropertiesPackage eINSTANCE = org.eclipse.sirius.properties.impl.PropertiesPackageImpl.init(); @@ -68,7 +68,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.ViewExtensionDescriptionImpl * <em>View Extension Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.ViewExtensionDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getViewExtensionDescription() * @generated @@ -96,7 +96,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Pages</b></em>' containment reference * list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -123,7 +123,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Groups</b></em>' containment reference * list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -133,7 +133,7 @@ public interface PropertiesPackage extends EPackage { * The number of structural features of the ' * <em>View Extension Description</em>' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated * @ordered */ @@ -144,7 +144,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.PageDescriptionImpl * <em>Page Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.PageDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getPageDescription() * @generated @@ -181,7 +181,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Semantic Candidate Expression</b></em>' * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -199,7 +199,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Validation Set</b></em>' containment * reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -208,7 +208,7 @@ public interface PropertiesPackage extends EPackage { /** * The number of structural features of the '<em>Page Description</em>' * class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -219,7 +219,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.PageValidationSetDescriptionImpl * <em>Page Validation Set Description</em>}' class. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.PageValidationSetDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getPageValidationSetDescription() * @generated @@ -229,7 +229,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Semantic Validation Rules</b></em>' * containment reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -239,7 +239,7 @@ public interface PropertiesPackage extends EPackage { * The number of structural features of the ' * <em>Page Validation Set Description</em>' class. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -250,7 +250,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.PropertyValidationRuleImpl * <em>Property Validation Rule</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.PropertyValidationRuleImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getPropertyValidationRule() * @generated @@ -296,7 +296,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Audits</b></em>' containment reference * list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -305,7 +305,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Fixes</b></em>' containment reference * list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -324,7 +324,7 @@ public interface PropertiesPackage extends EPackage { * The number of structural features of the ' * <em>Property Validation Rule</em>' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated * @ordered */ @@ -335,7 +335,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.GroupDescriptionImpl * <em>Group Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.GroupDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getGroupDescription() * @generated @@ -372,7 +372,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Semantic Candidate Expression</b></em>' * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -381,7 +381,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Container</b></em>' containment reference. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -390,7 +390,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Validation Set</b></em>' containment * reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -399,7 +399,7 @@ public interface PropertiesPackage extends EPackage { /** * The number of structural features of the '<em>Group Description</em>' * class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -410,7 +410,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.GroupValidationSetDescriptionImpl * <em>Group Validation Set Description</em>}' class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.GroupValidationSetDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getGroupValidationSetDescription() * @generated @@ -420,7 +420,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Semantic Validation Rules</b></em>' * containment reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -429,7 +429,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Property Validation Rules</b></em>' * containment reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -439,7 +439,7 @@ public interface PropertiesPackage extends EPackage { * The number of structural features of the ' * <em>Group Validation Set Description</em>' class. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -450,7 +450,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.ContainerDescriptionImpl * <em>Container Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.ContainerDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getContainerDescription() * @generated @@ -469,7 +469,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Widgets</b></em>' containment reference * list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -478,7 +478,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Dynamic Mappings</b></em>' containment * reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -487,7 +487,7 @@ public interface PropertiesPackage extends EPackage { /** * The number of structural features of the '<em>Container Description</em>' * class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -498,7 +498,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.WidgetDescriptionImpl * <em>Widget Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.WidgetDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getWidgetDescription() * @generated @@ -535,7 +535,7 @@ public interface PropertiesPackage extends EPackage { /** * The number of structural features of the '<em>Widget Description</em>' * class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -546,7 +546,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.TextDescriptionImpl * <em>Text Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.TextDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getTextDescription() * @generated @@ -592,7 +592,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Initial Operation</b></em>' containment * reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -601,7 +601,7 @@ public interface PropertiesPackage extends EPackage { /** * The number of structural features of the '<em>Text Description</em>' * class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -612,7 +612,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.ButtonDescriptionImpl * <em>Button Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.ButtonDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getButtonDescription() * @generated @@ -649,7 +649,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Button Label Expression</b></em>' * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -658,7 +658,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Initial Operation</b></em>' containment * reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -667,7 +667,7 @@ public interface PropertiesPackage extends EPackage { /** * The number of structural features of the '<em>Button Description</em>' * class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -678,7 +678,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.LabelDescriptionImpl * <em>Label Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.LabelDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getLabelDescription() * @generated @@ -724,7 +724,7 @@ public interface PropertiesPackage extends EPackage { /** * The number of structural features of the '<em>Label Description</em>' * class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -735,7 +735,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.CheckboxDescriptionImpl * <em>Checkbox Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.CheckboxDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getCheckboxDescription() * @generated @@ -781,7 +781,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Initial Operation</b></em>' containment * reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -790,7 +790,7 @@ public interface PropertiesPackage extends EPackage { /** * The number of structural features of the '<em>Checkbox Description</em>' * class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -801,7 +801,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.SelectDescriptionImpl * <em>Select Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.SelectDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getSelectDescription() * @generated @@ -847,7 +847,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Initial Operation</b></em>' containment * reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -856,7 +856,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Candidates Expression</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -865,7 +865,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Candidate Display Expression</b></em>' * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -874,7 +874,7 @@ public interface PropertiesPackage extends EPackage { /** * The number of structural features of the '<em>Select Description</em>' * class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -885,7 +885,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.DynamicMappingForImpl * <em>Dynamic Mapping For</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.DynamicMappingForImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getDynamicMappingFor() * @generated @@ -904,7 +904,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Domain Class Expression</b></em>' * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -913,7 +913,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Ifs</b></em>' containment reference list. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -922,7 +922,7 @@ public interface PropertiesPackage extends EPackage { /** * The number of structural features of the '<em>Dynamic Mapping For</em>' * class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -933,7 +933,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.DynamicMappingIfImpl * <em>Dynamic Mapping If</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.DynamicMappingIfImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getDynamicMappingIf() * @generated @@ -943,7 +943,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Predicate Expression</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -952,7 +952,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Widget</b></em>' containment reference. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -961,7 +961,7 @@ public interface PropertiesPackage extends EPackage { /** * The number of structural features of the '<em>Dynamic Mapping If</em>' * class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -972,7 +972,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.TextAreaDescriptionImpl * <em>Text Area Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.TextAreaDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getTextAreaDescription() * @generated @@ -1018,7 +1018,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Initial Operation</b></em>' containment * reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -1036,7 +1036,7 @@ public interface PropertiesPackage extends EPackage { /** * The number of structural features of the '<em>Text Area Description</em>' * class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -1047,7 +1047,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.RadioDescriptionImpl * <em>Radio Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.RadioDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getRadioDescription() * @generated @@ -1093,7 +1093,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Initial Operation</b></em>' containment * reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -1102,7 +1102,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Candidates Expression</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -1111,7 +1111,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Candidate Display Expression</b></em>' * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -1120,7 +1120,7 @@ public interface PropertiesPackage extends EPackage { /** * The number of structural features of the '<em>Radio Description</em>' * class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -1131,7 +1131,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.SingleReferenceDescriptionImpl * <em>Single Reference Description</em>}' class. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.SingleReferenceDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getSingleReferenceDescription() * @generated @@ -1177,7 +1177,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Display Expression</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -1186,7 +1186,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Create Operation</b></em>' containment * reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -1195,7 +1195,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Search Operation</b></em>' containment * reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -1204,7 +1204,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Unset Operation</b></em>' containment * reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -1213,7 +1213,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>On Click Operation</b></em>' containment * reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -1223,7 +1223,7 @@ public interface PropertiesPackage extends EPackage { * The number of structural features of the ' * <em>Single Reference Description</em>' class. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -1234,7 +1234,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.OperationDescriptionImpl * <em>Operation Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.OperationDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getOperationDescription() * @generated @@ -1244,7 +1244,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Initial Operation</b></em>' containment * reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -1253,7 +1253,7 @@ public interface PropertiesPackage extends EPackage { /** * The number of structural features of the '<em>Operation Description</em>' * class. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -1261,10 +1261,46 @@ public interface PropertiesPackage extends EPackage { /** * The meta object id for the ' + * {@link org.eclipse.sirius.properties.impl.CustomDescriptionImpl + * <em>Custom Description</em>}' class. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see org.eclipse.sirius.properties.impl.CustomDescriptionImpl + * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getCustomDescription() + * @generated + */ + int CUSTOM_DESCRIPTION = 20; + + /** + * The meta object id for the ' + * {@link org.eclipse.sirius.properties.impl.CustomExpressionImpl + * <em>Custom Expression</em>}' class. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see org.eclipse.sirius.properties.impl.CustomExpressionImpl + * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getCustomExpression() + * @generated + */ + int CUSTOM_EXPRESSION = 21; + + /** + * The meta object id for the ' + * {@link org.eclipse.sirius.properties.impl.CustomOperationImpl + * <em>Custom Operation</em>}' class. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see org.eclipse.sirius.properties.impl.CustomOperationImpl + * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getCustomOperation() + * @generated + */ + int CUSTOM_OPERATION = 22; + + /** + * The meta object id for the ' * {@link org.eclipse.sirius.properties.impl.MultipleReferencesDescriptionImpl * <em>Multiple References Description</em>}' class. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.MultipleReferencesDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getMultipleReferencesDescription() * @generated @@ -1310,7 +1346,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Display Expression</b></em>' attribute. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -1319,7 +1355,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Create Operation</b></em>' containment * reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -1328,7 +1364,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Search Operation</b></em>' containment * reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -1337,7 +1373,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Unset Operation</b></em>' containment * reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -1346,7 +1382,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>On Click Operation</b></em>' containment * reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -1355,7 +1391,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Up Operation</b></em>' containment * reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -1364,7 +1400,7 @@ public interface PropertiesPackage extends EPackage { /** * The feature id for the '<em><b>Down Operation</b></em>' containment * reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated * @ordered */ @@ -1374,18 +1410,126 @@ public interface PropertiesPackage extends EPackage { * The number of structural features of the ' * <em>Multiple References Description</em>' class. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @generated * @ordered */ int MULTIPLE_REFERENCES_DESCRIPTION_FEATURE_COUNT = PropertiesPackage.WIDGET_DESCRIPTION_FEATURE_COUNT + 8; /** + * The feature id for the '<em><b>Identifier</b></em>' attribute. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + int CUSTOM_DESCRIPTION__IDENTIFIER = PropertiesPackage.WIDGET_DESCRIPTION__IDENTIFIER; + + /** + * The feature id for the '<em><b>Label Expression</b></em>' attribute. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + int CUSTOM_DESCRIPTION__LABEL_EXPRESSION = PropertiesPackage.WIDGET_DESCRIPTION__LABEL_EXPRESSION; + + /** + * The feature id for the '<em><b>Help Expression</b></em>' attribute. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + int CUSTOM_DESCRIPTION__HELP_EXPRESSION = PropertiesPackage.WIDGET_DESCRIPTION__HELP_EXPRESSION; + + /** + * The feature id for the '<em><b>Custom Expressions</b></em>' containment + * reference list. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + int CUSTOM_DESCRIPTION__CUSTOM_EXPRESSIONS = PropertiesPackage.WIDGET_DESCRIPTION_FEATURE_COUNT + 0; + + /** + * The feature id for the '<em><b>Custom Operations</b></em>' containment + * reference list. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + int CUSTOM_DESCRIPTION__CUSTOM_OPERATIONS = PropertiesPackage.WIDGET_DESCRIPTION_FEATURE_COUNT + 1; + + /** + * The number of structural features of the '<em>Custom Description</em>' + * class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + int CUSTOM_DESCRIPTION_FEATURE_COUNT = PropertiesPackage.WIDGET_DESCRIPTION_FEATURE_COUNT + 2; + + /** + * The feature id for the '<em><b>Identifier</b></em>' attribute. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + int CUSTOM_EXPRESSION__IDENTIFIER = 0; + + /** + * The feature id for the '<em><b>Custom Expression</b></em>' attribute. + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + int CUSTOM_EXPRESSION__CUSTOM_EXPRESSION = 1; + + /** + * The number of structural features of the '<em>Custom Expression</em>' + * class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + int CUSTOM_EXPRESSION_FEATURE_COUNT = 2; + + /** + * The feature id for the '<em><b>Identifier</b></em>' attribute. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + int CUSTOM_OPERATION__IDENTIFIER = 0; + + /** + * The feature id for the '<em><b>Initial Operation</b></em>' containment + * reference. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + int CUSTOM_OPERATION__INITIAL_OPERATION = 1; + + /** + * The number of structural features of the '<em>Custom Operation</em>' + * class. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + * @ordered + */ + int CUSTOM_OPERATION_FEATURE_COUNT = 2; + + /** * Returns the meta object for class ' * {@link org.eclipse.sirius.properties.ViewExtensionDescription * <em>View Extension Description</em>}'. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the meta object for class '<em>View Extension Description</em>'. * @see org.eclipse.sirius.properties.ViewExtensionDescription * @generated @@ -1396,7 +1540,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the attribute ' * {@link org.eclipse.sirius.properties.ViewExtensionDescription#getIdentifier * <em>Identifier</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the attribute '<em>Identifier</em>'. * @see org.eclipse.sirius.properties.ViewExtensionDescription#getIdentifier() * @see #getViewExtensionDescription() @@ -1408,7 +1552,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the reference list ' * {@link org.eclipse.sirius.properties.ViewExtensionDescription#getMetamodels * <em>Metamodels</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the reference list '<em>Metamodels</em>'. * @see org.eclipse.sirius.properties.ViewExtensionDescription#getMetamodels() * @see #getViewExtensionDescription() @@ -1420,7 +1564,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the containment reference list ' * {@link org.eclipse.sirius.properties.ViewExtensionDescription#getPages * <em>Pages</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the containment reference list ' * <em>Pages</em>'. * @see org.eclipse.sirius.properties.ViewExtensionDescription#getPages() @@ -1433,7 +1577,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the reference ' * {@link org.eclipse.sirius.properties.ViewExtensionDescription#getDefaultPage * <em>Default Page</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the reference '<em>Default Page</em>'. * @see org.eclipse.sirius.properties.ViewExtensionDescription#getDefaultPage() * @see #getViewExtensionDescription() @@ -1458,7 +1602,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the containment reference list ' * {@link org.eclipse.sirius.properties.ViewExtensionDescription#getGroups * <em>Groups</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the containment reference list ' * <em>Groups</em>'. * @see org.eclipse.sirius.properties.ViewExtensionDescription#getGroups() @@ -1483,7 +1627,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the attribute ' * {@link org.eclipse.sirius.properties.PageDescription#getIdentifier * <em>Identifier</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the attribute '<em>Identifier</em>'. * @see org.eclipse.sirius.properties.PageDescription#getIdentifier() * @see #getPageDescription() @@ -1508,7 +1652,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the attribute ' * {@link org.eclipse.sirius.properties.PageDescription#getDomainClass * <em>Domain Class</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the attribute '<em>Domain Class</em>'. * @see org.eclipse.sirius.properties.PageDescription#getDomainClass() * @see #getPageDescription() @@ -1521,7 +1665,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.PageDescription#getSemanticCandidateExpression * <em>Semantic Candidate Expression</em>}'. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the meta object for the attribute ' * <em>Semantic Candidate Expression</em>'. * @see org.eclipse.sirius.properties.PageDescription#getSemanticCandidateExpression() @@ -1534,7 +1678,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the reference list ' * {@link org.eclipse.sirius.properties.PageDescription#getGroups * <em>Groups</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the reference list '<em>Groups</em>'. * @see org.eclipse.sirius.properties.PageDescription#getGroups() * @see #getPageDescription() @@ -1546,7 +1690,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the containment reference ' * {@link org.eclipse.sirius.properties.PageDescription#getValidationSet * <em>Validation Set</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the containment reference ' * <em>Validation Set</em>'. * @see org.eclipse.sirius.properties.PageDescription#getValidationSet() @@ -1560,7 +1704,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.PageValidationSetDescription * <em>Page Validation Set Description</em>}'. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the meta object for class ' * <em>Page Validation Set Description</em>'. * @see org.eclipse.sirius.properties.PageValidationSetDescription @@ -1573,7 +1717,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.PageValidationSetDescription#getSemanticValidationRules * <em>Semantic Validation Rules</em>}'. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the meta object for the containment reference list ' * <em>Semantic Validation Rules</em>'. * @see org.eclipse.sirius.properties.PageValidationSetDescription#getSemanticValidationRules() @@ -1587,7 +1731,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.PropertyValidationRule * <em>Property Validation Rule</em>}'. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the meta object for class '<em>Property Validation Rule</em>'. * @see org.eclipse.sirius.properties.PropertyValidationRule * @generated @@ -1598,7 +1742,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the reference list ' * {@link org.eclipse.sirius.properties.PropertyValidationRule#getTargets * <em>Targets</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the reference list '<em>Targets</em>'. * @see org.eclipse.sirius.properties.PropertyValidationRule#getTargets() * @see #getPropertyValidationRule() @@ -1622,7 +1766,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the attribute ' * {@link org.eclipse.sirius.properties.GroupDescription#getIdentifier * <em>Identifier</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the attribute '<em>Identifier</em>'. * @see org.eclipse.sirius.properties.GroupDescription#getIdentifier() * @see #getGroupDescription() @@ -1647,7 +1791,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the attribute ' * {@link org.eclipse.sirius.properties.GroupDescription#getDomainClass * <em>Domain Class</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the attribute '<em>Domain Class</em>'. * @see org.eclipse.sirius.properties.GroupDescription#getDomainClass() * @see #getGroupDescription() @@ -1660,7 +1804,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.GroupDescription#getSemanticCandidateExpression * <em>Semantic Candidate Expression</em>}'. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the meta object for the attribute ' * <em>Semantic Candidate Expression</em>'. * @see org.eclipse.sirius.properties.GroupDescription#getSemanticCandidateExpression() @@ -1673,7 +1817,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the containment reference ' * {@link org.eclipse.sirius.properties.GroupDescription#getContainer * <em>Container</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the containment reference '<em>Container</em> * '. * @see org.eclipse.sirius.properties.GroupDescription#getContainer() @@ -1686,7 +1830,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the containment reference ' * {@link org.eclipse.sirius.properties.GroupDescription#getValidationSet * <em>Validation Set</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the containment reference ' * <em>Validation Set</em>'. * @see org.eclipse.sirius.properties.GroupDescription#getValidationSet() @@ -1700,7 +1844,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.GroupValidationSetDescription * <em>Group Validation Set Description</em>}'. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the meta object for class ' * <em>Group Validation Set Description</em>'. * @see org.eclipse.sirius.properties.GroupValidationSetDescription @@ -1713,7 +1857,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.GroupValidationSetDescription#getSemanticValidationRules * <em>Semantic Validation Rules</em>}'. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the meta object for the containment reference list ' * <em>Semantic Validation Rules</em>'. * @see org.eclipse.sirius.properties.GroupValidationSetDescription#getSemanticValidationRules() @@ -1727,7 +1871,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.GroupValidationSetDescription#getPropertyValidationRules * <em>Property Validation Rules</em>}'. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the meta object for the containment reference list ' * <em>Property Validation Rules</em>'. * @see org.eclipse.sirius.properties.GroupValidationSetDescription#getPropertyValidationRules() @@ -1741,7 +1885,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.ContainerDescription * <em>Container Description</em>}'. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the meta object for class '<em>Container Description</em>'. * @see org.eclipse.sirius.properties.ContainerDescription * @generated @@ -1752,7 +1896,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the attribute ' * {@link org.eclipse.sirius.properties.ContainerDescription#getIdentifier * <em>Identifier</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the attribute '<em>Identifier</em>'. * @see org.eclipse.sirius.properties.ContainerDescription#getIdentifier() * @see #getContainerDescription() @@ -1764,7 +1908,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the containment reference list ' * {@link org.eclipse.sirius.properties.ContainerDescription#getWidgets * <em>Widgets</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the containment reference list ' * <em>Widgets</em>'. * @see org.eclipse.sirius.properties.ContainerDescription#getWidgets() @@ -1803,7 +1947,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the attribute ' * {@link org.eclipse.sirius.properties.WidgetDescription#getIdentifier * <em>Identifier</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the attribute '<em>Identifier</em>'. * @see org.eclipse.sirius.properties.WidgetDescription#getIdentifier() * @see #getWidgetDescription() @@ -1828,7 +1972,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the attribute ' * {@link org.eclipse.sirius.properties.WidgetDescription#getHelpExpression * <em>Help Expression</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the attribute '<em>Help Expression</em>'. * @see org.eclipse.sirius.properties.WidgetDescription#getHelpExpression() * @see #getWidgetDescription() @@ -1892,7 +2036,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.ButtonDescription#getButtonLabelExpression * <em>Button Label Expression</em>}'. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the meta object for the attribute ' * <em>Button Label Expression</em>'. * @see org.eclipse.sirius.properties.ButtonDescription#getButtonLabelExpression() @@ -1931,7 +2075,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the attribute ' * {@link org.eclipse.sirius.properties.LabelDescription#getBodyExpression * <em>Body Expression</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the attribute '<em>Body Expression</em>'. * @see org.eclipse.sirius.properties.LabelDescription#getBodyExpression() * @see #getLabelDescription() @@ -1944,7 +2088,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.CheckboxDescription * <em>Checkbox Description</em>}'. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the meta object for class '<em>Checkbox Description</em>'. * @see org.eclipse.sirius.properties.CheckboxDescription * @generated @@ -2022,7 +2166,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.SelectDescription#getCandidatesExpression * <em>Candidates Expression</em>}'. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the meta object for the attribute '<em>Candidates Expression</em> * '. * @see org.eclipse.sirius.properties.SelectDescription#getCandidatesExpression() @@ -2036,7 +2180,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.SelectDescription#getCandidateDisplayExpression * <em>Candidate Display Expression</em>}'. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the meta object for the attribute ' * <em>Candidate Display Expression</em>'. * @see org.eclipse.sirius.properties.SelectDescription#getCandidateDisplayExpression() @@ -2061,7 +2205,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the attribute ' * {@link org.eclipse.sirius.properties.DynamicMappingFor#getIterator * <em>Iterator</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the attribute '<em>Iterator</em>'. * @see org.eclipse.sirius.properties.DynamicMappingFor#getIterator() * @see #getDynamicMappingFor() @@ -2074,7 +2218,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.DynamicMappingFor#getDomainClassExpression * <em>Domain Class Expression</em>}'. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the meta object for the attribute ' * <em>Domain Class Expression</em>'. * @see org.eclipse.sirius.properties.DynamicMappingFor#getDomainClassExpression() @@ -2087,7 +2231,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the containment reference list ' * {@link org.eclipse.sirius.properties.DynamicMappingFor#getIfs * <em>Ifs</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the containment reference list '<em>Ifs</em> * '. * @see org.eclipse.sirius.properties.DynamicMappingFor#getIfs() @@ -2113,7 +2257,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.DynamicMappingIf#getPredicateExpression * <em>Predicate Expression</em>}'. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the meta object for the attribute '<em>Predicate Expression</em> * '. * @see org.eclipse.sirius.properties.DynamicMappingIf#getPredicateExpression() @@ -2126,7 +2270,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the containment reference ' * {@link org.eclipse.sirius.properties.DynamicMappingIf#getWidget * <em>Widget</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the containment reference '<em>Widget</em>'. * @see org.eclipse.sirius.properties.DynamicMappingIf#getWidget() * @see #getDynamicMappingIf() @@ -2139,7 +2283,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.TextAreaDescription * <em>Text Area Description</em>}'. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the meta object for class '<em>Text Area Description</em>'. * @see org.eclipse.sirius.properties.TextAreaDescription * @generated @@ -2150,7 +2294,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the attribute ' * {@link org.eclipse.sirius.properties.TextAreaDescription#getLineCount * <em>Line Count</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the attribute '<em>Line Count</em>'. * @see org.eclipse.sirius.properties.TextAreaDescription#getLineCount() * @see #getTextAreaDescription() @@ -2202,7 +2346,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.RadioDescription#getCandidatesExpression * <em>Candidates Expression</em>}'. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the meta object for the attribute '<em>Candidates Expression</em> * '. * @see org.eclipse.sirius.properties.RadioDescription#getCandidatesExpression() @@ -2216,7 +2360,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.RadioDescription#getCandidateDisplayExpression * <em>Candidate Display Expression</em>}'. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the meta object for the attribute ' * <em>Candidate Display Expression</em>'. * @see org.eclipse.sirius.properties.RadioDescription#getCandidateDisplayExpression() @@ -2230,7 +2374,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.SingleReferenceDescription * <em>Single Reference Description</em>}'. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the meta object for class '<em>Single Reference Description</em> * '. * @see org.eclipse.sirius.properties.SingleReferenceDescription @@ -2296,7 +2440,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the containment reference ' * {@link org.eclipse.sirius.properties.SingleReferenceDescription#getUnsetOperation * <em>Unset Operation</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the containment reference ' * <em>Unset Operation</em>'. * @see org.eclipse.sirius.properties.SingleReferenceDescription#getUnsetOperation() @@ -2324,7 +2468,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.OperationDescription * <em>Operation Description</em>}'. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the meta object for class '<em>Operation Description</em>'. * @see org.eclipse.sirius.properties.OperationDescription * @generated @@ -2332,15 +2476,121 @@ public interface PropertiesPackage extends EPackage { EClass getOperationDescription(); /** + * Returns the meta object for class ' + * {@link org.eclipse.sirius.properties.CustomDescription + * <em>Custom Description</em>}'. <!-- begin-user-doc --> <!-- end-user-doc + * --> + * + * @return the meta object for class '<em>Custom Description</em>'. + * @see org.eclipse.sirius.properties.CustomDescription + * @generated + */ + EClass getCustomDescription(); + + /** + * Returns the meta object for the containment reference list ' + * {@link org.eclipse.sirius.properties.CustomDescription#getCustomExpressions + * <em>Custom Expressions</em>}'. <!-- begin-user-doc --> <!-- end-user-doc + * --> + * + * @return the meta object for the containment reference list ' + * <em>Custom Expressions</em>'. + * @see org.eclipse.sirius.properties.CustomDescription#getCustomExpressions() + * @see #getCustomDescription() + * @generated + */ + EReference getCustomDescription_CustomExpressions(); + + /** + * Returns the meta object for the containment reference list ' + * {@link org.eclipse.sirius.properties.CustomDescription#getCustomOperations + * <em>Custom Operations</em>}'. <!-- begin-user-doc --> <!-- end-user-doc + * --> + * + * @return the meta object for the containment reference list ' + * <em>Custom Operations</em>'. + * @see org.eclipse.sirius.properties.CustomDescription#getCustomOperations() + * @see #getCustomDescription() + * @generated + */ + EReference getCustomDescription_CustomOperations(); + + /** + * Returns the meta object for class ' + * {@link org.eclipse.sirius.properties.CustomExpression + * <em>Custom Expression</em>}'. <!-- begin-user-doc --> <!-- end-user-doc + * --> + * + * @return the meta object for class '<em>Custom Expression</em>'. + * @see org.eclipse.sirius.properties.CustomExpression + * @generated + */ + EClass getCustomExpression(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.sirius.properties.CustomExpression#getIdentifier + * <em>Identifier</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return the meta object for the attribute '<em>Identifier</em>'. + * @see org.eclipse.sirius.properties.CustomExpression#getIdentifier() + * @see #getCustomExpression() + * @generated + */ + EAttribute getCustomExpression_Identifier(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.sirius.properties.CustomExpression#getCustomExpression + * <em>Custom Expression</em>}'. <!-- begin-user-doc --> <!-- end-user-doc + * --> + * + * @return the meta object for the attribute '<em>Custom Expression</em>'. + * @see org.eclipse.sirius.properties.CustomExpression#getCustomExpression() + * @see #getCustomExpression() + * @generated + */ + EAttribute getCustomExpression_CustomExpression(); + + /** + * Returns the meta object for class ' + * {@link org.eclipse.sirius.properties.CustomOperation + * <em>Custom Operation</em>}'. <!-- begin-user-doc --> <!-- end-user-doc + * --> + * + * @return the meta object for class '<em>Custom Operation</em>'. + * @see org.eclipse.sirius.properties.CustomOperation + * @generated + */ + EClass getCustomOperation(); + + /** + * Returns the meta object for the attribute ' + * {@link org.eclipse.sirius.properties.CustomOperation#getIdentifier + * <em>Identifier</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @return the meta object for the attribute '<em>Identifier</em>'. + * @see org.eclipse.sirius.properties.CustomOperation#getIdentifier() + * @see #getCustomOperation() + * @generated + */ + EAttribute getCustomOperation_Identifier(); + + /** * Returns the meta object for the containment reference ' - * {@link org.eclipse.sirius.properties.OperationDescription#getInitialOperation + * {@link org.eclipse.sirius.properties.CustomOperation#getInitialOperation * <em>Initial Operation</em>}'. <!-- begin-user-doc --> <!-- end-user-doc * --> * * @return the meta object for the containment reference ' * <em>Initial Operation</em>'. - * @see org.eclipse.sirius.properties.OperationDescription#getInitialOperation() - * @see #getOperationDescription() + * @see org.eclipse.sirius.properties.CustomOperation#getInitialOperation() + * @see #getCustomOperation() + * @generated + */ + EReference getCustomOperation_InitialOperation(); + + /** * @generated */ EReference getOperationDescription_InitialOperation(); @@ -2350,7 +2600,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.MultipleReferencesDescription * <em>Multiple References Description</em>}'. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the meta object for class ' * <em>Multiple References Description</em>'. * @see org.eclipse.sirius.properties.MultipleReferencesDescription @@ -2416,7 +2666,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the containment reference ' * {@link org.eclipse.sirius.properties.MultipleReferencesDescription#getUnsetOperation * <em>Unset Operation</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the containment reference ' * <em>Unset Operation</em>'. * @see org.eclipse.sirius.properties.MultipleReferencesDescription#getUnsetOperation() @@ -2443,7 +2693,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the containment reference ' * {@link org.eclipse.sirius.properties.MultipleReferencesDescription#getUpOperation * <em>Up Operation</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the containment reference ' * <em>Up Operation</em>'. * @see org.eclipse.sirius.properties.MultipleReferencesDescription#getUpOperation() @@ -2456,7 +2706,7 @@ public interface PropertiesPackage extends EPackage { * Returns the meta object for the containment reference ' * {@link org.eclipse.sirius.properties.MultipleReferencesDescription#getDownOperation * <em>Down Operation</em>}'. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @return the meta object for the containment reference ' * <em>Down Operation</em>'. * @see org.eclipse.sirius.properties.MultipleReferencesDescription#getDownOperation() @@ -2484,7 +2734,7 @@ public interface PropertiesPackage extends EPackage { * <li>and each data type</li> * </ul> * <!-- end-user-doc --> - * + * * @generated */ interface Literals { @@ -2493,7 +2743,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.ViewExtensionDescriptionImpl * <em>View Extension Description</em>}' class. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.ViewExtensionDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getViewExtensionDescription() * @generated @@ -2503,7 +2753,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Identifier</b></em>' * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute VIEW_EXTENSION_DESCRIPTION__IDENTIFIER = PropertiesPackage.eINSTANCE.getViewExtensionDescription_Identifier(); @@ -2511,7 +2761,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Metamodels</b></em>' * reference list feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EReference VIEW_EXTENSION_DESCRIPTION__METAMODELS = PropertiesPackage.eINSTANCE.getViewExtensionDescription_Metamodels(); @@ -2519,7 +2769,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Pages</b></em>' containment * reference list feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EReference VIEW_EXTENSION_DESCRIPTION__PAGES = PropertiesPackage.eINSTANCE.getViewExtensionDescription_Pages(); @@ -2527,7 +2777,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Default Page</b></em>' * reference feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EReference VIEW_EXTENSION_DESCRIPTION__DEFAULT_PAGE = PropertiesPackage.eINSTANCE.getViewExtensionDescription_DefaultPage(); @@ -2535,7 +2785,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Label Expression</b></em>' * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute VIEW_EXTENSION_DESCRIPTION__LABEL_EXPRESSION = PropertiesPackage.eINSTANCE.getViewExtensionDescription_LabelExpression(); @@ -2543,7 +2793,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Groups</b></em>' containment * reference list feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EReference VIEW_EXTENSION_DESCRIPTION__GROUPS = PropertiesPackage.eINSTANCE.getViewExtensionDescription_Groups(); @@ -2553,7 +2803,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.PageDescriptionImpl * <em>Page Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.PageDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getPageDescription() * @generated @@ -2563,7 +2813,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Identifier</b></em>' * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute PAGE_DESCRIPTION__IDENTIFIER = PropertiesPackage.eINSTANCE.getPageDescription_Identifier(); @@ -2571,7 +2821,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Label Expression</b></em>' * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute PAGE_DESCRIPTION__LABEL_EXPRESSION = PropertiesPackage.eINSTANCE.getPageDescription_LabelExpression(); @@ -2579,7 +2829,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Domain Class</b></em>' * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute PAGE_DESCRIPTION__DOMAIN_CLASS = PropertiesPackage.eINSTANCE.getPageDescription_DomainClass(); @@ -2588,7 +2838,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the ' * <em><b>Semantic Candidate Expression</b></em>' attribute feature. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = PropertiesPackage.eINSTANCE.getPageDescription_SemanticCandidateExpression(); @@ -2596,7 +2846,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Groups</b></em>' reference * list feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EReference PAGE_DESCRIPTION__GROUPS = PropertiesPackage.eINSTANCE.getPageDescription_Groups(); @@ -2605,7 +2855,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the '<em><b>Validation Set</b></em>' * containment reference feature. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ EReference PAGE_DESCRIPTION__VALIDATION_SET = PropertiesPackage.eINSTANCE.getPageDescription_ValidationSet(); @@ -2615,7 +2865,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.PageValidationSetDescriptionImpl * <em>Page Validation Set Description</em>}' class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.PageValidationSetDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getPageValidationSetDescription() * @generated @@ -2626,7 +2876,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the ' * <em><b>Semantic Validation Rules</b></em>' containment reference list * feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EReference PAGE_VALIDATION_SET_DESCRIPTION__SEMANTIC_VALIDATION_RULES = PropertiesPackage.eINSTANCE.getPageValidationSetDescription_SemanticValidationRules(); @@ -2636,7 +2886,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.PropertyValidationRuleImpl * <em>Property Validation Rule</em>}' class. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.PropertyValidationRuleImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getPropertyValidationRule() * @generated @@ -2646,7 +2896,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Targets</b></em>' reference * list feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EReference PROPERTY_VALIDATION_RULE__TARGETS = PropertiesPackage.eINSTANCE.getPropertyValidationRule_Targets(); @@ -2656,7 +2906,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.GroupDescriptionImpl * <em>Group Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.GroupDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getGroupDescription() * @generated @@ -2666,7 +2916,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Identifier</b></em>' * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute GROUP_DESCRIPTION__IDENTIFIER = PropertiesPackage.eINSTANCE.getGroupDescription_Identifier(); @@ -2674,7 +2924,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Label Expression</b></em>' * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute GROUP_DESCRIPTION__LABEL_EXPRESSION = PropertiesPackage.eINSTANCE.getGroupDescription_LabelExpression(); @@ -2682,7 +2932,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Domain Class</b></em>' * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute GROUP_DESCRIPTION__DOMAIN_CLASS = PropertiesPackage.eINSTANCE.getGroupDescription_DomainClass(); @@ -2691,7 +2941,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the ' * <em><b>Semantic Candidate Expression</b></em>' attribute feature. * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION = PropertiesPackage.eINSTANCE.getGroupDescription_SemanticCandidateExpression(); @@ -2700,7 +2950,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the '<em><b>Container</b></em>' * containment reference feature. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ EReference GROUP_DESCRIPTION__CONTAINER = PropertiesPackage.eINSTANCE.getGroupDescription_Container(); @@ -2709,7 +2959,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the '<em><b>Validation Set</b></em>' * containment reference feature. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ EReference GROUP_DESCRIPTION__VALIDATION_SET = PropertiesPackage.eINSTANCE.getGroupDescription_ValidationSet(); @@ -2730,7 +2980,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the ' * <em><b>Semantic Validation Rules</b></em>' containment reference list * feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EReference GROUP_VALIDATION_SET_DESCRIPTION__SEMANTIC_VALIDATION_RULES = PropertiesPackage.eINSTANCE.getGroupValidationSetDescription_SemanticValidationRules(); @@ -2739,7 +2989,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the ' * <em><b>Property Validation Rules</b></em>' containment reference list * feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EReference GROUP_VALIDATION_SET_DESCRIPTION__PROPERTY_VALIDATION_RULES = PropertiesPackage.eINSTANCE.getGroupValidationSetDescription_PropertyValidationRules(); @@ -2749,7 +2999,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.ContainerDescriptionImpl * <em>Container Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.ContainerDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getContainerDescription() * @generated @@ -2759,7 +3009,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Identifier</b></em>' * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute CONTAINER_DESCRIPTION__IDENTIFIER = PropertiesPackage.eINSTANCE.getContainerDescription_Identifier(); @@ -2767,7 +3017,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Widgets</b></em>' containment * reference list feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EReference CONTAINER_DESCRIPTION__WIDGETS = PropertiesPackage.eINSTANCE.getContainerDescription_Widgets(); @@ -2776,7 +3026,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the '<em><b>Dynamic Mappings</b></em>' * containment reference list feature. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ EReference CONTAINER_DESCRIPTION__DYNAMIC_MAPPINGS = PropertiesPackage.eINSTANCE.getContainerDescription_DynamicMappings(); @@ -2786,7 +3036,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.WidgetDescriptionImpl * <em>Widget Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.WidgetDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getWidgetDescription() * @generated @@ -2796,7 +3046,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Identifier</b></em>' * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute WIDGET_DESCRIPTION__IDENTIFIER = PropertiesPackage.eINSTANCE.getWidgetDescription_Identifier(); @@ -2804,7 +3054,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Label Expression</b></em>' * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute WIDGET_DESCRIPTION__LABEL_EXPRESSION = PropertiesPackage.eINSTANCE.getWidgetDescription_LabelExpression(); @@ -2812,7 +3062,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Help Expression</b></em>' * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute WIDGET_DESCRIPTION__HELP_EXPRESSION = PropertiesPackage.eINSTANCE.getWidgetDescription_HelpExpression(); @@ -2822,7 +3072,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.TextDescriptionImpl * <em>Text Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.TextDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getTextDescription() * @generated @@ -2832,7 +3082,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Value Expression</b></em>' * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute TEXT_DESCRIPTION__VALUE_EXPRESSION = PropertiesPackage.eINSTANCE.getTextDescription_ValueExpression(); @@ -2841,7 +3091,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the '<em><b>Initial Operation</b></em>' * containment reference feature. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ EReference TEXT_DESCRIPTION__INITIAL_OPERATION = PropertiesPackage.eINSTANCE.getTextDescription_InitialOperation(); @@ -2851,7 +3101,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.ButtonDescriptionImpl * <em>Button Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.ButtonDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getButtonDescription() * @generated @@ -2871,7 +3121,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the '<em><b>Initial Operation</b></em>' * containment reference feature. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ EReference BUTTON_DESCRIPTION__INITIAL_OPERATION = PropertiesPackage.eINSTANCE.getButtonDescription_InitialOperation(); @@ -2881,7 +3131,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.LabelDescriptionImpl * <em>Label Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.LabelDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getLabelDescription() * @generated @@ -2891,7 +3141,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Body Expression</b></em>' * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute LABEL_DESCRIPTION__BODY_EXPRESSION = PropertiesPackage.eINSTANCE.getLabelDescription_BodyExpression(); @@ -2901,7 +3151,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.CheckboxDescriptionImpl * <em>Checkbox Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.CheckboxDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getCheckboxDescription() * @generated @@ -2911,7 +3161,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Value Expression</b></em>' * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute CHECKBOX_DESCRIPTION__VALUE_EXPRESSION = PropertiesPackage.eINSTANCE.getCheckboxDescription_ValueExpression(); @@ -2920,7 +3170,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the '<em><b>Initial Operation</b></em>' * containment reference feature. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ EReference CHECKBOX_DESCRIPTION__INITIAL_OPERATION = PropertiesPackage.eINSTANCE.getCheckboxDescription_InitialOperation(); @@ -2930,7 +3180,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.SelectDescriptionImpl * <em>Select Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.SelectDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getSelectDescription() * @generated @@ -2940,7 +3190,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Value Expression</b></em>' * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute SELECT_DESCRIPTION__VALUE_EXPRESSION = PropertiesPackage.eINSTANCE.getSelectDescription_ValueExpression(); @@ -2949,7 +3199,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the '<em><b>Initial Operation</b></em>' * containment reference feature. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ EReference SELECT_DESCRIPTION__INITIAL_OPERATION = PropertiesPackage.eINSTANCE.getSelectDescription_InitialOperation(); @@ -2977,7 +3227,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.DynamicMappingForImpl * <em>Dynamic Mapping For</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.DynamicMappingForImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getDynamicMappingFor() * @generated @@ -2987,7 +3237,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Iterator</b></em>' attribute * feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute DYNAMIC_MAPPING_FOR__ITERATOR = PropertiesPackage.eINSTANCE.getDynamicMappingFor_Iterator(); @@ -3004,7 +3254,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Ifs</b></em>' containment * reference list feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EReference DYNAMIC_MAPPING_FOR__IFS = PropertiesPackage.eINSTANCE.getDynamicMappingFor_Ifs(); @@ -3014,7 +3264,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.DynamicMappingIfImpl * <em>Dynamic Mapping If</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.DynamicMappingIfImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getDynamicMappingIf() * @generated @@ -3024,7 +3274,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Predicate Expression</b></em> * ' attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute DYNAMIC_MAPPING_IF__PREDICATE_EXPRESSION = PropertiesPackage.eINSTANCE.getDynamicMappingIf_PredicateExpression(); @@ -3032,7 +3282,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Widget</b></em>' containment * reference feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EReference DYNAMIC_MAPPING_IF__WIDGET = PropertiesPackage.eINSTANCE.getDynamicMappingIf_Widget(); @@ -3042,7 +3292,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.TextAreaDescriptionImpl * <em>Text Area Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.TextAreaDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getTextAreaDescription() * @generated @@ -3052,7 +3302,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Line Count</b></em>' * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute TEXT_AREA_DESCRIPTION__LINE_COUNT = PropertiesPackage.eINSTANCE.getTextAreaDescription_LineCount(); @@ -3062,7 +3312,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.RadioDescriptionImpl * <em>Radio Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.RadioDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getRadioDescription() * @generated @@ -3072,7 +3322,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Value Expression</b></em>' * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute RADIO_DESCRIPTION__VALUE_EXPRESSION = PropertiesPackage.eINSTANCE.getRadioDescription_ValueExpression(); @@ -3081,7 +3331,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the '<em><b>Initial Operation</b></em>' * containment reference feature. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ EReference RADIO_DESCRIPTION__INITIAL_OPERATION = PropertiesPackage.eINSTANCE.getRadioDescription_InitialOperation(); @@ -3109,7 +3359,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.SingleReferenceDescriptionImpl * <em>Single Reference Description</em>}' class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.SingleReferenceDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getSingleReferenceDescription() * @generated @@ -3119,7 +3369,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Value Expression</b></em>' * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute SINGLE_REFERENCE_DESCRIPTION__VALUE_EXPRESSION = PropertiesPackage.eINSTANCE.getSingleReferenceDescription_ValueExpression(); @@ -3127,15 +3377,100 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Display Expression</b></em>' * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute SINGLE_REFERENCE_DESCRIPTION__DISPLAY_EXPRESSION = PropertiesPackage.eINSTANCE.getSingleReferenceDescription_DisplayExpression(); /** - * The meta object literal for the '<em><b>Create Operation</b></em>' + * The meta object literal for the ' + * {@link org.eclipse.sirius.properties.impl.CustomDescriptionImpl + * <em>Custom Description</em>}' class. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see org.eclipse.sirius.properties.impl.CustomDescriptionImpl + * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getCustomDescription() + * @generated + */ + EClass CUSTOM_DESCRIPTION = PropertiesPackage.eINSTANCE.getCustomDescription(); + + /** + * The meta object literal for the '<em><b>Custom Expressions</b></em>' + * containment reference list feature. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @generated + */ + EReference CUSTOM_DESCRIPTION__CUSTOM_EXPRESSIONS = PropertiesPackage.eINSTANCE.getCustomDescription_CustomExpressions(); + + /** + * The meta object literal for the '<em><b>Custom Operations</b></em>' + * containment reference list feature. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @generated + */ + EReference CUSTOM_DESCRIPTION__CUSTOM_OPERATIONS = PropertiesPackage.eINSTANCE.getCustomDescription_CustomOperations(); + + /** + * The meta object literal for the ' + * {@link org.eclipse.sirius.properties.impl.CustomExpressionImpl + * <em>Custom Expression</em>}' class. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see org.eclipse.sirius.properties.impl.CustomExpressionImpl + * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getCustomExpression() + * @generated + */ + EClass CUSTOM_EXPRESSION = PropertiesPackage.eINSTANCE.getCustomExpression(); + + /** + * The meta object literal for the '<em><b>Identifier</b></em>' + * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + EAttribute CUSTOM_EXPRESSION__IDENTIFIER = PropertiesPackage.eINSTANCE.getCustomExpression_Identifier(); + + /** + * The meta object literal for the '<em><b>Custom Expression</b></em>' + * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + EAttribute CUSTOM_EXPRESSION__CUSTOM_EXPRESSION = PropertiesPackage.eINSTANCE.getCustomExpression_CustomExpression(); + + /** + * The meta object literal for the ' + * {@link org.eclipse.sirius.properties.impl.CustomOperationImpl + * <em>Custom Operation</em>}' class. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see org.eclipse.sirius.properties.impl.CustomOperationImpl + * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getCustomOperation() + * @generated + */ + EClass CUSTOM_OPERATION = PropertiesPackage.eINSTANCE.getCustomOperation(); + + /** + * The meta object literal for the '<em><b>Identifier</b></em>' + * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + EAttribute CUSTOM_OPERATION__IDENTIFIER = PropertiesPackage.eINSTANCE.getCustomOperation_Identifier(); + + /** + * The meta object literal for the '<em><b>Initial Operation</b></em>' * containment reference feature. <!-- begin-user-doc --> <!-- * end-user-doc --> + * + * @generated + */ + EReference CUSTOM_OPERATION__INITIAL_OPERATION = PropertiesPackage.eINSTANCE.getCustomOperation_InitialOperation(); + + /** + * The meta object literal for the ' end-user-doc --> * * @generated */ @@ -3145,7 +3480,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the '<em><b>Search Operation</b></em>' * containment reference feature. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ EReference SINGLE_REFERENCE_DESCRIPTION__SEARCH_OPERATION = PropertiesPackage.eINSTANCE.getSingleReferenceDescription_SearchOperation(); @@ -3154,7 +3489,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the '<em><b>Unset Operation</b></em>' * containment reference feature. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ EReference SINGLE_REFERENCE_DESCRIPTION__UNSET_OPERATION = PropertiesPackage.eINSTANCE.getSingleReferenceDescription_UnsetOperation(); @@ -3163,7 +3498,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the '<em><b>On Click Operation</b></em>' * containment reference feature. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ EReference SINGLE_REFERENCE_DESCRIPTION__ON_CLICK_OPERATION = PropertiesPackage.eINSTANCE.getSingleReferenceDescription_OnClickOperation(); @@ -3173,7 +3508,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.OperationDescriptionImpl * <em>Operation Description</em>}' class. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.OperationDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getOperationDescription() * @generated @@ -3184,7 +3519,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the '<em><b>Initial Operation</b></em>' * containment reference feature. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ EReference OPERATION_DESCRIPTION__INITIAL_OPERATION = PropertiesPackage.eINSTANCE.getOperationDescription_InitialOperation(); @@ -3194,7 +3529,7 @@ public interface PropertiesPackage extends EPackage { * {@link org.eclipse.sirius.properties.impl.MultipleReferencesDescriptionImpl * <em>Multiple References Description</em>}' class. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see org.eclipse.sirius.properties.impl.MultipleReferencesDescriptionImpl * @see org.eclipse.sirius.properties.impl.PropertiesPackageImpl#getMultipleReferencesDescription() * @generated @@ -3204,7 +3539,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Value Expression</b></em>' * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute MULTIPLE_REFERENCES_DESCRIPTION__VALUE_EXPRESSION = PropertiesPackage.eINSTANCE.getMultipleReferencesDescription_ValueExpression(); @@ -3212,7 +3547,7 @@ public interface PropertiesPackage extends EPackage { /** * The meta object literal for the '<em><b>Display Expression</b></em>' * attribute feature. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ EAttribute MULTIPLE_REFERENCES_DESCRIPTION__DISPLAY_EXPRESSION = PropertiesPackage.eINSTANCE.getMultipleReferencesDescription_DisplayExpression(); @@ -3221,7 +3556,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the '<em><b>Create Operation</b></em>' * containment reference feature. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ EReference MULTIPLE_REFERENCES_DESCRIPTION__CREATE_OPERATION = PropertiesPackage.eINSTANCE.getMultipleReferencesDescription_CreateOperation(); @@ -3230,7 +3565,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the '<em><b>Search Operation</b></em>' * containment reference feature. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ EReference MULTIPLE_REFERENCES_DESCRIPTION__SEARCH_OPERATION = PropertiesPackage.eINSTANCE.getMultipleReferencesDescription_SearchOperation(); @@ -3239,7 +3574,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the '<em><b>Unset Operation</b></em>' * containment reference feature. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ EReference MULTIPLE_REFERENCES_DESCRIPTION__UNSET_OPERATION = PropertiesPackage.eINSTANCE.getMultipleReferencesDescription_UnsetOperation(); @@ -3248,7 +3583,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the '<em><b>On Click Operation</b></em>' * containment reference feature. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ EReference MULTIPLE_REFERENCES_DESCRIPTION__ON_CLICK_OPERATION = PropertiesPackage.eINSTANCE.getMultipleReferencesDescription_OnClickOperation(); @@ -3257,7 +3592,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the '<em><b>Up Operation</b></em>' * containment reference feature. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ EReference MULTIPLE_REFERENCES_DESCRIPTION__UP_OPERATION = PropertiesPackage.eINSTANCE.getMultipleReferencesDescription_UpOperation(); @@ -3266,7 +3601,7 @@ public interface PropertiesPackage extends EPackage { * The meta object literal for the '<em><b>Down Operation</b></em>' * containment reference feature. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ EReference MULTIPLE_REFERENCES_DESCRIPTION__DOWN_OPERATION = PropertiesPackage.eINSTANCE.getMultipleReferencesDescription_DownOperation(); diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/RadioDescription.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/RadioDescription.java index 5aed3a0d44..9b15ae466c 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/RadioDescription.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/RadioDescription.java @@ -61,7 +61,7 @@ public interface RadioDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.RadioDescription#getValueExpression * <em>Value Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Value Expression</em>' attribute. * @see #getValueExpression() @@ -89,7 +89,7 @@ public interface RadioDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.RadioDescription#getInitialOperation * <em>Initial Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>Initial Operation</em>' containment * reference. @@ -118,7 +118,7 @@ public interface RadioDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.RadioDescription#getCandidatesExpression * <em>Candidates Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Candidates Expression</em>' * attribute. @@ -148,7 +148,7 @@ public interface RadioDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.RadioDescription#getCandidateDisplayExpression * <em>Candidate Display Expression</em>}' attribute. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>Candidate Display Expression</em>' * attribute. diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/SelectDescription.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/SelectDescription.java index a5167d3132..5d773c8fc6 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/SelectDescription.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/SelectDescription.java @@ -62,7 +62,7 @@ public interface SelectDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.SelectDescription#getValueExpression * <em>Value Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Value Expression</em>' attribute. * @see #getValueExpression() @@ -90,7 +90,7 @@ public interface SelectDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.SelectDescription#getInitialOperation * <em>Initial Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>Initial Operation</em>' containment * reference. @@ -119,7 +119,7 @@ public interface SelectDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.SelectDescription#getCandidatesExpression * <em>Candidates Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Candidates Expression</em>' * attribute. @@ -149,7 +149,7 @@ public interface SelectDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.SelectDescription#getCandidateDisplayExpression * <em>Candidate Display Expression</em>}' attribute. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>Candidate Display Expression</em>' * attribute. diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/SingleReferenceDescription.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/SingleReferenceDescription.java index ca9e451bbb..1c2a9dc6f9 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/SingleReferenceDescription.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/SingleReferenceDescription.java @@ -66,7 +66,7 @@ public interface SingleReferenceDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.SingleReferenceDescription#getValueExpression * <em>Value Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Value Expression</em>' attribute. * @see #getValueExpression() @@ -93,7 +93,7 @@ public interface SingleReferenceDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.SingleReferenceDescription#getDisplayExpression * <em>Display Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Display Expression</em>' attribute. * @see #getDisplayExpression() @@ -121,7 +121,7 @@ public interface SingleReferenceDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.SingleReferenceDescription#getCreateOperation * <em>Create Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>Create Operation</em>' containment * reference. @@ -150,7 +150,7 @@ public interface SingleReferenceDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.SingleReferenceDescription#getSearchOperation * <em>Search Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>Search Operation</em>' containment * reference. @@ -179,7 +179,7 @@ public interface SingleReferenceDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.SingleReferenceDescription#getUnsetOperation * <em>Unset Operation</em>}' containment reference. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>Unset Operation</em>' containment * reference. @@ -208,7 +208,7 @@ public interface SingleReferenceDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.SingleReferenceDescription#getOnClickOperation * <em>On Click Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>On Click Operation</em>' containment * reference. diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/TextAreaDescription.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/TextAreaDescription.java index ef27deb1a7..23e5be3a16 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/TextAreaDescription.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/TextAreaDescription.java @@ -39,7 +39,7 @@ public interface TextAreaDescription extends TextDescription { * really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Line Count</em>' attribute. * @see #setLineCount(int) * @see org.eclipse.sirius.properties.PropertiesPackage#getTextAreaDescription_LineCount() @@ -53,7 +53,7 @@ public interface TextAreaDescription extends TextDescription { * {@link org.eclipse.sirius.properties.TextAreaDescription#getLineCount * <em>Line Count</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Line Count</em>' attribute. * @see #getLineCount() diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/TextDescription.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/TextDescription.java index 3d02339542..a642d2d2f9 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/TextDescription.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/TextDescription.java @@ -40,7 +40,7 @@ public interface TextDescription extends WidgetDescription { * there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Value Expression</em>' attribute. * @see #setValueExpression(String) * @see org.eclipse.sirius.properties.PropertiesPackage#getTextDescription_ValueExpression() @@ -55,7 +55,7 @@ public interface TextDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.TextDescription#getValueExpression * <em>Value Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Value Expression</em>' attribute. * @see #getValueExpression() @@ -71,7 +71,7 @@ public interface TextDescription extends WidgetDescription { * isn't clear, there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Initial Operation</em>' containment * reference. * @see #setInitialOperation(InitialOperation) @@ -86,7 +86,7 @@ public interface TextDescription extends WidgetDescription { * {@link org.eclipse.sirius.properties.TextDescription#getInitialOperation * <em>Initial Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @param value * the new value of the '<em>Initial Operation</em>' containment * reference. diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/ViewExtensionDescription.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/ViewExtensionDescription.java index 59fd8245d8..8fca773067 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/ViewExtensionDescription.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/ViewExtensionDescription.java @@ -68,7 +68,7 @@ public interface ViewExtensionDescription extends Extension { * {@link org.eclipse.sirius.properties.ViewExtensionDescription#getIdentifier * <em>Identifier</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Identifier</em>' attribute. * @see #getIdentifier() @@ -133,7 +133,7 @@ public interface ViewExtensionDescription extends Extension { * {@link org.eclipse.sirius.properties.ViewExtensionDescription#getDefaultPage * <em>Default Page</em>}' reference. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Default Page</em>' reference. * @see #getDefaultPage() @@ -149,7 +149,7 @@ public interface ViewExtensionDescription extends Extension { * there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Label Expression</em>' attribute. * @see #setLabelExpression(String) * @see org.eclipse.sirius.properties.PropertiesPackage#getViewExtensionDescription_LabelExpression() @@ -164,7 +164,7 @@ public interface ViewExtensionDescription extends Extension { * {@link org.eclipse.sirius.properties.ViewExtensionDescription#getLabelExpression * <em>Label Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Label Expression</em>' attribute. * @see #getLabelExpression() diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/WidgetDescription.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/WidgetDescription.java index a91682a466..4bd6d61b02 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/WidgetDescription.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/WidgetDescription.java @@ -57,7 +57,7 @@ public interface WidgetDescription extends EObject { * {@link org.eclipse.sirius.properties.WidgetDescription#getIdentifier * <em>Identifier</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Identifier</em>' attribute. * @see #getIdentifier() @@ -73,7 +73,7 @@ public interface WidgetDescription extends EObject { * there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Label Expression</em>' attribute. * @see #setLabelExpression(String) * @see org.eclipse.sirius.properties.PropertiesPackage#getWidgetDescription_LabelExpression() @@ -88,7 +88,7 @@ public interface WidgetDescription extends EObject { * {@link org.eclipse.sirius.properties.WidgetDescription#getLabelExpression * <em>Label Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Label Expression</em>' attribute. * @see #getLabelExpression() @@ -104,7 +104,7 @@ public interface WidgetDescription extends EObject { * there really should be more of a description here... * </p> * <!-- end-user-doc --> - * + * * @return the value of the '<em>Help Expression</em>' attribute. * @see #setHelpExpression(String) * @see org.eclipse.sirius.properties.PropertiesPackage#getWidgetDescription_HelpExpression() @@ -119,7 +119,7 @@ public interface WidgetDescription extends EObject { * {@link org.eclipse.sirius.properties.WidgetDescription#getHelpExpression * <em>Help Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @param value * the new value of the '<em>Help Expression</em>' attribute. * @see #getHelpExpression() diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/ButtonDescriptionImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/ButtonDescriptionImpl.java index 4b1dd56b5c..a5811fd565 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/ButtonDescriptionImpl.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/ButtonDescriptionImpl.java @@ -42,7 +42,7 @@ public class ButtonDescriptionImpl extends WidgetDescriptionImpl implements Butt * The default value of the '{@link #getButtonLabelExpression() * <em>Button Label Expression</em>}' attribute. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @see #getButtonLabelExpression() * @generated * @ordered @@ -53,7 +53,7 @@ public class ButtonDescriptionImpl extends WidgetDescriptionImpl implements Butt * The cached value of the '{@link #getButtonLabelExpression() * <em>Button Label Expression</em>}' attribute. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @see #getButtonLabelExpression() * @generated * @ordered @@ -64,7 +64,7 @@ public class ButtonDescriptionImpl extends WidgetDescriptionImpl implements Butt * The cached value of the '{@link #getInitialOperation() * <em>Initial Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see #getInitialOperation() * @generated * @ordered @@ -73,7 +73,7 @@ public class ButtonDescriptionImpl extends WidgetDescriptionImpl implements Butt /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected ButtonDescriptionImpl() { @@ -82,7 +82,7 @@ public class ButtonDescriptionImpl extends WidgetDescriptionImpl implements Butt /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -92,7 +92,7 @@ public class ButtonDescriptionImpl extends WidgetDescriptionImpl implements Butt /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -102,7 +102,7 @@ public class ButtonDescriptionImpl extends WidgetDescriptionImpl implements Butt /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -116,7 +116,7 @@ public class ButtonDescriptionImpl extends WidgetDescriptionImpl implements Butt /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -126,7 +126,7 @@ public class ButtonDescriptionImpl extends WidgetDescriptionImpl implements Butt /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public NotificationChain basicSetInitialOperation(InitialOperation newInitialOperation, NotificationChain msgs) { @@ -145,7 +145,7 @@ public class ButtonDescriptionImpl extends WidgetDescriptionImpl implements Butt /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -169,7 +169,7 @@ public class ButtonDescriptionImpl extends WidgetDescriptionImpl implements Butt /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -183,7 +183,7 @@ public class ButtonDescriptionImpl extends WidgetDescriptionImpl implements Butt /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -199,7 +199,7 @@ public class ButtonDescriptionImpl extends WidgetDescriptionImpl implements Butt /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -217,7 +217,7 @@ public class ButtonDescriptionImpl extends WidgetDescriptionImpl implements Butt /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -235,7 +235,7 @@ public class ButtonDescriptionImpl extends WidgetDescriptionImpl implements Butt /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -243,7 +243,7 @@ public class ButtonDescriptionImpl extends WidgetDescriptionImpl implements Butt switch (featureID) { case PropertiesPackage.BUTTON_DESCRIPTION__BUTTON_LABEL_EXPRESSION: return ButtonDescriptionImpl.BUTTON_LABEL_EXPRESSION_EDEFAULT == null ? buttonLabelExpression != null : !ButtonDescriptionImpl.BUTTON_LABEL_EXPRESSION_EDEFAULT - .equals(buttonLabelExpression); + .equals(buttonLabelExpression); case PropertiesPackage.BUTTON_DESCRIPTION__INITIAL_OPERATION: return initialOperation != null; } @@ -252,7 +252,7 @@ public class ButtonDescriptionImpl extends WidgetDescriptionImpl implements Butt /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/CheckboxDescriptionImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/CheckboxDescriptionImpl.java index 8c2080efec..4dab1603af 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/CheckboxDescriptionImpl.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/CheckboxDescriptionImpl.java @@ -42,7 +42,7 @@ public class CheckboxDescriptionImpl extends WidgetDescriptionImpl implements Ch * The default value of the '{@link #getValueExpression() * <em>Value Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getValueExpression() * @generated * @ordered @@ -53,7 +53,7 @@ public class CheckboxDescriptionImpl extends WidgetDescriptionImpl implements Ch * The cached value of the '{@link #getValueExpression() * <em>Value Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getValueExpression() * @generated * @ordered @@ -64,7 +64,7 @@ public class CheckboxDescriptionImpl extends WidgetDescriptionImpl implements Ch * The cached value of the '{@link #getInitialOperation() * <em>Initial Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see #getInitialOperation() * @generated * @ordered @@ -73,7 +73,7 @@ public class CheckboxDescriptionImpl extends WidgetDescriptionImpl implements Ch /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected CheckboxDescriptionImpl() { @@ -82,7 +82,7 @@ public class CheckboxDescriptionImpl extends WidgetDescriptionImpl implements Ch /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -92,7 +92,7 @@ public class CheckboxDescriptionImpl extends WidgetDescriptionImpl implements Ch /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -102,7 +102,7 @@ public class CheckboxDescriptionImpl extends WidgetDescriptionImpl implements Ch /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -116,7 +116,7 @@ public class CheckboxDescriptionImpl extends WidgetDescriptionImpl implements Ch /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -126,7 +126,7 @@ public class CheckboxDescriptionImpl extends WidgetDescriptionImpl implements Ch /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public NotificationChain basicSetInitialOperation(InitialOperation newInitialOperation, NotificationChain msgs) { @@ -145,7 +145,7 @@ public class CheckboxDescriptionImpl extends WidgetDescriptionImpl implements Ch /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -169,7 +169,7 @@ public class CheckboxDescriptionImpl extends WidgetDescriptionImpl implements Ch /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -183,7 +183,7 @@ public class CheckboxDescriptionImpl extends WidgetDescriptionImpl implements Ch /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -199,7 +199,7 @@ public class CheckboxDescriptionImpl extends WidgetDescriptionImpl implements Ch /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -217,7 +217,7 @@ public class CheckboxDescriptionImpl extends WidgetDescriptionImpl implements Ch /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -235,7 +235,7 @@ public class CheckboxDescriptionImpl extends WidgetDescriptionImpl implements Ch /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -251,7 +251,7 @@ public class CheckboxDescriptionImpl extends WidgetDescriptionImpl implements Ch /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/ContainerDescriptionImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/ContainerDescriptionImpl.java index ee831b6665..5d4e925dee 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/ContainerDescriptionImpl.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/ContainerDescriptionImpl.java @@ -51,7 +51,7 @@ public class ContainerDescriptionImpl extends MinimalEObjectImpl.Container imple /** * The default value of the '{@link #getIdentifier() <em>Identifier</em>}' * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getIdentifier() * @generated * @ordered @@ -61,7 +61,7 @@ public class ContainerDescriptionImpl extends MinimalEObjectImpl.Container imple /** * The cached value of the '{@link #getIdentifier() <em>Identifier</em>}' * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getIdentifier() * @generated * @ordered @@ -71,7 +71,7 @@ public class ContainerDescriptionImpl extends MinimalEObjectImpl.Container imple /** * The cached value of the '{@link #getWidgets() <em>Widgets</em>}' * containment reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getWidgets() * @generated * @ordered @@ -91,7 +91,7 @@ public class ContainerDescriptionImpl extends MinimalEObjectImpl.Container imple /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected ContainerDescriptionImpl() { @@ -100,7 +100,7 @@ public class ContainerDescriptionImpl extends MinimalEObjectImpl.Container imple /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -110,7 +110,7 @@ public class ContainerDescriptionImpl extends MinimalEObjectImpl.Container imple /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -120,7 +120,7 @@ public class ContainerDescriptionImpl extends MinimalEObjectImpl.Container imple /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -134,7 +134,7 @@ public class ContainerDescriptionImpl extends MinimalEObjectImpl.Container imple /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -147,7 +147,7 @@ public class ContainerDescriptionImpl extends MinimalEObjectImpl.Container imple /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -160,7 +160,7 @@ public class ContainerDescriptionImpl extends MinimalEObjectImpl.Container imple /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -176,7 +176,7 @@ public class ContainerDescriptionImpl extends MinimalEObjectImpl.Container imple /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -194,7 +194,7 @@ public class ContainerDescriptionImpl extends MinimalEObjectImpl.Container imple /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @SuppressWarnings("unchecked") @@ -218,7 +218,7 @@ public class ContainerDescriptionImpl extends MinimalEObjectImpl.Container imple /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -239,7 +239,7 @@ public class ContainerDescriptionImpl extends MinimalEObjectImpl.Container imple /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -257,7 +257,7 @@ public class ContainerDescriptionImpl extends MinimalEObjectImpl.Container imple /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/CustomDescriptionImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/CustomDescriptionImpl.java new file mode 100644 index 0000000000..72cb976975 --- /dev/null +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/CustomDescriptionImpl.java @@ -0,0 +1,199 @@ +/** + * Copyright (c) 2016 Obeo. + * 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: + * Obeo - initial API and implementation + * + */ +package org.eclipse.sirius.properties.impl; + +import java.util.Collection; + +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.common.util.EList; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.util.EObjectContainmentEList; +import org.eclipse.emf.ecore.util.InternalEList; +import org.eclipse.sirius.properties.CustomDescription; +import org.eclipse.sirius.properties.CustomExpression; +import org.eclipse.sirius.properties.CustomOperation; +import org.eclipse.sirius.properties.PropertiesPackage; + +/** + * <!-- begin-user-doc --> An implementation of the model object ' + * <em><b>Custom Description</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li> + * {@link org.eclipse.sirius.properties.impl.CustomDescriptionImpl#getCustomExpressions + * <em>Custom Expressions</em>}</li> + * <li> + * {@link org.eclipse.sirius.properties.impl.CustomDescriptionImpl#getCustomOperations + * <em>Custom Operations</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class CustomDescriptionImpl extends WidgetDescriptionImpl implements CustomDescription { + /** + * The cached value of the '{@link #getCustomExpressions() + * <em>Custom Expressions</em>}' containment reference list. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @see #getCustomExpressions() + * @generated + * @ordered + */ + protected EList<CustomExpression> customExpressions; + + /** + * The cached value of the '{@link #getCustomOperations() + * <em>Custom Operations</em>}' containment reference list. <!-- + * begin-user-doc --> <!-- end-user-doc --> + * + * @see #getCustomOperations() + * @generated + * @ordered + */ + protected EList<CustomOperation> customOperations; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected CustomDescriptionImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return PropertiesPackage.Literals.CUSTOM_DESCRIPTION; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public EList<CustomExpression> getCustomExpressions() { + if (customExpressions == null) { + customExpressions = new EObjectContainmentEList<CustomExpression>(CustomExpression.class, this, PropertiesPackage.CUSTOM_DESCRIPTION__CUSTOM_EXPRESSIONS); + } + return customExpressions; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public EList<CustomOperation> getCustomOperations() { + if (customOperations == null) { + customOperations = new EObjectContainmentEList<CustomOperation>(CustomOperation.class, this, PropertiesPackage.CUSTOM_DESCRIPTION__CUSTOM_OPERATIONS); + } + return customOperations; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case PropertiesPackage.CUSTOM_DESCRIPTION__CUSTOM_EXPRESSIONS: + return ((InternalEList<?>) getCustomExpressions()).basicRemove(otherEnd, msgs); + case PropertiesPackage.CUSTOM_DESCRIPTION__CUSTOM_OPERATIONS: + return ((InternalEList<?>) getCustomOperations()).basicRemove(otherEnd, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case PropertiesPackage.CUSTOM_DESCRIPTION__CUSTOM_EXPRESSIONS: + return getCustomExpressions(); + case PropertiesPackage.CUSTOM_DESCRIPTION__CUSTOM_OPERATIONS: + return getCustomOperations(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @SuppressWarnings("unchecked") + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case PropertiesPackage.CUSTOM_DESCRIPTION__CUSTOM_EXPRESSIONS: + getCustomExpressions().clear(); + getCustomExpressions().addAll((Collection<? extends CustomExpression>) newValue); + return; + case PropertiesPackage.CUSTOM_DESCRIPTION__CUSTOM_OPERATIONS: + getCustomOperations().clear(); + getCustomOperations().addAll((Collection<? extends CustomOperation>) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case PropertiesPackage.CUSTOM_DESCRIPTION__CUSTOM_EXPRESSIONS: + getCustomExpressions().clear(); + return; + case PropertiesPackage.CUSTOM_DESCRIPTION__CUSTOM_OPERATIONS: + getCustomOperations().clear(); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case PropertiesPackage.CUSTOM_DESCRIPTION__CUSTOM_EXPRESSIONS: + return customExpressions != null && !customExpressions.isEmpty(); + case PropertiesPackage.CUSTOM_DESCRIPTION__CUSTOM_OPERATIONS: + return customOperations != null && !customOperations.isEmpty(); + } + return super.eIsSet(featureID); + } + +} // CustomDescriptionImpl diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/CustomExpressionImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/CustomExpressionImpl.java new file mode 100644 index 0000000000..3b1b7a4815 --- /dev/null +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/CustomExpressionImpl.java @@ -0,0 +1,236 @@ +/** + * Copyright (c) 2016 Obeo. + * 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: + * Obeo - initial API and implementation + * + */ +package org.eclipse.sirius.properties.impl; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; +import org.eclipse.sirius.properties.CustomExpression; +import org.eclipse.sirius.properties.PropertiesPackage; + +/** + * <!-- begin-user-doc --> An implementation of the model object ' + * <em><b>Custom Expression</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li> + * {@link org.eclipse.sirius.properties.impl.CustomExpressionImpl#getIdentifier + * <em>Identifier</em>}</li> + * <li> + * {@link org.eclipse.sirius.properties.impl.CustomExpressionImpl#getCustomExpression + * <em>Custom Expression</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class CustomExpressionImpl extends MinimalEObjectImpl.Container implements CustomExpression { + /** + * The default value of the '{@link #getIdentifier() <em>Identifier</em>}' + * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected static final String IDENTIFIER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIdentifier() <em>Identifier</em>}' + * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected String identifier = CustomExpressionImpl.IDENTIFIER_EDEFAULT; + + /** + * The default value of the '{@link #getCustomExpression() + * <em>Custom Expression</em>}' attribute. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see #getCustomExpression() + * @generated + * @ordered + */ + protected static final String CUSTOM_EXPRESSION_EDEFAULT = null; + + /** + * The cached value of the '{@link #getCustomExpression() + * <em>Custom Expression</em>}' attribute. <!-- begin-user-doc --> <!-- + * end-user-doc --> + * + * @see #getCustomExpression() + * @generated + * @ordered + */ + protected String customExpression = CustomExpressionImpl.CUSTOM_EXPRESSION_EDEFAULT; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected CustomExpressionImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return PropertiesPackage.Literals.CUSTOM_EXPRESSION; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public String getIdentifier() { + return identifier; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void setIdentifier(String newIdentifier) { + String oldIdentifier = identifier; + identifier = newIdentifier; + if (eNotificationRequired()) { + eNotify(new ENotificationImpl(this, Notification.SET, PropertiesPackage.CUSTOM_EXPRESSION__IDENTIFIER, oldIdentifier, identifier)); + } + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public String getCustomExpression() { + return customExpression; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void setCustomExpression(String newCustomExpression) { + String oldCustomExpression = customExpression; + customExpression = newCustomExpression; + if (eNotificationRequired()) { + eNotify(new ENotificationImpl(this, Notification.SET, PropertiesPackage.CUSTOM_EXPRESSION__CUSTOM_EXPRESSION, oldCustomExpression, customExpression)); + } + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case PropertiesPackage.CUSTOM_EXPRESSION__IDENTIFIER: + return getIdentifier(); + case PropertiesPackage.CUSTOM_EXPRESSION__CUSTOM_EXPRESSION: + return getCustomExpression(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case PropertiesPackage.CUSTOM_EXPRESSION__IDENTIFIER: + setIdentifier((String) newValue); + return; + case PropertiesPackage.CUSTOM_EXPRESSION__CUSTOM_EXPRESSION: + setCustomExpression((String) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case PropertiesPackage.CUSTOM_EXPRESSION__IDENTIFIER: + setIdentifier(CustomExpressionImpl.IDENTIFIER_EDEFAULT); + return; + case PropertiesPackage.CUSTOM_EXPRESSION__CUSTOM_EXPRESSION: + setCustomExpression(CustomExpressionImpl.CUSTOM_EXPRESSION_EDEFAULT); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case PropertiesPackage.CUSTOM_EXPRESSION__IDENTIFIER: + return CustomExpressionImpl.IDENTIFIER_EDEFAULT == null ? identifier != null : !CustomExpressionImpl.IDENTIFIER_EDEFAULT.equals(identifier); + case PropertiesPackage.CUSTOM_EXPRESSION__CUSTOM_EXPRESSION: + return CustomExpressionImpl.CUSTOM_EXPRESSION_EDEFAULT == null ? customExpression != null : !CustomExpressionImpl.CUSTOM_EXPRESSION_EDEFAULT.equals(customExpression); + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) { + return super.toString(); + } + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (identifier: "); + result.append(identifier); + result.append(", customExpression: "); + result.append(customExpression); + result.append(')'); + return result.toString(); + } + +} // CustomExpressionImpl diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/CustomOperationImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/CustomOperationImpl.java new file mode 100644 index 0000000000..db632a5bf1 --- /dev/null +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/CustomOperationImpl.java @@ -0,0 +1,269 @@ +/** + * Copyright (c) 2016 Obeo. + * 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: + * Obeo - initial API and implementation + * + */ +package org.eclipse.sirius.properties.impl; + +import org.eclipse.emf.common.notify.Notification; +import org.eclipse.emf.common.notify.NotificationChain; +import org.eclipse.emf.ecore.EClass; +import org.eclipse.emf.ecore.InternalEObject; +import org.eclipse.emf.ecore.impl.ENotificationImpl; +import org.eclipse.emf.ecore.impl.MinimalEObjectImpl; +import org.eclipse.sirius.properties.CustomOperation; +import org.eclipse.sirius.properties.PropertiesPackage; +import org.eclipse.sirius.viewpoint.description.tool.InitialOperation; + +/** + * <!-- begin-user-doc --> An implementation of the model object ' + * <em><b>Custom Operation</b></em>'. <!-- end-user-doc --> + * <p> + * The following features are implemented: + * <ul> + * <li> + * {@link org.eclipse.sirius.properties.impl.CustomOperationImpl#getIdentifier + * <em>Identifier</em>}</li> + * <li> + * {@link org.eclipse.sirius.properties.impl.CustomOperationImpl#getInitialOperation + * <em>Initial Operation</em>}</li> + * </ul> + * </p> + * + * @generated + */ +public class CustomOperationImpl extends MinimalEObjectImpl.Container implements CustomOperation { + /** + * The default value of the '{@link #getIdentifier() <em>Identifier</em>}' + * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected static final String IDENTIFIER_EDEFAULT = null; + + /** + * The cached value of the '{@link #getIdentifier() <em>Identifier</em>}' + * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @see #getIdentifier() + * @generated + * @ordered + */ + protected String identifier = CustomOperationImpl.IDENTIFIER_EDEFAULT; + + /** + * The cached value of the '{@link #getInitialOperation() + * <em>Initial Operation</em>}' containment reference. <!-- begin-user-doc + * --> <!-- end-user-doc --> + * + * @see #getInitialOperation() + * @generated + * @ordered + */ + protected InitialOperation initialOperation; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + protected CustomOperationImpl() { + super(); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + protected EClass eStaticClass() { + return PropertiesPackage.Literals.CUSTOM_OPERATION; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public String getIdentifier() { + return identifier; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void setIdentifier(String newIdentifier) { + String oldIdentifier = identifier; + identifier = newIdentifier; + if (eNotificationRequired()) { + eNotify(new ENotificationImpl(this, Notification.SET, PropertiesPackage.CUSTOM_OPERATION__IDENTIFIER, oldIdentifier, identifier)); + } + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public InitialOperation getInitialOperation() { + return initialOperation; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + public NotificationChain basicSetInitialOperation(InitialOperation newInitialOperation, NotificationChain msgs) { + InitialOperation oldInitialOperation = initialOperation; + initialOperation = newInitialOperation; + if (eNotificationRequired()) { + ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, PropertiesPackage.CUSTOM_OPERATION__INITIAL_OPERATION, oldInitialOperation, newInitialOperation); + if (msgs == null) { + msgs = notification; + } else { + msgs.add(notification); + } + } + return msgs; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void setInitialOperation(InitialOperation newInitialOperation) { + if (newInitialOperation != initialOperation) { + NotificationChain msgs = null; + if (initialOperation != null) { + msgs = ((InternalEObject) initialOperation).eInverseRemove(this, InternalEObject.EOPPOSITE_FEATURE_BASE - PropertiesPackage.CUSTOM_OPERATION__INITIAL_OPERATION, null, msgs); + } + if (newInitialOperation != null) { + msgs = ((InternalEObject) newInitialOperation).eInverseAdd(this, InternalEObject.EOPPOSITE_FEATURE_BASE - PropertiesPackage.CUSTOM_OPERATION__INITIAL_OPERATION, null, msgs); + } + msgs = basicSetInitialOperation(newInitialOperation, msgs); + if (msgs != null) { + msgs.dispatch(); + } + } else if (eNotificationRequired()) { + eNotify(new ENotificationImpl(this, Notification.SET, PropertiesPackage.CUSTOM_OPERATION__INITIAL_OPERATION, newInitialOperation, newInitialOperation)); + } + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { + switch (featureID) { + case PropertiesPackage.CUSTOM_OPERATION__INITIAL_OPERATION: + return basicSetInitialOperation(null, msgs); + } + return super.eInverseRemove(otherEnd, featureID, msgs); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public Object eGet(int featureID, boolean resolve, boolean coreType) { + switch (featureID) { + case PropertiesPackage.CUSTOM_OPERATION__IDENTIFIER: + return getIdentifier(); + case PropertiesPackage.CUSTOM_OPERATION__INITIAL_OPERATION: + return getInitialOperation(); + } + return super.eGet(featureID, resolve, coreType); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void eSet(int featureID, Object newValue) { + switch (featureID) { + case PropertiesPackage.CUSTOM_OPERATION__IDENTIFIER: + setIdentifier((String) newValue); + return; + case PropertiesPackage.CUSTOM_OPERATION__INITIAL_OPERATION: + setInitialOperation((InitialOperation) newValue); + return; + } + super.eSet(featureID, newValue); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public void eUnset(int featureID) { + switch (featureID) { + case PropertiesPackage.CUSTOM_OPERATION__IDENTIFIER: + setIdentifier(CustomOperationImpl.IDENTIFIER_EDEFAULT); + return; + case PropertiesPackage.CUSTOM_OPERATION__INITIAL_OPERATION: + setInitialOperation((InitialOperation) null); + return; + } + super.eUnset(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public boolean eIsSet(int featureID) { + switch (featureID) { + case PropertiesPackage.CUSTOM_OPERATION__IDENTIFIER: + return CustomOperationImpl.IDENTIFIER_EDEFAULT == null ? identifier != null : !CustomOperationImpl.IDENTIFIER_EDEFAULT.equals(identifier); + case PropertiesPackage.CUSTOM_OPERATION__INITIAL_OPERATION: + return initialOperation != null; + } + return super.eIsSet(featureID); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public String toString() { + if (eIsProxy()) { + return super.toString(); + } + + StringBuffer result = new StringBuffer(super.toString()); + result.append(" (identifier: "); + result.append(identifier); + result.append(')'); + return result.toString(); + } + +} // CustomOperationImpl diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/DynamicMappingForImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/DynamicMappingForImpl.java index 719f950325..a8ef9d3072 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/DynamicMappingForImpl.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/DynamicMappingForImpl.java @@ -49,7 +49,7 @@ public class DynamicMappingForImpl extends MinimalEObjectImpl.Container implemen /** * The default value of the '{@link #getIterator() <em>Iterator</em>}' * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getIterator() * @generated * @ordered @@ -59,7 +59,7 @@ public class DynamicMappingForImpl extends MinimalEObjectImpl.Container implemen /** * The cached value of the '{@link #getIterator() <em>Iterator</em>}' * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getIterator() * @generated * @ordered @@ -70,7 +70,7 @@ public class DynamicMappingForImpl extends MinimalEObjectImpl.Container implemen * The default value of the '{@link #getDomainClassExpression() * <em>Domain Class Expression</em>}' attribute. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @see #getDomainClassExpression() * @generated * @ordered @@ -81,7 +81,7 @@ public class DynamicMappingForImpl extends MinimalEObjectImpl.Container implemen * The cached value of the '{@link #getDomainClassExpression() * <em>Domain Class Expression</em>}' attribute. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @see #getDomainClassExpression() * @generated * @ordered @@ -91,7 +91,7 @@ public class DynamicMappingForImpl extends MinimalEObjectImpl.Container implemen /** * The cached value of the '{@link #getIfs() <em>Ifs</em>}' containment * reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getIfs() * @generated * @ordered @@ -100,7 +100,7 @@ public class DynamicMappingForImpl extends MinimalEObjectImpl.Container implemen /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected DynamicMappingForImpl() { @@ -109,7 +109,7 @@ public class DynamicMappingForImpl extends MinimalEObjectImpl.Container implemen /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -119,7 +119,7 @@ public class DynamicMappingForImpl extends MinimalEObjectImpl.Container implemen /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -129,7 +129,7 @@ public class DynamicMappingForImpl extends MinimalEObjectImpl.Container implemen /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -143,7 +143,7 @@ public class DynamicMappingForImpl extends MinimalEObjectImpl.Container implemen /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -153,7 +153,7 @@ public class DynamicMappingForImpl extends MinimalEObjectImpl.Container implemen /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -167,7 +167,7 @@ public class DynamicMappingForImpl extends MinimalEObjectImpl.Container implemen /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -180,7 +180,7 @@ public class DynamicMappingForImpl extends MinimalEObjectImpl.Container implemen /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -194,7 +194,7 @@ public class DynamicMappingForImpl extends MinimalEObjectImpl.Container implemen /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -212,7 +212,7 @@ public class DynamicMappingForImpl extends MinimalEObjectImpl.Container implemen /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @SuppressWarnings("unchecked") @@ -235,7 +235,7 @@ public class DynamicMappingForImpl extends MinimalEObjectImpl.Container implemen /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -256,7 +256,7 @@ public class DynamicMappingForImpl extends MinimalEObjectImpl.Container implemen /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -266,7 +266,7 @@ public class DynamicMappingForImpl extends MinimalEObjectImpl.Container implemen return DynamicMappingForImpl.ITERATOR_EDEFAULT == null ? iterator != null : !DynamicMappingForImpl.ITERATOR_EDEFAULT.equals(iterator); case PropertiesPackage.DYNAMIC_MAPPING_FOR__DOMAIN_CLASS_EXPRESSION: return DynamicMappingForImpl.DOMAIN_CLASS_EXPRESSION_EDEFAULT == null ? domainClassExpression != null : !DynamicMappingForImpl.DOMAIN_CLASS_EXPRESSION_EDEFAULT - .equals(domainClassExpression); + .equals(domainClassExpression); case PropertiesPackage.DYNAMIC_MAPPING_FOR__IFS: return ifs != null && !ifs.isEmpty(); } @@ -275,7 +275,7 @@ public class DynamicMappingForImpl extends MinimalEObjectImpl.Container implemen /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/DynamicMappingIfImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/DynamicMappingIfImpl.java index ba39631023..7c3414ada4 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/DynamicMappingIfImpl.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/DynamicMappingIfImpl.java @@ -42,7 +42,7 @@ public class DynamicMappingIfImpl extends MinimalEObjectImpl.Container implement * The default value of the '{@link #getPredicateExpression() * <em>Predicate Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getPredicateExpression() * @generated * @ordered @@ -53,7 +53,7 @@ public class DynamicMappingIfImpl extends MinimalEObjectImpl.Container implement * The cached value of the '{@link #getPredicateExpression() * <em>Predicate Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getPredicateExpression() * @generated * @ordered @@ -63,7 +63,7 @@ public class DynamicMappingIfImpl extends MinimalEObjectImpl.Container implement /** * The cached value of the '{@link #getWidget() <em>Widget</em>}' * containment reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getWidget() * @generated * @ordered @@ -72,7 +72,7 @@ public class DynamicMappingIfImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected DynamicMappingIfImpl() { @@ -81,7 +81,7 @@ public class DynamicMappingIfImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -91,7 +91,7 @@ public class DynamicMappingIfImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -101,7 +101,7 @@ public class DynamicMappingIfImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -115,7 +115,7 @@ public class DynamicMappingIfImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -125,7 +125,7 @@ public class DynamicMappingIfImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public NotificationChain basicSetWidget(WidgetDescription newWidget, NotificationChain msgs) { @@ -144,7 +144,7 @@ public class DynamicMappingIfImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -168,7 +168,7 @@ public class DynamicMappingIfImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -182,7 +182,7 @@ public class DynamicMappingIfImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -198,7 +198,7 @@ public class DynamicMappingIfImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -216,7 +216,7 @@ public class DynamicMappingIfImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -234,7 +234,7 @@ public class DynamicMappingIfImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -250,7 +250,7 @@ public class DynamicMappingIfImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/GroupDescriptionImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/GroupDescriptionImpl.java index 82bf4c905b..79f1ab9967 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/GroupDescriptionImpl.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/GroupDescriptionImpl.java @@ -55,7 +55,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * The default value of the '{@link #getIdentifier() <em>Identifier</em>}' * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getIdentifier() * @generated * @ordered @@ -65,7 +65,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * The cached value of the '{@link #getIdentifier() <em>Identifier</em>}' * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getIdentifier() * @generated * @ordered @@ -76,7 +76,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement * The default value of the '{@link #getLabelExpression() * <em>Label Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getLabelExpression() * @generated * @ordered @@ -87,7 +87,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement * The cached value of the '{@link #getLabelExpression() * <em>Label Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getLabelExpression() * @generated * @ordered @@ -97,7 +97,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * The default value of the '{@link #getDomainClass() <em>Domain Class</em>} * ' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getDomainClass() * @generated * @ordered @@ -107,7 +107,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * The cached value of the '{@link #getDomainClass() <em>Domain Class</em>}' * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getDomainClass() * @generated * @ordered @@ -118,7 +118,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement * The default value of the '{@link #getSemanticCandidateExpression() * <em>Semantic Candidate Expression</em>}' attribute. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see #getSemanticCandidateExpression() * @generated * @ordered @@ -129,7 +129,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement * The cached value of the '{@link #getSemanticCandidateExpression() * <em>Semantic Candidate Expression</em>}' attribute. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see #getSemanticCandidateExpression() * @generated * @ordered @@ -139,7 +139,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * The cached value of the '{@link #getContainer() <em>Container</em>}' * containment reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getContainer() * @generated * @ordered @@ -150,7 +150,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement * The cached value of the '{@link #getValidationSet() * <em>Validation Set</em>}' containment reference. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @see #getValidationSet() * @generated * @ordered @@ -159,7 +159,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected GroupDescriptionImpl() { @@ -168,7 +168,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -178,7 +178,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -188,7 +188,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -202,7 +202,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -212,7 +212,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -226,7 +226,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -236,7 +236,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -250,7 +250,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -260,7 +260,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -274,7 +274,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -284,7 +284,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public NotificationChain basicSetContainer(ContainerDescription newContainer, NotificationChain msgs) { @@ -303,7 +303,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -327,7 +327,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -337,7 +337,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public NotificationChain basicSetValidationSet(GroupValidationSetDescription newValidationSet, NotificationChain msgs) { @@ -356,7 +356,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -380,7 +380,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -396,7 +396,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -420,7 +420,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -450,7 +450,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -480,7 +480,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -494,7 +494,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement return GroupDescriptionImpl.DOMAIN_CLASS_EDEFAULT == null ? domainClass != null : !GroupDescriptionImpl.DOMAIN_CLASS_EDEFAULT.equals(domainClass); case PropertiesPackage.GROUP_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: return GroupDescriptionImpl.SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT == null ? semanticCandidateExpression != null : !GroupDescriptionImpl.SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT - .equals(semanticCandidateExpression); + .equals(semanticCandidateExpression); case PropertiesPackage.GROUP_DESCRIPTION__CONTAINER: return container != null; case PropertiesPackage.GROUP_DESCRIPTION__VALIDATION_SET: @@ -505,7 +505,7 @@ public class GroupDescriptionImpl extends MinimalEObjectImpl.Container implement /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/GroupValidationSetDescriptionImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/GroupValidationSetDescriptionImpl.java index f1c0f7560f..609d0240d0 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/GroupValidationSetDescriptionImpl.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/GroupValidationSetDescriptionImpl.java @@ -67,7 +67,7 @@ public class GroupValidationSetDescriptionImpl extends MinimalEObjectImpl.Contai /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected GroupValidationSetDescriptionImpl() { @@ -76,7 +76,7 @@ public class GroupValidationSetDescriptionImpl extends MinimalEObjectImpl.Contai /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -86,7 +86,7 @@ public class GroupValidationSetDescriptionImpl extends MinimalEObjectImpl.Contai /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -100,7 +100,7 @@ public class GroupValidationSetDescriptionImpl extends MinimalEObjectImpl.Contai /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -114,7 +114,7 @@ public class GroupValidationSetDescriptionImpl extends MinimalEObjectImpl.Contai /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -130,7 +130,7 @@ public class GroupValidationSetDescriptionImpl extends MinimalEObjectImpl.Contai /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -146,7 +146,7 @@ public class GroupValidationSetDescriptionImpl extends MinimalEObjectImpl.Contai /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @SuppressWarnings("unchecked") @@ -167,7 +167,7 @@ public class GroupValidationSetDescriptionImpl extends MinimalEObjectImpl.Contai /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -185,7 +185,7 @@ public class GroupValidationSetDescriptionImpl extends MinimalEObjectImpl.Contai /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/LabelDescriptionImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/LabelDescriptionImpl.java index 954f1ac9d8..ba6db55d82 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/LabelDescriptionImpl.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/LabelDescriptionImpl.java @@ -36,7 +36,7 @@ public class LabelDescriptionImpl extends WidgetDescriptionImpl implements Label * The default value of the '{@link #getBodyExpression() * <em>Body Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getBodyExpression() * @generated * @ordered @@ -47,7 +47,7 @@ public class LabelDescriptionImpl extends WidgetDescriptionImpl implements Label * The cached value of the '{@link #getBodyExpression() * <em>Body Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getBodyExpression() * @generated * @ordered @@ -56,7 +56,7 @@ public class LabelDescriptionImpl extends WidgetDescriptionImpl implements Label /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected LabelDescriptionImpl() { @@ -65,7 +65,7 @@ public class LabelDescriptionImpl extends WidgetDescriptionImpl implements Label /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -75,7 +75,7 @@ public class LabelDescriptionImpl extends WidgetDescriptionImpl implements Label /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -85,7 +85,7 @@ public class LabelDescriptionImpl extends WidgetDescriptionImpl implements Label /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -99,7 +99,7 @@ public class LabelDescriptionImpl extends WidgetDescriptionImpl implements Label /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -113,7 +113,7 @@ public class LabelDescriptionImpl extends WidgetDescriptionImpl implements Label /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -128,7 +128,7 @@ public class LabelDescriptionImpl extends WidgetDescriptionImpl implements Label /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -143,7 +143,7 @@ public class LabelDescriptionImpl extends WidgetDescriptionImpl implements Label /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -157,7 +157,7 @@ public class LabelDescriptionImpl extends WidgetDescriptionImpl implements Label /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/MultipleReferencesDescriptionImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/MultipleReferencesDescriptionImpl.java index 60ea9b4d6e..173a83e3cc 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/MultipleReferencesDescriptionImpl.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/MultipleReferencesDescriptionImpl.java @@ -60,7 +60,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp * The default value of the '{@link #getValueExpression() * <em>Value Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getValueExpression() * @generated * @ordered @@ -71,7 +71,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp * The cached value of the '{@link #getValueExpression() * <em>Value Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getValueExpression() * @generated * @ordered @@ -82,7 +82,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp * The default value of the '{@link #getDisplayExpression() * <em>Display Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getDisplayExpression() * @generated * @ordered @@ -93,7 +93,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp * The cached value of the '{@link #getDisplayExpression() * <em>Display Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getDisplayExpression() * @generated * @ordered @@ -104,7 +104,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp * The cached value of the '{@link #getCreateOperation() * <em>Create Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see #getCreateOperation() * @generated * @ordered @@ -115,7 +115,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp * The cached value of the '{@link #getSearchOperation() * <em>Search Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see #getSearchOperation() * @generated * @ordered @@ -126,7 +126,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp * The cached value of the '{@link #getUnsetOperation() * <em>Unset Operation</em>}' containment reference. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @see #getUnsetOperation() * @generated * @ordered @@ -137,7 +137,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp * The cached value of the '{@link #getOnClickOperation() * <em>On Click Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see #getOnClickOperation() * @generated * @ordered @@ -147,7 +147,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * The cached value of the '{@link #getUpOperation() <em>Up Operation</em>}' * containment reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getUpOperation() * @generated * @ordered @@ -158,7 +158,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp * The cached value of the '{@link #getDownOperation() * <em>Down Operation</em>}' containment reference. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @see #getDownOperation() * @generated * @ordered @@ -167,7 +167,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected MultipleReferencesDescriptionImpl() { @@ -176,7 +176,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -186,7 +186,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -196,7 +196,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -210,7 +210,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -220,7 +220,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -234,7 +234,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -244,7 +244,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public NotificationChain basicSetCreateOperation(OperationDescription newCreateOperation, NotificationChain msgs) { @@ -263,7 +263,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -289,7 +289,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -299,7 +299,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public NotificationChain basicSetSearchOperation(OperationDescription newSearchOperation, NotificationChain msgs) { @@ -318,7 +318,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -344,7 +344,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -354,7 +354,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public NotificationChain basicSetUnsetOperation(OperationDescription newUnsetOperation, NotificationChain msgs) { @@ -373,7 +373,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -397,7 +397,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -407,7 +407,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public NotificationChain basicSetOnClickOperation(OperationDescription newOnClickOperation, NotificationChain msgs) { @@ -427,7 +427,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -453,7 +453,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -463,7 +463,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public NotificationChain basicSetUpOperation(OperationDescription newUpOperation, NotificationChain msgs) { @@ -482,7 +482,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -506,7 +506,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -516,7 +516,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public NotificationChain basicSetDownOperation(OperationDescription newDownOperation, NotificationChain msgs) { @@ -535,7 +535,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -559,7 +559,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -583,7 +583,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -611,7 +611,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -647,7 +647,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -683,7 +683,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -693,7 +693,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp return MultipleReferencesDescriptionImpl.VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !MultipleReferencesDescriptionImpl.VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); case PropertiesPackage.MULTIPLE_REFERENCES_DESCRIPTION__DISPLAY_EXPRESSION: return MultipleReferencesDescriptionImpl.DISPLAY_EXPRESSION_EDEFAULT == null ? displayExpression != null : !MultipleReferencesDescriptionImpl.DISPLAY_EXPRESSION_EDEFAULT - .equals(displayExpression); + .equals(displayExpression); case PropertiesPackage.MULTIPLE_REFERENCES_DESCRIPTION__CREATE_OPERATION: return createOperation != null; case PropertiesPackage.MULTIPLE_REFERENCES_DESCRIPTION__SEARCH_OPERATION: @@ -712,7 +712,7 @@ public class MultipleReferencesDescriptionImpl extends WidgetDescriptionImpl imp /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/OperationDescriptionImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/OperationDescriptionImpl.java index 6b4f606702..cde575e609 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/OperationDescriptionImpl.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/OperationDescriptionImpl.java @@ -40,7 +40,7 @@ public class OperationDescriptionImpl extends MinimalEObjectImpl.Container imple * The cached value of the '{@link #getInitialOperation() * <em>Initial Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see #getInitialOperation() * @generated * @ordered @@ -49,7 +49,7 @@ public class OperationDescriptionImpl extends MinimalEObjectImpl.Container imple /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected OperationDescriptionImpl() { @@ -58,7 +58,7 @@ public class OperationDescriptionImpl extends MinimalEObjectImpl.Container imple /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -68,7 +68,7 @@ public class OperationDescriptionImpl extends MinimalEObjectImpl.Container imple /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -78,7 +78,7 @@ public class OperationDescriptionImpl extends MinimalEObjectImpl.Container imple /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public NotificationChain basicSetInitialOperation(InitialOperation newInitialOperation, NotificationChain msgs) { @@ -97,7 +97,7 @@ public class OperationDescriptionImpl extends MinimalEObjectImpl.Container imple /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -121,7 +121,7 @@ public class OperationDescriptionImpl extends MinimalEObjectImpl.Container imple /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -135,7 +135,7 @@ public class OperationDescriptionImpl extends MinimalEObjectImpl.Container imple /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -149,7 +149,7 @@ public class OperationDescriptionImpl extends MinimalEObjectImpl.Container imple /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -164,7 +164,7 @@ public class OperationDescriptionImpl extends MinimalEObjectImpl.Container imple /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -179,7 +179,7 @@ public class OperationDescriptionImpl extends MinimalEObjectImpl.Container imple /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/PageDescriptionImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/PageDescriptionImpl.java index 6ff2db11c6..ffd1203681 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/PageDescriptionImpl.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/PageDescriptionImpl.java @@ -58,7 +58,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * The default value of the '{@link #getIdentifier() <em>Identifier</em>}' * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getIdentifier() * @generated * @ordered @@ -68,7 +68,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * The cached value of the '{@link #getIdentifier() <em>Identifier</em>}' * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getIdentifier() * @generated * @ordered @@ -79,7 +79,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements * The default value of the '{@link #getLabelExpression() * <em>Label Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getLabelExpression() * @generated * @ordered @@ -90,7 +90,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements * The cached value of the '{@link #getLabelExpression() * <em>Label Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getLabelExpression() * @generated * @ordered @@ -100,7 +100,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * The default value of the '{@link #getDomainClass() <em>Domain Class</em>} * ' attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getDomainClass() * @generated * @ordered @@ -110,7 +110,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * The cached value of the '{@link #getDomainClass() <em>Domain Class</em>}' * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getDomainClass() * @generated * @ordered @@ -121,7 +121,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements * The default value of the '{@link #getSemanticCandidateExpression() * <em>Semantic Candidate Expression</em>}' attribute. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see #getSemanticCandidateExpression() * @generated * @ordered @@ -132,7 +132,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements * The cached value of the '{@link #getSemanticCandidateExpression() * <em>Semantic Candidate Expression</em>}' attribute. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see #getSemanticCandidateExpression() * @generated * @ordered @@ -142,7 +142,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * The cached value of the '{@link #getGroups() <em>Groups</em>}' reference * list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getGroups() * @generated * @ordered @@ -153,7 +153,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements * The cached value of the '{@link #getValidationSet() * <em>Validation Set</em>}' containment reference. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @see #getValidationSet() * @generated * @ordered @@ -162,7 +162,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected PageDescriptionImpl() { @@ -171,7 +171,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -181,7 +181,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -191,7 +191,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -205,7 +205,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -215,7 +215,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -229,7 +229,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -239,7 +239,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -253,7 +253,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -263,7 +263,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -277,7 +277,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -290,7 +290,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -300,7 +300,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public NotificationChain basicSetValidationSet(PageValidationSetDescription newValidationSet, NotificationChain msgs) { @@ -319,7 +319,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -343,7 +343,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -357,7 +357,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -381,7 +381,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @SuppressWarnings("unchecked") @@ -413,7 +413,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -443,7 +443,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -457,7 +457,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements return PageDescriptionImpl.DOMAIN_CLASS_EDEFAULT == null ? domainClass != null : !PageDescriptionImpl.DOMAIN_CLASS_EDEFAULT.equals(domainClass); case PropertiesPackage.PAGE_DESCRIPTION__SEMANTIC_CANDIDATE_EXPRESSION: return PageDescriptionImpl.SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT == null ? semanticCandidateExpression != null : !PageDescriptionImpl.SEMANTIC_CANDIDATE_EXPRESSION_EDEFAULT - .equals(semanticCandidateExpression); + .equals(semanticCandidateExpression); case PropertiesPackage.PAGE_DESCRIPTION__GROUPS: return groups != null && !groups.isEmpty(); case PropertiesPackage.PAGE_DESCRIPTION__VALIDATION_SET: @@ -468,7 +468,7 @@ public class PageDescriptionImpl extends MinimalEObjectImpl.Container implements /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/PageValidationSetDescriptionImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/PageValidationSetDescriptionImpl.java index a869c0fcf1..afcb168101 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/PageValidationSetDescriptionImpl.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/PageValidationSetDescriptionImpl.java @@ -52,7 +52,7 @@ public class PageValidationSetDescriptionImpl extends MinimalEObjectImpl.Contain /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected PageValidationSetDescriptionImpl() { @@ -61,7 +61,7 @@ public class PageValidationSetDescriptionImpl extends MinimalEObjectImpl.Contain /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -71,7 +71,7 @@ public class PageValidationSetDescriptionImpl extends MinimalEObjectImpl.Contain /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -85,7 +85,7 @@ public class PageValidationSetDescriptionImpl extends MinimalEObjectImpl.Contain /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -99,7 +99,7 @@ public class PageValidationSetDescriptionImpl extends MinimalEObjectImpl.Contain /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -113,7 +113,7 @@ public class PageValidationSetDescriptionImpl extends MinimalEObjectImpl.Contain /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @SuppressWarnings("unchecked") @@ -130,7 +130,7 @@ public class PageValidationSetDescriptionImpl extends MinimalEObjectImpl.Contain /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -145,7 +145,7 @@ public class PageValidationSetDescriptionImpl extends MinimalEObjectImpl.Contain /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/PropertiesFactoryImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/PropertiesFactoryImpl.java index 8c7f08843e..0fa0641017 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/PropertiesFactoryImpl.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/PropertiesFactoryImpl.java @@ -19,6 +19,9 @@ import org.eclipse.emf.ecore.plugin.EcorePlugin; import org.eclipse.sirius.properties.ButtonDescription; import org.eclipse.sirius.properties.CheckboxDescription; import org.eclipse.sirius.properties.ContainerDescription; +import org.eclipse.sirius.properties.CustomDescription; +import org.eclipse.sirius.properties.CustomExpression; +import org.eclipse.sirius.properties.CustomOperation; import org.eclipse.sirius.properties.DynamicMappingFor; import org.eclipse.sirius.properties.DynamicMappingIf; import org.eclipse.sirius.properties.GroupDescription; @@ -41,14 +44,14 @@ import org.eclipse.sirius.properties.ViewExtensionDescription; /** * <!-- begin-user-doc --> An implementation of the model <b>Factory</b>. <!-- * end-user-doc --> - * + * * @generated */ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFactory { /** * Creates the default factory implementation. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ public static PropertiesFactory init() { @@ -66,7 +69,7 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac /** * Creates an instance of the factory. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ public PropertiesFactoryImpl() { @@ -75,7 +78,7 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -119,6 +122,12 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac return createOperationDescription(); case PropertiesPackage.MULTIPLE_REFERENCES_DESCRIPTION: return createMultipleReferencesDescription(); + case PropertiesPackage.CUSTOM_DESCRIPTION: + return createCustomDescription(); + case PropertiesPackage.CUSTOM_EXPRESSION: + return createCustomExpression(); + case PropertiesPackage.CUSTOM_OPERATION: + return createCustomOperation(); default: throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier"); } @@ -126,7 +135,7 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -137,7 +146,7 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -148,7 +157,7 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -159,7 +168,7 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -170,7 +179,7 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -181,7 +190,7 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -192,7 +201,7 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -203,7 +212,7 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -214,7 +223,7 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -225,7 +234,7 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -236,7 +245,7 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -247,7 +256,7 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -258,7 +267,7 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -269,7 +278,7 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -280,18 +289,7 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * - * @generated - */ - @Override - public TextAreaDescription createTextAreaDescription() { - TextAreaDescriptionImpl textAreaDescription = new TextAreaDescriptionImpl(); - return textAreaDescription; - } - - /** - * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -302,7 +300,7 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -313,7 +311,7 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -324,7 +322,7 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -335,7 +333,51 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * + * @generated + */ + @Override + public CustomDescription createCustomDescription() { + CustomDescriptionImpl customDescription = new CustomDescriptionImpl(); + return customDescription; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public CustomExpression createCustomExpression() { + CustomExpressionImpl customExpression = new CustomExpressionImpl(); + return customExpression; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public CustomOperation createCustomOperation() { + CustomOperationImpl customOperation = new CustomOperationImpl(); + return customOperation; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public TextAreaDescription createTextAreaDescription() { + TextAreaDescriptionImpl textAreaDescription = new TextAreaDescriptionImpl(); + return textAreaDescription; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ @Override @@ -345,7 +387,7 @@ public class PropertiesFactoryImpl extends EFactoryImpl implements PropertiesFac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @deprecated * @generated */ diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/PropertiesPackageImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/PropertiesPackageImpl.java index 8fcb178594..7d276dda7b 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/PropertiesPackageImpl.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/PropertiesPackageImpl.java @@ -20,6 +20,9 @@ import org.eclipse.emf.ecore.impl.EPackageImpl; import org.eclipse.sirius.properties.ButtonDescription; import org.eclipse.sirius.properties.CheckboxDescription; import org.eclipse.sirius.properties.ContainerDescription; +import org.eclipse.sirius.properties.CustomDescription; +import org.eclipse.sirius.properties.CustomExpression; +import org.eclipse.sirius.properties.CustomOperation; import org.eclipse.sirius.properties.DynamicMappingFor; import org.eclipse.sirius.properties.DynamicMappingIf; import org.eclipse.sirius.properties.GroupDescription; @@ -47,151 +50,172 @@ import org.eclipse.sirius.viewpoint.description.validation.ValidationPackage; /** * <!-- begin-user-doc --> An implementation of the model <b>Package</b>. <!-- * end-user-doc --> - * + * * @generated */ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPackage { /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private EClass viewExtensionDescriptionEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private EClass pageDescriptionEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private EClass pageValidationSetDescriptionEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private EClass propertyValidationRuleEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private EClass groupDescriptionEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private EClass groupValidationSetDescriptionEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private EClass containerDescriptionEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private EClass widgetDescriptionEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private EClass textDescriptionEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private EClass buttonDescriptionEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private EClass labelDescriptionEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private EClass checkboxDescriptionEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private EClass selectDescriptionEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private EClass dynamicMappingForEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private EClass dynamicMappingIfEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private EClass textAreaDescriptionEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private EClass radioDescriptionEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private EClass singleReferenceDescriptionEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private EClass operationDescriptionEClass = null; /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private EClass multipleReferencesDescriptionEClass = null; /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + private EClass customDescriptionEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + private EClass customExpressionEClass = null; + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + private EClass customOperationEClass = null; + + /** * Creates an instance of the model <b>Package</b>, registered with * {@link org.eclipse.emf.ecore.EPackage.Registry EPackage.Registry} by the * package package URI value. @@ -212,7 +236,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private static boolean isInited = false; @@ -262,7 +286,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -272,7 +296,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -282,7 +306,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -292,7 +316,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -302,7 +326,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -312,7 +336,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -322,7 +346,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -332,7 +356,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -342,7 +366,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -352,7 +376,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -362,7 +386,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -372,7 +396,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -382,7 +406,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -392,7 +416,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -402,7 +426,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -412,7 +436,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -422,7 +446,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -432,7 +456,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -442,7 +466,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -452,7 +476,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -462,7 +486,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -472,7 +496,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -482,7 +506,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -492,7 +516,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -502,7 +526,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -512,7 +536,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -522,7 +546,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -532,7 +556,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -542,7 +566,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -552,7 +576,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -562,7 +586,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -572,7 +596,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -582,7 +606,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -592,7 +616,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -602,7 +626,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -612,7 +636,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -622,7 +646,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -632,7 +656,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -642,7 +666,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -652,7 +676,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -662,7 +686,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -672,7 +696,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -682,7 +706,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -692,7 +716,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -702,7 +726,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -712,7 +736,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -722,7 +746,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -732,7 +756,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -742,7 +766,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -752,7 +776,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -762,7 +786,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -772,7 +796,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -782,7 +806,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -792,7 +816,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -802,7 +826,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -812,7 +836,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -822,7 +846,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -832,7 +856,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -842,7 +866,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -852,7 +876,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -862,7 +886,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -872,7 +896,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -882,7 +906,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -892,7 +916,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -902,7 +926,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -912,7 +936,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -922,7 +946,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -932,7 +956,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -942,7 +966,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -952,7 +976,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -962,7 +986,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -972,7 +996,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -982,7 +1006,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -992,7 +1016,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -1002,7 +1026,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -1012,7 +1036,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -1022,7 +1046,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -1032,7 +1056,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -1042,7 +1066,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -1052,7 +1076,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -1062,7 +1086,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -1072,7 +1096,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -1082,7 +1106,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -1092,7 +1116,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -1102,7 +1126,97 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * + * @generated + */ + @Override + public EClass getCustomDescription() { + return customDescriptionEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public EReference getCustomDescription_CustomExpressions() { + return (EReference) customDescriptionEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public EReference getCustomDescription_CustomOperations() { + return (EReference) customDescriptionEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public EClass getCustomExpression() { + return customExpressionEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public EAttribute getCustomExpression_Identifier() { + return (EAttribute) customExpressionEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public EAttribute getCustomExpression_CustomExpression() { + return (EAttribute) customExpressionEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public EClass getCustomOperation() { + return customOperationEClass; + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public EAttribute getCustomOperation_Identifier() { + return (EAttribute) customOperationEClass.getEStructuralFeatures().get(0); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * + * @generated + */ + @Override + public EReference getCustomOperation_InitialOperation() { + return (EReference) customOperationEClass.getEStructuralFeatures().get(1); + } + + /** + * <!-- begin-user-doc --> <!-- end-user-doc --> + * * @generated */ @Override @@ -1112,7 +1226,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private boolean isCreated = false; @@ -1121,7 +1235,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac * Creates the meta-model objects for the package. This method is guarded to * have no affect on any invocation but its first. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @generated */ public void createPackageContents() { @@ -1234,11 +1348,23 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac createEReference(multipleReferencesDescriptionEClass, PropertiesPackage.MULTIPLE_REFERENCES_DESCRIPTION__ON_CLICK_OPERATION); createEReference(multipleReferencesDescriptionEClass, PropertiesPackage.MULTIPLE_REFERENCES_DESCRIPTION__UP_OPERATION); createEReference(multipleReferencesDescriptionEClass, PropertiesPackage.MULTIPLE_REFERENCES_DESCRIPTION__DOWN_OPERATION); + + customDescriptionEClass = createEClass(PropertiesPackage.CUSTOM_DESCRIPTION); + createEReference(customDescriptionEClass, PropertiesPackage.CUSTOM_DESCRIPTION__CUSTOM_EXPRESSIONS); + createEReference(customDescriptionEClass, PropertiesPackage.CUSTOM_DESCRIPTION__CUSTOM_OPERATIONS); + + customExpressionEClass = createEClass(PropertiesPackage.CUSTOM_EXPRESSION); + createEAttribute(customExpressionEClass, PropertiesPackage.CUSTOM_EXPRESSION__IDENTIFIER); + createEAttribute(customExpressionEClass, PropertiesPackage.CUSTOM_EXPRESSION__CUSTOM_EXPRESSION); + + customOperationEClass = createEClass(PropertiesPackage.CUSTOM_OPERATION); + createEAttribute(customOperationEClass, PropertiesPackage.CUSTOM_OPERATION__IDENTIFIER); + createEReference(customOperationEClass, PropertiesPackage.CUSTOM_OPERATION__INITIAL_OPERATION); } /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ private boolean isInitialized = false; @@ -1283,6 +1409,7 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac radioDescriptionEClass.getESuperTypes().add(this.getWidgetDescription()); singleReferenceDescriptionEClass.getESuperTypes().add(this.getWidgetDescription()); multipleReferencesDescriptionEClass.getESuperTypes().add(this.getWidgetDescription()); + customDescriptionEClass.getESuperTypes().add(this.getWidgetDescription()); // Initialize classes and features; add operations and parameters initEClass(viewExtensionDescriptionEClass, ViewExtensionDescription.class, "ViewExtensionDescription", !EPackageImpl.IS_ABSTRACT, !EPackageImpl.IS_INTERFACE, @@ -1504,6 +1631,27 @@ public class PropertiesPackageImpl extends EPackageImpl implements PropertiesPac !EPackageImpl.IS_TRANSIENT, !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, EPackageImpl.IS_COMPOSITE, !EPackageImpl.IS_RESOLVE_PROXIES, !EPackageImpl.IS_UNSETTABLE, EPackageImpl.IS_UNIQUE, !EPackageImpl.IS_DERIVED, EPackageImpl.IS_ORDERED); + initEClass(customDescriptionEClass, CustomDescription.class, "CustomDescription", !EPackageImpl.IS_ABSTRACT, !EPackageImpl.IS_INTERFACE, EPackageImpl.IS_GENERATED_INSTANCE_CLASS); + initEReference(getCustomDescription_CustomExpressions(), this.getCustomExpression(), null, "customExpressions", null, 0, -1, CustomDescription.class, !EPackageImpl.IS_TRANSIENT, + !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, EPackageImpl.IS_COMPOSITE, !EPackageImpl.IS_RESOLVE_PROXIES, !EPackageImpl.IS_UNSETTABLE, EPackageImpl.IS_UNIQUE, + !EPackageImpl.IS_DERIVED, EPackageImpl.IS_ORDERED); + initEReference(getCustomDescription_CustomOperations(), this.getCustomOperation(), null, "customOperations", null, 0, -1, CustomDescription.class, !EPackageImpl.IS_TRANSIENT, + !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, EPackageImpl.IS_COMPOSITE, !EPackageImpl.IS_RESOLVE_PROXIES, !EPackageImpl.IS_UNSETTABLE, EPackageImpl.IS_UNIQUE, + !EPackageImpl.IS_DERIVED, EPackageImpl.IS_ORDERED); + + initEClass(customExpressionEClass, CustomExpression.class, "CustomExpression", !EPackageImpl.IS_ABSTRACT, !EPackageImpl.IS_INTERFACE, EPackageImpl.IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getCustomExpression_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, CustomExpression.class, !EPackageImpl.IS_TRANSIENT, !EPackageImpl.IS_VOLATILE, + EPackageImpl.IS_CHANGEABLE, !EPackageImpl.IS_UNSETTABLE, !EPackageImpl.IS_ID, EPackageImpl.IS_UNIQUE, !EPackageImpl.IS_DERIVED, EPackageImpl.IS_ORDERED); + initEAttribute(getCustomExpression_CustomExpression(), theDescriptionPackage.getInterpretedExpression(), "customExpression", null, 0, 1, CustomExpression.class, !EPackageImpl.IS_TRANSIENT, + !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, !EPackageImpl.IS_UNSETTABLE, !EPackageImpl.IS_ID, EPackageImpl.IS_UNIQUE, !EPackageImpl.IS_DERIVED, EPackageImpl.IS_ORDERED); + + initEClass(customOperationEClass, CustomOperation.class, "CustomOperation", !EPackageImpl.IS_ABSTRACT, !EPackageImpl.IS_INTERFACE, EPackageImpl.IS_GENERATED_INSTANCE_CLASS); + initEAttribute(getCustomOperation_Identifier(), ecorePackage.getEString(), "identifier", null, 1, 1, CustomOperation.class, !EPackageImpl.IS_TRANSIENT, !EPackageImpl.IS_VOLATILE, + EPackageImpl.IS_CHANGEABLE, !EPackageImpl.IS_UNSETTABLE, !EPackageImpl.IS_ID, EPackageImpl.IS_UNIQUE, !EPackageImpl.IS_DERIVED, EPackageImpl.IS_ORDERED); + initEReference(getCustomOperation_InitialOperation(), theToolPackage.getInitialOperation(), null, "initialOperation", null, 1, 1, CustomOperation.class, !EPackageImpl.IS_TRANSIENT, + !EPackageImpl.IS_VOLATILE, EPackageImpl.IS_CHANGEABLE, EPackageImpl.IS_COMPOSITE, !EPackageImpl.IS_RESOLVE_PROXIES, !EPackageImpl.IS_UNSETTABLE, EPackageImpl.IS_UNIQUE, + !EPackageImpl.IS_DERIVED, EPackageImpl.IS_ORDERED); + // Create resource createResource(PropertiesPackage.eNS_URI); } diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/PropertyValidationRuleImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/PropertyValidationRuleImpl.java index 5802836e02..87f4f924f3 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/PropertyValidationRuleImpl.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/PropertyValidationRuleImpl.java @@ -39,7 +39,7 @@ public class PropertyValidationRuleImpl extends ValidationRuleImpl implements Pr /** * The cached value of the '{@link #getTargets() <em>Targets</em>}' * reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getTargets() * @generated * @ordered @@ -48,7 +48,7 @@ public class PropertyValidationRuleImpl extends ValidationRuleImpl implements Pr /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected PropertyValidationRuleImpl() { @@ -57,7 +57,7 @@ public class PropertyValidationRuleImpl extends ValidationRuleImpl implements Pr /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -67,7 +67,7 @@ public class PropertyValidationRuleImpl extends ValidationRuleImpl implements Pr /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -80,7 +80,7 @@ public class PropertyValidationRuleImpl extends ValidationRuleImpl implements Pr /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -94,7 +94,7 @@ public class PropertyValidationRuleImpl extends ValidationRuleImpl implements Pr /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @SuppressWarnings("unchecked") @@ -111,7 +111,7 @@ public class PropertyValidationRuleImpl extends ValidationRuleImpl implements Pr /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -126,7 +126,7 @@ public class PropertyValidationRuleImpl extends ValidationRuleImpl implements Pr /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/RadioDescriptionImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/RadioDescriptionImpl.java index ad0a29d7cd..7761852c27 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/RadioDescriptionImpl.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/RadioDescriptionImpl.java @@ -48,7 +48,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio * The default value of the '{@link #getValueExpression() * <em>Value Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getValueExpression() * @generated * @ordered @@ -59,7 +59,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio * The cached value of the '{@link #getValueExpression() * <em>Value Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getValueExpression() * @generated * @ordered @@ -70,7 +70,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio * The cached value of the '{@link #getInitialOperation() * <em>Initial Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see #getInitialOperation() * @generated * @ordered @@ -81,7 +81,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio * The default value of the '{@link #getCandidatesExpression() * <em>Candidates Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getCandidatesExpression() * @generated * @ordered @@ -92,7 +92,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio * The cached value of the '{@link #getCandidatesExpression() * <em>Candidates Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getCandidatesExpression() * @generated * @ordered @@ -103,7 +103,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio * The default value of the '{@link #getCandidateDisplayExpression() * <em>Candidate Display Expression</em>}' attribute. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see #getCandidateDisplayExpression() * @generated * @ordered @@ -114,7 +114,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio * The cached value of the '{@link #getCandidateDisplayExpression() * <em>Candidate Display Expression</em>}' attribute. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see #getCandidateDisplayExpression() * @generated * @ordered @@ -123,7 +123,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected RadioDescriptionImpl() { @@ -132,7 +132,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -142,7 +142,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -152,7 +152,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -166,7 +166,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -176,7 +176,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public NotificationChain basicSetInitialOperation(InitialOperation newInitialOperation, NotificationChain msgs) { @@ -195,7 +195,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -219,7 +219,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -229,7 +229,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -243,7 +243,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -253,7 +253,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -267,7 +267,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -281,7 +281,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -301,7 +301,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -325,7 +325,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -349,7 +349,7 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -363,14 +363,14 @@ public class RadioDescriptionImpl extends WidgetDescriptionImpl implements Radio return RadioDescriptionImpl.CANDIDATES_EXPRESSION_EDEFAULT == null ? candidatesExpression != null : !RadioDescriptionImpl.CANDIDATES_EXPRESSION_EDEFAULT.equals(candidatesExpression); case PropertiesPackage.RADIO_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: return RadioDescriptionImpl.CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT == null ? candidateDisplayExpression != null : !RadioDescriptionImpl.CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT - .equals(candidateDisplayExpression); + .equals(candidateDisplayExpression); } return super.eIsSet(featureID); } /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/SelectDescriptionImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/SelectDescriptionImpl.java index a05b12c572..bad3bc7f89 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/SelectDescriptionImpl.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/SelectDescriptionImpl.java @@ -48,7 +48,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele * The default value of the '{@link #getValueExpression() * <em>Value Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getValueExpression() * @generated * @ordered @@ -59,7 +59,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele * The cached value of the '{@link #getValueExpression() * <em>Value Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getValueExpression() * @generated * @ordered @@ -70,7 +70,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele * The cached value of the '{@link #getInitialOperation() * <em>Initial Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see #getInitialOperation() * @generated * @ordered @@ -81,7 +81,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele * The default value of the '{@link #getCandidatesExpression() * <em>Candidates Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getCandidatesExpression() * @generated * @ordered @@ -92,7 +92,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele * The cached value of the '{@link #getCandidatesExpression() * <em>Candidates Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getCandidatesExpression() * @generated * @ordered @@ -103,7 +103,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele * The default value of the '{@link #getCandidateDisplayExpression() * <em>Candidate Display Expression</em>}' attribute. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see #getCandidateDisplayExpression() * @generated * @ordered @@ -114,7 +114,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele * The cached value of the '{@link #getCandidateDisplayExpression() * <em>Candidate Display Expression</em>}' attribute. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see #getCandidateDisplayExpression() * @generated * @ordered @@ -123,7 +123,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected SelectDescriptionImpl() { @@ -132,7 +132,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -142,7 +142,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -152,7 +152,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -166,7 +166,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -176,7 +176,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public NotificationChain basicSetInitialOperation(InitialOperation newInitialOperation, NotificationChain msgs) { @@ -195,7 +195,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -219,7 +219,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -229,7 +229,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -243,7 +243,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -253,7 +253,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -267,7 +267,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -281,7 +281,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -301,7 +301,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -325,7 +325,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -349,7 +349,7 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -363,14 +363,14 @@ public class SelectDescriptionImpl extends WidgetDescriptionImpl implements Sele return SelectDescriptionImpl.CANDIDATES_EXPRESSION_EDEFAULT == null ? candidatesExpression != null : !SelectDescriptionImpl.CANDIDATES_EXPRESSION_EDEFAULT.equals(candidatesExpression); case PropertiesPackage.SELECT_DESCRIPTION__CANDIDATE_DISPLAY_EXPRESSION: return SelectDescriptionImpl.CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT == null ? candidateDisplayExpression != null : !SelectDescriptionImpl.CANDIDATE_DISPLAY_EXPRESSION_EDEFAULT - .equals(candidateDisplayExpression); + .equals(candidateDisplayExpression); } return super.eIsSet(featureID); } /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/SingleReferenceDescriptionImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/SingleReferenceDescriptionImpl.java index f1393ec1fc..9b2cf06fd7 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/SingleReferenceDescriptionImpl.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/SingleReferenceDescriptionImpl.java @@ -54,7 +54,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem * The default value of the '{@link #getValueExpression() * <em>Value Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getValueExpression() * @generated * @ordered @@ -65,7 +65,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem * The cached value of the '{@link #getValueExpression() * <em>Value Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getValueExpression() * @generated * @ordered @@ -76,7 +76,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem * The default value of the '{@link #getDisplayExpression() * <em>Display Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getDisplayExpression() * @generated * @ordered @@ -87,7 +87,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem * The cached value of the '{@link #getDisplayExpression() * <em>Display Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getDisplayExpression() * @generated * @ordered @@ -98,7 +98,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem * The cached value of the '{@link #getCreateOperation() * <em>Create Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see #getCreateOperation() * @generated * @ordered @@ -109,7 +109,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem * The cached value of the '{@link #getSearchOperation() * <em>Search Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see #getSearchOperation() * @generated * @ordered @@ -120,7 +120,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem * The cached value of the '{@link #getUnsetOperation() * <em>Unset Operation</em>}' containment reference. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @see #getUnsetOperation() * @generated * @ordered @@ -131,7 +131,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem * The cached value of the '{@link #getOnClickOperation() * <em>On Click Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see #getOnClickOperation() * @generated * @ordered @@ -140,7 +140,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected SingleReferenceDescriptionImpl() { @@ -149,7 +149,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -159,7 +159,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -169,7 +169,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -183,7 +183,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -193,7 +193,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -207,7 +207,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -217,7 +217,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public NotificationChain basicSetCreateOperation(OperationDescription newCreateOperation, NotificationChain msgs) { @@ -236,7 +236,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -260,7 +260,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -270,7 +270,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public NotificationChain basicSetSearchOperation(OperationDescription newSearchOperation, NotificationChain msgs) { @@ -289,7 +289,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -313,7 +313,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -323,7 +323,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public NotificationChain basicSetUnsetOperation(OperationDescription newUnsetOperation, NotificationChain msgs) { @@ -342,7 +342,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -366,7 +366,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -376,7 +376,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public NotificationChain basicSetOnClickOperation(OperationDescription newOnClickOperation, NotificationChain msgs) { @@ -395,7 +395,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -421,7 +421,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -441,7 +441,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -465,7 +465,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -495,7 +495,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -525,7 +525,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -535,7 +535,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem return SingleReferenceDescriptionImpl.VALUE_EXPRESSION_EDEFAULT == null ? valueExpression != null : !SingleReferenceDescriptionImpl.VALUE_EXPRESSION_EDEFAULT.equals(valueExpression); case PropertiesPackage.SINGLE_REFERENCE_DESCRIPTION__DISPLAY_EXPRESSION: return SingleReferenceDescriptionImpl.DISPLAY_EXPRESSION_EDEFAULT == null ? displayExpression != null : !SingleReferenceDescriptionImpl.DISPLAY_EXPRESSION_EDEFAULT - .equals(displayExpression); + .equals(displayExpression); case PropertiesPackage.SINGLE_REFERENCE_DESCRIPTION__CREATE_OPERATION: return createOperation != null; case PropertiesPackage.SINGLE_REFERENCE_DESCRIPTION__SEARCH_OPERATION: @@ -550,7 +550,7 @@ public class SingleReferenceDescriptionImpl extends WidgetDescriptionImpl implem /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/TextAreaDescriptionImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/TextAreaDescriptionImpl.java index 1aed3caf62..773a5b1c61 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/TextAreaDescriptionImpl.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/TextAreaDescriptionImpl.java @@ -35,7 +35,7 @@ public class TextAreaDescriptionImpl extends TextDescriptionImpl implements Text /** * The default value of the '{@link #getLineCount() <em>Line Count</em>}' * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getLineCount() * @generated * @ordered @@ -45,7 +45,7 @@ public class TextAreaDescriptionImpl extends TextDescriptionImpl implements Text /** * The cached value of the '{@link #getLineCount() <em>Line Count</em>}' * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getLineCount() * @generated * @ordered @@ -54,7 +54,7 @@ public class TextAreaDescriptionImpl extends TextDescriptionImpl implements Text /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected TextAreaDescriptionImpl() { @@ -63,7 +63,7 @@ public class TextAreaDescriptionImpl extends TextDescriptionImpl implements Text /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -73,7 +73,7 @@ public class TextAreaDescriptionImpl extends TextDescriptionImpl implements Text /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -83,7 +83,7 @@ public class TextAreaDescriptionImpl extends TextDescriptionImpl implements Text /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -97,7 +97,7 @@ public class TextAreaDescriptionImpl extends TextDescriptionImpl implements Text /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -111,7 +111,7 @@ public class TextAreaDescriptionImpl extends TextDescriptionImpl implements Text /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -126,7 +126,7 @@ public class TextAreaDescriptionImpl extends TextDescriptionImpl implements Text /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -141,7 +141,7 @@ public class TextAreaDescriptionImpl extends TextDescriptionImpl implements Text /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -155,7 +155,7 @@ public class TextAreaDescriptionImpl extends TextDescriptionImpl implements Text /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/TextDescriptionImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/TextDescriptionImpl.java index 213f4d37fb..e98631d5ce 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/TextDescriptionImpl.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/TextDescriptionImpl.java @@ -42,7 +42,7 @@ public class TextDescriptionImpl extends WidgetDescriptionImpl implements TextDe * The default value of the '{@link #getValueExpression() * <em>Value Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getValueExpression() * @generated * @ordered @@ -53,7 +53,7 @@ public class TextDescriptionImpl extends WidgetDescriptionImpl implements TextDe * The cached value of the '{@link #getValueExpression() * <em>Value Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getValueExpression() * @generated * @ordered @@ -64,7 +64,7 @@ public class TextDescriptionImpl extends WidgetDescriptionImpl implements TextDe * The cached value of the '{@link #getInitialOperation() * <em>Initial Operation</em>}' containment reference. <!-- begin-user-doc * --> <!-- end-user-doc --> - * + * * @see #getInitialOperation() * @generated * @ordered @@ -73,7 +73,7 @@ public class TextDescriptionImpl extends WidgetDescriptionImpl implements TextDe /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected TextDescriptionImpl() { @@ -82,7 +82,7 @@ public class TextDescriptionImpl extends WidgetDescriptionImpl implements TextDe /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -92,7 +92,7 @@ public class TextDescriptionImpl extends WidgetDescriptionImpl implements TextDe /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -102,7 +102,7 @@ public class TextDescriptionImpl extends WidgetDescriptionImpl implements TextDe /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -116,7 +116,7 @@ public class TextDescriptionImpl extends WidgetDescriptionImpl implements TextDe /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -126,7 +126,7 @@ public class TextDescriptionImpl extends WidgetDescriptionImpl implements TextDe /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public NotificationChain basicSetInitialOperation(InitialOperation newInitialOperation, NotificationChain msgs) { @@ -145,7 +145,7 @@ public class TextDescriptionImpl extends WidgetDescriptionImpl implements TextDe /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -169,7 +169,7 @@ public class TextDescriptionImpl extends WidgetDescriptionImpl implements TextDe /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -183,7 +183,7 @@ public class TextDescriptionImpl extends WidgetDescriptionImpl implements TextDe /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -199,7 +199,7 @@ public class TextDescriptionImpl extends WidgetDescriptionImpl implements TextDe /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -217,7 +217,7 @@ public class TextDescriptionImpl extends WidgetDescriptionImpl implements TextDe /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -235,7 +235,7 @@ public class TextDescriptionImpl extends WidgetDescriptionImpl implements TextDe /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -251,7 +251,7 @@ public class TextDescriptionImpl extends WidgetDescriptionImpl implements TextDe /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/ViewExtensionDescriptionImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/ViewExtensionDescriptionImpl.java index cf9dc50997..3d1d13f7ad 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/ViewExtensionDescriptionImpl.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/ViewExtensionDescriptionImpl.java @@ -62,7 +62,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * The default value of the '{@link #getIdentifier() <em>Identifier</em>}' * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getIdentifier() * @generated * @ordered @@ -72,7 +72,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * The cached value of the '{@link #getIdentifier() <em>Identifier</em>}' * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getIdentifier() * @generated * @ordered @@ -82,7 +82,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * The cached value of the '{@link #getMetamodels() <em>Metamodels</em>}' * reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getMetamodels() * @generated * @ordered @@ -92,7 +92,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * The cached value of the '{@link #getPages() <em>Pages</em>}' containment * reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getPages() * @generated * @ordered @@ -102,7 +102,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * The cached value of the '{@link #getDefaultPage() <em>Default Page</em>}' * reference. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getDefaultPage() * @generated * @ordered @@ -113,7 +113,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i * The default value of the '{@link #getLabelExpression() * <em>Label Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getLabelExpression() * @generated * @ordered @@ -124,7 +124,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i * The cached value of the '{@link #getLabelExpression() * <em>Label Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getLabelExpression() * @generated * @ordered @@ -134,7 +134,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * The cached value of the '{@link #getGroups() <em>Groups</em>}' * containment reference list. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getGroups() * @generated * @ordered @@ -143,7 +143,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected ViewExtensionDescriptionImpl() { @@ -152,7 +152,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -162,7 +162,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -172,7 +172,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -186,7 +186,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -199,7 +199,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -212,7 +212,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -231,7 +231,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ public PageDescription basicGetDefaultPage() { @@ -240,7 +240,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -254,7 +254,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -264,7 +264,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -278,7 +278,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -291,7 +291,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -307,7 +307,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -334,7 +334,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @SuppressWarnings("unchecked") @@ -368,7 +368,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -398,7 +398,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -422,7 +422,7 @@ public class ViewExtensionDescriptionImpl extends MinimalEObjectImpl.Container i /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/WidgetDescriptionImpl.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/WidgetDescriptionImpl.java index deaaec8323..186a00db0f 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/WidgetDescriptionImpl.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/impl/WidgetDescriptionImpl.java @@ -42,7 +42,7 @@ public abstract class WidgetDescriptionImpl extends MinimalEObjectImpl.Container /** * The default value of the '{@link #getIdentifier() <em>Identifier</em>}' * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getIdentifier() * @generated * @ordered @@ -52,7 +52,7 @@ public abstract class WidgetDescriptionImpl extends MinimalEObjectImpl.Container /** * The cached value of the '{@link #getIdentifier() <em>Identifier</em>}' * attribute. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @see #getIdentifier() * @generated * @ordered @@ -63,7 +63,7 @@ public abstract class WidgetDescriptionImpl extends MinimalEObjectImpl.Container * The default value of the '{@link #getLabelExpression() * <em>Label Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getLabelExpression() * @generated * @ordered @@ -74,7 +74,7 @@ public abstract class WidgetDescriptionImpl extends MinimalEObjectImpl.Container * The cached value of the '{@link #getLabelExpression() * <em>Label Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getLabelExpression() * @generated * @ordered @@ -85,7 +85,7 @@ public abstract class WidgetDescriptionImpl extends MinimalEObjectImpl.Container * The default value of the '{@link #getHelpExpression() * <em>Help Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getHelpExpression() * @generated * @ordered @@ -96,7 +96,7 @@ public abstract class WidgetDescriptionImpl extends MinimalEObjectImpl.Container * The cached value of the '{@link #getHelpExpression() * <em>Help Expression</em>}' attribute. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @see #getHelpExpression() * @generated * @ordered @@ -105,7 +105,7 @@ public abstract class WidgetDescriptionImpl extends MinimalEObjectImpl.Container /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected WidgetDescriptionImpl() { @@ -114,7 +114,7 @@ public abstract class WidgetDescriptionImpl extends MinimalEObjectImpl.Container /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -124,7 +124,7 @@ public abstract class WidgetDescriptionImpl extends MinimalEObjectImpl.Container /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -134,7 +134,7 @@ public abstract class WidgetDescriptionImpl extends MinimalEObjectImpl.Container /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -148,7 +148,7 @@ public abstract class WidgetDescriptionImpl extends MinimalEObjectImpl.Container /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -158,7 +158,7 @@ public abstract class WidgetDescriptionImpl extends MinimalEObjectImpl.Container /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -172,7 +172,7 @@ public abstract class WidgetDescriptionImpl extends MinimalEObjectImpl.Container /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -182,7 +182,7 @@ public abstract class WidgetDescriptionImpl extends MinimalEObjectImpl.Container /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -196,7 +196,7 @@ public abstract class WidgetDescriptionImpl extends MinimalEObjectImpl.Container /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -214,7 +214,7 @@ public abstract class WidgetDescriptionImpl extends MinimalEObjectImpl.Container /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -235,7 +235,7 @@ public abstract class WidgetDescriptionImpl extends MinimalEObjectImpl.Container /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -256,7 +256,7 @@ public abstract class WidgetDescriptionImpl extends MinimalEObjectImpl.Container /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override @@ -274,7 +274,7 @@ public abstract class WidgetDescriptionImpl extends MinimalEObjectImpl.Container /** * <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ @Override diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/util/PropertiesAdapterFactory.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/util/PropertiesAdapterFactory.java index bf0508efab..220bfe3503 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/util/PropertiesAdapterFactory.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/util/PropertiesAdapterFactory.java @@ -18,6 +18,9 @@ import org.eclipse.emf.ecore.EObject; import org.eclipse.sirius.properties.ButtonDescription; import org.eclipse.sirius.properties.CheckboxDescription; import org.eclipse.sirius.properties.ContainerDescription; +import org.eclipse.sirius.properties.CustomDescription; +import org.eclipse.sirius.properties.CustomExpression; +import org.eclipse.sirius.properties.CustomOperation; import org.eclipse.sirius.properties.DynamicMappingFor; import org.eclipse.sirius.properties.DynamicMappingIf; import org.eclipse.sirius.properties.GroupDescription; @@ -44,14 +47,14 @@ import org.eclipse.sirius.viewpoint.description.validation.ValidationRule; * <!-- begin-user-doc --> The <b>Adapter Factory</b> for the model. It provides * an adapter <code>createXXX</code> method for each class of the model. <!-- * end-user-doc --> - * + * * @see org.eclipse.sirius.properties.PropertiesPackage * @generated */ public class PropertiesAdapterFactory extends AdapterFactoryImpl { /** * The cached model package. <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected static PropertiesPackage modelPackage; @@ -59,7 +62,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { /** * Creates an instance of the adapter factory. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ public PropertiesAdapterFactory() { @@ -73,7 +76,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { * <!-- begin-user-doc --> This implementation returns <code>true</code> if * the object is either the model's package or is an instance object of the * model. <!-- end-user-doc --> - * + * * @return whether this factory is applicable for the type of the object. * @generated */ @@ -196,6 +199,21 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { } @Override + public Adapter caseCustomDescription(CustomDescription object) { + return createCustomDescriptionAdapter(); + } + + @Override + public Adapter caseCustomExpression(CustomExpression object) { + return createCustomExpressionAdapter(); + } + + @Override + public Adapter caseCustomOperation(CustomOperation object) { + return createCustomOperationAdapter(); + } + + @Override public Adapter caseExtension(Extension object) { return createExtensionAdapter(); } @@ -219,7 +237,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { /** * Creates an adapter for the <code>target</code>. <!-- begin-user-doc --> * <!-- end-user-doc --> - * + * * @param target * the object to adapt. * @return the adapter for the <code>target</code>. @@ -237,7 +255,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { * default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases * anyway. <!-- end-user-doc --> - * + * * @return the new adapter. * @see org.eclipse.sirius.properties.ViewExtensionDescription * @generated @@ -253,7 +271,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { * implementation returns null so that we can easily ignore cases; it's * useful to ignore a case when inheritance will catch all the cases anyway. * <!-- end-user-doc --> - * + * * @return the new adapter. * @see org.eclipse.sirius.properties.PageDescription * @generated @@ -269,7 +287,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { * default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases * anyway. <!-- end-user-doc --> - * + * * @return the new adapter. * @see org.eclipse.sirius.properties.PageValidationSetDescription * @generated @@ -285,7 +303,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { * implementation returns null so that we can easily ignore cases; it's * useful to ignore a case when inheritance will catch all the cases anyway. * <!-- end-user-doc --> - * + * * @return the new adapter. * @see org.eclipse.sirius.properties.PropertyValidationRule * @generated @@ -301,7 +319,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { * implementation returns null so that we can easily ignore cases; it's * useful to ignore a case when inheritance will catch all the cases anyway. * <!-- end-user-doc --> - * + * * @return the new adapter. * @see org.eclipse.sirius.properties.GroupDescription * @generated @@ -317,7 +335,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { * default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases * anyway. <!-- end-user-doc --> - * + * * @return the new adapter. * @see org.eclipse.sirius.properties.GroupValidationSetDescription * @generated @@ -333,7 +351,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { * implementation returns null so that we can easily ignore cases; it's * useful to ignore a case when inheritance will catch all the cases anyway. * <!-- end-user-doc --> - * + * * @return the new adapter. * @see org.eclipse.sirius.properties.ContainerDescription * @generated @@ -349,7 +367,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { * implementation returns null so that we can easily ignore cases; it's * useful to ignore a case when inheritance will catch all the cases anyway. * <!-- end-user-doc --> - * + * * @return the new adapter. * @see org.eclipse.sirius.properties.WidgetDescription * @generated @@ -365,7 +383,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { * implementation returns null so that we can easily ignore cases; it's * useful to ignore a case when inheritance will catch all the cases anyway. * <!-- end-user-doc --> - * + * * @return the new adapter. * @see org.eclipse.sirius.properties.TextDescription * @generated @@ -381,7 +399,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { * implementation returns null so that we can easily ignore cases; it's * useful to ignore a case when inheritance will catch all the cases anyway. * <!-- end-user-doc --> - * + * * @return the new adapter. * @see org.eclipse.sirius.properties.ButtonDescription * @generated @@ -397,7 +415,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { * implementation returns null so that we can easily ignore cases; it's * useful to ignore a case when inheritance will catch all the cases anyway. * <!-- end-user-doc --> - * + * * @return the new adapter. * @see org.eclipse.sirius.properties.LabelDescription * @generated @@ -413,7 +431,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { * implementation returns null so that we can easily ignore cases; it's * useful to ignore a case when inheritance will catch all the cases anyway. * <!-- end-user-doc --> - * + * * @return the new adapter. * @see org.eclipse.sirius.properties.CheckboxDescription * @generated @@ -429,7 +447,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { * implementation returns null so that we can easily ignore cases; it's * useful to ignore a case when inheritance will catch all the cases anyway. * <!-- end-user-doc --> - * + * * @return the new adapter. * @see org.eclipse.sirius.properties.SelectDescription * @generated @@ -445,7 +463,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { * implementation returns null so that we can easily ignore cases; it's * useful to ignore a case when inheritance will catch all the cases anyway. * <!-- end-user-doc --> - * + * * @return the new adapter. * @see org.eclipse.sirius.properties.DynamicMappingFor * @generated @@ -461,7 +479,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { * implementation returns null so that we can easily ignore cases; it's * useful to ignore a case when inheritance will catch all the cases anyway. * <!-- end-user-doc --> - * + * * @return the new adapter. * @see org.eclipse.sirius.properties.DynamicMappingIf * @generated @@ -472,28 +490,12 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { /** * Creates a new adapter for an object of class ' - * {@link org.eclipse.sirius.properties.TextAreaDescription - * <em>Text Area Description</em>}'. <!-- begin-user-doc --> This default - * implementation returns null so that we can easily ignore cases; it's - * useful to ignore a case when inheritance will catch all the cases anyway. - * <!-- end-user-doc --> - * - * @return the new adapter. - * @see org.eclipse.sirius.properties.TextAreaDescription - * @generated - */ - public Adapter createTextAreaDescriptionAdapter() { - return null; - } - - /** - * Creates a new adapter for an object of class ' * {@link org.eclipse.sirius.properties.RadioDescription * <em>Radio Description</em>}'. <!-- begin-user-doc --> This default * implementation returns null so that we can easily ignore cases; it's * useful to ignore a case when inheritance will catch all the cases anyway. * <!-- end-user-doc --> - * + * * @return the new adapter. * @see org.eclipse.sirius.properties.RadioDescription * @generated @@ -509,7 +511,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { * default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases * anyway. <!-- end-user-doc --> - * + * * @return the new adapter. * @see org.eclipse.sirius.properties.SingleReferenceDescription * @generated @@ -525,7 +527,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { * implementation returns null so that we can easily ignore cases; it's * useful to ignore a case when inheritance will catch all the cases anyway. * <!-- end-user-doc --> - * + * * @return the new adapter. * @see org.eclipse.sirius.properties.OperationDescription * @generated @@ -541,7 +543,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { * default implementation returns null so that we can easily ignore cases; * it's useful to ignore a case when inheritance will catch all the cases * anyway. <!-- end-user-doc --> - * + * * @return the new adapter. * @see org.eclipse.sirius.properties.MultipleReferencesDescription * @generated @@ -552,6 +554,70 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { /** * Creates a new adapter for an object of class ' + * {@link org.eclipse.sirius.properties.CustomDescription + * <em>Custom Description</em>}'. <!-- begin-user-doc --> This default + * implementation returns null so that we can easily ignore cases; it's + * useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * + * @return the new adapter. + * @see org.eclipse.sirius.properties.CustomDescription + * @generated + */ + public Adapter createCustomDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class ' + * {@link org.eclipse.sirius.properties.CustomExpression + * <em>Custom Expression</em>}'. <!-- begin-user-doc --> This default + * implementation returns null so that we can easily ignore cases; it's + * useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * + * @return the new adapter. + * @see org.eclipse.sirius.properties.CustomExpression + * @generated + */ + public Adapter createCustomExpressionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class ' + * {@link org.eclipse.sirius.properties.CustomOperation + * <em>Custom Operation</em>}'. <!-- begin-user-doc --> This default + * implementation returns null so that we can easily ignore cases; it's + * useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * + * @return the new adapter. + * @see org.eclipse.sirius.properties.CustomOperation + * @generated + */ + public Adapter createCustomOperationAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class ' + * {@link org.eclipse.sirius.properties.TextAreaDescription + * <em>Text Area Description</em>}'. <!-- begin-user-doc --> This default + * implementation returns null so that we can easily ignore cases; it's + * useful to ignore a case when inheritance will catch all the cases anyway. + * <!-- end-user-doc --> + * + * @return the new adapter. + * @see org.eclipse.sirius.properties.TextAreaDescription + * @generated + */ + public Adapter createTextAreaDescriptionAdapter() { + return null; + } + + /** + * Creates a new adapter for an object of class ' * {@link org.eclipse.sirius.viewpoint.description.Extension * <em>Extension</em>}'. <!-- begin-user-doc --> This default implementation * returns null so that we can easily ignore cases; it's useful to ignore a @@ -573,7 +639,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { * implementation returns null so that we can easily ignore cases; it's * useful to ignore a case when inheritance will catch all the cases anyway. * <!-- end-user-doc --> - * + * * @return the new adapter. * @see org.eclipse.sirius.viewpoint.description.IdentifiedElement * @generated @@ -601,7 +667,7 @@ public class PropertiesAdapterFactory extends AdapterFactoryImpl { /** * Creates a new adapter for the default case. <!-- begin-user-doc --> This * default implementation returns null. <!-- end-user-doc --> - * + * * @return the new adapter. * @generated */ diff --git a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/util/PropertiesSwitch.java b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/util/PropertiesSwitch.java index c5e6184fc0..8a809ef19c 100644 --- a/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/util/PropertiesSwitch.java +++ b/incubation/org.eclipse.sirius.properties/src-gen/org/eclipse/sirius/properties/util/PropertiesSwitch.java @@ -18,6 +18,9 @@ import org.eclipse.emf.ecore.EObject; import org.eclipse.sirius.properties.ButtonDescription; import org.eclipse.sirius.properties.CheckboxDescription; import org.eclipse.sirius.properties.ContainerDescription; +import org.eclipse.sirius.properties.CustomDescription; +import org.eclipse.sirius.properties.CustomExpression; +import org.eclipse.sirius.properties.CustomOperation; import org.eclipse.sirius.properties.DynamicMappingFor; import org.eclipse.sirius.properties.DynamicMappingIf; import org.eclipse.sirius.properties.GroupDescription; @@ -47,14 +50,14 @@ import org.eclipse.sirius.viewpoint.description.validation.ValidationRule; * starting with the actual class of the object and proceeding up the * inheritance hierarchy until a non-null result is returned, which is the * result of the switch. <!-- end-user-doc --> - * + * * @see org.eclipse.sirius.properties.PropertiesPackage * @generated */ public class PropertiesSwitch<T> { /** * The cached model package <!-- begin-user-doc --> <!-- end-user-doc --> - * + * * @generated */ protected static PropertiesPackage modelPackage; @@ -62,7 +65,7 @@ public class PropertiesSwitch<T> { /** * Creates an instance of the switch. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @generated */ public PropertiesSwitch() { @@ -75,7 +78,7 @@ public class PropertiesSwitch<T> { * Calls <code>caseXXX</code> for each class of the model until one returns * a non null result; it yields that result. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the first non-null result returned by a <code>caseXXX</code> * call. * @generated @@ -88,7 +91,7 @@ public class PropertiesSwitch<T> { * Calls <code>caseXXX</code> for each class of the model until one returns * a non null result; it yields that result. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the first non-null result returned by a <code>caseXXX</code> * call. * @generated @@ -106,7 +109,7 @@ public class PropertiesSwitch<T> { * Calls <code>caseXXX</code> for each class of the model until one returns * a non null result; it yields that result. <!-- begin-user-doc --> <!-- * end-user-doc --> - * + * * @return the first non-null result returned by a <code>caseXXX</code> * call. * @generated @@ -312,6 +315,33 @@ public class PropertiesSwitch<T> { } return result; } + case PropertiesPackage.CUSTOM_DESCRIPTION: { + CustomDescription customDescription = (CustomDescription) theEObject; + T result = caseCustomDescription(customDescription); + if (result == null) { + result = caseWidgetDescription(customDescription); + } + if (result == null) { + result = defaultCase(theEObject); + } + return result; + } + case PropertiesPackage.CUSTOM_EXPRESSION: { + CustomExpression customExpression = (CustomExpression) theEObject; + T result = caseCustomExpression(customExpression); + if (result == null) { + result = defaultCase(theEObject); + } + return result; + } + case PropertiesPackage.CUSTOM_OPERATION: { + CustomOperation customOperation = (CustomOperation) theEObject; + T result = caseCustomOperation(customOperation); + if (result == null) { + result = defaultCase(theEObject); + } + return result; + } default: return defaultCase(theEObject); } @@ -322,7 +352,7 @@ public class PropertiesSwitch<T> { * <em>View Extension Description</em>'. <!-- begin-user-doc --> This * implementation returns null; returning a non-null result will terminate * the switch. <!-- end-user-doc --> - * + * * @param object * the target of the switch. * @return the result of interpreting the object as an instance of ' @@ -339,7 +369,7 @@ public class PropertiesSwitch<T> { * <em>Page Description</em>'. <!-- begin-user-doc --> This implementation * returns null; returning a non-null result will terminate the switch. <!-- * end-user-doc --> - * + * * @param object * the target of the switch. * @return the result of interpreting the object as an instance of ' @@ -356,7 +386,7 @@ public class PropertiesSwitch<T> { * <em>Page Validation Set Description</em>'. <!-- begin-user-doc --> This * implementation returns null; returning a non-null result will terminate * the switch. <!-- end-user-doc --> - * + * * @param object * the target of the switch. * @return the result of interpreting the object as an instance of ' @@ -373,7 +403,7 @@ public class PropertiesSwitch<T> { * <em>Property Validation Rule</em>'. <!-- begin-user-doc --> This * implementation returns null; returning a non-null result will terminate * the switch. <!-- end-user-doc --> - * + * * @param object * the target of the switch. * @return the result of interpreting the object as an instance of ' @@ -390,7 +420,7 @@ public class PropertiesSwitch<T> { * <em>Group Description</em>'. <!-- begin-user-doc --> This implementation * returns null; returning a non-null result will terminate the switch. <!-- * end-user-doc --> - * + * * @param object * the target of the switch. * @return the result of interpreting the object as an instance of ' @@ -407,7 +437,7 @@ public class PropertiesSwitch<T> { * <em>Group Validation Set Description</em>'. <!-- begin-user-doc --> This * implementation returns null; returning a non-null result will terminate * the switch. <!-- end-user-doc --> - * + * * @param object * the target of the switch. * @return the result of interpreting the object as an instance of ' @@ -424,7 +454,7 @@ public class PropertiesSwitch<T> { * <em>Container Description</em>'. <!-- begin-user-doc --> This * implementation returns null; returning a non-null result will terminate * the switch. <!-- end-user-doc --> - * + * * @param object * the target of the switch. * @return the result of interpreting the object as an instance of ' @@ -441,7 +471,7 @@ public class PropertiesSwitch<T> { * <em>Widget Description</em>'. <!-- begin-user-doc --> This implementation * returns null; returning a non-null result will terminate the switch. <!-- * end-user-doc --> - * + * * @param object * the target of the switch. * @return the result of interpreting the object as an instance of ' @@ -458,7 +488,7 @@ public class PropertiesSwitch<T> { * <em>Text Description</em>'. <!-- begin-user-doc --> This implementation * returns null; returning a non-null result will terminate the switch. <!-- * end-user-doc --> - * + * * @param object * the target of the switch. * @return the result of interpreting the object as an instance of ' @@ -475,7 +505,7 @@ public class PropertiesSwitch<T> { * <em>Button Description</em>'. <!-- begin-user-doc --> This implementation * returns null; returning a non-null result will terminate the switch. <!-- * end-user-doc --> - * + * * @param object * the target of the switch. * @return the result of interpreting the object as an instance of ' @@ -492,7 +522,7 @@ public class PropertiesSwitch<T> { * <em>Label Description</em>'. <!-- begin-user-doc --> This implementation * returns null; returning a non-null result will terminate the switch. <!-- * end-user-doc --> - * + * * @param object * the target of the switch. * @return the result of interpreting the object as an instance of ' @@ -509,7 +539,7 @@ public class PropertiesSwitch<T> { * <em>Checkbox Description</em>'. <!-- begin-user-doc --> This * implementation returns null; returning a non-null result will terminate * the switch. <!-- end-user-doc --> - * + * * @param object * the target of the switch. * @return the result of interpreting the object as an instance of ' @@ -526,7 +556,7 @@ public class PropertiesSwitch<T> { * <em>Select Description</em>'. <!-- begin-user-doc --> This implementation * returns null; returning a non-null result will terminate the switch. <!-- * end-user-doc --> - * + * * @param object * the target of the switch. * @return the result of interpreting the object as an instance of ' @@ -543,7 +573,7 @@ public class PropertiesSwitch<T> { * <em>Dynamic Mapping For</em>'. <!-- begin-user-doc --> This * implementation returns null; returning a non-null result will terminate * the switch. <!-- end-user-doc --> - * + * * @param object * the target of the switch. * @return the result of interpreting the object as an instance of ' @@ -560,7 +590,7 @@ public class PropertiesSwitch<T> { * <em>Dynamic Mapping If</em>'. <!-- begin-user-doc --> This implementation * returns null; returning a non-null result will terminate the switch. <!-- * end-user-doc --> - * + * * @param object * the target of the switch. * @return the result of interpreting the object as an instance of ' @@ -574,27 +604,10 @@ public class PropertiesSwitch<T> { /** * Returns the result of interpreting the object as an instance of ' - * <em>Text Area Description</em>'. <!-- begin-user-doc --> This - * implementation returns null; returning a non-null result will terminate - * the switch. <!-- end-user-doc --> - * - * @param object - * the target of the switch. - * @return the result of interpreting the object as an instance of ' - * <em>Text Area Description</em>'. - * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) - * @generated - */ - public T caseTextAreaDescription(TextAreaDescription object) { - return null; - } - - /** - * Returns the result of interpreting the object as an instance of ' * <em>Radio Description</em>'. <!-- begin-user-doc --> This implementation * returns null; returning a non-null result will terminate the switch. <!-- * end-user-doc --> - * + * * @param object * the target of the switch. * @return the result of interpreting the object as an instance of ' @@ -611,7 +624,7 @@ public class PropertiesSwitch<T> { * <em>Single Reference Description</em>'. <!-- begin-user-doc --> This * implementation returns null; returning a non-null result will terminate * the switch. <!-- end-user-doc --> - * + * * @param object * the target of the switch. * @return the result of interpreting the object as an instance of ' @@ -628,7 +641,7 @@ public class PropertiesSwitch<T> { * <em>Operation Description</em>'. <!-- begin-user-doc --> This * implementation returns null; returning a non-null result will terminate * the switch. <!-- end-user-doc --> - * + * * @param object * the target of the switch. * @return the result of interpreting the object as an instance of ' @@ -645,7 +658,7 @@ public class PropertiesSwitch<T> { * <em>Multiple References Description</em>'. <!-- begin-user-doc --> This * implementation returns null; returning a non-null result will terminate * the switch. <!-- end-user-doc --> - * + * * @param object * the target of the switch. * @return the result of interpreting the object as an instance of ' @@ -659,10 +672,78 @@ public class PropertiesSwitch<T> { /** * Returns the result of interpreting the object as an instance of ' + * <em>Custom Description</em>'. <!-- begin-user-doc --> This implementation + * returns null; returning a non-null result will terminate the switch. <!-- + * end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of ' + * <em>Custom Description</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCustomDescription(CustomDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of ' + * <em>Custom Expression</em>'. <!-- begin-user-doc --> This implementation + * returns null; returning a non-null result will terminate the switch. <!-- + * end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of ' + * <em>Custom Expression</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCustomExpression(CustomExpression object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of ' + * <em>Custom Operation</em>'. <!-- begin-user-doc --> This implementation + * returns null; returning a non-null result will terminate the switch. <!-- + * end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of ' + * <em>Custom Operation</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseCustomOperation(CustomOperation object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of ' + * <em>Text Area Description</em>'. <!-- begin-user-doc --> This + * implementation returns null; returning a non-null result will terminate + * the switch. <!-- end-user-doc --> + * + * @param object + * the target of the switch. + * @return the result of interpreting the object as an instance of ' + * <em>Text Area Description</em>'. + * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject) + * @generated + */ + public T caseTextAreaDescription(TextAreaDescription object) { + return null; + } + + /** + * Returns the result of interpreting the object as an instance of ' * <em>Extension</em>'. <!-- begin-user-doc --> This implementation returns * null; returning a non-null result will terminate the switch. <!-- * end-user-doc --> - * + * * @param object * the target of the switch. * @return the result of interpreting the object as an instance of ' @@ -679,7 +760,7 @@ public class PropertiesSwitch<T> { * <em>Identified Element</em>'. <!-- begin-user-doc --> This implementation * returns null; returning a non-null result will terminate the switch. <!-- * end-user-doc --> - * + * * @param object * the target of the switch. * @return the result of interpreting the object as an instance of ' @@ -713,7 +794,7 @@ public class PropertiesSwitch<T> { * <em>EObject</em>'. <!-- begin-user-doc --> This implementation returns * null; returning a non-null result will terminate the switch, but this is * the last case anyway. <!-- end-user-doc --> - * + * * @param object * the target of the switch. * @return the result of interpreting the object as an instance of ' diff --git a/incubation/org.eclipse.sirius.ui.properties/src/org/eclipse/sirius/ui/properties/internal/tabprovider/ViewDescriptionConverter.java b/incubation/org.eclipse.sirius.ui.properties/src/org/eclipse/sirius/ui/properties/internal/tabprovider/ViewDescriptionConverter.java index 42f7fe3ae5..116593787f 100644 --- a/incubation/org.eclipse.sirius.ui.properties/src/org/eclipse/sirius/ui/properties/internal/tabprovider/ViewDescriptionConverter.java +++ b/incubation/org.eclipse.sirius.ui.properties/src/org/eclipse/sirius/ui/properties/internal/tabprovider/ViewDescriptionConverter.java @@ -19,18 +19,18 @@ import java.util.Set; import org.eclipse.eef.EEFButtonDescription; import org.eclipse.eef.EEFCheckboxDescription; import org.eclipse.eef.EEFContainerDescription; +import org.eclipse.eef.EEFCustomExpression; +import org.eclipse.eef.EEFCustomWidgetDescription; import org.eclipse.eef.EEFDynamicMappingFor; import org.eclipse.eef.EEFDynamicMappingIf; import org.eclipse.eef.EEFGroupDescription; import org.eclipse.eef.EEFLabelDescription; -import org.eclipse.eef.EEFMultipleReferencesDescription; import org.eclipse.eef.EEFPageDescription; import org.eclipse.eef.EEFPropertyValidationRuleDescription; import org.eclipse.eef.EEFRadioDescription; import org.eclipse.eef.EEFRuleAuditDescription; import org.eclipse.eef.EEFSelectDescription; import org.eclipse.eef.EEFSemanticValidationRuleDescription; -import org.eclipse.eef.EEFSingleReferenceDescription; import org.eclipse.eef.EEFTextDescription; import org.eclipse.eef.EEFValidationFixDescription; import org.eclipse.eef.EEFValidationRuleDescription; @@ -41,17 +41,17 @@ import org.eclipse.eef.EefFactory; import org.eclipse.emf.ecore.util.EcoreUtil; import org.eclipse.sirius.properties.ButtonDescription; import org.eclipse.sirius.properties.CheckboxDescription; +import org.eclipse.sirius.properties.CustomDescription; +import org.eclipse.sirius.properties.CustomExpression; +import org.eclipse.sirius.properties.CustomOperation; import org.eclipse.sirius.properties.DynamicMappingFor; import org.eclipse.sirius.properties.DynamicMappingIf; import org.eclipse.sirius.properties.GroupDescription; import org.eclipse.sirius.properties.LabelDescription; -import org.eclipse.sirius.properties.MultipleReferencesDescription; -import org.eclipse.sirius.properties.OperationDescription; import org.eclipse.sirius.properties.PageDescription; import org.eclipse.sirius.properties.PropertyValidationRule; import org.eclipse.sirius.properties.RadioDescription; import org.eclipse.sirius.properties.SelectDescription; -import org.eclipse.sirius.properties.SingleReferenceDescription; import org.eclipse.sirius.properties.TextAreaDescription; import org.eclipse.sirius.properties.TextDescription; import org.eclipse.sirius.properties.WidgetDescription; @@ -280,10 +280,8 @@ public class ViewDescriptionConverter { description = createEEFButtonDescription((ButtonDescription) widgetDescription); } else if (widgetDescription instanceof RadioDescription) { description = createEEFRadioDescription((RadioDescription) widgetDescription); - } else if (widgetDescription instanceof SingleReferenceDescription) { - description = createEEFSingleReferenceDescription((SingleReferenceDescription) widgetDescription); - } else if (widgetDescription instanceof MultipleReferencesDescription) { - description = createEEFMultipleReferencesDescription((MultipleReferencesDescription) widgetDescription); + } else if (widgetDescription instanceof CustomDescription) { + description = createEEFCustomDescription((CustomDescription) widgetDescription); } if (description != null) { @@ -372,74 +370,30 @@ public class ViewDescriptionConverter { return eefRadioDescription; } - private EEFSingleReferenceDescription createEEFSingleReferenceDescription(SingleReferenceDescription singleReferenceDescription) { - EEFSingleReferenceDescription eefSingleReferenceDescription = EefFactory.eINSTANCE.createEEFSingleReferenceDescription(); - - eefSingleReferenceDescription.setIdentifier(singleReferenceDescription.getIdentifier()); - eefSingleReferenceDescription.setLabelExpression(singleReferenceDescription.getLabelExpression()); - eefSingleReferenceDescription.setValueExpression(singleReferenceDescription.getValueExpression()); - eefSingleReferenceDescription.setDisplayExpression(singleReferenceDescription.getDisplayExpression()); - OperationDescription createOperationDescription = singleReferenceDescription.getCreateOperation(); - if (createOperationDescription != null) { - InitialOperation initialOperation = createOperationDescription.getInitialOperation(); - eefSingleReferenceDescription.setCreateExpression(getExpressionForOperation(initialOperation)); - } - OperationDescription searchOperationDescription = singleReferenceDescription.getSearchOperation(); - if (searchOperationDescription != null) { - InitialOperation initialOperation = searchOperationDescription.getInitialOperation(); - eefSingleReferenceDescription.setSearchExpression(getExpressionForOperation(initialOperation)); - } - OperationDescription unsetOperationDescription = singleReferenceDescription.getUnsetOperation(); - if (unsetOperationDescription != null) { - InitialOperation initialOperation = unsetOperationDescription.getInitialOperation(); - eefSingleReferenceDescription.setUnsetExpression(getExpressionForOperation(initialOperation)); - } - OperationDescription onClickOperationDescription = singleReferenceDescription.getOnClickOperation(); - if (onClickOperationDescription != null) { - InitialOperation initialOperation = onClickOperationDescription.getInitialOperation(); - eefSingleReferenceDescription.setOnClickExpression(getExpressionForOperation(initialOperation)); - } - return eefSingleReferenceDescription; - } + private EEFCustomWidgetDescription createEEFCustomDescription(CustomDescription customDescription) { + EEFCustomWidgetDescription eefCustomDescription = EefFactory.eINSTANCE.createEEFCustomWidgetDescription(); - private EEFMultipleReferencesDescription createEEFMultipleReferencesDescription(MultipleReferencesDescription multipleReferencesDescription) { - EEFMultipleReferencesDescription eefMultipleReferencesDescription = EefFactory.eINSTANCE.createEEFMultipleReferencesDescription(); - - eefMultipleReferencesDescription.setIdentifier(multipleReferencesDescription.getIdentifier()); - eefMultipleReferencesDescription.setLabelExpression(multipleReferencesDescription.getLabelExpression()); - eefMultipleReferencesDescription.setValueExpression(multipleReferencesDescription.getValueExpression()); - eefMultipleReferencesDescription.setDisplayExpression(multipleReferencesDescription.getDisplayExpression()); - OperationDescription createOperationDescription = multipleReferencesDescription.getCreateOperation(); - if (createOperationDescription != null) { - InitialOperation initialOperation = createOperationDescription.getInitialOperation(); - eefMultipleReferencesDescription.setCreateExpression(getExpressionForOperation(initialOperation)); - } - OperationDescription searchOperationDescription = multipleReferencesDescription.getSearchOperation(); - if (searchOperationDescription != null) { - InitialOperation initialOperation = searchOperationDescription.getInitialOperation(); - eefMultipleReferencesDescription.setSearchExpression(getExpressionForOperation(initialOperation)); - } - OperationDescription unsetOperationDescription = multipleReferencesDescription.getUnsetOperation(); - if (unsetOperationDescription != null) { - InitialOperation initialOperation = unsetOperationDescription.getInitialOperation(); - eefMultipleReferencesDescription.setUnsetExpression(getExpressionForOperation(initialOperation)); - } - OperationDescription onClickOperationDescription = multipleReferencesDescription.getOnClickOperation(); - if (onClickOperationDescription != null) { - InitialOperation initialOperation = onClickOperationDescription.getInitialOperation(); - eefMultipleReferencesDescription.setOnClickExpression(getExpressionForOperation(initialOperation)); - } - OperationDescription upOperationDescription = multipleReferencesDescription.getUpOperation(); - if (upOperationDescription != null) { - InitialOperation initialOperation = upOperationDescription.getInitialOperation(); - eefMultipleReferencesDescription.setUpExpression(getExpressionForOperation(initialOperation)); + eefCustomDescription.setIdentifier(customDescription.getIdentifier()); + eefCustomDescription.setLabelExpression(customDescription.getLabelExpression()); + + for (CustomExpression customExpression : customDescription.getCustomExpressions()) { + EEFCustomExpression eefCustomExpression = EefFactory.eINSTANCE.createEEFCustomExpression(); + + eefCustomExpression.setIdentifier(customExpression.getIdentifier()); + String expression = customExpression.getCustomExpression(); + eefCustomExpression.setCustomExpression(expression); + eefCustomDescription.getCustomExpressions().add(eefCustomExpression); } - OperationDescription downOperationDescription = multipleReferencesDescription.getDownOperation(); - if (downOperationDescription != null) { - InitialOperation initialOperation = downOperationDescription.getInitialOperation(); - eefMultipleReferencesDescription.setDownExpression(getExpressionForOperation(initialOperation)); + + for (CustomOperation customOperation : customDescription.getCustomOperations()) { + EEFCustomExpression eefCustomExpression = EefFactory.eINSTANCE.createEEFCustomExpression(); + + eefCustomExpression.setIdentifier(customOperation.getIdentifier()); + eefCustomExpression.setCustomExpression(getExpressionForOperation(customOperation.getInitialOperation())); + eefCustomDescription.getCustomExpressions().add(eefCustomExpression); } - return eefMultipleReferencesDescription; + return eefCustomDescription; } + } |
