catch up with branch daily
Signed-off-by: Ralf Mollik <ramollik@compex-commerce.com>
diff --git a/org.eclipse.osbp.ecview.core.common.editparts.emf/src/org/eclipse/osbp/ecview/core/common/editpart/emf/binding/ListBindingEditpart.java b/org.eclipse.osbp.ecview.core.common.editparts.emf/src/org/eclipse/osbp/ecview/core/common/editpart/emf/binding/ListBindingEditpart.java
index ba53430..467be09 100644
--- a/org.eclipse.osbp.ecview.core.common.editparts.emf/src/org/eclipse/osbp/ecview/core/common/editpart/emf/binding/ListBindingEditpart.java
+++ b/org.eclipse.osbp.ecview.core.common.editparts.emf/src/org/eclipse/osbp/ecview/core/common/editpart/emf/binding/ListBindingEditpart.java
@@ -15,6 +15,7 @@
import org.eclipse.core.databinding.Binding;
import org.eclipse.core.databinding.observable.list.IObservableList;
import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.impl.AdapterImpl;
import org.eclipse.osbp.ecview.core.common.binding.IECViewBindingManager;
import org.eclipse.osbp.ecview.core.common.editpart.DelegatingEditPartManager;
import org.eclipse.osbp.ecview.core.common.editpart.binding.IBindableListEndpointEditpart;
@@ -34,12 +35,10 @@
/**
* Implementation of {@link IBindingSetEditpart}.
*/
-public class ListBindingEditpart extends ElementEditpart<YListBinding>
- implements IListBindingEditpart {
+public class ListBindingEditpart extends ElementEditpart<YListBinding> implements IListBindingEditpart {
/** The Constant LOGGER. */
- private static final Logger LOGGER = LoggerFactory
- .getLogger(ListBindingEditpart.class);
+ private static final Logger LOGGER = LoggerFactory.getLogger(ListBindingEditpart.class);
/** The target value. */
private IBindableListEndpointEditpart targetValue;
@@ -53,6 +52,10 @@
/** The binding. */
private Binding binding;
+ private ActiveAdapter adapter = new ActiveAdapter();
+
+ private boolean isBinding;
+
/**
* A default constructor.
*/
@@ -72,11 +75,10 @@
boolean shouldRebind = false;
switch (featureId) {
case BindingPackage.YLIST_BINDING__TARGET_ENDPOINT:
- YBindingEndpoint YBindingEndpoint = (YBindingEndpoint) notification
- .getNewValue();
+ YBindingEndpoint YBindingEndpoint = (YBindingEndpoint) notification.getNewValue();
- IBindableListEndpointEditpart editPart = (IBindableListEndpointEditpart) getEditpart(
- viewContext, YBindingEndpoint);
+ IBindableListEndpointEditpart editPart = (IBindableListEndpointEditpart) getEditpart(viewContext,
+ YBindingEndpoint);
internalSetTargetValue(editPart);
shouldRebind = true;
@@ -84,8 +86,7 @@
case BindingPackage.YLIST_BINDING__MODEL_ENDPOINT:
YBindingEndpoint = (YBindingEndpoint) notification.getNewValue();
- editPart = (IBindableListEndpointEditpart) getEditpart(viewContext,
- YBindingEndpoint);
+ editPart = (IBindableListEndpointEditpart) getEditpart(viewContext, YBindingEndpoint);
internalSetModelValue(editPart);
shouldRebind = true;
@@ -115,8 +116,7 @@
// set the element by using the model
//
YListBinding yBinding = getModel();
- YListBindingEndpoint yElement = target != null ? (YListBindingEndpoint) target
- .getModel() : null;
+ YListBindingEndpoint yElement = target != null ? (YListBindingEndpoint) target.getModel() : null;
yBinding.setTargetEndpoint(yElement);
// BEGIN SUPRESS CATCH EXCEPTION
} catch (RuntimeException e) {
@@ -148,8 +148,7 @@
protected void loadTargetValue() {
if (targetValue == null) {
YBindingEndpoint yValue = getModel().getTargetEndpoint();
- internalSetTargetValue((IBindableListEndpointEditpart) getEditpart(
- viewContext, yValue));
+ internalSetTargetValue((IBindableListEndpointEditpart) getEditpart(viewContext, yValue));
}
}
@@ -160,9 +159,18 @@
* @param targetValue
* The content to be set
*/
- protected void internalSetTargetValue(
- IBindableListEndpointEditpart targetValue) {
+ protected void internalSetTargetValue(IBindableListEndpointEditpart targetValue) {
+ if (this.targetValue != null) {
+ YBindingEndpoint newEP = (YBindingEndpoint) this.targetValue.getModel();
+ newEP.eAdapters().remove(adapter);
+ }
+
this.targetValue = targetValue;
+
+ if (this.targetValue != null) {
+ YBindingEndpoint newEP = (YBindingEndpoint) this.targetValue.getModel();
+ newEP.eAdapters().add(adapter);
+ }
}
/*
@@ -180,8 +188,7 @@
// set the element by using the model
//
YListBinding yBinding = getModel();
- YListBindingEndpoint yElement = model != null ? (YListBindingEndpoint) model
- .getModel() : null;
+ YListBindingEndpoint yElement = model != null ? (YListBindingEndpoint) model.getModel() : null;
yBinding.setModelEndpoint(yElement);
// BEGIN SUPRESS CATCH EXCEPTION
} catch (RuntimeException e) {
@@ -213,8 +220,7 @@
protected void loadModelValue() {
if (modelValue == null) {
YBindingEndpoint yValue = getModel().getModelEndpoint();
- internalSetModelValue((IBindableListEndpointEditpart) getEditpart(
- viewContext, yValue));
+ internalSetModelValue((IBindableListEndpointEditpart) getEditpart(viewContext, yValue));
}
}
@@ -225,8 +231,7 @@
* @param modelValue
* The content to be set
*/
- protected void internalSetModelValue(
- IBindableListEndpointEditpart modelValue) {
+ protected void internalSetModelValue(IBindableListEndpointEditpart modelValue) {
this.modelValue = modelValue;
}
@@ -259,60 +264,53 @@
return;
}
- IECViewBindingManager bindingManager = null;
- if (getBindindSet() != null) {
- bindingManager = getBindindSet().getBindingManager();
- } else {
- bindingManager = getViewContext(getModel()).getService(
- IECViewBindingManager.class.getName());
- }
- if (bindingManager != null) {
- if (getTargetEndpoint() == null || getModelEndpoint() == null) {
- LOGGER.warn("Endpoints are null");
- return;
+ try {
+ isBinding = true;
+ IECViewBindingManager bindingManager = null;
+ if (getBindindSet() != null) {
+ bindingManager = getBindindSet().getBindingManager();
+ } else {
+ bindingManager = getViewContext(getModel()).getService(IECViewBindingManager.class.getName());
}
- IObservableList target = getTargetEndpoint().getObservable();
- IObservableList model = getModelEndpoint().getObservable();
- if (target == null) {
- LOGGER.error("TargetValue must never be null! {}",
- getTargetEndpoint());
- return;
+ if (bindingManager != null) {
+ if (getTargetEndpoint() == null || getModelEndpoint() == null) {
+ LOGGER.warn("Endpoints are null");
+ return;
+ }
+
+ IObservableList target = getTargetEndpoint().getObservable();
+ YBindingEndpoint targetEP = (YBindingEndpoint) getTargetEndpoint().getModel();
+ if (!targetEP.isActive()) {
+ target.dispose();
+ return;
+ }
+ IObservableList model = getModelEndpoint().getObservable();
+
+ if (target == null) {
+ LOGGER.error("TargetValue must never be null! {}", getTargetEndpoint());
+ return;
+ }
+
+ if (model == null) {
+ LOGGER.error("ModelValue must never be null! {}", getModelEndpoint());
+ return;
+ }
+
+ ECViewUpdateListStrategy modelToTargetStrategy = getValueUpdateStrategy(
+ getModel().getModelToTargetStrategy());
+ ECViewUpdateListStrategy targetToModelStrategy = getValueUpdateStrategy(
+ getModel().getTargetToModelStrategy());
+ binding = bindingManager.bindList(target, model, targetToModelStrategy, modelToTargetStrategy);
+ binding.updateModelToTarget();
+
+ // set bound to true if everything went fine
+ bound = true;
+
+ } else {
+ LOGGER.error("BindingManager is null!. No bindings processed!");
}
-
- if (model == null) {
- LOGGER.error("ModelValue must never be null! {}",
- getModelEndpoint());
- return;
- }
-
- ECViewUpdateListStrategy modelToTargetStrategy = getValueUpdateStrategy(getModel()
- .getModelToTargetStrategy());
- ECViewUpdateListStrategy targetToModelStrategy = getValueUpdateStrategy(getModel()
- .getTargetToModelStrategy());
- binding = bindingManager.bindList(target, model,
- targetToModelStrategy, modelToTargetStrategy);
- binding.updateTargetToModel();
-
- // getTargetEndpoint().setRefreshProvider(
- // new IBindableEndpointEditpart.RefreshProvider() {
- // @Override
- // public void refresh() {
- // binding.updateTargetToModel();
- // }
- // });
- //
- // getModelEndpoint().setRefreshProvider(
- // new IBindableEndpointEditpart.RefreshProvider() {
- // @Override
- // public void refresh() {
- // binding.updateModelToTarget();
- // }
- // });
-
- // set bound to true if everything went fine
- bound = true;
- } else {
- LOGGER.error("BindingManager is null!. No bindings processed!");
+ } finally {
+ isBinding = false;
}
}
@@ -323,25 +321,20 @@
* the strategy
* @return the value update strategy
*/
- private ECViewUpdateListStrategy getValueUpdateStrategy(
- YBindingUpdateStrategy strategy) {
+ private ECViewUpdateListStrategy getValueUpdateStrategy(YBindingUpdateStrategy strategy) {
ECViewUpdateListStrategy result = null;
switch (strategy) {
case UPDATE:
- result = new ECViewUpdateListStrategy(
- ECViewUpdateListStrategy.POLICY_UPDATE);
+ result = new ECViewUpdateListStrategy(ECViewUpdateListStrategy.POLICY_UPDATE);
break;
case NEVER:
- result = new ECViewUpdateListStrategy(
- ECViewUpdateListStrategy.POLICY_NEVER);
+ result = new ECViewUpdateListStrategy(ECViewUpdateListStrategy.POLICY_NEVER);
break;
case ON_REQUEST:
- result = new ECViewUpdateListStrategy(
- ECViewUpdateListStrategy.POLICY_ON_REQUEST);
+ result = new ECViewUpdateListStrategy(ECViewUpdateListStrategy.POLICY_ON_REQUEST);
break;
default:
- result = new ECViewUpdateListStrategy(
- ECViewUpdateListStrategy.POLICY_UPDATE);
+ result = new ECViewUpdateListStrategy(ECViewUpdateListStrategy.POLICY_UPDATE);
}
return result;
}
@@ -355,8 +348,7 @@
if (getModel().getBindingSet() == null) {
return null;
}
- return DelegatingEditPartManager.getInstance().findEditpart(
- getModel().getBindingSet());
+ return DelegatingEditPartManager.getInstance().findEditpart(getModel().getBindingSet());
}
/*
@@ -368,7 +360,13 @@
*/
@Override
public void unbind() {
- checkDisposed();
+
+ if(!isDisposed()) {
+ checkDisposed();
+ } else {
+ LOGGER.warn("{}", "Why is this list binding already disposed? Seems to be related to StrategyLayout");
+ return;
+ }
if (!bound) {
return;
@@ -376,17 +374,13 @@
try {
if (binding != null) {
+ if (binding.getModel() != null)
+ binding.getModel().dispose();
+ if (binding.getTarget() != null)
+ binding.getTarget().dispose();
binding.dispose();
binding = null;
}
- if (modelValue != null) {
- modelValue.dispose();
- modelValue = null;
- }
- if (targetValue != null) {
- targetValue.dispose();
- targetValue = null;
- }
} finally {
bound = false;
}
@@ -429,4 +423,20 @@
public Binding getBinding() {
return binding;
}
+
+ class ActiveAdapter extends AdapterImpl {
+ @Override
+ public void notifyChanged(Notification notification) {
+ if (notification.getFeature() == BindingPackage.Literals.YBINDING_ENDPOINT__ACTIVE) {
+ if (isBinding)
+ return;
+ boolean active = notification.getNewBooleanValue();
+ if (active) {
+ bind();
+ } else {
+ unbind();
+ }
+ }
+ }
+ }
}
diff --git a/org.eclipse.osbp.ecview.core.common.model.edit/plugin.properties b/org.eclipse.osbp.ecview.core.common.model.edit/plugin.properties
index 27b9985..06c86f5 100644
--- a/org.eclipse.osbp.ecview.core.common.model.edit/plugin.properties
+++ b/org.eclipse.osbp.ecview.core.common.model.edit/plugin.properties
@@ -422,3 +422,5 @@
_UI_YDialog_layoutColumns_feature = Layout Columns
_UI_YView_layoutColumns_feature = Layout Columns
_UI_YLayout_numberColumns_feature = Number Columns
+_UI_YBindingEndpoint_active_feature = Active
+_UI_YEmbeddable_readonly_feature = Readonly
diff --git a/org.eclipse.osbp.ecview.core.common.model.edit/src/org/eclipse/osbp/ecview/core/common/model/core/provider/YEmbeddableItemProvider.java b/org.eclipse.osbp.ecview.core.common.model.edit/src/org/eclipse/osbp/ecview/core/common/model/core/provider/YEmbeddableItemProvider.java
index 7f35367..4045f8b 100644
--- a/org.eclipse.osbp.ecview.core.common.model.edit/src/org/eclipse/osbp/ecview/core/common/model/core/provider/YEmbeddableItemProvider.java
+++ b/org.eclipse.osbp.ecview.core.common.model.edit/src/org/eclipse/osbp/ecview/core/common/model/core/provider/YEmbeddableItemProvider.java
@@ -89,6 +89,7 @@
addLabelPropertyDescriptor(object);
addLabelI18nKeyPropertyDescriptor(object);
addLastContextClickPropertyDescriptor(object);
+ addReadonlyPropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
@@ -402,6 +403,28 @@
}
/**
+ * This adds a property descriptor for the Readonly feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addReadonlyPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YEmbeddable_readonly_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YEmbeddable_readonly_feature", "_UI_YEmbeddable_type"),
+ CoreModelPackage.Literals.YEMBEDDABLE__READONLY,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.BOOLEAN_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}.
@@ -471,6 +494,7 @@
case CoreModelPackage.YEMBEDDABLE__MEMENTO_ID:
case CoreModelPackage.YEMBEDDABLE__LABEL:
case CoreModelPackage.YEMBEDDABLE__LABEL_I1_8N_KEY:
+ case CoreModelPackage.YEMBEDDABLE__READONLY:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
case CoreModelPackage.YEMBEDDABLE__PROPERTIES:
diff --git a/org.eclipse.osbp.ecview.core.common.model/model/binding.ecore b/org.eclipse.osbp.ecview.core.common.model/model/binding.ecore
index 9d6d416..3749f81 100644
--- a/org.eclipse.osbp.ecview.core.common.model/model/binding.ecore
+++ b/org.eclipse.osbp.ecview.core.common.model/model/binding.ecore
@@ -40,6 +40,8 @@
<eOperations name="isBindsElement" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean">
<eParameters name="element" lowerBound="1" eType="ecore:EClass core.ecore#//YElement"/>
</eOperations>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="active" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"
+ defaultValueLiteral="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="YValueBindingEndpoint" abstract="true"
eSuperTypes="#//YBindingEndpoint">
diff --git a/org.eclipse.osbp.ecview.core.common.model/model/core.ecore b/org.eclipse.osbp.ecview.core.common.model/model/core.ecore
index a1cf939..39fb4e5 100644
--- a/org.eclipse.osbp.ecview.core.common.model/model/core.ecore
+++ b/org.eclipse.osbp.ecview.core.common.model/model/core.ecore
@@ -158,6 +158,7 @@
volatile="true" derived="true"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="lastContextClick" eType="#//YContextClickEvent"
transient="true"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="readonly" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="YDialog" eSuperTypes="#//YElement #//YValueBindable #//YCssAble">
<eStructuralFeatures xsi:type="ecore:EReference" name="content" eType="#//YEmbeddable"
diff --git a/org.eclipse.osbp.ecview.core.common.model/model/core.genmodel b/org.eclipse.osbp.ecview.core.common.model/model/core.genmodel
index b624337..142ee92 100644
--- a/org.eclipse.osbp.ecview.core.common.model/model/core.genmodel
+++ b/org.eclipse.osbp.ecview.core.common.model/model/core.genmodel
@@ -45,6 +45,7 @@
</genOperations>
</genClasses>
<genClasses image="false" ecoreClass="binding.ecore#//YBindingEndpoint">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute binding.ecore#//YBindingEndpoint/active"/>
<genOperations ecoreOperation="binding.ecore#//YBindingEndpoint/getBinding"/>
<genOperations ecoreOperation="binding.ecore#//YBindingEndpoint/isBindsElement">
<genParameters ecoreParameter="binding.ecore#//YBindingEndpoint/isBindsElement/element"/>
@@ -316,6 +317,7 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute core.ecore#//YEmbeddable/label"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute core.ecore#//YEmbeddable/labelI18nKey"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference core.ecore#//YEmbeddable/lastContextClick"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute core.ecore#//YEmbeddable/readonly"/>
<genOperations ecoreOperation="core.ecore#//YEmbeddable/getView"/>
<genOperations ecoreOperation="core.ecore#//YEmbeddable/getParent"/>
</genClasses>
diff --git a/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/binding/BindingPackage.java b/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/binding/BindingPackage.java
index 39c962b..a1bef06 100644
--- a/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/binding/BindingPackage.java
+++ b/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/binding/BindingPackage.java
@@ -187,13 +187,22 @@
int YBINDING_ENDPOINT__PROPERTIES = CoreModelPackage.YELEMENT__PROPERTIES;
/**
+ * The feature id for the '<em><b>Active</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YBINDING_ENDPOINT__ACTIVE = CoreModelPackage.YELEMENT_FEATURE_COUNT + 0;
+
+ /**
* The number of structural features of the '<em>YBinding Endpoint</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int YBINDING_ENDPOINT_FEATURE_COUNT = CoreModelPackage.YELEMENT_FEATURE_COUNT + 0;
+ int YBINDING_ENDPOINT_FEATURE_COUNT = CoreModelPackage.YELEMENT_FEATURE_COUNT + 1;
/**
* The meta object id for the '{@link org.eclipse.osbp.ecview.core.common.model.binding.impl.YValueBindingEndpointImpl <em>YValue Binding Endpoint</em>}' class.
@@ -242,6 +251,15 @@
int YVALUE_BINDING_ENDPOINT__PROPERTIES = YBINDING_ENDPOINT__PROPERTIES;
/**
+ * The feature id for the '<em><b>Active</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YVALUE_BINDING_ENDPOINT__ACTIVE = YBINDING_ENDPOINT__ACTIVE;
+
+ /**
* The number of structural features of the '<em>YValue Binding Endpoint</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -297,6 +315,15 @@
int YBEAN_VALUE_BINDING_ENDPOINT__PROPERTIES = YVALUE_BINDING_ENDPOINT__PROPERTIES;
/**
+ * The feature id for the '<em><b>Active</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YBEAN_VALUE_BINDING_ENDPOINT__ACTIVE = YVALUE_BINDING_ENDPOINT__ACTIVE;
+
+ /**
* The feature id for the '<em><b>Bean</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -410,6 +437,15 @@
int YDETAIL_VALUE_BINDING_ENDPOINT__PROPERTIES = YVALUE_BINDING_ENDPOINT__PROPERTIES;
/**
+ * The feature id for the '<em><b>Active</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YDETAIL_VALUE_BINDING_ENDPOINT__ACTIVE = YVALUE_BINDING_ENDPOINT__ACTIVE;
+
+ /**
* The feature id for the '<em><b>Master Observable</b></em>' containment reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -491,6 +527,15 @@
int YLIST_BINDING_ENDPOINT__PROPERTIES = YBINDING_ENDPOINT__PROPERTIES;
/**
+ * The feature id for the '<em><b>Active</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YLIST_BINDING_ENDPOINT__ACTIVE = YBINDING_ENDPOINT__ACTIVE;
+
+ /**
* The number of structural features of the '<em>YList Binding Endpoint</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -772,6 +817,15 @@
int YENUM_LIST_BINDING_ENDPOINT__PROPERTIES = YLIST_BINDING_ENDPOINT__PROPERTIES;
/**
+ * The feature id for the '<em><b>Active</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YENUM_LIST_BINDING_ENDPOINT__ACTIVE = YLIST_BINDING_ENDPOINT__ACTIVE;
+
+ /**
* The feature id for the '<em><b>Enum</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -836,6 +890,15 @@
int YEC_VIEW_MODEL_VALUE_BINDING_ENDPOINT__PROPERTIES = YVALUE_BINDING_ENDPOINT__PROPERTIES;
/**
+ * The feature id for the '<em><b>Active</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YEC_VIEW_MODEL_VALUE_BINDING_ENDPOINT__ACTIVE = YVALUE_BINDING_ENDPOINT__ACTIVE;
+
+ /**
* The feature id for the '<em><b>Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -945,6 +1008,15 @@
int YEC_VIEW_MODEL_LIST_BINDING_ENDPOINT__PROPERTIES = YLIST_BINDING_ENDPOINT__PROPERTIES;
/**
+ * The feature id for the '<em><b>Active</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YEC_VIEW_MODEL_LIST_BINDING_ENDPOINT__ACTIVE = YLIST_BINDING_ENDPOINT__ACTIVE;
+
+ /**
* The feature id for the '<em><b>Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1054,6 +1126,15 @@
int YVISIBILITY_PROCESSOR_VALUE_BINDING_ENDPOINT__PROPERTIES = YVALUE_BINDING_ENDPOINT__PROPERTIES;
/**
+ * The feature id for the '<em><b>Active</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YVISIBILITY_PROCESSOR_VALUE_BINDING_ENDPOINT__ACTIVE = YVALUE_BINDING_ENDPOINT__ACTIVE;
+
+ /**
* The feature id for the '<em><b>Processor Instance</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1127,6 +1208,15 @@
int YNO_OP_VALUE_BINDING_ENDPOINT__PROPERTIES = YVALUE_BINDING_ENDPOINT__PROPERTIES;
/**
+ * The feature id for the '<em><b>Active</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YNO_OP_VALUE_BINDING_ENDPOINT__ACTIVE = YVALUE_BINDING_ENDPOINT__ACTIVE;
+
+ /**
* The feature id for the '<em><b>Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1191,6 +1281,15 @@
int YNO_OP_LIST_BINDING_ENDPOINT__PROPERTIES = YLIST_BINDING_ENDPOINT__PROPERTIES;
/**
+ * The feature id for the '<em><b>Active</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YNO_OP_LIST_BINDING_ENDPOINT__ACTIVE = YLIST_BINDING_ENDPOINT__ACTIVE;
+
+ /**
* The feature id for the '<em><b>Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1261,6 +1360,17 @@
EClass getYBindingEndpoint();
/**
+ * Returns the meta object for the attribute '{@link org.eclipse.osbp.ecview.core.common.model.binding.YBindingEndpoint#isActive <em>Active</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Active</em>'.
+ * @see org.eclipse.osbp.ecview.core.common.model.binding.YBindingEndpoint#isActive()
+ * @see #getYBindingEndpoint()
+ * @generated
+ */
+ EAttribute getYBindingEndpoint_Active();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.osbp.ecview.core.common.model.binding.YValueBindingEndpoint <em>YValue Binding Endpoint</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1778,6 +1888,14 @@
EClass YBINDING_ENDPOINT = eINSTANCE.getYBindingEndpoint();
/**
+ * The meta object literal for the '<em><b>Active</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute YBINDING_ENDPOINT__ACTIVE = eINSTANCE.getYBindingEndpoint_Active();
+
+ /**
* The meta object literal for the '{@link org.eclipse.osbp.ecview.core.common.model.binding.impl.YValueBindingEndpointImpl <em>YValue Binding Endpoint</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/binding/YBindingEndpoint.java b/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/binding/YBindingEndpoint.java
index 4c2ef1a..07736e0 100644
--- a/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/binding/YBindingEndpoint.java
+++ b/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/binding/YBindingEndpoint.java
@@ -19,6 +19,12 @@
* <!-- begin-user-doc --> A representation of the model object '
* <em><b>YBinding Endpoint</b></em>'. <!-- end-user-doc -->
*
+ * <p>
+ * The following features are supported:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.osbp.ecview.core.common.model.binding.YBindingEndpoint#isActive <em>Active</em>}</li>
+ * </ul>
*
* @see org.eclipse.osbp.ecview.core.common.model.binding.BindingPackage#getYBindingEndpoint()
* @model abstract="true"
@@ -27,6 +33,33 @@
public interface YBindingEndpoint extends YElement {
/**
+ * Returns the value of the '<em><b>Active</b></em>' attribute.
+ * The default value is <code>"true"</code>.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Active</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Active</em>' attribute.
+ * @see #setActive(boolean)
+ * @see org.eclipse.osbp.ecview.core.common.model.binding.BindingPackage#getYBindingEndpoint_Active()
+ * @model default="true"
+ * @generated
+ */
+ boolean isActive();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osbp.ecview.core.common.model.binding.YBindingEndpoint#isActive <em>Active</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Active</em>' attribute.
+ * @see #isActive()
+ * @generated
+ */
+ void setActive(boolean value);
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->.
*
* @return the binding
diff --git a/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/binding/impl/BindingPackageImpl.java b/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/binding/impl/BindingPackageImpl.java
index 886c099..1508a98 100644
--- a/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/binding/impl/BindingPackageImpl.java
+++ b/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/binding/impl/BindingPackageImpl.java
@@ -287,6 +287,15 @@
* <!-- end-user-doc -->
* @generated
*/
+ public EAttribute getYBindingEndpoint_Active() {
+ return (EAttribute)yBindingEndpointEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getYValueBindingEndpoint() {
return yValueBindingEndpointEClass;
}
@@ -702,6 +711,7 @@
createEReference(yBindingSetEClass, YBINDING_SET__TRANSIENT_BINDINGS);
yBindingEndpointEClass = createEClass(YBINDING_ENDPOINT);
+ createEAttribute(yBindingEndpointEClass, YBINDING_ENDPOINT__ACTIVE);
yValueBindingEndpointEClass = createEClass(YVALUE_BINDING_ENDPOINT);
@@ -843,6 +853,7 @@
addEParameter(op, this.getYBinding(), "binding", 1, 1, IS_UNIQUE, IS_ORDERED);
initEClass(yBindingEndpointEClass, YBindingEndpoint.class, "YBindingEndpoint", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getYBindingEndpoint_Active(), ecorePackage.getEBoolean(), "active", "true", 0, 1, YBindingEndpoint.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
addEOperation(yBindingEndpointEClass, this.getYBinding(), "getBinding", 0, 1, IS_UNIQUE, IS_ORDERED);
diff --git a/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/binding/impl/YBindingEndpointImpl.java b/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/binding/impl/YBindingEndpointImpl.java
index a257a1c..24ad686 100644
--- a/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/binding/impl/YBindingEndpointImpl.java
+++ b/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/binding/impl/YBindingEndpointImpl.java
@@ -44,6 +44,7 @@
* <li>{@link org.eclipse.osbp.ecview.core.common.model.binding.impl.YBindingEndpointImpl#getId <em>Id</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.common.model.binding.impl.YBindingEndpointImpl#getName <em>Name</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.common.model.binding.impl.YBindingEndpointImpl#getProperties <em>Properties</em>}</li>
+ * <li>{@link org.eclipse.osbp.ecview.core.common.model.binding.impl.YBindingEndpointImpl#isActive <em>Active</em>}</li>
* </ul>
*
* @generated
@@ -110,6 +111,26 @@
protected EMap<String, String> properties;
/**
+ * The default value of the '{@link #isActive() <em>Active</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isActive()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean ACTIVE_EDEFAULT = true;
+
+ /**
+ * The cached value of the '{@link #isActive() <em>Active</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isActive()
+ * @generated
+ * @ordered
+ */
+ protected boolean active = ACTIVE_EDEFAULT;
+
+ /**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
@@ -195,6 +216,27 @@
}
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isActive() {
+ return active;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setActive(boolean newActive) {
+ boolean oldActive = active;
+ active = newActive;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, BindingPackage.YBINDING_ENDPOINT__ACTIVE, oldActive, active));
+ }
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@@ -255,6 +297,8 @@
case BindingPackage.YBINDING_ENDPOINT__PROPERTIES:
if (coreType) return getProperties();
else return getProperties().map();
+ case BindingPackage.YBINDING_ENDPOINT__ACTIVE:
+ return isActive();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -281,6 +325,9 @@
case BindingPackage.YBINDING_ENDPOINT__PROPERTIES:
((EStructuralFeature.Setting)getProperties()).set(newValue);
return;
+ case BindingPackage.YBINDING_ENDPOINT__ACTIVE:
+ setActive((Boolean)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -305,6 +352,9 @@
case BindingPackage.YBINDING_ENDPOINT__PROPERTIES:
getProperties().clear();
return;
+ case BindingPackage.YBINDING_ENDPOINT__ACTIVE:
+ setActive(ACTIVE_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -325,6 +375,8 @@
return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
case BindingPackage.YBINDING_ENDPOINT__PROPERTIES:
return properties != null && !properties.isEmpty();
+ case BindingPackage.YBINDING_ENDPOINT__ACTIVE:
+ return active != ACTIVE_EDEFAULT;
}
return super.eIsSet(featureID);
}
@@ -345,6 +397,8 @@
result.append(id);
result.append(", name: ");
result.append(name);
+ result.append(", active: ");
+ result.append(active);
result.append(')');
return result.toString();
}
diff --git a/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/core/CoreModelPackage.java b/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/core/CoreModelPackage.java
index 9c859e2..49387a5 100644
--- a/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/core/CoreModelPackage.java
+++ b/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/core/CoreModelPackage.java
@@ -353,13 +353,22 @@
int YEMBEDDABLE__LAST_CONTEXT_CLICK = YELEMENT_FEATURE_COUNT + 12;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YEMBEDDABLE__READONLY = YELEMENT_FEATURE_COUNT + 13;
+
+ /**
* The number of structural features of the '<em>YEmbeddable</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int YEMBEDDABLE_FEATURE_COUNT = YELEMENT_FEATURE_COUNT + 13;
+ int YEMBEDDABLE_FEATURE_COUNT = YELEMENT_FEATURE_COUNT + 14;
/**
* The meta object id for the '{@link org.eclipse.osbp.ecview.core.common.model.core.impl.YLayoutImpl <em>YLayout</em>}' class.
@@ -525,6 +534,15 @@
int YLAYOUT__LAST_CONTEXT_CLICK = YEMBEDDABLE__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YLAYOUT__READONLY = YEMBEDDABLE__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -938,6 +956,15 @@
int YHELPER_LAYOUT__LAST_CONTEXT_CLICK = YLAYOUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YHELPER_LAYOUT__READONLY = YLAYOUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1181,6 +1208,15 @@
int YFIELD__LAST_CONTEXT_CLICK = YEMBEDDABLE__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YFIELD__READONLY = YEMBEDDABLE__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2364,6 +2400,15 @@
int YACTION__LAST_CONTEXT_CLICK = YEMBEDDABLE__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YACTION__READONLY = YEMBEDDABLE__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Enabled</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2549,6 +2594,15 @@
int YCONTEXT_VALUE_BINDING_ENDPOINT__PROPERTIES = BindingPackage.YVALUE_BINDING_ENDPOINT__PROPERTIES;
/**
+ * The feature id for the '<em><b>Active</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YCONTEXT_VALUE_BINDING_ENDPOINT__ACTIVE = BindingPackage.YVALUE_BINDING_ENDPOINT__ACTIVE;
+
+ /**
* The feature id for the '<em><b>Url String</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2613,6 +2667,15 @@
int YBEAN_SLOT_VALUE_BINDING_ENDPOINT__PROPERTIES = BindingPackage.YVALUE_BINDING_ENDPOINT__PROPERTIES;
/**
+ * The feature id for the '<em><b>Active</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YBEAN_SLOT_VALUE_BINDING_ENDPOINT__ACTIVE = BindingPackage.YVALUE_BINDING_ENDPOINT__ACTIVE;
+
+ /**
* The feature id for the '<em><b>Attribute Path</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2686,6 +2749,15 @@
int YBEAN_SLOT_LIST_BINDING_ENDPOINT__PROPERTIES = BindingPackage.YLIST_BINDING_ENDPOINT__PROPERTIES;
/**
+ * The feature id for the '<em><b>Active</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YBEAN_SLOT_LIST_BINDING_ENDPOINT__ACTIVE = BindingPackage.YLIST_BINDING_ENDPOINT__ACTIVE;
+
+ /**
* The feature id for the '<em><b>Attribute Path</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2796,6 +2868,15 @@
int YEMBEDDABLE_VALUE_ENDPOINT__PROPERTIES = BindingPackage.YVALUE_BINDING_ENDPOINT__PROPERTIES;
/**
+ * The feature id for the '<em><b>Active</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YEMBEDDABLE_VALUE_ENDPOINT__ACTIVE = BindingPackage.YVALUE_BINDING_ENDPOINT__ACTIVE;
+
+ /**
* The feature id for the '<em><b>Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2860,6 +2941,15 @@
int YEMBEDDABLE_SELECTION_ENDPOINT__PROPERTIES = BindingPackage.YVALUE_BINDING_ENDPOINT__PROPERTIES;
/**
+ * The feature id for the '<em><b>Active</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YEMBEDDABLE_SELECTION_ENDPOINT__ACTIVE = BindingPackage.YVALUE_BINDING_ENDPOINT__ACTIVE;
+
+ /**
* The feature id for the '<em><b>Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2933,6 +3023,15 @@
int YEMBEDDABLE_MULTI_SELECTION_ENDPOINT__PROPERTIES = BindingPackage.YLIST_BINDING_ENDPOINT__PROPERTIES;
/**
+ * The feature id for the '<em><b>Active</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YEMBEDDABLE_MULTI_SELECTION_ENDPOINT__ACTIVE = BindingPackage.YLIST_BINDING_ENDPOINT__ACTIVE;
+
+ /**
* The feature id for the '<em><b>Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2997,6 +3096,15 @@
int YEMBEDDABLE_COLLECTION_ENDPOINT__PROPERTIES = BindingPackage.YLIST_BINDING_ENDPOINT__PROPERTIES;
/**
+ * The feature id for the '<em><b>Active</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YEMBEDDABLE_COLLECTION_ENDPOINT__ACTIVE = BindingPackage.YLIST_BINDING_ENDPOINT__ACTIVE;
+
+ /**
* The feature id for the '<em><b>Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3061,6 +3169,15 @@
int YACTIVATED_ENDPOINT__PROPERTIES = BindingPackage.YVALUE_BINDING_ENDPOINT__PROPERTIES;
/**
+ * The feature id for the '<em><b>Active</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YACTIVATED_ENDPOINT__ACTIVE = BindingPackage.YVALUE_BINDING_ENDPOINT__ACTIVE;
+
+ /**
* The feature id for the '<em><b>Element</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4810,6 +4927,17 @@
EReference getYEmbeddable_LastContextClick();
/**
+ * Returns the meta object for the attribute '{@link org.eclipse.osbp.ecview.core.common.model.core.YEmbeddable#isReadonly <em>Readonly</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Readonly</em>'.
+ * @see org.eclipse.osbp.ecview.core.common.model.core.YEmbeddable#isReadonly()
+ * @see #getYEmbeddable()
+ * @generated
+ */
+ EAttribute getYEmbeddable_Readonly();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.osbp.ecview.core.common.model.core.YDialog <em>YDialog</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -6693,6 +6821,14 @@
EReference YEMBEDDABLE__LAST_CONTEXT_CLICK = eINSTANCE.getYEmbeddable_LastContextClick();
/**
+ * The meta object literal for the '<em><b>Readonly</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute YEMBEDDABLE__READONLY = eINSTANCE.getYEmbeddable_Readonly();
+
+ /**
* The meta object literal for the '{@link org.eclipse.osbp.ecview.core.common.model.core.impl.YDialogImpl <em>YDialog</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/core/YEmbeddable.java b/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/core/YEmbeddable.java
index e7d58e0..ebc93c6 100644
--- a/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/core/YEmbeddable.java
+++ b/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/core/YEmbeddable.java
@@ -33,6 +33,7 @@
* <li>{@link org.eclipse.osbp.ecview.core.common.model.core.YEmbeddable#getLabel <em>Label</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.common.model.core.YEmbeddable#getLabelI18nKey <em>Label I1 8n Key</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.common.model.core.YEmbeddable#getLastContextClick <em>Last Context Click</em>}</li>
+ * <li>{@link org.eclipse.osbp.ecview.core.common.model.core.YEmbeddable#isReadonly <em>Readonly</em>}</li>
* </ul>
*
* @see org.eclipse.osbp.ecview.core.common.model.core.CoreModelPackage#getYEmbeddable()
@@ -209,6 +210,32 @@
void setLastContextClick(YContextClickEvent value);
/**
+ * Returns the value of the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Readonly</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Readonly</em>' attribute.
+ * @see #setReadonly(boolean)
+ * @see org.eclipse.osbp.ecview.core.common.model.core.CoreModelPackage#getYEmbeddable_Readonly()
+ * @model
+ * @generated
+ */
+ boolean isReadonly();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osbp.ecview.core.common.model.core.YEmbeddable#isReadonly <em>Readonly</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Readonly</em>' attribute.
+ * @see #isReadonly()
+ * @generated
+ */
+ void setReadonly(boolean value);
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->.
*
* @return the view
diff --git a/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/core/impl/CoreModelPackageImpl.java b/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/core/impl/CoreModelPackageImpl.java
index 957d8b8..6356a17 100644
--- a/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/core/impl/CoreModelPackageImpl.java
+++ b/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/core/impl/CoreModelPackageImpl.java
@@ -1187,6 +1187,15 @@
* <!-- end-user-doc -->
* @generated
*/
+ public EAttribute getYEmbeddable_Readonly() {
+ return (EAttribute)yEmbeddableEClass.getEStructuralFeatures().get(7);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
public EClass getYDialog() {
return yDialogEClass;
}
@@ -2433,6 +2442,7 @@
createEAttribute(yEmbeddableEClass, YEMBEDDABLE__LABEL);
createEAttribute(yEmbeddableEClass, YEMBEDDABLE__LABEL_I1_8N_KEY);
createEReference(yEmbeddableEClass, YEMBEDDABLE__LAST_CONTEXT_CLICK);
+ createEAttribute(yEmbeddableEClass, YEMBEDDABLE__READONLY);
yDialogEClass = createEClass(YDIALOG);
createEReference(yDialogEClass, YDIALOG__CONTENT);
@@ -2796,6 +2806,7 @@
initEAttribute(getYEmbeddable_Label(), ecorePackage.getEString(), "label", null, 0, 1, YEmbeddable.class, !IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
initEAttribute(getYEmbeddable_LabelI18nKey(), ecorePackage.getEString(), "labelI18nKey", null, 0, 1, YEmbeddable.class, !IS_TRANSIENT, IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, IS_DERIVED, IS_ORDERED);
initEReference(getYEmbeddable_LastContextClick(), this.getYContextClickEvent(), null, "lastContextClick", null, 0, 1, YEmbeddable.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getYEmbeddable_Readonly(), ecorePackage.getEBoolean(), "readonly", null, 0, 1, YEmbeddable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
addEOperation(yEmbeddableEClass, this.getYView(), "getView", 0, 1, IS_UNIQUE, IS_ORDERED);
diff --git a/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/core/impl/YEmbeddableImpl.java b/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/core/impl/YEmbeddableImpl.java
index 3f79f2a..ea7a17c 100644
--- a/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/core/impl/YEmbeddableImpl.java
+++ b/org.eclipse.osbp.ecview.core.common.model/src/org/eclipse/osbp/ecview/core/common/model/core/impl/YEmbeddableImpl.java
@@ -68,6 +68,7 @@
* <li>{@link org.eclipse.osbp.ecview.core.common.model.core.impl.YEmbeddableImpl#getLabel <em>Label</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.common.model.core.impl.YEmbeddableImpl#getLabelI18nKey <em>Label I1 8n Key</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.common.model.core.impl.YEmbeddableImpl#getLastContextClick <em>Last Context Click</em>}</li>
+ * <li>{@link org.eclipse.osbp.ecview.core.common.model.core.impl.YEmbeddableImpl#isReadonly <em>Readonly</em>}</li>
* </ul>
*
* @generated
@@ -314,6 +315,24 @@
*/
protected YContextClickEvent lastContextClick;
/**
+ * The default value of the '{@link #isReadonly() <em>Readonly</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadonly()
+ * @generated
+ * @ordered
+ */
+ protected static final boolean READONLY_EDEFAULT = false;
+ /**
+ * The cached value of the '{@link #isReadonly() <em>Readonly</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #isReadonly()
+ * @generated
+ * @ordered
+ */
+ protected boolean readonly = READONLY_EDEFAULT;
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@@ -682,6 +701,27 @@
}
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public boolean isReadonly() {
+ return readonly;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setReadonly(boolean newReadonly) {
+ boolean oldReadonly = readonly;
+ readonly = newReadonly;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, CoreModelPackage.YEMBEDDABLE__READONLY, oldReadonly, readonly));
+ }
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->
*
* @generated NOT
@@ -781,6 +821,8 @@
case CoreModelPackage.YEMBEDDABLE__LAST_CONTEXT_CLICK:
if (resolve) return getLastContextClick();
return basicGetLastContextClick();
+ case CoreModelPackage.YEMBEDDABLE__READONLY:
+ return isReadonly();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -847,6 +889,9 @@
case CoreModelPackage.YEMBEDDABLE__LAST_CONTEXT_CLICK:
setLastContextClick((YContextClickEvent)newValue);
return;
+ case CoreModelPackage.YEMBEDDABLE__READONLY:
+ setReadonly((Boolean)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -909,6 +954,9 @@
case CoreModelPackage.YEMBEDDABLE__LAST_CONTEXT_CLICK:
setLastContextClick((YContextClickEvent)null);
return;
+ case CoreModelPackage.YEMBEDDABLE__READONLY:
+ setReadonly(READONLY_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -954,6 +1002,8 @@
return LABEL_I1_8N_KEY_EDEFAULT == null ? getLabelI18nKey() != null : !LABEL_I1_8N_KEY_EDEFAULT.equals(getLabelI18nKey());
case CoreModelPackage.YEMBEDDABLE__LAST_CONTEXT_CLICK:
return lastContextClick != null;
+ case CoreModelPackage.YEMBEDDABLE__READONLY:
+ return readonly != READONLY_EDEFAULT;
}
return super.eIsSet(featureID);
}
@@ -1049,6 +1099,8 @@
result.append(mementoEnabled);
result.append(", mementoId: ");
result.append(mementoId);
+ result.append(", readonly: ");
+ result.append(readonly);
result.append(')');
return result.toString();
}
diff --git a/org.eclipse.osbp.ecview.core.common/src/org/eclipse/osbp/ecview/core/common/context/IDialogViewContextCallback.java b/org.eclipse.osbp.ecview.core.common/src/org/eclipse/osbp/ecview/core/common/context/IDialogViewContextCallback.java
new file mode 100644
index 0000000..9ee8489
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.common/src/org/eclipse/osbp/ecview/core/common/context/IDialogViewContextCallback.java
@@ -0,0 +1,5 @@
+package org.eclipse.osbp.ecview.core.common.context;
+
+public interface IDialogViewContextCallback {
+ IViewContext getDialogViewContext(Class<?> type);
+}
diff --git a/org.eclipse.osbp.ecview.core.common/src/org/eclipse/osbp/ecview/core/common/context/IDtoServiceCallback.java b/org.eclipse.osbp.ecview.core.common/src/org/eclipse/osbp/ecview/core/common/context/IDtoServiceCallback.java
new file mode 100644
index 0000000..a1dab48
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.common/src/org/eclipse/osbp/ecview/core/common/context/IDtoServiceCallback.java
@@ -0,0 +1,5 @@
+package org.eclipse.osbp.ecview.core.common.context;
+
+public interface IDtoServiceCallback {
+ void persist(IViewContext dialogViewContext);
+}
diff --git a/org.eclipse.osbp.ecview.core.common/src/org/eclipse/osbp/ecview/core/common/context/IViewContext.java b/org.eclipse.osbp.ecview.core.common/src/org/eclipse/osbp/ecview/core/common/context/IViewContext.java
index 38892d2..16fe74f 100644
--- a/org.eclipse.osbp.ecview.core.common/src/org/eclipse/osbp/ecview/core/common/context/IViewContext.java
+++ b/org.eclipse.osbp.ecview.core.common/src/org/eclipse/osbp/ecview/core/common/context/IViewContext.java
@@ -58,6 +58,12 @@
public static final String TOPIC_LIFECYCLE = "ecview/lifecycle";
/**
+ * Use this property to pass the beanSlot that should be used for the dto.
+ * See properties map in {@link #render(Object, Map)}
+ */
+ public static final String PROP_SLOT = "beanSlot";
+
+ /**
* Returns the URI that specifies the UI kit to be used.
*
* @return presentationURI
@@ -205,4 +211,17 @@
*/
Future<?> execAsync(Runnable runnable);
+ /**
+ * returns the original rendering parameters.
+ *
+ * @return the rendering params
+ */
+ Map<String, Object> getRenderingParams();
+
+ /**
+ * Sets the rendering params.
+ *
+ * @param params the params
+ */
+ void setRenderingParams(Map<String, Object> params);
}
diff --git a/org.eclipse.osbp.ecview.core.common/src/org/eclipse/osbp/ecview/core/common/context/ViewContext.java b/org.eclipse.osbp.ecview.core.common/src/org/eclipse/osbp/ecview/core/common/context/ViewContext.java
index 65979a9..7ef4152 100644
--- a/org.eclipse.osbp.ecview.core.common/src/org/eclipse/osbp/ecview/core/common/context/ViewContext.java
+++ b/org.eclipse.osbp.ecview.core.common/src/org/eclipse/osbp/ecview/core/common/context/ViewContext.java
@@ -33,7 +33,6 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-// TODO: Auto-generated Javadoc
/**
* Implementation of the {@link IViewContext}.
*/
@@ -46,6 +45,9 @@
// preparations for final disposal after view has been disposed
private Map<String, Object> finalDispose = new HashMap<String, Object>();
+ /** The rendering parameters. */
+ private Map<String, Object> renderingParameters = new HashMap<>();
+
/** The visibility manager. */
private VisibilityManager visibilityManager;
@@ -201,10 +203,11 @@
* {@inheritDoc}
*/
@Override
- synchronized public void render(String presentationURI, Object rootLayout, Map<String, Object> parameter)
+ public synchronized void render(String presentationURI, Object rootLayout, Map<String, Object> parameter)
throws ContextException {
checkDisposed();
-
+ renderingParameters = parameter;
+
if (rootLayout == null) {
throw new ContextException("RootLayout must not be null!");
}
@@ -467,4 +470,15 @@
}
}
+
+ @Override
+ public Map<String, Object> getRenderingParams() {
+ return renderingParameters;
+ }
+
+ @Override
+ public void setRenderingParams(Map<String, Object> params) {
+ renderingParameters.clear();
+ renderingParameters.putAll(params);
+ }
}
diff --git a/org.eclipse.osbp.ecview.core.common/src/org/eclipse/osbp/ecview/core/common/notification/AbstractReloadRequestService.java b/org.eclipse.osbp.ecview.core.common/src/org/eclipse/osbp/ecview/core/common/notification/AbstractReloadRequestService.java
index b979ee4..3ba1ad7 100644
--- a/org.eclipse.osbp.ecview.core.common/src/org/eclipse/osbp/ecview/core/common/notification/AbstractReloadRequestService.java
+++ b/org.eclipse.osbp.ecview.core.common/src/org/eclipse/osbp/ecview/core/common/notification/AbstractReloadRequestService.java
@@ -22,17 +22,17 @@
IReloadRequestService {
private List<ModeListener> listeners;
- private boolean mode;
+ private Boolean mode = null;
@Override
public boolean getMode() {
- return mode;
+ return mode.booleanValue();
}
@Override
public void setMode(boolean enabled) {
- boolean oldMode = this.mode;
- this.mode = enabled;
+ Boolean oldMode = this.mode;
+ this.mode = new Boolean(enabled);
if (oldMode != mode) {
notifyListeners();
diff --git a/org.eclipse.osbp.ecview.core.common/src/org/eclipse/osbp/ecview/core/common/visibility/impl/VisibilityHandler.java b/org.eclipse.osbp.ecview.core.common/src/org/eclipse/osbp/ecview/core/common/visibility/impl/VisibilityHandler.java
index b7cb271..bee7eef 100644
--- a/org.eclipse.osbp.ecview.core.common/src/org/eclipse/osbp/ecview/core/common/visibility/impl/VisibilityHandler.java
+++ b/org.eclipse.osbp.ecview.core.common/src/org/eclipse/osbp/ecview/core/common/visibility/impl/VisibilityHandler.java
@@ -28,48 +28,47 @@
public class VisibilityHandler implements IVisibilityHandler {
/** The Constant LOGGER. */
- private static final Logger LOGGER = LoggerFactory
- .getLogger(VisibilityHandler.class);
+ private static final Logger LOGGER = LoggerFactory.getLogger(VisibilityHandler.class);
/** The associations. */
private final IWidgetAssocationsService<?, ?> associations;
-
+
/** The id. */
private final String id;
/** The foreground color. */
private Color foregroundColor;
-
+
/** The background color. */
private Color backgroundColor;
-
+
/** The foreground color code. */
private String foregroundColorCode;
-
+
/** The background color code. */
private String backgroundColorCode;
-
+
/** The editable. */
private boolean editable;
-
+
/** The enabled. */
private boolean enabled;
-
+
/** The visible. */
private boolean visible;
-
+
/** The bold. */
private boolean bold;
-
+
/** The border. */
private boolean border;
-
+
/** The italic. */
private boolean italic;
-
+
/** The strikethrough. */
private boolean strikethrough;
-
+
/** The underline. */
private boolean underline;
@@ -89,8 +88,8 @@
* @throws NotValidProcessableException
* the not valid processable exception
*/
- public VisibilityHandler(IWidgetAssocationsService<?, ?> associations,
- String id) throws NotValidProcessableException {
+ public VisibilityHandler(IWidgetAssocationsService<?, ?> associations, String id)
+ throws NotValidProcessableException {
this.associations = associations;
this.id = id;
@@ -107,13 +106,13 @@
* @throws NotValidProcessableException
* the not valid processable exception
*/
- protected IVisibilityProcessable getProcessable()
- throws NotValidProcessableException {
+ protected IVisibilityProcessable getProcessable() throws NotValidProcessableException {
IElementEditpart editpart = associations.getEditpart(id);
- if (editpart == null || !(editpart instanceof IVisibilityProcessable)) {
- throw new IllegalArgumentException(id
- + " is not a valid IVisibilityProcessable");
- }
+ // if (editpart == null || !(editpart instanceof
+ // IVisibilityProcessable)) {
+ // throw new IllegalArgumentException(id + " is not a valid
+ // IVisibilityProcessable");
+ // }
return (IVisibilityProcessable) editpart;
}
@@ -125,19 +124,20 @@
* @throws NotValidProcessableException
* the not valid processable exception
*/
- protected IUiElementAccess internalGetUiAccess()
- throws NotValidProcessableException {
+ protected IUiElementAccess internalGetUiAccess() throws NotValidProcessableException {
IElementEditpart editpart = associations.getEditpart(id);
if (editpart == null || !(editpart instanceof IUiElementAccess)) {
- throw new IllegalArgumentException(id
- + " is not a valid IUiElementAccess");
+ throw new IllegalArgumentException(id + " is not a valid IUiElementAccess");
}
return (IUiElementAccess) editpart;
}
- /* (non-Javadoc)
- * @see org.eclipse.osbp.ecview.core.common.visibility.IVisibilityHandler#reset()
+ /*
+ * (non-Javadoc)
+ *
+ * @see
+ * org.eclipse.osbp.ecview.core.common.visibility.IVisibilityHandler#reset()
*/
@Override
public void reset() {
@@ -383,52 +383,71 @@
this.underline = underline;
}
- /* (non-Javadoc)
- * @see org.eclipse.osbp.ecview.core.common.visibility.IVisibilityHandler#getCssClass()
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.osbp.ecview.core.common.visibility.IVisibilityHandler#
+ * getCssClass()
*/
@Override
public String getCssClass() {
return cssClass;
}
- /* (non-Javadoc)
- * @see org.eclipse.osbp.ecview.core.common.visibility.IVisibilityHandler#setCssClass(java.lang.String)
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.osbp.ecview.core.common.visibility.IVisibilityHandler#
+ * setCssClass(java.lang.String)
*/
@Override
public void setCssClass(String cssClass) {
this.cssClass = cssClass;
}
- /* (non-Javadoc)
- * @see org.eclipse.osbp.ecview.core.common.visibility.IVisibilityHandler#getCssId()
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.osbp.ecview.core.common.visibility.IVisibilityHandler#
+ * getCssId()
*/
@Override
public String getCssId() {
return cssId;
}
- /* (non-Javadoc)
- * @see org.eclipse.osbp.ecview.core.common.visibility.IVisibilityHandler#setCssId(java.lang.String)
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.osbp.ecview.core.common.visibility.IVisibilityHandler#
+ * setCssId(java.lang.String)
*/
@Override
public void setCssId(String cssId) {
this.cssId = cssId;
}
- /* (non-Javadoc)
- * @see org.eclipse.osbp.ecview.core.common.visibility.IVisibilityHandler#apply()
+ /*
+ * (non-Javadoc)
+ *
+ * @see
+ * org.eclipse.osbp.ecview.core.common.visibility.IVisibilityHandler#apply()
*/
@Override
public void apply() {
try {
- getProcessable().apply(this);
+ if (getProcessable() != null)
+ getProcessable().apply(this);
} catch (Exception e) {
LOGGER.error("{}", e);
}
}
- /* (non-Javadoc)
- * @see org.eclipse.osbp.ecview.core.common.visibility.IVisibilityHandler#getUiAccess()
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.osbp.ecview.core.common.visibility.IVisibilityHandler#
+ * getUiAccess()
*/
@Override
public IUiElementAccess getUiAccess() {
@@ -458,24 +477,33 @@
this.access = access;
}
- /* (non-Javadoc)
- * @see org.eclipse.osbp.ecview.core.common.editpart.visibility.IUiElementAccess#containsTag(java.lang.String)
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.osbp.ecview.core.common.editpart.visibility.
+ * IUiElementAccess#containsTag(java.lang.String)
*/
@Override
public boolean containsTag(String tag) {
return access.containsTag(tag);
}
- /* (non-Javadoc)
- * @see org.eclipse.osbp.ecview.core.common.editpart.visibility.IUiElementAccess#containsProperty(java.lang.String)
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.osbp.ecview.core.common.editpart.visibility.
+ * IUiElementAccess#containsProperty(java.lang.String)
*/
@Override
public boolean containsProperty(String key) {
return access.containsProperty(key);
}
- /* (non-Javadoc)
- * @see org.eclipse.osbp.ecview.core.common.editpart.visibility.IUiElementAccess#getPropertyValue(java.lang.String)
+ /*
+ * (non-Javadoc)
+ *
+ * @see org.eclipse.osbp.ecview.core.common.editpart.visibility.
+ * IUiElementAccess#getPropertyValue(java.lang.String)
*/
@Override
public String getPropertyValue(String key) {
diff --git a/org.eclipse.osbp.ecview.core.extension.editparts.emf/src/org/eclipse/osbp/ecview/core/extension/editpart/emf/AbsoluteLayoutEditpart.java b/org.eclipse.osbp.ecview.core.extension.editparts.emf/src/org/eclipse/osbp/ecview/core/extension/editpart/emf/AbsoluteLayoutEditpart.java
index 67d70b0..db33976 100644
--- a/org.eclipse.osbp.ecview.core.extension.editparts.emf/src/org/eclipse/osbp/ecview/core/extension/editpart/emf/AbsoluteLayoutEditpart.java
+++ b/org.eclipse.osbp.ecview.core.extension.editparts.emf/src/org/eclipse/osbp/ecview/core/extension/editpart/emf/AbsoluteLayoutEditpart.java
@@ -50,7 +50,7 @@
}
protected void updateCellStyle(YEmbeddable target) {
- if (isRendered()) {
+ if (isRendered() && !isDisposing()) {
getPresentation().updateCellStyle(target);
}
}
diff --git a/org.eclipse.osbp.ecview.core.extension.editparts.emf/src/org/eclipse/osbp/ecview/core/extension/editpart/emf/FormLayoutEditpart.java b/org.eclipse.osbp.ecview.core.extension.editparts.emf/src/org/eclipse/osbp/ecview/core/extension/editpart/emf/FormLayoutEditpart.java
index f3aa6ca..f4025f6 100644
--- a/org.eclipse.osbp.ecview.core.extension.editparts.emf/src/org/eclipse/osbp/ecview/core/extension/editpart/emf/FormLayoutEditpart.java
+++ b/org.eclipse.osbp.ecview.core.extension.editparts.emf/src/org/eclipse/osbp/ecview/core/extension/editpart/emf/FormLayoutEditpart.java
@@ -51,7 +51,7 @@
}
protected void updateCellStyle(YEmbeddable target) {
- if (isRendered()) {
+ if (isRendered() && !isDisposing()) {
getPresentation().updateCellStyle(target);
}
}
diff --git a/org.eclipse.osbp.ecview.core.extension.editparts.emf/src/org/eclipse/osbp/ecview/core/extension/editpart/emf/GridLayoutEditpart.java b/org.eclipse.osbp.ecview.core.extension.editparts.emf/src/org/eclipse/osbp/ecview/core/extension/editpart/emf/GridLayoutEditpart.java
index 2ff4fce..282c201 100644
--- a/org.eclipse.osbp.ecview.core.extension.editparts.emf/src/org/eclipse/osbp/ecview/core/extension/editpart/emf/GridLayoutEditpart.java
+++ b/org.eclipse.osbp.ecview.core.extension.editparts.emf/src/org/eclipse/osbp/ecview/core/extension/editpart/emf/GridLayoutEditpart.java
@@ -74,7 +74,7 @@
}
protected void updateCellStyle(YEmbeddable target) {
- if (isRendered()) {
+ if (isRendered() && !isDisposing()) {
getPresentation().updateCellStyle(target);
}
}
diff --git a/org.eclipse.osbp.ecview.core.extension.editparts.emf/src/org/eclipse/osbp/ecview/core/extension/editpart/emf/HorizontalLayoutEditpart.java b/org.eclipse.osbp.ecview.core.extension.editparts.emf/src/org/eclipse/osbp/ecview/core/extension/editpart/emf/HorizontalLayoutEditpart.java
index 7c02f13..fc60b31 100644
--- a/org.eclipse.osbp.ecview.core.extension.editparts.emf/src/org/eclipse/osbp/ecview/core/extension/editpart/emf/HorizontalLayoutEditpart.java
+++ b/org.eclipse.osbp.ecview.core.extension.editparts.emf/src/org/eclipse/osbp/ecview/core/extension/editpart/emf/HorizontalLayoutEditpart.java
@@ -51,7 +51,7 @@
}
protected void updateCellStyle(YEmbeddable target) {
- if (isRendered()) {
+ if (isRendered() && !isDisposing()) {
getPresentation().updateCellStyle(target);
}
}
diff --git a/org.eclipse.osbp.ecview.core.extension.editparts.emf/src/org/eclipse/osbp/ecview/core/extension/editpart/emf/VerticalLayoutEditpart.java b/org.eclipse.osbp.ecview.core.extension.editparts.emf/src/org/eclipse/osbp/ecview/core/extension/editpart/emf/VerticalLayoutEditpart.java
index 16e2fd4..a7c2a01 100644
--- a/org.eclipse.osbp.ecview.core.extension.editparts.emf/src/org/eclipse/osbp/ecview/core/extension/editpart/emf/VerticalLayoutEditpart.java
+++ b/org.eclipse.osbp.ecview.core.extension.editparts.emf/src/org/eclipse/osbp/ecview/core/extension/editpart/emf/VerticalLayoutEditpart.java
@@ -51,7 +51,7 @@
}
protected void updateCellStyle(YEmbeddable target) {
- if (isRendered()) {
+ if (isRendered() && !isDisposing()) {
getPresentation().updateCellStyle(target);
}
}
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYBeanReferenceField_dialogComponent_YDialog.gif b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYBeanReferenceField_dialogComponent_YDialog.gif
new file mode 100644
index 0000000..f809a28
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYBeanReferenceField_dialogComponent_YDialog.gif
Binary files differ
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYBeanReferenceField_dialogComponent_YDialogComponent.gif b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYBeanReferenceField_dialogComponent_YDialogComponent.gif
new file mode 100644
index 0000000..c44b7cf
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYBeanReferenceField_dialogComponent_YDialogComponent.gif
Binary files differ
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYDialog_content_YDialogComponent.gif b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYDialog_content_YDialogComponent.gif
new file mode 100644
index 0000000..c44b7cf
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYDialog_content_YDialogComponent.gif
Binary files differ
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYDialog_content_YKanban.gif b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYDialog_content_YKanban.gif
new file mode 100644
index 0000000..cbc9f8d
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYDialog_content_YKanban.gif
Binary files differ
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYLayout_elements_YDialogComponent.gif b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYLayout_elements_YDialogComponent.gif
new file mode 100644
index 0000000..f6c9c1b
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYLayout_elements_YDialogComponent.gif
Binary files differ
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYLayout_elements_YKanban.gif b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYLayout_elements_YKanban.gif
new file mode 100644
index 0000000..fd34d5f
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYLayout_elements_YKanban.gif
Binary files differ
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYMasterDetail_detailElement_YDialogComponent.gif b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYMasterDetail_detailElement_YDialogComponent.gif
new file mode 100644
index 0000000..860a2df
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYMasterDetail_detailElement_YDialogComponent.gif
Binary files differ
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYMasterDetail_detailElement_YKanban.gif b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYMasterDetail_detailElement_YKanban.gif
new file mode 100644
index 0000000..eb4dbff
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYMasterDetail_detailElement_YKanban.gif
Binary files differ
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYMasterDetail_masterElement_YDialogComponent.gif b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYMasterDetail_masterElement_YDialogComponent.gif
new file mode 100644
index 0000000..860a2df
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYMasterDetail_masterElement_YDialogComponent.gif
Binary files differ
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYMasterDetail_masterElement_YKanban.gif b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYMasterDetail_masterElement_YKanban.gif
new file mode 100644
index 0000000..eb4dbff
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYMasterDetail_masterElement_YKanban.gif
Binary files differ
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYTab_embeddable_YDialogComponent.gif b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYTab_embeddable_YDialogComponent.gif
new file mode 100644
index 0000000..671249c
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYTab_embeddable_YDialogComponent.gif
Binary files differ
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYTab_embeddable_YKanban.gif b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYTab_embeddable_YKanban.gif
new file mode 100644
index 0000000..e050920
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYTab_embeddable_YKanban.gif
Binary files differ
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYView_content_YDialogComponent.gif b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYView_content_YDialogComponent.gif
new file mode 100644
index 0000000..84f99e6
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYView_content_YDialogComponent.gif
Binary files differ
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYView_content_YKanban.gif b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYView_content_YKanban.gif
new file mode 100644
index 0000000..1651076
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYView_content_YKanban.gif
Binary files differ
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYView_visibilityProcessors_YKanbanVisibilityProcessor.gif b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYView_visibilityProcessors_YKanbanVisibilityProcessor.gif
new file mode 100644
index 0000000..5fe40c4
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/ctool16/CreateYView_visibilityProcessors_YKanbanVisibilityProcessor.gif
Binary files differ
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/obj16/YDialogComponent.gif b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/obj16/YDialogComponent.gif
new file mode 100644
index 0000000..ef56c14
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/obj16/YDialogComponent.gif
Binary files differ
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/obj16/YKanban.gif b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/obj16/YKanban.gif
new file mode 100644
index 0000000..caf2804
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/obj16/YKanban.gif
Binary files differ
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/obj16/YKanbanVisibilityProcessor.gif b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/obj16/YKanbanVisibilityProcessor.gif
new file mode 100644
index 0000000..a17dc7d
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/icons/full/obj16/YKanbanVisibilityProcessor.gif
Binary files differ
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/plugin.properties b/org.eclipse.osbp.ecview.core.extension.model.edit/plugin.properties
index 085ccf3..4325590 100644
--- a/org.eclipse.osbp.ecview.core.extension.model.edit/plugin.properties
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/plugin.properties
@@ -410,3 +410,33 @@
_UI_YFilteringComponent_filterCols_feature = Filter Cols
_UI_YTable_doSort_feature = Do Sort
_UI_YTable_scrollToBottom_feature = Scroll To Bottom
+_UI_YKanban_type = YKanban
+_UI_YKanbanVisibilityProcessor_type = YKanban Visibility Processor
+_UI_YImage_resource_feature = Resource
+_UI_YComboBox_modelSelectionType_feature = Model Selection Type
+_UI_YComboBox_modelSelectionTypeQualifiedName_feature = Model Selection Type Qualified Name
+_UI_YFilteringComponent_hideGrid_feature = Hide Grid
+_UI_YKanban_datadescription_feature = Datadescription
+_UI_YKanban_selectionType_feature = Selection Type
+_UI_YKanban_selection_feature = Selection
+_UI_YKanban_type_feature = Type
+_UI_YKanban_emfNsURI_feature = Emf Ns URI
+_UI_YKanban_typeQualifiedName_feature = Type Qualified Name
+_UI_YKanban_cardECViewId_feature = Card EC View Id
+_UI_YKanban_editDialogId_feature = Edit Dialog Id
+_UI_YKanban_doubleClicked_feature = Double Clicked
+_UI_YKanban_stateChanged_feature = State Changed
+_UI_YKanban_toRefresh_feature = To Refresh
+_UI_YTable_pageLength_feature = Page Length
+_UI_YDialogComponent_type = YDialog Component
+_UI_YBeanReferenceField_dialogComponent_feature = Dialog Component
+_UI_YDialogComponent_type_feature = Type
+_UI_YDialogComponent_emfNsURI_feature = Emf Ns URI
+_UI_YDialogComponent_typeQualifiedName_feature = Type Qualified Name
+_UI_YDialogComponent_saveDialog_feature = Save Dialog
+_UI_YDialogComponent_cancelDialog_feature = Cancel Dialog
+_UI_YDialogComponent_dialogFQN_feature = Dialog FQN
+_UI_YDialogComponent_viewContext_feature = View Context
+_UI_YDialogComponent_callback_feature = Callback
+_UI_YDialogComponent_viewContextCallback_feature = View Context Callback
+_UI_YDialogComponent_updateCallback_feature = Update Callback
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/ExtensionModelItemProviderAdapterFactory.java b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/ExtensionModelItemProviderAdapterFactory.java
index f615e06..2b77193 100644
--- a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/ExtensionModelItemProviderAdapterFactory.java
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/ExtensionModelItemProviderAdapterFactory.java
@@ -1420,6 +1420,75 @@
}
/**
+ * This keeps track of the one adapter used for all {@link org.eclipse.osbp.ecview.core.extension.model.extension.YKanban} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected YKanbanItemProvider yKanbanItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.osbp.ecview.core.extension.model.extension.YKanban}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createYKanbanAdapter() {
+ if (yKanbanItemProvider == null) {
+ yKanbanItemProvider = new YKanbanItemProvider(this);
+ }
+
+ return yKanbanItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.osbp.ecview.core.extension.model.extension.YKanbanVisibilityProcessor} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected YKanbanVisibilityProcessorItemProvider yKanbanVisibilityProcessorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.osbp.ecview.core.extension.model.extension.YKanbanVisibilityProcessor}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createYKanbanVisibilityProcessorAdapter() {
+ if (yKanbanVisibilityProcessorItemProvider == null) {
+ yKanbanVisibilityProcessorItemProvider = new YKanbanVisibilityProcessorItemProvider(this);
+ }
+
+ return yKanbanVisibilityProcessorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected YDialogComponentItemProvider yDialogComponentItemProvider;
+
+ /**
+ * This creates an adapter for a {@link org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createYDialogComponentAdapter() {
+ if (yDialogComponentItemProvider == null) {
+ yDialogComponentItemProvider = new YDialogComponentItemProvider(this);
+ }
+
+ return yDialogComponentItemProvider;
+ }
+
+ /**
* This returns the root adapter factory that contains this factory.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1586,8 +1655,8 @@
if (ySplitPanelItemProvider != null) ySplitPanelItemProvider.dispose();
if (ySearchPanelItemProvider != null) ySearchPanelItemProvider.dispose();
if (yEnumOptionsGroupItemProvider != null) yEnumOptionsGroupItemProvider.dispose();
- if (yEnumListItemProvider != null) yEnumListItemProvider.dispose();
if (yEnumComboBoxItemProvider != null) yEnumComboBoxItemProvider.dispose();
+ if (yEnumListItemProvider != null) yEnumListItemProvider.dispose();
if (yAddToTableCommandItemProvider != null) yAddToTableCommandItemProvider.dispose();
if (yRemoveFromTableCommandItemProvider != null) yRemoveFromTableCommandItemProvider.dispose();
if (yBrowserStreamInputItemProvider != null) yBrowserStreamInputItemProvider.dispose();
@@ -1602,6 +1671,9 @@
if (yFilteringComponentItemProvider != null) yFilteringComponentItemProvider.dispose();
if (yFilterDescriptorItemProvider != null) yFilterDescriptorItemProvider.dispose();
if (yFilterTableDescriptorItemProvider != null) yFilterTableDescriptorItemProvider.dispose();
+ if (yKanbanItemProvider != null) yKanbanItemProvider.dispose();
+ if (yKanbanVisibilityProcessorItemProvider != null) yKanbanVisibilityProcessorItemProvider.dispose();
+ if (yDialogComponentItemProvider != null) yDialogComponentItemProvider.dispose();
}
/**
@@ -1819,12 +1891,12 @@
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
- ExtensionModelFactory.eINSTANCE.createYEnumList()));
+ ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
- ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
+ ExtensionModelFactory.eINSTANCE.createYEnumList()));
newChildDescriptors.add
(createChildParameter
@@ -1851,6 +1923,11 @@
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
ExtensionModelFactory.eINSTANCE.createYFilteringComponent()));
+ newChildDescriptors.add
+ (createChildParameter
+ (CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
+ ExtensionModelFactory.eINSTANCE.createYKanban()));
+
return null;
}
@@ -2029,12 +2106,12 @@
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YVIEW__CONTENT,
- ExtensionModelFactory.eINSTANCE.createYEnumList()));
+ ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YVIEW__CONTENT,
- ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
+ ExtensionModelFactory.eINSTANCE.createYEnumList()));
newChildDescriptors.add
(createChildParameter
@@ -2061,6 +2138,16 @@
(CoreModelPackage.Literals.YVIEW__CONTENT,
ExtensionModelFactory.eINSTANCE.createYFilteringComponent()));
+ newChildDescriptors.add
+ (createChildParameter
+ (CoreModelPackage.Literals.YVIEW__CONTENT,
+ ExtensionModelFactory.eINSTANCE.createYKanban()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (CoreModelPackage.Literals.YVIEW__VISIBILITY_PROCESSORS,
+ ExtensionModelFactory.eINSTANCE.createYKanbanVisibilityProcessor()));
+
return null;
}
@@ -2239,12 +2326,12 @@
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YDIALOG__CONTENT,
- ExtensionModelFactory.eINSTANCE.createYEnumList()));
+ ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YDIALOG__CONTENT,
- ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
+ ExtensionModelFactory.eINSTANCE.createYEnumList()));
newChildDescriptors.add
(createChildParameter
@@ -2271,6 +2358,11 @@
(CoreModelPackage.Literals.YDIALOG__CONTENT,
ExtensionModelFactory.eINSTANCE.createYFilteringComponent()));
+ newChildDescriptors.add
+ (createChildParameter
+ (CoreModelPackage.Literals.YDIALOG__CONTENT,
+ ExtensionModelFactory.eINSTANCE.createYKanban()));
+
return null;
}
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YAbsoluteLayoutItemProvider.java b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YAbsoluteLayoutItemProvider.java
index fa6c7bf..d80cb26 100644
--- a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YAbsoluteLayoutItemProvider.java
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YAbsoluteLayoutItemProvider.java
@@ -443,12 +443,12 @@
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
- ExtensionModelFactory.eINSTANCE.createYEnumList()));
+ ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
- ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
+ ExtensionModelFactory.eINSTANCE.createYEnumList()));
newChildDescriptors.add
(createChildParameter
@@ -477,6 +477,11 @@
newChildDescriptors.add
(createChildParameter
+ (CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
+ ExtensionModelFactory.eINSTANCE.createYKanban()));
+
+ newChildDescriptors.add
+ (createChildParameter
(ExtensionModelPackage.Literals.YABSOLUTE_LAYOUT__CELL_STYLES,
ExtensionModelFactory.eINSTANCE.createYAbsoluteLayoutCellStyle()));
}
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YBeanReferenceFieldItemProvider.java b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YBeanReferenceFieldItemProvider.java
index c90c6e0..1db98ba 100644
--- a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YBeanReferenceFieldItemProvider.java
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YBeanReferenceFieldItemProvider.java
@@ -27,7 +27,6 @@
import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ViewerNotification;
-
import org.eclipse.osbp.ecview.core.common.model.core.CoreModelPackage;
import org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelFactory;
@@ -516,6 +515,7 @@
if (childrenFeatures == null) {
super.getChildrenFeatures(object);
childrenFeatures.add(ExtensionModelPackage.Literals.YBEAN_REFERENCE_FIELD__FILTERING_COMPONENT);
+ childrenFeatures.add(ExtensionModelPackage.Literals.YBEAN_REFERENCE_FIELD__DIALOG_COMPONENT);
}
return childrenFeatures;
}
@@ -589,6 +589,7 @@
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
case ExtensionModelPackage.YBEAN_REFERENCE_FIELD__FILTERING_COMPONENT:
+ case ExtensionModelPackage.YBEAN_REFERENCE_FIELD__DIALOG_COMPONENT:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
return;
}
@@ -610,6 +611,11 @@
(createChildParameter
(ExtensionModelPackage.Literals.YBEAN_REFERENCE_FIELD__FILTERING_COMPONENT,
ExtensionModelFactory.eINSTANCE.createYFilteringComponent()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ExtensionModelPackage.Literals.YBEAN_REFERENCE_FIELD__DIALOG_COMPONENT,
+ ExtensionModelFactory.eINSTANCE.createYDialogComponent()));
}
/**
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YComboBoxItemProvider.java b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YComboBoxItemProvider.java
index 018ada0..f8fceb4 100644
--- a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YComboBoxItemProvider.java
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YComboBoxItemProvider.java
@@ -74,6 +74,8 @@
addImagePropertyPropertyDescriptor(object);
addDescriptionPropertyPropertyDescriptor(object);
addDescriptionPropertyDescriptor(object);
+ addModelSelectionTypePropertyDescriptor(object);
+ addModelSelectionTypeQualifiedNamePropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
@@ -387,6 +389,50 @@
}
/**
+ * This adds a property descriptor for the Model Selection Type feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addModelSelectionTypePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YComboBox_modelSelectionType_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YComboBox_modelSelectionType_feature", "_UI_YComboBox_type"),
+ ExtensionModelPackage.Literals.YCOMBO_BOX__MODEL_SELECTION_TYPE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Model Selection Type Qualified Name feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addModelSelectionTypeQualifiedNamePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YComboBox_modelSelectionTypeQualifiedName_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YComboBox_modelSelectionTypeQualifiedName_feature", "_UI_YComboBox_type"),
+ ExtensionModelPackage.Literals.YCOMBO_BOX__MODEL_SELECTION_TYPE_QUALIFIED_NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
* This returns YComboBox.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -434,6 +480,8 @@
case ExtensionModelPackage.YCOMBO_BOX__IMAGE_PROPERTY:
case ExtensionModelPackage.YCOMBO_BOX__DESCRIPTION_PROPERTY:
case ExtensionModelPackage.YCOMBO_BOX__DESCRIPTION:
+ case ExtensionModelPackage.YCOMBO_BOX__MODEL_SELECTION_TYPE:
+ case ExtensionModelPackage.YCOMBO_BOX__MODEL_SELECTION_TYPE_QUALIFIED_NAME:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
}
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YCssLayoutItemProvider.java b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YCssLayoutItemProvider.java
index c95f2de..b54c7c1 100644
--- a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YCssLayoutItemProvider.java
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YCssLayoutItemProvider.java
@@ -443,12 +443,12 @@
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
- ExtensionModelFactory.eINSTANCE.createYEnumList()));
+ ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
- ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
+ ExtensionModelFactory.eINSTANCE.createYEnumList()));
newChildDescriptors.add
(createChildParameter
@@ -477,6 +477,11 @@
newChildDescriptors.add
(createChildParameter
+ (CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
+ ExtensionModelFactory.eINSTANCE.createYKanban()));
+
+ newChildDescriptors.add
+ (createChildParameter
(ExtensionModelPackage.Literals.YCSS_LAYOUT__CELL_STYLES,
ExtensionModelFactory.eINSTANCE.createYCssLayoutCellStyle()));
}
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YDialogComponentItemProvider.java b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YDialogComponentItemProvider.java
new file mode 100644
index 0000000..92c59d2
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YDialogComponentItemProvider.java
@@ -0,0 +1,383 @@
+/**
+ */
+package org.eclipse.osbp.ecview.core.extension.model.extension.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.IChildCreationExtender;
+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.osbp.ecview.core.common.model.core.CoreModelFactory;
+import org.eclipse.osbp.ecview.core.common.model.core.CoreModelPackage;
+import org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage;
+import org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class YDialogComponentItemProvider 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 YDialogComponentItemProvider(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);
+
+ addTagsPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ addNamePropertyDescriptor(object);
+ addValueBindingEndpointPropertyDescriptor(object);
+ addCssClassPropertyDescriptor(object);
+ addCssIDPropertyDescriptor(object);
+ addViewContextCallbackPropertyDescriptor(object);
+ addTypePropertyDescriptor(object);
+ addUpdateCallbackPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Tags feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addTagsPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YTaggable_tags_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YTaggable_tags_feature", "_UI_YTaggable_type"),
+ CoreModelPackage.Literals.YTAGGABLE__TAGS,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addIdPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YElement_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YElement_id_feature", "_UI_YElement_type"),
+ CoreModelPackage.Literals.YELEMENT__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Name feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addNamePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YElement_name_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YElement_name_feature", "_UI_YElement_type"),
+ CoreModelPackage.Literals.YELEMENT__NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Value Binding Endpoint feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addValueBindingEndpointPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YValueBindable_valueBindingEndpoint_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YValueBindable_valueBindingEndpoint_feature", "_UI_YValueBindable_type"),
+ CoreModelPackage.Literals.YVALUE_BINDABLE__VALUE_BINDING_ENDPOINT,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Css Class feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addCssClassPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YCssAble_cssClass_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YCssAble_cssClass_feature", "_UI_YCssAble_type"),
+ CoreModelPackage.Literals.YCSS_ABLE__CSS_CLASS,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Css ID feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addCssIDPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YCssAble_cssID_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YCssAble_cssID_feature", "_UI_YCssAble_type"),
+ CoreModelPackage.Literals.YCSS_ABLE__CSS_ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the View Context Callback feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addViewContextCallbackPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YDialogComponent_viewContextCallback_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YDialogComponent_viewContextCallback_feature", "_UI_YDialogComponent_type"),
+ ExtensionModelPackage.Literals.YDIALOG_COMPONENT__VIEW_CONTEXT_CALLBACK,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Type feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addTypePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YDialogComponent_type_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YDialogComponent_type_feature", "_UI_YDialogComponent_type"),
+ ExtensionModelPackage.Literals.YDIALOG_COMPONENT__TYPE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Update Callback feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addUpdateCallbackPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YDialogComponent_updateCallback_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YDialogComponent_updateCallback_feature", "_UI_YDialogComponent_type"),
+ ExtensionModelPackage.Literals.YDIALOG_COMPONENT__UPDATE_CALLBACK,
+ 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(CoreModelPackage.Literals.YELEMENT__PROPERTIES);
+ }
+ 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 YDialogComponent.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/YDialogComponent"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((YDialogComponent)object).getName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_YDialogComponent_type") :
+ getString("_UI_YDialogComponent_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(YDialogComponent.class)) {
+ case ExtensionModelPackage.YDIALOG_COMPONENT__TAGS:
+ case ExtensionModelPackage.YDIALOG_COMPONENT__ID:
+ case ExtensionModelPackage.YDIALOG_COMPONENT__NAME:
+ case ExtensionModelPackage.YDIALOG_COMPONENT__CSS_CLASS:
+ case ExtensionModelPackage.YDIALOG_COMPONENT__CSS_ID:
+ case ExtensionModelPackage.YDIALOG_COMPONENT__VIEW_CONTEXT_CALLBACK:
+ case ExtensionModelPackage.YDIALOG_COMPONENT__TYPE:
+ case ExtensionModelPackage.YDIALOG_COMPONENT__UPDATE_CALLBACK:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case ExtensionModelPackage.YDIALOG_COMPONENT__PROPERTIES:
+ 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
+ (CoreModelPackage.Literals.YELEMENT__PROPERTIES,
+ CoreModelFactory.eINSTANCE.create(CoreModelPackage.Literals.YSTRING_TO_STRING_MAP)));
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return ((IChildCreationExtender)adapterFactory).getResourceLocator();
+ }
+
+}
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YFilteringComponentItemProvider.java b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YFilteringComponentItemProvider.java
index 13a3ab4..bdefc41 100644
--- a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YFilteringComponentItemProvider.java
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YFilteringComponentItemProvider.java
@@ -74,6 +74,7 @@
addFilterPropertyDescriptor(object);
addSelectionBeanSlotNamePropertyDescriptor(object);
addFilterColsPropertyDescriptor(object);
+ addHideGridPropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
@@ -299,6 +300,28 @@
}
/**
+ * This adds a property descriptor for the Hide Grid feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addHideGridPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YFilteringComponent_hideGrid_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YFilteringComponent_hideGrid_feature", "_UI_YFilteringComponent_type"),
+ ExtensionModelPackage.Literals.YFILTERING_COMPONENT__HIDE_GRID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.BOOLEAN_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}.
@@ -377,6 +400,7 @@
case ExtensionModelPackage.YFILTERING_COMPONENT__FILTER:
case ExtensionModelPackage.YFILTERING_COMPONENT__SELECTION_BEAN_SLOT_NAME:
case ExtensionModelPackage.YFILTERING_COMPONENT__FILTER_COLS:
+ case ExtensionModelPackage.YFILTERING_COMPONENT__HIDE_GRID:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
case ExtensionModelPackage.YFILTERING_COMPONENT__FILTER_DESCRIPTORS:
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YFormLayoutItemProvider.java b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YFormLayoutItemProvider.java
index c8dcbfb..c3853cc 100644
--- a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YFormLayoutItemProvider.java
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YFormLayoutItemProvider.java
@@ -443,12 +443,12 @@
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
- ExtensionModelFactory.eINSTANCE.createYEnumList()));
+ ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
- ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
+ ExtensionModelFactory.eINSTANCE.createYEnumList()));
newChildDescriptors.add
(createChildParameter
@@ -477,6 +477,11 @@
newChildDescriptors.add
(createChildParameter
+ (CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
+ ExtensionModelFactory.eINSTANCE.createYKanban()));
+
+ newChildDescriptors.add
+ (createChildParameter
(ExtensionModelPackage.Literals.YFORM_LAYOUT__CELL_STYLES,
ExtensionModelFactory.eINSTANCE.createYFormLayoutCellStyle()));
}
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YGridLayoutItemProvider.java b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YGridLayoutItemProvider.java
index cdb49ac..97ab652 100644
--- a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YGridLayoutItemProvider.java
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YGridLayoutItemProvider.java
@@ -467,12 +467,12 @@
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
- ExtensionModelFactory.eINSTANCE.createYEnumList()));
+ ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
- ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
+ ExtensionModelFactory.eINSTANCE.createYEnumList()));
newChildDescriptors.add
(createChildParameter
@@ -501,6 +501,11 @@
newChildDescriptors.add
(createChildParameter
+ (CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
+ ExtensionModelFactory.eINSTANCE.createYKanban()));
+
+ newChildDescriptors.add
+ (createChildParameter
(ExtensionModelPackage.Literals.YGRID_LAYOUT__CELL_STYLES,
ExtensionModelFactory.eINSTANCE.createYGridLayoutCellStyle()));
}
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YHorizontalLayoutItemProvider.java b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YHorizontalLayoutItemProvider.java
index 40c2db8..f7c13cf 100644
--- a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YHorizontalLayoutItemProvider.java
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YHorizontalLayoutItemProvider.java
@@ -443,12 +443,12 @@
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
- ExtensionModelFactory.eINSTANCE.createYEnumList()));
+ ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
- ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
+ ExtensionModelFactory.eINSTANCE.createYEnumList()));
newChildDescriptors.add
(createChildParameter
@@ -477,6 +477,11 @@
newChildDescriptors.add
(createChildParameter
+ (CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
+ ExtensionModelFactory.eINSTANCE.createYKanban()));
+
+ newChildDescriptors.add
+ (createChildParameter
(ExtensionModelPackage.Literals.YHORIZONTAL_LAYOUT__CELL_STYLES,
ExtensionModelFactory.eINSTANCE.createYHorizontalLayoutCellStyle()));
}
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YImageItemProvider.java b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YImageItemProvider.java
index b4f3f63..2912c03 100644
--- a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YImageItemProvider.java
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YImageItemProvider.java
@@ -61,6 +61,7 @@
addValueBindingEndpointPropertyDescriptor(object);
addDatadescriptionPropertyDescriptor(object);
addValuePropertyDescriptor(object);
+ addResourcePropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
@@ -132,6 +133,28 @@
}
/**
+ * This adds a property descriptor for the Resource feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addResourcePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YImage_resource_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YImage_resource_feature", "_UI_YImage_type"),
+ ExtensionModelPackage.Literals.YIMAGE__RESOURCE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
* This returns YImage.gif.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -170,6 +193,7 @@
switch (notification.getFeatureID(YImage.class)) {
case ExtensionModelPackage.YIMAGE__VALUE:
+ case ExtensionModelPackage.YIMAGE__RESOURCE:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
}
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YKanbanItemProvider.java b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YKanbanItemProvider.java
new file mode 100644
index 0000000..840169a
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YKanbanItemProvider.java
@@ -0,0 +1,443 @@
+/**
+ */
+package org.eclipse.osbp.ecview.core.extension.model.extension.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.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import org.eclipse.osbp.ecview.core.common.model.core.CoreModelPackage;
+
+import org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage;
+import org.eclipse.osbp.ecview.core.extension.model.extension.YKanban;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.osbp.ecview.core.extension.model.extension.YKanban} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class YKanbanItemProvider extends YInputItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public YKanbanItemProvider(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);
+
+ addSelectionBindingEndpointPropertyDescriptor(object);
+ addUseBeanServicePropertyDescriptor(object);
+ addDatadescriptionPropertyDescriptor(object);
+ addSelectionTypePropertyDescriptor(object);
+ addSelectionPropertyDescriptor(object);
+ addTypePropertyDescriptor(object);
+ addEmfNsURIPropertyDescriptor(object);
+ addTypeQualifiedNamePropertyDescriptor(object);
+ addCardECViewIdPropertyDescriptor(object);
+ addEditDialogIdPropertyDescriptor(object);
+ addDoubleClickedPropertyDescriptor(object);
+ addStateChangedPropertyDescriptor(object);
+ addToRefreshPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Selection Binding Endpoint feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addSelectionBindingEndpointPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YSelectionBindable_selectionBindingEndpoint_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YSelectionBindable_selectionBindingEndpoint_feature", "_UI_YSelectionBindable_type"),
+ CoreModelPackage.Literals.YSELECTION_BINDABLE__SELECTION_BINDING_ENDPOINT,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Use Bean Service feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addUseBeanServicePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YBeanServiceConsumer_useBeanService_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YBeanServiceConsumer_useBeanService_feature", "_UI_YBeanServiceConsumer_type"),
+ ExtensionModelPackage.Literals.YBEAN_SERVICE_CONSUMER__USE_BEAN_SERVICE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Datadescription feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addDatadescriptionPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YKanban_datadescription_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YKanban_datadescription_feature", "_UI_YKanban_type"),
+ ExtensionModelPackage.Literals.YKANBAN__DATADESCRIPTION,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Selection Type feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addSelectionTypePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YKanban_selectionType_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YKanban_selectionType_feature", "_UI_YKanban_type"),
+ ExtensionModelPackage.Literals.YKANBAN__SELECTION_TYPE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Selection feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addSelectionPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YKanban_selection_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YKanban_selection_feature", "_UI_YKanban_type"),
+ ExtensionModelPackage.Literals.YKANBAN__SELECTION,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Type feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addTypePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YKanban_type_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YKanban_type_feature", "_UI_YKanban_type"),
+ ExtensionModelPackage.Literals.YKANBAN__TYPE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Emf Ns URI feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addEmfNsURIPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YKanban_emfNsURI_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YKanban_emfNsURI_feature", "_UI_YKanban_type"),
+ ExtensionModelPackage.Literals.YKANBAN__EMF_NS_URI,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Type Qualified Name feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addTypeQualifiedNamePropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YKanban_typeQualifiedName_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YKanban_typeQualifiedName_feature", "_UI_YKanban_type"),
+ ExtensionModelPackage.Literals.YKANBAN__TYPE_QUALIFIED_NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Card EC View Id feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addCardECViewIdPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YKanban_cardECViewId_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YKanban_cardECViewId_feature", "_UI_YKanban_type"),
+ ExtensionModelPackage.Literals.YKANBAN__CARD_EC_VIEW_ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Edit Dialog Id feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addEditDialogIdPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YKanban_editDialogId_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YKanban_editDialogId_feature", "_UI_YKanban_type"),
+ ExtensionModelPackage.Literals.YKANBAN__EDIT_DIALOG_ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Double Clicked feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addDoubleClickedPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YKanban_doubleClicked_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YKanban_doubleClicked_feature", "_UI_YKanban_type"),
+ ExtensionModelPackage.Literals.YKANBAN__DOUBLE_CLICKED,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the State Changed feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addStateChangedPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YKanban_stateChanged_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YKanban_stateChanged_feature", "_UI_YKanban_type"),
+ ExtensionModelPackage.Literals.YKANBAN__STATE_CHANGED,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the To Refresh feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addToRefreshPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YKanban_toRefresh_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YKanban_toRefresh_feature", "_UI_YKanban_type"),
+ ExtensionModelPackage.Literals.YKANBAN__TO_REFRESH,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns YKanban.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/YKanban"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((YKanban)object).getName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_YKanban_type") :
+ getString("_UI_YKanban_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(YKanban.class)) {
+ case ExtensionModelPackage.YKANBAN__USE_BEAN_SERVICE:
+ case ExtensionModelPackage.YKANBAN__SELECTION_TYPE:
+ case ExtensionModelPackage.YKANBAN__SELECTION:
+ case ExtensionModelPackage.YKANBAN__TYPE:
+ case ExtensionModelPackage.YKANBAN__EMF_NS_URI:
+ case ExtensionModelPackage.YKANBAN__TYPE_QUALIFIED_NAME:
+ case ExtensionModelPackage.YKANBAN__CARD_EC_VIEW_ID:
+ case ExtensionModelPackage.YKANBAN__EDIT_DIALOG_ID:
+ case ExtensionModelPackage.YKANBAN__DOUBLE_CLICKED:
+ case ExtensionModelPackage.YKANBAN__STATE_CHANGED:
+ case ExtensionModelPackage.YKANBAN__TO_REFRESH:
+ 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);
+ }
+
+ /**
+ * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getCreateChildText(Object owner, Object feature, Object child, Collection<?> selection) {
+ Object childFeature = feature;
+ Object childObject = child;
+
+ boolean qualify =
+ childFeature == CoreModelPackage.Literals.YFIELD__VALIDATORS ||
+ childFeature == CoreModelPackage.Literals.YFIELD__INTERNAL_VALIDATORS;
+
+ if (qualify) {
+ return getString
+ ("_UI_CreateChild_text2",
+ new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) });
+ }
+ return super.getCreateChildText(owner, feature, child, selection);
+ }
+
+}
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YKanbanVisibilityProcessorItemProvider.java b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YKanbanVisibilityProcessorItemProvider.java
new file mode 100644
index 0000000..4c40f0c
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YKanbanVisibilityProcessorItemProvider.java
@@ -0,0 +1,126 @@
+/**
+ */
+package org.eclipse.osbp.ecview.core.extension.model.extension.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.edit.provider.IItemPropertyDescriptor;
+
+import org.eclipse.osbp.ecview.core.common.model.visibility.VisibilityPackage;
+
+import org.eclipse.osbp.ecview.core.common.model.visibility.provider.YVisibilityProcessorItemProvider;
+
+import org.eclipse.osbp.ecview.core.extension.model.extension.YKanbanVisibilityProcessor;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.osbp.ecview.core.extension.model.extension.YKanbanVisibilityProcessor} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class YKanbanVisibilityProcessorItemProvider extends YVisibilityProcessorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public YKanbanVisibilityProcessorItemProvider(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 returns YKanbanVisibilityProcessor.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/YKanbanVisibilityProcessor"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((YKanbanVisibilityProcessor)object).getName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_YKanbanVisibilityProcessor_type") :
+ getString("_UI_YKanbanVisibilityProcessor_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);
+ 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);
+ }
+
+ /**
+ * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getCreateChildText(Object owner, Object feature, Object child, Collection<?> selection) {
+ Object childFeature = feature;
+ Object childObject = child;
+
+ boolean qualify =
+ childFeature == VisibilityPackage.Literals.YVISIBILITY_PROCESSOR__DATA_USED ||
+ childFeature == VisibilityPackage.Literals.YVISIBILITY_PROCESSOR__TRIGGERS_ON;
+
+ if (qualify) {
+ return getString
+ ("_UI_CreateChild_text2",
+ new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) });
+ }
+ return super.getCreateChildText(owner, feature, child, selection);
+ }
+
+}
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YMasterDetailItemProvider.java b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YMasterDetailItemProvider.java
index 43870ad..670fc56 100644
--- a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YMasterDetailItemProvider.java
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YMasterDetailItemProvider.java
@@ -538,12 +538,12 @@
newChildDescriptors.add
(createChildParameter
(ExtensionModelPackage.Literals.YMASTER_DETAIL__MASTER_ELEMENT,
- ExtensionModelFactory.eINSTANCE.createYEnumList()));
+ ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
newChildDescriptors.add
(createChildParameter
(ExtensionModelPackage.Literals.YMASTER_DETAIL__MASTER_ELEMENT,
- ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
+ ExtensionModelFactory.eINSTANCE.createYEnumList()));
newChildDescriptors.add
(createChildParameter
@@ -573,6 +573,11 @@
newChildDescriptors.add
(createChildParameter
(ExtensionModelPackage.Literals.YMASTER_DETAIL__MASTER_ELEMENT,
+ ExtensionModelFactory.eINSTANCE.createYKanban()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ExtensionModelPackage.Literals.YMASTER_DETAIL__MASTER_ELEMENT,
CoreModelFactory.eINSTANCE.createYLayout()));
newChildDescriptors.add
@@ -758,12 +763,12 @@
newChildDescriptors.add
(createChildParameter
(ExtensionModelPackage.Literals.YMASTER_DETAIL__DETAIL_ELEMENT,
- ExtensionModelFactory.eINSTANCE.createYEnumList()));
+ ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
newChildDescriptors.add
(createChildParameter
(ExtensionModelPackage.Literals.YMASTER_DETAIL__DETAIL_ELEMENT,
- ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
+ ExtensionModelFactory.eINSTANCE.createYEnumList()));
newChildDescriptors.add
(createChildParameter
@@ -793,6 +798,11 @@
newChildDescriptors.add
(createChildParameter
(ExtensionModelPackage.Literals.YMASTER_DETAIL__DETAIL_ELEMENT,
+ ExtensionModelFactory.eINSTANCE.createYKanban()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ExtensionModelPackage.Literals.YMASTER_DETAIL__DETAIL_ELEMENT,
CoreModelFactory.eINSTANCE.createYLayout()));
newChildDescriptors.add
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YPanelItemProvider.java b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YPanelItemProvider.java
index dd2b62f..f3cf8c1 100644
--- a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YPanelItemProvider.java
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YPanelItemProvider.java
@@ -502,12 +502,12 @@
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
- ExtensionModelFactory.eINSTANCE.createYEnumList()));
+ ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
- ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
+ ExtensionModelFactory.eINSTANCE.createYEnumList()));
newChildDescriptors.add
(createChildParameter
@@ -533,6 +533,11 @@
(createChildParameter
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
ExtensionModelFactory.eINSTANCE.createYFilteringComponent()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
+ ExtensionModelFactory.eINSTANCE.createYKanban()));
}
}
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YSearchPanelItemProvider.java b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YSearchPanelItemProvider.java
index 01b135f..0565f5e 100644
--- a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YSearchPanelItemProvider.java
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YSearchPanelItemProvider.java
@@ -529,12 +529,12 @@
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
- ExtensionModelFactory.eINSTANCE.createYEnumList()));
+ ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
- ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
+ ExtensionModelFactory.eINSTANCE.createYEnumList()));
newChildDescriptors.add
(createChildParameter
@@ -560,6 +560,11 @@
(createChildParameter
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
ExtensionModelFactory.eINSTANCE.createYFilteringComponent()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
+ ExtensionModelFactory.eINSTANCE.createYKanban()));
}
}
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YSplitPanelItemProvider.java b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YSplitPanelItemProvider.java
index 8326ac3..217656d 100644
--- a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YSplitPanelItemProvider.java
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YSplitPanelItemProvider.java
@@ -490,12 +490,12 @@
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
- ExtensionModelFactory.eINSTANCE.createYEnumList()));
+ ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
- ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
+ ExtensionModelFactory.eINSTANCE.createYEnumList()));
newChildDescriptors.add
(createChildParameter
@@ -524,6 +524,11 @@
newChildDescriptors.add
(createChildParameter
+ (CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
+ ExtensionModelFactory.eINSTANCE.createYKanban()));
+
+ newChildDescriptors.add
+ (createChildParameter
(ExtensionModelPackage.Literals.YSPLIT_PANEL__CELL_STYLES,
ExtensionModelFactory.eINSTANCE.createYHorizontalLayoutCellStyle()));
}
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YTabItemProvider.java b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YTabItemProvider.java
index 0af0c93..b4053f4 100644
--- a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YTabItemProvider.java
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YTabItemProvider.java
@@ -487,12 +487,12 @@
newChildDescriptors.add
(createChildParameter
(ExtensionModelPackage.Literals.YTAB__EMBEDDABLE,
- ExtensionModelFactory.eINSTANCE.createYEnumList()));
+ ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
newChildDescriptors.add
(createChildParameter
(ExtensionModelPackage.Literals.YTAB__EMBEDDABLE,
- ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
+ ExtensionModelFactory.eINSTANCE.createYEnumList()));
newChildDescriptors.add
(createChildParameter
@@ -522,6 +522,11 @@
newChildDescriptors.add
(createChildParameter
(ExtensionModelPackage.Literals.YTAB__EMBEDDABLE,
+ ExtensionModelFactory.eINSTANCE.createYKanban()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (ExtensionModelPackage.Literals.YTAB__EMBEDDABLE,
CoreModelFactory.eINSTANCE.createYLayout()));
newChildDescriptors.add
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YTableItemProvider.java b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YTableItemProvider.java
index 664047f..a5175ea 100644
--- a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YTableItemProvider.java
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YTableItemProvider.java
@@ -81,6 +81,7 @@
addRefreshPropertyDescriptor(object);
addDoSortPropertyDescriptor(object);
addScrollToBottomPropertyDescriptor(object);
+ addPageLengthPropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
@@ -482,6 +483,28 @@
}
/**
+ * This adds a property descriptor for the Page Length feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addPageLengthPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_YTable_pageLength_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_YTable_pageLength_feature", "_UI_YTable_type"),
+ ExtensionModelPackage.Literals.YTABLE__PAGE_LENGTH,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.INTEGRAL_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}.
@@ -563,6 +586,7 @@
case ExtensionModelPackage.YTABLE__REFRESH:
case ExtensionModelPackage.YTABLE__DO_SORT:
case ExtensionModelPackage.YTABLE__SCROLL_TO_BOTTOM:
+ case ExtensionModelPackage.YTABLE__PAGE_LENGTH:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
case ExtensionModelPackage.YTABLE__COLUMNS:
diff --git a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YVerticalLayoutItemProvider.java b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YVerticalLayoutItemProvider.java
index 9b0fea4..954ff52 100644
--- a/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YVerticalLayoutItemProvider.java
+++ b/org.eclipse.osbp.ecview.core.extension.model.edit/src/org/eclipse/osbp/ecview/core/extension/model/extension/provider/YVerticalLayoutItemProvider.java
@@ -443,12 +443,12 @@
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
- ExtensionModelFactory.eINSTANCE.createYEnumList()));
+ ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
newChildDescriptors.add
(createChildParameter
(CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
- ExtensionModelFactory.eINSTANCE.createYEnumComboBox()));
+ ExtensionModelFactory.eINSTANCE.createYEnumList()));
newChildDescriptors.add
(createChildParameter
@@ -477,6 +477,11 @@
newChildDescriptors.add
(createChildParameter
+ (CoreModelPackage.Literals.YLAYOUT__ELEMENTS,
+ ExtensionModelFactory.eINSTANCE.createYKanban()));
+
+ newChildDescriptors.add
+ (createChildParameter
(ExtensionModelPackage.Literals.YVERTICAL_LAYOUT__CELL_STYLES,
ExtensionModelFactory.eINSTANCE.createYVerticalLayoutCellStyle()));
}
diff --git a/org.eclipse.osbp.ecview.core.extension.model.tests/src/org/eclipse/osbp/ecview/core/extension/model/extension/tests/ExtensionModelTests.java b/org.eclipse.osbp.ecview.core.extension.model.tests/src/org/eclipse/osbp/ecview/core/extension/model/extension/tests/ExtensionModelTests.java
index 1b68a0c..c8a4c95 100644
--- a/org.eclipse.osbp.ecview.core.extension.model.tests/src/org/eclipse/osbp/ecview/core/extension/model/extension/tests/ExtensionModelTests.java
+++ b/org.eclipse.osbp.ecview.core.extension.model.tests/src/org/eclipse/osbp/ecview/core/extension/model/extension/tests/ExtensionModelTests.java
@@ -66,8 +66,8 @@
suite.addTestSuite(YSplitPanelTest.class);
suite.addTestSuite(YSearchPanelTest.class);
suite.addTestSuite(YEnumOptionsGroupTest.class);
- suite.addTestSuite(YEnumListTest.class);
suite.addTestSuite(YEnumComboBoxTest.class);
+ suite.addTestSuite(YEnumListTest.class);
suite.addTestSuite(YAddToTableCommandTest.class);
suite.addTestSuite(YRemoveFromTableCommandTest.class);
suite.addTestSuite(YSetNewBeanInstanceCommandTest.class);
@@ -76,6 +76,8 @@
suite.addTestSuite(YSuggestTextFieldTest.class);
suite.addTestSuite(YPasswordFieldTest.class);
suite.addTestSuite(YFilteringComponentTest.class);
+ suite.addTestSuite(YKanbanTest.class);
+ suite.addTestSuite(YDialogComponentTest.class);
return suite;
}
diff --git a/org.eclipse.osbp.ecview.core.extension.model.tests/src/org/eclipse/osbp/ecview/core/extension/model/extension/tests/YDialogComponentTest.java b/org.eclipse.osbp.ecview.core.extension.model.tests/src/org/eclipse/osbp/ecview/core/extension/model/extension/tests/YDialogComponentTest.java
new file mode 100644
index 0000000..3abf75f
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.tests/src/org/eclipse/osbp/ecview/core/extension/model/extension/tests/YDialogComponentTest.java
@@ -0,0 +1,108 @@
+/**
+ */
+package org.eclipse.osbp.ecview.core.extension.model.extension.tests;
+
+import junit.framework.TestCase;
+
+import junit.textui.TestRunner;
+
+import org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelFactory;
+import org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent;
+
+/**
+ * <!-- begin-user-doc -->
+ * A test case for the model object '<em><b>YDialog Component</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following operations are tested:
+ * <ul>
+ * <li>{@link org.eclipse.osbp.ecview.core.common.model.core.YValueBindable#createValueEndpoint() <em>Create Value Endpoint</em>}</li>
+ * </ul>
+ * </p>
+ * @generated
+ */
+public class YDialogComponentTest extends TestCase {
+
+ /**
+ * The fixture for this YDialog Component test case.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected YDialogComponent fixture = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static void main(String[] args) {
+ TestRunner.run(YDialogComponentTest.class);
+ }
+
+ /**
+ * Constructs a new YDialog Component test case with the given name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public YDialogComponentTest(String name) {
+ super(name);
+ }
+
+ /**
+ * Sets the fixture for this YDialog Component test case.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void setFixture(YDialogComponent fixture) {
+ this.fixture = fixture;
+ }
+
+ /**
+ * Returns the fixture for this YDialog Component test case.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected YDialogComponent getFixture() {
+ return fixture;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see junit.framework.TestCase#setUp()
+ * @generated
+ */
+ @Override
+ protected void setUp() throws Exception {
+ setFixture(ExtensionModelFactory.eINSTANCE.createYDialogComponent());
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see junit.framework.TestCase#tearDown()
+ * @generated
+ */
+ @Override
+ protected void tearDown() throws Exception {
+ setFixture(null);
+ }
+
+ /**
+ * Tests the '{@link org.eclipse.osbp.ecview.core.common.model.core.YValueBindable#createValueEndpoint() <em>Create Value Endpoint</em>}' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.osbp.ecview.core.common.model.core.YValueBindable#createValueEndpoint()
+ * @generated
+ */
+ public void testCreateValueEndpoint() {
+ // TODO: implement this operation test method
+ // Ensure that you remove @generated or mark it @generated NOT
+ fail();
+ }
+
+} //YDialogComponentTest
diff --git a/org.eclipse.osbp.ecview.core.extension.model.tests/src/org/eclipse/osbp/ecview/core/extension/model/extension/tests/YKanbanTest.java b/org.eclipse.osbp.ecview.core.extension.model.tests/src/org/eclipse/osbp/ecview/core/extension/model/extension/tests/YKanbanTest.java
new file mode 100644
index 0000000..93a0732
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.tests/src/org/eclipse/osbp/ecview/core/extension/model/extension/tests/YKanbanTest.java
@@ -0,0 +1,89 @@
+/**
+ */
+package org.eclipse.osbp.ecview.core.extension.model.extension.tests;
+
+import junit.textui.TestRunner;
+
+import org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelFactory;
+import org.eclipse.osbp.ecview.core.extension.model.extension.YKanban;
+
+/**
+ * <!-- begin-user-doc -->
+ * A test case for the model object '<em><b>YKanban</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following operations are tested:
+ * <ul>
+ * <li>{@link org.eclipse.osbp.ecview.core.common.model.core.YSelectionBindable#createSelectionEndpoint() <em>Create Selection Endpoint</em>}</li>
+ * </ul>
+ * </p>
+ * @generated
+ */
+public class YKanbanTest extends YInputTest {
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static void main(String[] args) {
+ TestRunner.run(YKanbanTest.class);
+ }
+
+ /**
+ * Constructs a new YKanban test case with the given name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public YKanbanTest(String name) {
+ super(name);
+ }
+
+ /**
+ * Returns the fixture for this YKanban test case.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected YKanban getFixture() {
+ return (YKanban)fixture;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see junit.framework.TestCase#setUp()
+ * @generated
+ */
+ @Override
+ protected void setUp() throws Exception {
+ setFixture(ExtensionModelFactory.eINSTANCE.createYKanban());
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see junit.framework.TestCase#tearDown()
+ * @generated
+ */
+ @Override
+ protected void tearDown() throws Exception {
+ setFixture(null);
+ }
+
+ /**
+ * Tests the '{@link org.eclipse.osbp.ecview.core.common.model.core.YSelectionBindable#createSelectionEndpoint() <em>Create Selection Endpoint</em>}' operation.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.osbp.ecview.core.common.model.core.YSelectionBindable#createSelectionEndpoint()
+ * @generated
+ */
+ public void testCreateSelectionEndpoint() {
+ // TODO: implement this operation test method
+ // Ensure that you remove @generated or mark it @generated NOT
+ fail();
+ }
+
+} //YKanbanTest
diff --git a/org.eclipse.osbp.ecview.core.extension.model.tests/src/org/eclipse/osbp/ecview/core/extension/model/extension/tests/YKanbanVisibilityProcessorTest.java b/org.eclipse.osbp.ecview.core.extension.model.tests/src/org/eclipse/osbp/ecview/core/extension/model/extension/tests/YKanbanVisibilityProcessorTest.java
new file mode 100644
index 0000000..2cdd238
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model.tests/src/org/eclipse/osbp/ecview/core/extension/model/extension/tests/YKanbanVisibilityProcessorTest.java
@@ -0,0 +1,89 @@
+/**
+ */
+package org.eclipse.osbp.ecview.core.extension.model.extension.tests;
+
+import junit.framework.TestCase;
+
+import junit.textui.TestRunner;
+
+import org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelFactory;
+import org.eclipse.osbp.ecview.core.extension.model.extension.YKanbanVisibilityProcessor;
+
+/**
+ * <!-- begin-user-doc -->
+ * A test case for the model object '<em><b>YKanban Visibility Processor</b></em>'.
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class YKanbanVisibilityProcessorTest extends TestCase {
+
+ /**
+ * The fixture for this YKanban Visibility Processor test case.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected YKanbanVisibilityProcessor fixture = null;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static void main(String[] args) {
+ TestRunner.run(YKanbanVisibilityProcessorTest.class);
+ }
+
+ /**
+ * Constructs a new YKanban Visibility Processor test case with the given name.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public YKanbanVisibilityProcessorTest(String name) {
+ super(name);
+ }
+
+ /**
+ * Sets the fixture for this YKanban Visibility Processor test case.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void setFixture(YKanbanVisibilityProcessor fixture) {
+ this.fixture = fixture;
+ }
+
+ /**
+ * Returns the fixture for this YKanban Visibility Processor test case.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected YKanbanVisibilityProcessor getFixture() {
+ return fixture;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see junit.framework.TestCase#setUp()
+ * @generated
+ */
+ @Override
+ protected void setUp() throws Exception {
+ setFixture(ExtensionModelFactory.eINSTANCE.createYKanbanVisibilityProcessor());
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see junit.framework.TestCase#tearDown()
+ * @generated
+ */
+ @Override
+ protected void tearDown() throws Exception {
+ setFixture(null);
+ }
+
+} //YKanbanVisibilityProcessorTest
diff --git a/org.eclipse.osbp.ecview.core.extension.model/model/extension.ecore b/org.eclipse.osbp.ecview.core.extension.model/model/extension.ecore
index fdcea7d..71db92b 100644
--- a/org.eclipse.osbp.ecview.core.extension.model/model/extension.ecore
+++ b/org.eclipse.osbp.ecview.core.extension.model/model/extension.ecore
@@ -117,6 +117,7 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="doSort" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"
transient="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="scrollToBottom" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="pageLength" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EInt"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="YColumn" eSuperTypes="../../org.eclipse.osbp.ecview.core.common.model/model/core.ecore#//YElement">
<eStructuralFeatures xsi:type="ecore:EAttribute" name="icon" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
@@ -277,6 +278,8 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="required" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EBoolean"/>
<eStructuralFeatures xsi:type="ecore:EReference" name="filteringComponent" eType="#//YFilteringComponent"
containment="true"/>
+ <eStructuralFeatures xsi:type="ecore:EReference" name="dialogComponent" eType="#//YDialogComponent"
+ containment="true"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="YTextArea" eSuperTypes="#//YInput ../../org.eclipse.osbp.ecview.core.common.model/model/core.ecore#//YValueBindable ../../org.eclipse.osbp.ecview.core.common.model/model/core.ecore#//YFocusNotifier ../../org.eclipse.osbp.ecview.core.common.model/model/core.ecore#//YBlurNotifier ../../org.eclipse.osbp.ecview.core.common.model/model/core.ecore#//YTextChangeNotifier">
<eStructuralFeatures xsi:type="ecore:EReference" name="datadescription" eType="ecore:EClass ../../org.eclipse.osbp.ecview.core.common.model/model/datatypes.ecore#//YDatadescription"/>
@@ -459,7 +462,11 @@
<eStructuralFeatures xsi:type="ecore:EAttribute" name="wildcard" eType="#//YSearchWildcards"
transient="true"/>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="propertyPath" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
- <eStructuralFeatures xsi:type="ecore:EAttribute" name="type" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaClass"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="type">
+ <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaClass">
+ <eTypeArguments/>
+ </eGenericType>
+ </eStructuralFeatures>
<eStructuralFeatures xsi:type="ecore:EAttribute" name="typeQualifiedName" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EString"/>
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="YReferenceSearchField" eSuperTypes="#//YSearchField">
@@ -744,4 +751,13 @@
</eClassifiers>
<eClassifiers xsi:type="ecore:EClass" name="YKanbanVisibilityProcessor" eSuperTypes="../../org.eclipse.osbp.ecview.core.common.model/model/visibility.ecore#//YVisibilityProcessor"/>
<eClassifiers xsi:type="ecore:EDataType" name="YKanbanEvent" instanceClassName="org.eclipse.osbp.ecview.core.extension.model.extension.YKanbanEvent"/>
+ <eClassifiers xsi:type="ecore:EClass" name="YDialogComponent" eSuperTypes="../../org.eclipse.osbp.ecview.core.common.model/model/core.ecore#//YElement ../../org.eclipse.osbp.ecview.core.common.model/model/core.ecore#//YValueBindable ../../org.eclipse.osbp.ecview.core.common.model/model/core.ecore#//YCssAble">
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="viewContextCallback" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="type">
+ <eGenericType eClassifier="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaClass">
+ <eTypeArguments/>
+ </eGenericType>
+ </eStructuralFeatures>
+ <eStructuralFeatures xsi:type="ecore:EAttribute" name="updateCallback" eType="ecore:EDataType http://www.eclipse.org/emf/2002/Ecore#//EJavaObject"/>
+ </eClassifiers>
</ecore:EPackage>
diff --git a/org.eclipse.osbp.ecview.core.extension.model/model/extension.genmodel b/org.eclipse.osbp.ecview.core.extension.model/model/extension.genmodel
index 9385bde..ded659c 100644
--- a/org.eclipse.osbp.ecview.core.extension.model/model/extension.genmodel
+++ b/org.eclipse.osbp.ecview.core.extension.model/model/extension.genmodel
@@ -69,8 +69,22 @@
<genEnumLiterals ecoreEnumLiteral="extension.ecore#//YSearchWildcards/NE"/>
<genEnumLiterals ecoreEnumLiteral="extension.ecore#//YSearchWildcards/ANY"/>
</genEnums>
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="extension.ecore#//YSuggestTextFieldEvents">
+ <genEnumLiterals ecoreEnumLiteral="extension.ecore#//YSuggestTextFieldEvents/OPEN_POPUP"/>
+ <genEnumLiterals ecoreEnumLiteral="extension.ecore#//YSuggestTextFieldEvents/CLOSE_POPUP"/>
+ <genEnumLiterals ecoreEnumLiteral="extension.ecore#//YSuggestTextFieldEvents/NAVIGATE_NEXT"/>
+ <genEnumLiterals ecoreEnumLiteral="extension.ecore#//YSuggestTextFieldEvents/NAVIGATE_PREV"/>
+ <genEnumLiterals ecoreEnumLiteral="extension.ecore#//YSuggestTextFieldEvents/SELECT"/>
+ <genEnumLiterals ecoreEnumLiteral="extension.ecore#//YSuggestTextFieldEvents/CLEAR"/>
+ <genEnumLiterals ecoreEnumLiteral="extension.ecore#//YSuggestTextFieldEvents/SELECTED"/>
+ </genEnums>
+ <genEnums typeSafeEnumCompatible="false" ecoreEnum="extension.ecore#//YFilteringType">
+ <genEnumLiterals ecoreEnumLiteral="extension.ecore#//YFilteringType/COMPARE"/>
+ <genEnumLiterals ecoreEnumLiteral="extension.ecore#//YFilteringType/RANGE"/>
+ </genEnums>
<genDataTypes ecoreDataType="extension.ecore#//YButtonClickListener"/>
<genDataTypes ecoreDataType="extension.ecore#//YInputStream"/>
+ <genDataTypes ecoreDataType="extension.ecore#//YKanbanEvent"/>
<genClasses image="false" ecoreClass="extension.ecore#//YInput"/>
<genClasses ecoreClass="extension.ecore#//YGridLayout">
<genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference extension.ecore#//YGridLayout/cellStyles"/>
@@ -127,6 +141,10 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YTable/itemImageProperty"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YTable/filter"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YTable/refresh"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference extension.ecore#//YTable/sortOrder"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YTable/doSort"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YTable/scrollToBottom"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YTable/pageLength"/>
</genClasses>
<genClasses ecoreClass="extension.ecore#//YColumn">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YColumn/icon"/>
@@ -143,6 +161,12 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YColumn/type"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YColumn/typeQualifiedName"/>
</genClasses>
+ <genClasses ecoreClass="extension.ecore#//YSortColumn">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YSortColumn/propertyPath"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YSortColumn/type"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YSortColumn/typeQualifiedName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YSortColumn/asc"/>
+ </genClasses>
<genClasses ecoreClass="extension.ecore#//YTree">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference extension.ecore#//YTree/datatype"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference extension.ecore#//YTree/datadescription"/>
@@ -191,6 +215,7 @@
<genClasses ecoreClass="extension.ecore#//YImage">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference extension.ecore#//YImage/datadescription"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YImage/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YImage/resource"/>
</genClasses>
<genClasses ecoreClass="extension.ecore#//YTextField">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference extension.ecore#//YTextField/datatype"/>
@@ -212,6 +237,9 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YBeanReferenceField/referenceSourceType"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YBeanReferenceField/referenceSourceTypeQualifiedName"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YBeanReferenceField/referenceSourceTypeProperty"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YBeanReferenceField/required"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference extension.ecore#//YBeanReferenceField/filteringComponent"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference extension.ecore#//YBeanReferenceField/dialogComponent"/>
</genClasses>
<genClasses ecoreClass="extension.ecore#//YTextArea">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference extension.ecore#//YTextArea/datadescription"/>
@@ -257,11 +285,14 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YComboBox/imageProperty"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YComboBox/descriptionProperty"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YComboBox/description"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YComboBox/modelSelectionType"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YComboBox/modelSelectionTypeQualifiedName"/>
</genClasses>
<genClasses ecoreClass="extension.ecore#//YButton">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference extension.ecore#//YButton/datadescription"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YButton/clickListeners"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YButton/lastClickTime"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YButton/image"/>
<genOperations ecoreOperation="extension.ecore#//YButton/addClickListener">
<genParameters ecoreParameter="extension.ecore#//YButton/addClickListener/listener"/>
</genOperations>
@@ -378,6 +409,14 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YEnumOptionsGroup/emfNsURI"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YEnumOptionsGroup/typeQualifiedName"/>
</genClasses>
+ <genClasses ecoreClass="extension.ecore#//YEnumComboBox">
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference extension.ecore#//YEnumComboBox/datadescription"/>
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference extension.ecore#//YEnumComboBox/datatype"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YEnumComboBox/selection"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YEnumComboBox/type"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YEnumComboBox/emfNsURI"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YEnumComboBox/typeQualifiedName"/>
+ </genClasses>
<genClasses ecoreClass="extension.ecore#//YEnumList">
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference extension.ecore#//YEnumList/datadescription"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference extension.ecore#//YEnumList/datatype"/>
@@ -388,14 +427,6 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YEnumList/emfNsURI"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YEnumList/typeQualifiedName"/>
</genClasses>
- <genClasses ecoreClass="extension.ecore#//YEnumComboBox">
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference extension.ecore#//YEnumComboBox/datadescription"/>
- <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference extension.ecore#//YEnumComboBox/datatype"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YEnumComboBox/selection"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YEnumComboBox/type"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YEnumComboBox/emfNsURI"/>
- <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YEnumComboBox/typeQualifiedName"/>
- </genClasses>
<genClasses image="false" ecoreClass="extension.ecore#//YBeanServiceConsumer">
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YBeanServiceConsumer/useBeanService"/>
</genClasses>
@@ -447,7 +478,9 @@
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference extension.ecore#//YSuggestTextField/datatype"/>
<genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference extension.ecore#//YSuggestTextField/datadescription"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YSuggestTextField/value"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YSuggestTextField/keys"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YSuggestTextField/useSuggestions"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YSuggestTextField/autoHidePopup"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YSuggestTextField/lastSuggestion"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YSuggestTextField/type"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YSuggestTextField/emfNsURI"/>
@@ -455,6 +488,50 @@
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YSuggestTextField/itemCaptionProperty"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YSuggestTextField/itemFilterProperty"/>
<genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YSuggestTextField/itemUUIDProperty"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YSuggestTextField/event"/>
+ </genClasses>
+ <genClasses ecoreClass="extension.ecore#//YPasswordField">
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference extension.ecore#//YPasswordField/datadescription"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YPasswordField/value"/>
+ </genClasses>
+ <genClasses ecoreClass="extension.ecore#//YFilteringComponent">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YFilteringComponent/type"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YFilteringComponent/emfNsURI"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YFilteringComponent/typeQualifiedName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YFilteringComponent/applyFilter"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YFilteringComponent/resetFilter"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YFilteringComponent/filter"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference extension.ecore#//YFilteringComponent/filterDescriptors"/>
+ <genFeatures property="None" children="true" createChild="true" ecoreFeature="ecore:EReference extension.ecore#//YFilteringComponent/tableDescriptors"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YFilteringComponent/selectionBeanSlotName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YFilteringComponent/filterCols"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YFilteringComponent/hideGrid"/>
+ </genClasses>
+ <genClasses ecoreClass="extension.ecore#//YFilterDescriptor">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YFilterDescriptor/propertyPath"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YFilterDescriptor/type"/>
+ </genClasses>
+ <genClasses ecoreClass="extension.ecore#//YFilterTableDescriptor">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YFilterTableDescriptor/propertyPath"/>
+ </genClasses>
+ <genClasses ecoreClass="extension.ecore#//YKanban">
+ <genFeatures notify="false" createChild="false" propertySortChoices="true" ecoreFeature="ecore:EReference extension.ecore#//YKanban/datadescription"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YKanban/selectionType"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YKanban/selection"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YKanban/type"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YKanban/emfNsURI"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YKanban/typeQualifiedName"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YKanban/cardECViewId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YKanban/editDialogId"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YKanban/doubleClicked"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YKanban/stateChanged"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YKanban/toRefresh"/>
+ </genClasses>
+ <genClasses ecoreClass="extension.ecore#//YKanbanVisibilityProcessor"/>
+ <genClasses ecoreClass="extension.ecore#//YDialogComponent">
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YDialogComponent/viewContextCallback"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YDialogComponent/type"/>
+ <genFeatures createChild="false" ecoreFeature="ecore:EAttribute extension.ecore#//YDialogComponent/updateCallback"/>
</genClasses>
</genPackages>
</genmodel:GenModel>
diff --git a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/ExtensionModelFactory.java b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/ExtensionModelFactory.java
index fc4f743..6224b8b 100644
--- a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/ExtensionModelFactory.java
+++ b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/ExtensionModelFactory.java
@@ -545,6 +545,15 @@
YKanbanVisibilityProcessor createYKanbanVisibilityProcessor();
/**
+ * Returns a new object of class '<em>YDialog Component</em>'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return a new object of class '<em>YDialog Component</em>'.
+ * @generated
+ */
+ YDialogComponent createYDialogComponent();
+
+ /**
* Returns a new object of class '<em>YTree</em>'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/ExtensionModelPackage.java b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/ExtensionModelPackage.java
index d1ef1ac..82b9792 100644
--- a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/ExtensionModelPackage.java
+++ b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/ExtensionModelPackage.java
@@ -237,6 +237,15 @@
int YINPUT__LAST_CONTEXT_CLICK = CoreModelPackage.YFIELD__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YINPUT__READONLY = CoreModelPackage.YFIELD__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -499,6 +508,15 @@
int YGRID_LAYOUT__LAST_CONTEXT_CLICK = CoreModelPackage.YLAYOUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YGRID_LAYOUT__READONLY = CoreModelPackage.YLAYOUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -562,6 +580,15 @@
int YGRID_LAYOUT__LAST_COMPONENT_DETACH = CoreModelPackage.YLAYOUT__LAST_COMPONENT_DETACH;
/**
+ * The feature id for the '<em><b>Number Columns</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YGRID_LAYOUT__NUMBER_COLUMNS = CoreModelPackage.YLAYOUT__NUMBER_COLUMNS;
+
+ /**
* The feature id for the '<em><b>Spacing</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -816,6 +843,15 @@
int YHORIZONTAL_LAYOUT__LAST_CONTEXT_CLICK = CoreModelPackage.YLAYOUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YHORIZONTAL_LAYOUT__READONLY = CoreModelPackage.YLAYOUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -879,6 +915,15 @@
int YHORIZONTAL_LAYOUT__LAST_COMPONENT_DETACH = CoreModelPackage.YLAYOUT__LAST_COMPONENT_DETACH;
/**
+ * The feature id for the '<em><b>Number Columns</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YHORIZONTAL_LAYOUT__NUMBER_COLUMNS = CoreModelPackage.YLAYOUT__NUMBER_COLUMNS;
+
+ /**
* The feature id for the '<em><b>Spacing</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1115,6 +1160,15 @@
int YVERTICAL_LAYOUT__LAST_CONTEXT_CLICK = CoreModelPackage.YLAYOUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YVERTICAL_LAYOUT__READONLY = CoreModelPackage.YLAYOUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1178,6 +1232,15 @@
int YVERTICAL_LAYOUT__LAST_COMPONENT_DETACH = CoreModelPackage.YLAYOUT__LAST_COMPONENT_DETACH;
/**
+ * The feature id for the '<em><b>Number Columns</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YVERTICAL_LAYOUT__NUMBER_COLUMNS = CoreModelPackage.YLAYOUT__NUMBER_COLUMNS;
+
+ /**
* The feature id for the '<em><b>Spacing</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1469,6 +1532,15 @@
int YTABLE__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YTABLE__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -1739,13 +1811,22 @@
int YTABLE__SCROLL_TO_BOTTOM = YINPUT_FEATURE_COUNT + 19;
/**
+ * The feature id for the '<em><b>Page Length</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YTABLE__PAGE_LENGTH = YINPUT_FEATURE_COUNT + 20;
+
+ /**
* The number of structural features of the '<em>YTable</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int YTABLE_FEATURE_COUNT = YINPUT_FEATURE_COUNT + 20;
+ int YTABLE_FEATURE_COUNT = YINPUT_FEATURE_COUNT + 21;
/**
* The meta object id for the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YColumnImpl <em>YColumn</em>}' class.
@@ -2174,6 +2255,15 @@
int YTREE__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YTREE__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2553,6 +2643,15 @@
int YOPTIONS_GROUP__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YOPTIONS_GROUP__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -2968,6 +3067,15 @@
int YLIST__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YLIST__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3383,6 +3491,15 @@
int YLABEL__LAST_CONTEXT_CLICK = CoreModelPackage.YFIELD__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YLABEL__READONLY = CoreModelPackage.YFIELD__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3672,6 +3789,15 @@
int YIMAGE__LAST_CONTEXT_CLICK = CoreModelPackage.YFIELD__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YIMAGE__READONLY = CoreModelPackage.YFIELD__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -3970,6 +4096,15 @@
int YTEXT_FIELD__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YTEXT_FIELD__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4295,6 +4430,15 @@
int YBEAN_REFERENCE_FIELD__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YBEAN_REFERENCE_FIELD__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -4565,13 +4709,22 @@
int YBEAN_REFERENCE_FIELD__FILTERING_COMPONENT = YINPUT_FEATURE_COUNT + 19;
/**
+ * The feature id for the '<em><b>Dialog Component</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YBEAN_REFERENCE_FIELD__DIALOG_COMPONENT = YINPUT_FEATURE_COUNT + 20;
+
+ /**
* The number of structural features of the '<em>YBean Reference Field</em>' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
* @ordered
*/
- int YBEAN_REFERENCE_FIELD_FEATURE_COUNT = YINPUT_FEATURE_COUNT + 20;
+ int YBEAN_REFERENCE_FIELD_FEATURE_COUNT = YINPUT_FEATURE_COUNT + 21;
/**
* The meta object id for the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YTextAreaImpl <em>YText Area</em>}' class.
@@ -4737,6 +4890,15 @@
int YTEXT_AREA__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YTEXT_AREA__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -5080,6 +5242,15 @@
int YCHECK_BOX__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YCHECK_BOX__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -5396,6 +5567,15 @@
int YBROWSER__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YBROWSER__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -5694,6 +5874,15 @@
int YDATE_TIME__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YDATE_TIME__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -6010,6 +6199,15 @@
int YDECIMAL_FIELD__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YDECIMAL_FIELD__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -6326,6 +6524,15 @@
int YNUMERIC_FIELD__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YNUMERIC_FIELD__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -6642,6 +6849,15 @@
int YCOMBO_BOX__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YCOMBO_BOX__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -7048,6 +7264,15 @@
int YBUTTON__LAST_CONTEXT_CLICK = CoreModelPackage.YACTION__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YBUTTON__READONLY = CoreModelPackage.YACTION__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Enabled</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -7337,6 +7562,15 @@
int YSLIDER__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YSLIDER__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -7662,6 +7896,15 @@
int YTOGGLE_BUTTON__LAST_CONTEXT_CLICK = CoreModelPackage.YACTION__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YTOGGLE_BUTTON__READONLY = CoreModelPackage.YACTION__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Enabled</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -7906,6 +8149,15 @@
int YPROGRESS_BAR__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YPROGRESS_BAR__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -8204,6 +8456,15 @@
int YTAB_SHEET__LAST_CONTEXT_CLICK = CoreModelPackage.YEMBEDDABLE__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YTAB_SHEET__READONLY = CoreModelPackage.YEMBEDDABLE__READONLY;
+
+ /**
* The feature id for the '<em><b>Layout Idx</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -8521,6 +8782,15 @@
int YMASTER_DETAIL__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YMASTER_DETAIL__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -8882,6 +9152,15 @@
int YFORM_LAYOUT__LAST_CONTEXT_CLICK = CoreModelPackage.YLAYOUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YFORM_LAYOUT__READONLY = CoreModelPackage.YLAYOUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -8945,6 +9224,15 @@
int YFORM_LAYOUT__LAST_COMPONENT_DETACH = CoreModelPackage.YLAYOUT__LAST_COMPONENT_DETACH;
/**
+ * The feature id for the '<em><b>Number Columns</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YFORM_LAYOUT__NUMBER_COLUMNS = CoreModelPackage.YLAYOUT__NUMBER_COLUMNS;
+
+ /**
* The feature id for the '<em><b>Spacing</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -9181,6 +9469,15 @@
int YSEARCH_FIELD__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YSEARCH_FIELD__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -9452,6 +9749,15 @@
int YTEXT_SEARCH_FIELD__LAST_CONTEXT_CLICK = YSEARCH_FIELD__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YTEXT_SEARCH_FIELD__READONLY = YSEARCH_FIELD__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -9759,6 +10065,15 @@
int YBOOLEAN_SEARCH_FIELD__LAST_CONTEXT_CLICK = YSEARCH_FIELD__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YBOOLEAN_SEARCH_FIELD__READONLY = YSEARCH_FIELD__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -10057,6 +10372,15 @@
int YNUMERIC_SEARCH_FIELD__LAST_CONTEXT_CLICK = YSEARCH_FIELD__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YNUMERIC_SEARCH_FIELD__READONLY = YSEARCH_FIELD__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -10382,6 +10706,15 @@
int YREFERENCE_SEARCH_FIELD__LAST_CONTEXT_CLICK = YSEARCH_FIELD__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YREFERENCE_SEARCH_FIELD__READONLY = YSEARCH_FIELD__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -10716,6 +11049,15 @@
int YPANEL__LAST_CONTEXT_CLICK = CoreModelPackage.YLAYOUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YPANEL__READONLY = CoreModelPackage.YLAYOUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -10779,6 +11121,15 @@
int YPANEL__LAST_COMPONENT_DETACH = CoreModelPackage.YLAYOUT__LAST_COMPONENT_DETACH;
/**
+ * The feature id for the '<em><b>Number Columns</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YPANEL__NUMBER_COLUMNS = CoreModelPackage.YLAYOUT__NUMBER_COLUMNS;
+
+ /**
* The feature id for the '<em><b>Layout Idx</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -11005,6 +11356,15 @@
int YSPLIT_PANEL__LAST_CONTEXT_CLICK = CoreModelPackage.YLAYOUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YSPLIT_PANEL__READONLY = CoreModelPackage.YLAYOUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -11068,6 +11428,15 @@
int YSPLIT_PANEL__LAST_COMPONENT_DETACH = CoreModelPackage.YLAYOUT__LAST_COMPONENT_DETACH;
/**
+ * The feature id for the '<em><b>Number Columns</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YSPLIT_PANEL__NUMBER_COLUMNS = CoreModelPackage.YLAYOUT__NUMBER_COLUMNS;
+
+ /**
* The feature id for the '<em><b>Datadescription</b></em>' reference.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -11285,6 +11654,15 @@
int YSEARCH_PANEL__LAST_CONTEXT_CLICK = CoreModelPackage.YLAYOUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YSEARCH_PANEL__READONLY = CoreModelPackage.YLAYOUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -11348,6 +11726,15 @@
int YSEARCH_PANEL__LAST_COMPONENT_DETACH = CoreModelPackage.YLAYOUT__LAST_COMPONENT_DETACH;
/**
+ * The feature id for the '<em><b>Number Columns</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YSEARCH_PANEL__NUMBER_COLUMNS = CoreModelPackage.YLAYOUT__NUMBER_COLUMNS;
+
+ /**
* The feature id for the '<em><b>Spacing</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -11583,6 +11970,15 @@
int YENUM_OPTIONS_GROUP__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YENUM_OPTIONS_GROUP__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -11954,6 +12350,15 @@
int YENUM_COMBO_BOX__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YENUM_COMBO_BOX__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -12278,6 +12683,15 @@
int YENUM_LIST__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YENUM_LIST__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -12959,6 +13373,15 @@
int YCSS_LAYOUT__LAST_CONTEXT_CLICK = CoreModelPackage.YLAYOUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YCSS_LAYOUT__READONLY = CoreModelPackage.YLAYOUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -13022,6 +13445,15 @@
int YCSS_LAYOUT__LAST_COMPONENT_DETACH = CoreModelPackage.YLAYOUT__LAST_COMPONENT_DETACH;
/**
+ * The feature id for the '<em><b>Number Columns</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YCSS_LAYOUT__NUMBER_COLUMNS = CoreModelPackage.YLAYOUT__NUMBER_COLUMNS;
+
+ /**
* The feature id for the '<em><b>Spacing</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -13331,6 +13763,15 @@
int YABSOLUTE_LAYOUT__LAST_CONTEXT_CLICK = CoreModelPackage.YLAYOUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YABSOLUTE_LAYOUT__READONLY = CoreModelPackage.YLAYOUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -13394,6 +13835,15 @@
int YABSOLUTE_LAYOUT__LAST_COMPONENT_DETACH = CoreModelPackage.YLAYOUT__LAST_COMPONENT_DETACH;
/**
+ * The feature id for the '<em><b>Number Columns</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YABSOLUTE_LAYOUT__NUMBER_COLUMNS = CoreModelPackage.YLAYOUT__NUMBER_COLUMNS;
+
+ /**
* The feature id for the '<em><b>Cell Styles</b></em>' containment reference list.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -13666,6 +14116,15 @@
int YSUGGEST_TEXT_FIELD__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YSUGGEST_TEXT_FIELD__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -14081,6 +14540,15 @@
int YPASSWORD_FIELD__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YPASSWORD_FIELD__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -14397,6 +14865,15 @@
int YFILTERING_COMPONENT__LAST_CONTEXT_CLICK = CoreModelPackage.YEMBEDDABLE__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YFILTERING_COMPONENT__READONLY = CoreModelPackage.YEMBEDDABLE__READONLY;
+
+ /**
* The feature id for the '<em><b>Spacing</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -14859,6 +15336,15 @@
int YKANBAN__LAST_CONTEXT_CLICK = YINPUT__LAST_CONTEXT_CLICK;
/**
+ * The feature id for the '<em><b>Readonly</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YKANBAN__READONLY = YINPUT__READONLY;
+
+ /**
* The feature id for the '<em><b>Initial Editable</b></em>' attribute.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -15166,6 +15652,115 @@
int YKANBAN_VISIBILITY_PROCESSOR_FEATURE_COUNT = VisibilityPackage.YVISIBILITY_PROCESSOR_FEATURE_COUNT + 0;
/**
+ * The meta object id for the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YDialogComponentImpl <em>YDialog Component</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.osbp.ecview.core.extension.model.extension.impl.YDialogComponentImpl
+ * @see org.eclipse.osbp.ecview.core.extension.model.extension.impl.ExtensionModelPackageImpl#getYDialogComponent()
+ * @generated
+ */
+ int YDIALOG_COMPONENT = 62;
+
+ /**
+ * The feature id for the '<em><b>Tags</b></em>' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YDIALOG_COMPONENT__TAGS = CoreModelPackage.YELEMENT__TAGS;
+
+ /**
+ * The feature id for the '<em><b>Id</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YDIALOG_COMPONENT__ID = CoreModelPackage.YELEMENT__ID;
+
+ /**
+ * The feature id for the '<em><b>Name</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YDIALOG_COMPONENT__NAME = CoreModelPackage.YELEMENT__NAME;
+
+ /**
+ * The feature id for the '<em><b>Properties</b></em>' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YDIALOG_COMPONENT__PROPERTIES = CoreModelPackage.YELEMENT__PROPERTIES;
+
+ /**
+ * The feature id for the '<em><b>Value Binding Endpoint</b></em>' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YDIALOG_COMPONENT__VALUE_BINDING_ENDPOINT = CoreModelPackage.YELEMENT_FEATURE_COUNT + 0;
+
+ /**
+ * The feature id for the '<em><b>Css Class</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YDIALOG_COMPONENT__CSS_CLASS = CoreModelPackage.YELEMENT_FEATURE_COUNT + 1;
+
+ /**
+ * The feature id for the '<em><b>Css ID</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YDIALOG_COMPONENT__CSS_ID = CoreModelPackage.YELEMENT_FEATURE_COUNT + 2;
+
+ /**
+ * The feature id for the '<em><b>View Context Callback</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YDIALOG_COMPONENT__VIEW_CONTEXT_CALLBACK = CoreModelPackage.YELEMENT_FEATURE_COUNT + 3;
+
+ /**
+ * The feature id for the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YDIALOG_COMPONENT__TYPE = CoreModelPackage.YELEMENT_FEATURE_COUNT + 4;
+
+ /**
+ * The feature id for the '<em><b>Update Callback</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YDIALOG_COMPONENT__UPDATE_CALLBACK = CoreModelPackage.YELEMENT_FEATURE_COUNT + 5;
+
+ /**
+ * The number of structural features of the '<em>YDialog Component</em>' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ * @ordered
+ */
+ int YDIALOG_COMPONENT_FEATURE_COUNT = CoreModelPackage.YELEMENT_FEATURE_COUNT + 6;
+
+ /**
* The meta object id for the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YSelectionType <em>YSelection Type</em>}' enum.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -15173,7 +15768,7 @@
* @see org.eclipse.osbp.ecview.core.extension.model.extension.impl.ExtensionModelPackageImpl#getYSelectionType()
* @generated
*/
- int YSELECTION_TYPE = 62;
+ int YSELECTION_TYPE = 63;
/**
* The meta object id for the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YBooleanSearchOption <em>YBoolean Search Option</em>}' enum.
@@ -15183,7 +15778,7 @@
* @see org.eclipse.osbp.ecview.core.extension.model.extension.impl.ExtensionModelPackageImpl#getYBooleanSearchOption()
* @generated
*/
- int YBOOLEAN_SEARCH_OPTION = 63;
+ int YBOOLEAN_SEARCH_OPTION = 64;
/**
* The meta object id for the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YSearchWildcards <em>YSearch Wildcards</em>}' enum.
@@ -15193,7 +15788,7 @@
* @see org.eclipse.osbp.ecview.core.extension.model.extension.impl.ExtensionModelPackageImpl#getYSearchWildcards()
* @generated
*/
- int YSEARCH_WILDCARDS = 64;
+ int YSEARCH_WILDCARDS = 65;
/**
* The meta object id for the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YSuggestTextFieldEvents <em>YSuggest Text Field Events</em>}' enum.
@@ -15203,7 +15798,7 @@
* @see org.eclipse.osbp.ecview.core.extension.model.extension.impl.ExtensionModelPackageImpl#getYSuggestTextFieldEvents()
* @generated
*/
- int YSUGGEST_TEXT_FIELD_EVENTS = 65;
+ int YSUGGEST_TEXT_FIELD_EVENTS = 66;
/**
* The meta object id for the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YFilteringType <em>YFiltering Type</em>}' enum.
@@ -15213,7 +15808,7 @@
* @see org.eclipse.osbp.ecview.core.extension.model.extension.impl.ExtensionModelPackageImpl#getYFilteringType()
* @generated
*/
- int YFILTERING_TYPE = 66;
+ int YFILTERING_TYPE = 67;
/**
* The meta object id for the '<em>YButton Click Listener</em>' data type.
@@ -15223,7 +15818,7 @@
* @see org.eclipse.osbp.ecview.core.extension.model.extension.impl.ExtensionModelPackageImpl#getYButtonClickListener()
* @generated
*/
- int YBUTTON_CLICK_LISTENER = 67;
+ int YBUTTON_CLICK_LISTENER = 68;
/**
* The meta object id for the '<em>YInput Stream</em>' data type.
@@ -15233,7 +15828,7 @@
* @see org.eclipse.osbp.ecview.core.extension.model.extension.impl.ExtensionModelPackageImpl#getYInputStream()
* @generated
*/
- int YINPUT_STREAM = 68;
+ int YINPUT_STREAM = 69;
/**
@@ -15244,7 +15839,7 @@
* @see org.eclipse.osbp.ecview.core.extension.model.extension.impl.ExtensionModelPackageImpl#getYKanbanEvent()
* @generated
*/
- int YKANBAN_EVENT = 69;
+ int YKANBAN_EVENT = 70;
/**
@@ -15679,6 +16274,17 @@
EAttribute getYTable_ScrollToBottom();
/**
+ * Returns the meta object for the attribute '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YTable#getPageLength <em>Page Length</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Page Length</em>'.
+ * @see org.eclipse.osbp.ecview.core.extension.model.extension.YTable#getPageLength()
+ * @see #getYTable()
+ * @generated
+ */
+ EAttribute getYTable_PageLength();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YColumn <em>YColumn</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -16605,6 +17211,17 @@
EReference getYBeanReferenceField_FilteringComponent();
/**
+ * Returns the meta object for the containment reference '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YBeanReferenceField#getDialogComponent <em>Dialog Component</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the containment reference '<em>Dialog Component</em>'.
+ * @see org.eclipse.osbp.ecview.core.extension.model.extension.YBeanReferenceField#getDialogComponent()
+ * @see #getYBeanReferenceField()
+ * @generated
+ */
+ EReference getYBeanReferenceField_DialogComponent();
+
+ /**
* Returns the meta object for class '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YTextArea <em>YText Area</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -19102,6 +19719,49 @@
EClass getYKanbanVisibilityProcessor();
/**
+ * Returns the meta object for class '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent <em>YDialog Component</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for class '<em>YDialog Component</em>'.
+ * @see org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent
+ * @generated
+ */
+ EClass getYDialogComponent();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent#getViewContextCallback <em>View Context Callback</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>View Context Callback</em>'.
+ * @see org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent#getViewContextCallback()
+ * @see #getYDialogComponent()
+ * @generated
+ */
+ EAttribute getYDialogComponent_ViewContextCallback();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent#getType <em>Type</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Type</em>'.
+ * @see org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent#getType()
+ * @see #getYDialogComponent()
+ * @generated
+ */
+ EAttribute getYDialogComponent_Type();
+
+ /**
+ * Returns the meta object for the attribute '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent#getUpdateCallback <em>Update Callback</em>}'.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @return the meta object for the attribute '<em>Update Callback</em>'.
+ * @see org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent#getUpdateCallback()
+ * @see #getYDialogComponent()
+ * @generated
+ */
+ EAttribute getYDialogComponent_UpdateCallback();
+
+ /**
* Returns the meta object for enum '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YSelectionType <em>YSelection Type</em>}'.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -19545,6 +20205,14 @@
EAttribute YTABLE__SCROLL_TO_BOTTOM = eINSTANCE.getYTable_ScrollToBottom();
/**
+ * The meta object literal for the '<em><b>Page Length</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute YTABLE__PAGE_LENGTH = eINSTANCE.getYTable_PageLength();
+
+ /**
* The meta object literal for the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YColumnImpl <em>YColumn</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -20243,6 +20911,14 @@
EReference YBEAN_REFERENCE_FIELD__FILTERING_COMPONENT = eINSTANCE.getYBeanReferenceField_FilteringComponent();
/**
+ * The meta object literal for the '<em><b>Dialog Component</b></em>' containment reference feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EReference YBEAN_REFERENCE_FIELD__DIALOG_COMPONENT = eINSTANCE.getYBeanReferenceField_DialogComponent();
+
+ /**
* The meta object literal for the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YTextAreaImpl <em>YText Area</em>}' class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
@@ -22179,6 +22855,40 @@
EClass YKANBAN_VISIBILITY_PROCESSOR = eINSTANCE.getYKanbanVisibilityProcessor();
/**
+ * The meta object literal for the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YDialogComponentImpl <em>YDialog Component</em>}' class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see org.eclipse.osbp.ecview.core.extension.model.extension.impl.YDialogComponentImpl
+ * @see org.eclipse.osbp.ecview.core.extension.model.extension.impl.ExtensionModelPackageImpl#getYDialogComponent()
+ * @generated
+ */
+ EClass YDIALOG_COMPONENT = eINSTANCE.getYDialogComponent();
+
+ /**
+ * The meta object literal for the '<em><b>View Context Callback</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute YDIALOG_COMPONENT__VIEW_CONTEXT_CALLBACK = eINSTANCE.getYDialogComponent_ViewContextCallback();
+
+ /**
+ * The meta object literal for the '<em><b>Type</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute YDIALOG_COMPONENT__TYPE = eINSTANCE.getYDialogComponent_Type();
+
+ /**
+ * The meta object literal for the '<em><b>Update Callback</b></em>' attribute feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ EAttribute YDIALOG_COMPONENT__UPDATE_CALLBACK = eINSTANCE.getYDialogComponent_UpdateCallback();
+
+ /**
* The meta object literal for the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YSelectionType <em>YSelection Type</em>}' enum.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
diff --git a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/YBeanReferenceField.java b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/YBeanReferenceField.java
index c74fee1..4b8b8c5 100644
--- a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/YBeanReferenceField.java
+++ b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/YBeanReferenceField.java
@@ -43,6 +43,7 @@
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YBeanReferenceField#getReferenceSourceTypeProperty <em>Reference Source Type Property</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YBeanReferenceField#isRequired <em>Required</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YBeanReferenceField#getFilteringComponent <em>Filtering Component</em>}</li>
+ * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YBeanReferenceField#getDialogComponent <em>Dialog Component</em>}</li>
* </ul>
*
* @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYBeanReferenceField()
@@ -466,4 +467,30 @@
*/
void setFilteringComponent(YFilteringComponent value);
+ /**
+ * Returns the value of the '<em><b>Dialog Component</b></em>' containment reference.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Dialog Component</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>Dialog Component</em>' containment reference.
+ * @see #setDialogComponent(YDialogComponent)
+ * @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYBeanReferenceField_DialogComponent()
+ * @model containment="true" resolveProxies="true"
+ * @generated
+ */
+ YDialogComponent getDialogComponent();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YBeanReferenceField#getDialogComponent <em>Dialog Component</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Dialog Component</em>' containment reference.
+ * @see #getDialogComponent()
+ * @generated
+ */
+ void setDialogComponent(YDialogComponent value);
+
} // YBeanReferenceField
diff --git a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/YDialogComponent.java b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/YDialogComponent.java
new file mode 100644
index 0000000..0bef67f
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/YDialogComponent.java
@@ -0,0 +1,106 @@
+/**
+ */
+package org.eclipse.osbp.ecview.core.extension.model.extension;
+
+import org.eclipse.osbp.ecview.core.common.model.core.YCssAble;
+import org.eclipse.osbp.ecview.core.common.model.core.YElement;
+import org.eclipse.osbp.ecview.core.common.model.core.YValueBindable;
+
+/**
+ * <!-- begin-user-doc -->
+ * A representation of the model object '<em><b>YDialog Component</b></em>'.
+ * <!-- end-user-doc -->
+ *
+ * <p>
+ * The following features are supported:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent#getViewContextCallback <em>View Context Callback</em>}</li>
+ * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent#getUpdateCallback <em>Update Callback</em>}</li>
+ * </ul>
+ *
+ * @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYDialogComponent()
+ * @model
+ * @generated
+ */
+public interface YDialogComponent extends YElement, YValueBindable, YCssAble {
+ /**
+ * Returns the value of the '<em><b>View Context Callback</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>View Context Callback</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>View Context Callback</em>' attribute.
+ * @see #setViewContextCallback(Object)
+ * @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYDialogComponent_ViewContextCallback()
+ * @model
+ * @generated
+ */
+ Object getViewContextCallback();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent#getViewContextCallback <em>View Context Callback</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>View Context Callback</em>' attribute.
+ * @see #getViewContextCallback()
+ * @generated
+ */
+ void setViewContextCallback(Object value);
+
+ /**
+ * Returns the value of the '<em><b>Type</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Type</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Type</em>' attribute.
+ * @see #setType(Class)
+ * @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYDialogComponent_Type()
+ * @model
+ * @generated
+ */
+ Class<?> getType();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent#getType <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Type</em>' attribute.
+ * @see #getType()
+ * @generated
+ */
+ void setType(Class<?> value);
+
+ /**
+ * Returns the value of the '<em><b>Update Callback</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Update Callback</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Update Callback</em>' attribute.
+ * @see #setUpdateCallback(Object)
+ * @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYDialogComponent_UpdateCallback()
+ * @model
+ * @generated
+ */
+ Object getUpdateCallback();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent#getUpdateCallback <em>Update Callback</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Update Callback</em>' attribute.
+ * @see #getUpdateCallback()
+ * @generated
+ */
+ void setUpdateCallback(Object value);
+
+} // YDialogComponent
diff --git a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/YNumericSearchField.java b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/YNumericSearchField.java
index f15ec15..e666239 100644
--- a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/YNumericSearchField.java
+++ b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/YNumericSearchField.java
@@ -160,7 +160,7 @@
* @model
* @generated
*/
- Class getType();
+ Class<?> getType();
/**
* Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YNumericSearchField#getType <em>Type</em>}' attribute.
@@ -170,7 +170,7 @@
* @see #getType()
* @generated
*/
- void setType(Class value);
+ void setType(Class<?> value);
/**
* Returns the value of the '<em><b>Type Qualified Name</b></em>' attribute.
diff --git a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/YTable.java b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/YTable.java
index 6772790..b73ee2c 100644
--- a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/YTable.java
+++ b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/YTable.java
@@ -45,6 +45,7 @@
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YTable#getSortOrder <em>Sort Order</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YTable#getDoSort <em>Do Sort</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YTable#isScrollToBottom <em>Scroll To Bottom</em>}</li>
+ * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.YTable#getPageLength <em>Page Length</em>}</li>
* </ul>
*
* @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYTable()
@@ -454,4 +455,30 @@
*/
void setScrollToBottom(boolean value);
+ /**
+ * Returns the value of the '<em><b>Page Length</b></em>' attribute.
+ * <!-- begin-user-doc -->
+ * <p>
+ * If the meaning of the '<em>Page Length</em>' attribute isn't clear,
+ * there really should be more of a description here...
+ * </p>
+ * <!-- end-user-doc -->
+ * @return the value of the '<em>Page Length</em>' attribute.
+ * @see #setPageLength(int)
+ * @see org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage#getYTable_PageLength()
+ * @model
+ * @generated
+ */
+ int getPageLength();
+
+ /**
+ * Sets the value of the '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YTable#getPageLength <em>Page Length</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param value the new value of the '<em>Page Length</em>' attribute.
+ * @see #getPageLength()
+ * @generated
+ */
+ void setPageLength(int value);
+
} // YUiTable
diff --git a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/ExtensionModelFactoryImpl.java b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/ExtensionModelFactoryImpl.java
index 0d77310..f13972c 100644
--- a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/ExtensionModelFactoryImpl.java
+++ b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/ExtensionModelFactoryImpl.java
@@ -180,6 +180,7 @@
case ExtensionModelPackage.YFILTER_TABLE_DESCRIPTOR: return createYFilterTableDescriptor();
case ExtensionModelPackage.YKANBAN: return createYKanban();
case ExtensionModelPackage.YKANBAN_VISIBILITY_PROCESSOR: return createYKanbanVisibilityProcessor();
+ case ExtensionModelPackage.YDIALOG_COMPONENT: return createYDialogComponent();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
@@ -874,6 +875,16 @@
}
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public YDialogComponent createYDialogComponent() {
+ YDialogComponentImpl yDialogComponent = new YDialogComponentImpl();
+ return yDialogComponent;
+ }
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->.
*
* @return the y tree
diff --git a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/ExtensionModelPackageImpl.java b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/ExtensionModelPackageImpl.java
index b1e7010..5d068ef 100644
--- a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/ExtensionModelPackageImpl.java
+++ b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/ExtensionModelPackageImpl.java
@@ -49,6 +49,7 @@
import org.eclipse.osbp.ecview.core.extension.model.extension.YCssLayoutCellStyle;
import org.eclipse.osbp.ecview.core.extension.model.extension.YDateTime;
import org.eclipse.osbp.ecview.core.extension.model.extension.YDecimalField;
+import org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent;
import org.eclipse.osbp.ecview.core.extension.model.extension.YEnumComboBox;
import org.eclipse.osbp.ecview.core.extension.model.extension.YEnumList;
import org.eclipse.osbp.ecview.core.extension.model.extension.YEnumOptionsGroup;
@@ -532,6 +533,13 @@
private EClass yKanbanVisibilityProcessorEClass = null;
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ private EClass yDialogComponentEClass = null;
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->.
*
* @generated
@@ -888,6 +896,15 @@
}
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EReference getYBeanReferenceField_DialogComponent() {
+ return (EReference)yBeanReferenceFieldEClass.getEStructuralFeatures().get(16);
+ }
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->.
*
* @return the y grid layout
@@ -1275,6 +1292,15 @@
}
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getYTable_PageLength() {
+ return (EAttribute)yTableEClass.getEStructuralFeatures().get(16);
+ }
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->.
*
* @return the y column
@@ -3950,6 +3976,42 @@
}
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EClass getYDialogComponent() {
+ return yDialogComponentEClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getYDialogComponent_ViewContextCallback() {
+ return (EAttribute)yDialogComponentEClass.getEStructuralFeatures().get(0);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getYDialogComponent_Type() {
+ return (EAttribute)yDialogComponentEClass.getEStructuralFeatures().get(1);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EAttribute getYDialogComponent_UpdateCallback() {
+ return (EAttribute)yDialogComponentEClass.getEStructuralFeatures().get(2);
+ }
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->.
*
* @return the y tree
@@ -4343,6 +4405,7 @@
createEReference(yTableEClass, YTABLE__SORT_ORDER);
createEAttribute(yTableEClass, YTABLE__DO_SORT);
createEAttribute(yTableEClass, YTABLE__SCROLL_TO_BOTTOM);
+ createEAttribute(yTableEClass, YTABLE__PAGE_LENGTH);
yColumnEClass = createEClass(YCOLUMN);
createEAttribute(yColumnEClass, YCOLUMN__ICON);
@@ -4437,6 +4500,7 @@
createEAttribute(yBeanReferenceFieldEClass, YBEAN_REFERENCE_FIELD__REFERENCE_SOURCE_TYPE_PROPERTY);
createEAttribute(yBeanReferenceFieldEClass, YBEAN_REFERENCE_FIELD__REQUIRED);
createEReference(yBeanReferenceFieldEClass, YBEAN_REFERENCE_FIELD__FILTERING_COMPONENT);
+ createEReference(yBeanReferenceFieldEClass, YBEAN_REFERENCE_FIELD__DIALOG_COMPONENT);
yTextAreaEClass = createEClass(YTEXT_AREA);
createEReference(yTextAreaEClass, YTEXT_AREA__DATADESCRIPTION);
@@ -4713,6 +4777,11 @@
yKanbanVisibilityProcessorEClass = createEClass(YKANBAN_VISIBILITY_PROCESSOR);
+ yDialogComponentEClass = createEClass(YDIALOG_COMPONENT);
+ createEAttribute(yDialogComponentEClass, YDIALOG_COMPONENT__VIEW_CONTEXT_CALLBACK);
+ createEAttribute(yDialogComponentEClass, YDIALOG_COMPONENT__TYPE);
+ createEAttribute(yDialogComponentEClass, YDIALOG_COMPONENT__UPDATE_CALLBACK);
+
// Create enums
ySelectionTypeEEnum = createEEnum(YSELECTION_TYPE);
yBooleanSearchOptionEEnum = createEEnum(YBOOLEAN_SEARCH_OPTION);
@@ -4916,6 +4985,9 @@
yKanbanEClass.getESuperTypes().add(theCoreModelPackage.getYSelectionBindable());
yKanbanEClass.getESuperTypes().add(this.getYBeanServiceConsumer());
yKanbanVisibilityProcessorEClass.getESuperTypes().add(theVisibilityPackage.getYVisibilityProcessor());
+ yDialogComponentEClass.getESuperTypes().add(theCoreModelPackage.getYElement());
+ yDialogComponentEClass.getESuperTypes().add(theCoreModelPackage.getYValueBindable());
+ yDialogComponentEClass.getESuperTypes().add(theCoreModelPackage.getYCssAble());
// Initialize classes and features; add operations and parameters
initEClass(yInputEClass, YInput.class, "YInput", IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -4981,6 +5053,7 @@
initEReference(getYTable_SortOrder(), this.getYSortColumn(), null, "sortOrder", null, 0, -1, YTable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getYTable_DoSort(), ecorePackage.getEJavaObject(), "doSort", null, 0, 1, YTable.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getYTable_ScrollToBottom(), ecorePackage.getEBoolean(), "scrollToBottom", null, 0, 1, YTable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getYTable_PageLength(), ecorePackage.getEInt(), "pageLength", null, 0, 1, YTable.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(yColumnEClass, YColumn.class, "YColumn", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEAttribute(getYColumn_Icon(), ecorePackage.getEString(), "icon", null, 0, 1, YColumn.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -5099,6 +5172,7 @@
initEAttribute(getYBeanReferenceField_ReferenceSourceTypeProperty(), ecorePackage.getEString(), "referenceSourceTypeProperty", null, 0, 1, YBeanReferenceField.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getYBeanReferenceField_Required(), ecorePackage.getEBoolean(), "required", null, 0, 1, YBeanReferenceField.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEReference(getYBeanReferenceField_FilteringComponent(), this.getYFilteringComponent(), null, "filteringComponent", null, 0, 1, YBeanReferenceField.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEReference(getYBeanReferenceField_DialogComponent(), this.getYDialogComponent(), null, "dialogComponent", null, 0, 1, YBeanReferenceField.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(yTextAreaEClass, YTextArea.class, "YTextArea", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
initEReference(getYTextArea_Datadescription(), theDatatypesPackage.getYDatadescription(), null, "datadescription", null, 0, 1, YTextArea.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_COMPOSITE, IS_RESOLVE_PROXIES, !IS_UNSETTABLE, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
@@ -5233,7 +5307,10 @@
initEAttribute(getYNumericSearchField_Value(), ecorePackage.getEString(), "value", null, 0, 1, YNumericSearchField.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getYNumericSearchField_Wildcard(), this.getYSearchWildcards(), "wildcard", null, 0, 1, YNumericSearchField.class, IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getYNumericSearchField_PropertyPath(), ecorePackage.getEString(), "propertyPath", null, 0, 1, YNumericSearchField.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
- initEAttribute(getYNumericSearchField_Type(), ecorePackage.getEJavaClass(), "type", null, 0, 1, YNumericSearchField.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ g1 = createEGenericType(ecorePackage.getEJavaClass());
+ g2 = createEGenericType();
+ g1.getETypeArguments().add(g2);
+ initEAttribute(getYNumericSearchField_Type(), g1, "type", null, 0, 1, YNumericSearchField.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEAttribute(getYNumericSearchField_TypeQualifiedName(), ecorePackage.getEString(), "typeQualifiedName", null, 0, 1, YNumericSearchField.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
initEClass(yReferenceSearchFieldEClass, YReferenceSearchField.class, "YReferenceSearchField", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
@@ -5427,6 +5504,14 @@
initEClass(yKanbanVisibilityProcessorEClass, YKanbanVisibilityProcessor.class, "YKanbanVisibilityProcessor", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEClass(yDialogComponentEClass, YDialogComponent.class, "YDialogComponent", !IS_ABSTRACT, !IS_INTERFACE, IS_GENERATED_INSTANCE_CLASS);
+ initEAttribute(getYDialogComponent_ViewContextCallback(), ecorePackage.getEJavaObject(), "viewContextCallback", null, 0, 1, YDialogComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ g1 = createEGenericType(ecorePackage.getEJavaClass());
+ g2 = createEGenericType();
+ g1.getETypeArguments().add(g2);
+ initEAttribute(getYDialogComponent_Type(), g1, "type", null, 0, 1, YDialogComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+ initEAttribute(getYDialogComponent_UpdateCallback(), ecorePackage.getEJavaObject(), "updateCallback", null, 0, 1, YDialogComponent.class, !IS_TRANSIENT, !IS_VOLATILE, IS_CHANGEABLE, !IS_UNSETTABLE, !IS_ID, IS_UNIQUE, !IS_DERIVED, IS_ORDERED);
+
// Initialize enums and add enum literals
initEEnum(ySelectionTypeEEnum, YSelectionType.class, "YSelectionType");
addEEnumLiteral(ySelectionTypeEEnum, YSelectionType.SINGLE);
diff --git a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/YBeanReferenceFieldImpl.java b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/YBeanReferenceFieldImpl.java
index a8e96b1..0f0ab85 100644
--- a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/YBeanReferenceFieldImpl.java
+++ b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/YBeanReferenceFieldImpl.java
@@ -29,6 +29,7 @@
import org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage;
import org.eclipse.osbp.ecview.core.extension.model.extension.YBeanReferenceField;
import org.eclipse.osbp.ecview.core.extension.model.extension.YBeanServiceConsumer;
+import org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent;
import org.eclipse.osbp.ecview.core.extension.model.extension.YFilteringComponent;
// TODO: Auto-generated Javadoc
@@ -59,6 +60,7 @@
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YBeanReferenceFieldImpl#getReferenceSourceTypeProperty <em>Reference Source Type Property</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YBeanReferenceFieldImpl#isRequired <em>Required</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YBeanReferenceFieldImpl#getFilteringComponent <em>Filtering Component</em>}</li>
+ * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YBeanReferenceFieldImpl#getDialogComponent <em>Dialog Component</em>}</li>
* </ul>
*
* @generated
@@ -383,6 +385,16 @@
protected YFilteringComponent filteringComponent;
/**
+ * The cached value of the '{@link #getDialogComponent() <em>Dialog Component</em>}' containment reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getDialogComponent()
+ * @generated
+ * @ordered
+ */
+ protected YDialogComponent dialogComponent;
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->.
*
* @generated
@@ -1059,6 +1071,72 @@
}
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public YDialogComponent getDialogComponent() {
+ if (dialogComponent != null && dialogComponent.eIsProxy()) {
+ InternalEObject oldDialogComponent = (InternalEObject)dialogComponent;
+ dialogComponent = (YDialogComponent)eResolveProxy(oldDialogComponent);
+ if (dialogComponent != oldDialogComponent) {
+ InternalEObject newDialogComponent = (InternalEObject)dialogComponent;
+ NotificationChain msgs = oldDialogComponent.eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ExtensionModelPackage.YBEAN_REFERENCE_FIELD__DIALOG_COMPONENT, null, null);
+ if (newDialogComponent.eInternalContainer() == null) {
+ msgs = newDialogComponent.eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ExtensionModelPackage.YBEAN_REFERENCE_FIELD__DIALOG_COMPONENT, null, msgs);
+ }
+ if (msgs != null) msgs.dispatch();
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExtensionModelPackage.YBEAN_REFERENCE_FIELD__DIALOG_COMPONENT, oldDialogComponent, dialogComponent));
+ }
+ }
+ return dialogComponent;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public YDialogComponent basicGetDialogComponent() {
+ return dialogComponent;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetDialogComponent(YDialogComponent newDialogComponent, NotificationChain msgs) {
+ YDialogComponent oldDialogComponent = dialogComponent;
+ dialogComponent = newDialogComponent;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ExtensionModelPackage.YBEAN_REFERENCE_FIELD__DIALOG_COMPONENT, oldDialogComponent, newDialogComponent);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setDialogComponent(YDialogComponent newDialogComponent) {
+ if (newDialogComponent != dialogComponent) {
+ NotificationChain msgs = null;
+ if (dialogComponent != null)
+ msgs = ((InternalEObject)dialogComponent).eInverseRemove(this, EOPPOSITE_FEATURE_BASE - ExtensionModelPackage.YBEAN_REFERENCE_FIELD__DIALOG_COMPONENT, null, msgs);
+ if (newDialogComponent != null)
+ msgs = ((InternalEObject)newDialogComponent).eInverseAdd(this, EOPPOSITE_FEATURE_BASE - ExtensionModelPackage.YBEAN_REFERENCE_FIELD__DIALOG_COMPONENT, null, msgs);
+ msgs = basicSetDialogComponent(newDialogComponent, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ExtensionModelPackage.YBEAN_REFERENCE_FIELD__DIALOG_COMPONENT, newDialogComponent, newDialogComponent));
+ }
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->.
*
* @return the y embeddable value endpoint
@@ -1121,6 +1199,8 @@
return basicSetValueBindingEndpoint(null, msgs);
case ExtensionModelPackage.YBEAN_REFERENCE_FIELD__FILTERING_COMPONENT:
return basicSetFilteringComponent(null, msgs);
+ case ExtensionModelPackage.YBEAN_REFERENCE_FIELD__DIALOG_COMPONENT:
+ return basicSetDialogComponent(null, msgs);
}
return super.eInverseRemove(otherEnd, featureID, msgs);
}
@@ -1185,6 +1265,9 @@
case ExtensionModelPackage.YBEAN_REFERENCE_FIELD__FILTERING_COMPONENT:
if (resolve) return getFilteringComponent();
return basicGetFilteringComponent();
+ case ExtensionModelPackage.YBEAN_REFERENCE_FIELD__DIALOG_COMPONENT:
+ if (resolve) return getDialogComponent();
+ return basicGetDialogComponent();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -1261,6 +1344,9 @@
case ExtensionModelPackage.YBEAN_REFERENCE_FIELD__FILTERING_COMPONENT:
setFilteringComponent((YFilteringComponent)newValue);
return;
+ case ExtensionModelPackage.YBEAN_REFERENCE_FIELD__DIALOG_COMPONENT:
+ setDialogComponent((YDialogComponent)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -1335,6 +1421,9 @@
case ExtensionModelPackage.YBEAN_REFERENCE_FIELD__FILTERING_COMPONENT:
setFilteringComponent((YFilteringComponent)null);
return;
+ case ExtensionModelPackage.YBEAN_REFERENCE_FIELD__DIALOG_COMPONENT:
+ setDialogComponent((YDialogComponent)null);
+ return;
}
super.eUnset(featureID);
}
@@ -1390,6 +1479,8 @@
return required != REQUIRED_EDEFAULT;
case ExtensionModelPackage.YBEAN_REFERENCE_FIELD__FILTERING_COMPONENT:
return filteringComponent != null;
+ case ExtensionModelPackage.YBEAN_REFERENCE_FIELD__DIALOG_COMPONENT:
+ return dialogComponent != null;
}
return super.eIsSet(featureID);
}
diff --git a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/YDialogComponentImpl.java b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/YDialogComponentImpl.java
new file mode 100644
index 0000000..78fbf9c
--- /dev/null
+++ b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/YDialogComponentImpl.java
@@ -0,0 +1,744 @@
+/**
+ */
+package org.eclipse.osbp.ecview.core.extension.model.extension.impl;
+
+import java.util.Collection;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.notify.NotificationChain;
+import org.eclipse.emf.common.util.EList;
+import org.eclipse.emf.common.util.EMap;
+import org.eclipse.emf.ecore.EClass;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.ecore.InternalEObject;
+import org.eclipse.emf.ecore.impl.ENotificationImpl;
+
+import org.eclipse.emf.ecore.impl.MinimalEObjectImpl;
+import org.eclipse.emf.ecore.util.EDataTypeUniqueEList;
+import org.eclipse.emf.ecore.util.EcoreEMap;
+import org.eclipse.emf.ecore.util.InternalEList;
+import org.eclipse.osbp.ecview.core.common.model.core.CoreModelPackage;
+import org.eclipse.osbp.ecview.core.common.model.core.YBindable;
+import org.eclipse.osbp.ecview.core.common.model.core.YCssAble;
+import org.eclipse.osbp.ecview.core.common.model.core.YEmbeddableValueEndpoint;
+import org.eclipse.osbp.ecview.core.common.model.core.YValueBindable;
+import org.eclipse.osbp.ecview.core.common.model.core.impl.YStringToStringMapImpl;
+import org.eclipse.osbp.ecview.core.extension.model.extension.ExtensionModelPackage;
+import org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent;
+
+/**
+ * <!-- begin-user-doc -->
+ * An implementation of the model object '<em><b>YDialog Component</b></em>'.
+ * <!-- end-user-doc -->
+ * <p>
+ * The following features are implemented:
+ * </p>
+ * <ul>
+ * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YDialogComponentImpl#getTags <em>Tags</em>}</li>
+ * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YDialogComponentImpl#getId <em>Id</em>}</li>
+ * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YDialogComponentImpl#getName <em>Name</em>}</li>
+ * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YDialogComponentImpl#getProperties <em>Properties</em>}</li>
+ * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YDialogComponentImpl#getValueBindingEndpoint <em>Value Binding Endpoint</em>}</li>
+ * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YDialogComponentImpl#getCssClass <em>Css Class</em>}</li>
+ * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YDialogComponentImpl#getCssID <em>Css ID</em>}</li>
+ * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YDialogComponentImpl#getViewContextCallback <em>View Context Callback</em>}</li>
+ * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YDialogComponentImpl#getType <em>Type</em>}</li>
+ * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YDialogComponentImpl#getUpdateCallback <em>Update Callback</em>}</li>
+ * </ul>
+ *
+ * @generated
+ */
+public class YDialogComponentImpl extends MinimalEObjectImpl.Container implements YDialogComponent {
+ /**
+ * The cached value of the '{@link #getTags() <em>Tags</em>}' attribute list.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getTags()
+ * @generated
+ * @ordered
+ */
+ protected EList<String> tags;
+
+ /**
+ * The default value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected static final String ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getId() <em>Id</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getId()
+ * @generated
+ * @ordered
+ */
+ protected String id = ID_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected static final String NAME_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getName() <em>Name</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getName()
+ * @generated
+ * @ordered
+ */
+ protected String name = NAME_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getProperties() <em>Properties</em>}' map.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getProperties()
+ * @generated
+ * @ordered
+ */
+ protected EMap<String, String> properties;
+
+ /**
+ * The cached value of the '{@link #getValueBindingEndpoint() <em>Value Binding Endpoint</em>}' reference.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getValueBindingEndpoint()
+ * @generated
+ * @ordered
+ */
+ protected YEmbeddableValueEndpoint valueBindingEndpoint;
+
+ /**
+ * The default value of the '{@link #getCssClass() <em>Css Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCssClass()
+ * @generated
+ * @ordered
+ */
+ protected static final String CSS_CLASS_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getCssClass() <em>Css Class</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCssClass()
+ * @generated
+ * @ordered
+ */
+ protected String cssClass = CSS_CLASS_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getCssID() <em>Css ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCssID()
+ * @generated
+ * @ordered
+ */
+ protected static final String CSS_ID_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getCssID() <em>Css ID</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getCssID()
+ * @generated
+ * @ordered
+ */
+ protected String cssID = CSS_ID_EDEFAULT;
+
+ /**
+ * The default value of the '{@link #getViewContextCallback() <em>View Context Callback</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getViewContextCallback()
+ * @generated
+ * @ordered
+ */
+ protected static final Object VIEW_CONTEXT_CALLBACK_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getViewContextCallback() <em>View Context Callback</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getViewContextCallback()
+ * @generated
+ * @ordered
+ */
+ protected Object viewContextCallback = VIEW_CONTEXT_CALLBACK_EDEFAULT;
+
+ /**
+ * The cached value of the '{@link #getType() <em>Type</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getType()
+ * @generated
+ * @ordered
+ */
+ protected Class<?> type;
+
+ /**
+ * The default value of the '{@link #getUpdateCallback() <em>Update Callback</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUpdateCallback()
+ * @generated
+ * @ordered
+ */
+ protected static final Object UPDATE_CALLBACK_EDEFAULT = null;
+
+ /**
+ * The cached value of the '{@link #getUpdateCallback() <em>Update Callback</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getUpdateCallback()
+ * @generated
+ * @ordered
+ */
+ protected Object updateCallback = UPDATE_CALLBACK_EDEFAULT;
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected YDialogComponentImpl() {
+ super();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EClass eStaticClass() {
+ return ExtensionModelPackage.Literals.YDIALOG_COMPONENT;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EList<String> getTags() {
+ if (tags == null) {
+ tags = new EDataTypeUniqueEList<String>(String.class, this, ExtensionModelPackage.YDIALOG_COMPONENT__TAGS);
+ }
+ return tags;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setId(String newId) {
+ String oldId = id;
+ id = newId;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ExtensionModelPackage.YDIALOG_COMPONENT__ID, oldId, id));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setName(String newName) {
+ String oldName = name;
+ name = newName;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ExtensionModelPackage.YDIALOG_COMPONENT__NAME, oldName, name));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public EMap<String, String> getProperties() {
+ if (properties == null) {
+ properties = new EcoreEMap<String,String>(CoreModelPackage.Literals.YSTRING_TO_STRING_MAP, YStringToStringMapImpl.class, this, ExtensionModelPackage.YDIALOG_COMPONENT__PROPERTIES);
+ }
+ return properties;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public YEmbeddableValueEndpoint getValueBindingEndpoint() {
+ if (valueBindingEndpoint != null && valueBindingEndpoint.eIsProxy()) {
+ InternalEObject oldValueBindingEndpoint = (InternalEObject)valueBindingEndpoint;
+ valueBindingEndpoint = (YEmbeddableValueEndpoint)eResolveProxy(oldValueBindingEndpoint);
+ if (valueBindingEndpoint != oldValueBindingEndpoint) {
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.RESOLVE, ExtensionModelPackage.YDIALOG_COMPONENT__VALUE_BINDING_ENDPOINT, oldValueBindingEndpoint, valueBindingEndpoint));
+ }
+ }
+ return valueBindingEndpoint;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public YEmbeddableValueEndpoint basicGetValueBindingEndpoint() {
+ return valueBindingEndpoint;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NotificationChain basicSetValueBindingEndpoint(YEmbeddableValueEndpoint newValueBindingEndpoint, NotificationChain msgs) {
+ YEmbeddableValueEndpoint oldValueBindingEndpoint = valueBindingEndpoint;
+ valueBindingEndpoint = newValueBindingEndpoint;
+ if (eNotificationRequired()) {
+ ENotificationImpl notification = new ENotificationImpl(this, Notification.SET, ExtensionModelPackage.YDIALOG_COMPONENT__VALUE_BINDING_ENDPOINT, oldValueBindingEndpoint, newValueBindingEndpoint);
+ if (msgs == null) msgs = notification; else msgs.add(notification);
+ }
+ return msgs;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setValueBindingEndpoint(YEmbeddableValueEndpoint newValueBindingEndpoint) {
+ if (newValueBindingEndpoint != valueBindingEndpoint) {
+ NotificationChain msgs = null;
+ if (valueBindingEndpoint != null)
+ msgs = ((InternalEObject)valueBindingEndpoint).eInverseRemove(this, CoreModelPackage.YEMBEDDABLE_VALUE_ENDPOINT__ELEMENT, YEmbeddableValueEndpoint.class, msgs);
+ if (newValueBindingEndpoint != null)
+ msgs = ((InternalEObject)newValueBindingEndpoint).eInverseAdd(this, CoreModelPackage.YEMBEDDABLE_VALUE_ENDPOINT__ELEMENT, YEmbeddableValueEndpoint.class, msgs);
+ msgs = basicSetValueBindingEndpoint(newValueBindingEndpoint, msgs);
+ if (msgs != null) msgs.dispatch();
+ }
+ else if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ExtensionModelPackage.YDIALOG_COMPONENT__VALUE_BINDING_ENDPOINT, newValueBindingEndpoint, newValueBindingEndpoint));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getCssClass() {
+ return cssClass;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCssClass(String newCssClass) {
+ String oldCssClass = cssClass;
+ cssClass = newCssClass;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ExtensionModelPackage.YDIALOG_COMPONENT__CSS_CLASS, oldCssClass, cssClass));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getCssID() {
+ return cssID;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setCssID(String newCssID) {
+ String oldCssID = cssID;
+ cssID = newCssID;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ExtensionModelPackage.YDIALOG_COMPONENT__CSS_ID, oldCssID, cssID));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object getViewContextCallback() {
+ return viewContextCallback;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setViewContextCallback(Object newViewContextCallback) {
+ Object oldViewContextCallback = viewContextCallback;
+ viewContextCallback = newViewContextCallback;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ExtensionModelPackage.YDIALOG_COMPONENT__VIEW_CONTEXT_CALLBACK, oldViewContextCallback, viewContextCallback));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Class<?> getType() {
+ return type;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setType(Class<?> newType) {
+ Class<?> oldType = type;
+ type = newType;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ExtensionModelPackage.YDIALOG_COMPONENT__TYPE, oldType, type));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object getUpdateCallback() {
+ return updateCallback;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setUpdateCallback(Object newUpdateCallback) {
+ Object oldUpdateCallback = updateCallback;
+ updateCallback = newUpdateCallback;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ExtensionModelPackage.YDIALOG_COMPONENT__UPDATE_CALLBACK, oldUpdateCallback, updateCallback));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public YEmbeddableValueEndpoint createValueEndpoint() {
+ // TODO: implement this method
+ // Ensure that you remove @generated or mark it @generated NOT
+ throw new UnsupportedOperationException();
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseAdd(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case ExtensionModelPackage.YDIALOG_COMPONENT__VALUE_BINDING_ENDPOINT:
+ if (valueBindingEndpoint != null)
+ msgs = ((InternalEObject)valueBindingEndpoint).eInverseRemove(this, CoreModelPackage.YEMBEDDABLE_VALUE_ENDPOINT__ELEMENT, YEmbeddableValueEndpoint.class, msgs);
+ return basicSetValueBindingEndpoint((YEmbeddableValueEndpoint)otherEnd, msgs);
+ }
+ return super.eInverseAdd(otherEnd, featureID, msgs);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) {
+ switch (featureID) {
+ case ExtensionModelPackage.YDIALOG_COMPONENT__PROPERTIES:
+ return ((InternalEList<?>)getProperties()).basicRemove(otherEnd, msgs);
+ case ExtensionModelPackage.YDIALOG_COMPONENT__VALUE_BINDING_ENDPOINT:
+ return basicSetValueBindingEndpoint(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 ExtensionModelPackage.YDIALOG_COMPONENT__TAGS:
+ return getTags();
+ case ExtensionModelPackage.YDIALOG_COMPONENT__ID:
+ return getId();
+ case ExtensionModelPackage.YDIALOG_COMPONENT__NAME:
+ return getName();
+ case ExtensionModelPackage.YDIALOG_COMPONENT__PROPERTIES:
+ if (coreType) return getProperties();
+ else return getProperties().map();
+ case ExtensionModelPackage.YDIALOG_COMPONENT__VALUE_BINDING_ENDPOINT:
+ if (resolve) return getValueBindingEndpoint();
+ return basicGetValueBindingEndpoint();
+ case ExtensionModelPackage.YDIALOG_COMPONENT__CSS_CLASS:
+ return getCssClass();
+ case ExtensionModelPackage.YDIALOG_COMPONENT__CSS_ID:
+ return getCssID();
+ case ExtensionModelPackage.YDIALOG_COMPONENT__VIEW_CONTEXT_CALLBACK:
+ return getViewContextCallback();
+ case ExtensionModelPackage.YDIALOG_COMPONENT__TYPE:
+ return getType();
+ case ExtensionModelPackage.YDIALOG_COMPONENT__UPDATE_CALLBACK:
+ return getUpdateCallback();
+ }
+ 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 ExtensionModelPackage.YDIALOG_COMPONENT__TAGS:
+ getTags().clear();
+ getTags().addAll((Collection<? extends String>)newValue);
+ return;
+ case ExtensionModelPackage.YDIALOG_COMPONENT__ID:
+ setId((String)newValue);
+ return;
+ case ExtensionModelPackage.YDIALOG_COMPONENT__NAME:
+ setName((String)newValue);
+ return;
+ case ExtensionModelPackage.YDIALOG_COMPONENT__PROPERTIES:
+ ((EStructuralFeature.Setting)getProperties()).set(newValue);
+ return;
+ case ExtensionModelPackage.YDIALOG_COMPONENT__VALUE_BINDING_ENDPOINT:
+ setValueBindingEndpoint((YEmbeddableValueEndpoint)newValue);
+ return;
+ case ExtensionModelPackage.YDIALOG_COMPONENT__CSS_CLASS:
+ setCssClass((String)newValue);
+ return;
+ case ExtensionModelPackage.YDIALOG_COMPONENT__CSS_ID:
+ setCssID((String)newValue);
+ return;
+ case ExtensionModelPackage.YDIALOG_COMPONENT__VIEW_CONTEXT_CALLBACK:
+ setViewContextCallback(newValue);
+ return;
+ case ExtensionModelPackage.YDIALOG_COMPONENT__TYPE:
+ setType((Class<?>)newValue);
+ return;
+ case ExtensionModelPackage.YDIALOG_COMPONENT__UPDATE_CALLBACK:
+ setUpdateCallback(newValue);
+ return;
+ }
+ super.eSet(featureID, newValue);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void eUnset(int featureID) {
+ switch (featureID) {
+ case ExtensionModelPackage.YDIALOG_COMPONENT__TAGS:
+ getTags().clear();
+ return;
+ case ExtensionModelPackage.YDIALOG_COMPONENT__ID:
+ setId(ID_EDEFAULT);
+ return;
+ case ExtensionModelPackage.YDIALOG_COMPONENT__NAME:
+ setName(NAME_EDEFAULT);
+ return;
+ case ExtensionModelPackage.YDIALOG_COMPONENT__PROPERTIES:
+ getProperties().clear();
+ return;
+ case ExtensionModelPackage.YDIALOG_COMPONENT__VALUE_BINDING_ENDPOINT:
+ setValueBindingEndpoint((YEmbeddableValueEndpoint)null);
+ return;
+ case ExtensionModelPackage.YDIALOG_COMPONENT__CSS_CLASS:
+ setCssClass(CSS_CLASS_EDEFAULT);
+ return;
+ case ExtensionModelPackage.YDIALOG_COMPONENT__CSS_ID:
+ setCssID(CSS_ID_EDEFAULT);
+ return;
+ case ExtensionModelPackage.YDIALOG_COMPONENT__VIEW_CONTEXT_CALLBACK:
+ setViewContextCallback(VIEW_CONTEXT_CALLBACK_EDEFAULT);
+ return;
+ case ExtensionModelPackage.YDIALOG_COMPONENT__TYPE:
+ setType((Class<?>)null);
+ return;
+ case ExtensionModelPackage.YDIALOG_COMPONENT__UPDATE_CALLBACK:
+ setUpdateCallback(UPDATE_CALLBACK_EDEFAULT);
+ return;
+ }
+ super.eUnset(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean eIsSet(int featureID) {
+ switch (featureID) {
+ case ExtensionModelPackage.YDIALOG_COMPONENT__TAGS:
+ return tags != null && !tags.isEmpty();
+ case ExtensionModelPackage.YDIALOG_COMPONENT__ID:
+ return ID_EDEFAULT == null ? id != null : !ID_EDEFAULT.equals(id);
+ case ExtensionModelPackage.YDIALOG_COMPONENT__NAME:
+ return NAME_EDEFAULT == null ? name != null : !NAME_EDEFAULT.equals(name);
+ case ExtensionModelPackage.YDIALOG_COMPONENT__PROPERTIES:
+ return properties != null && !properties.isEmpty();
+ case ExtensionModelPackage.YDIALOG_COMPONENT__VALUE_BINDING_ENDPOINT:
+ return valueBindingEndpoint != null;
+ case ExtensionModelPackage.YDIALOG_COMPONENT__CSS_CLASS:
+ return CSS_CLASS_EDEFAULT == null ? cssClass != null : !CSS_CLASS_EDEFAULT.equals(cssClass);
+ case ExtensionModelPackage.YDIALOG_COMPONENT__CSS_ID:
+ return CSS_ID_EDEFAULT == null ? cssID != null : !CSS_ID_EDEFAULT.equals(cssID);
+ case ExtensionModelPackage.YDIALOG_COMPONENT__VIEW_CONTEXT_CALLBACK:
+ return VIEW_CONTEXT_CALLBACK_EDEFAULT == null ? viewContextCallback != null : !VIEW_CONTEXT_CALLBACK_EDEFAULT.equals(viewContextCallback);
+ case ExtensionModelPackage.YDIALOG_COMPONENT__TYPE:
+ return type != null;
+ case ExtensionModelPackage.YDIALOG_COMPONENT__UPDATE_CALLBACK:
+ return UPDATE_CALLBACK_EDEFAULT == null ? updateCallback != null : !UPDATE_CALLBACK_EDEFAULT.equals(updateCallback);
+ }
+ return super.eIsSet(featureID);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eBaseStructuralFeatureID(int derivedFeatureID, Class<?> baseClass) {
+ if (baseClass == YBindable.class) {
+ switch (derivedFeatureID) {
+ default: return -1;
+ }
+ }
+ if (baseClass == YValueBindable.class) {
+ switch (derivedFeatureID) {
+ case ExtensionModelPackage.YDIALOG_COMPONENT__VALUE_BINDING_ENDPOINT: return CoreModelPackage.YVALUE_BINDABLE__VALUE_BINDING_ENDPOINT;
+ default: return -1;
+ }
+ }
+ if (baseClass == YCssAble.class) {
+ switch (derivedFeatureID) {
+ case ExtensionModelPackage.YDIALOG_COMPONENT__CSS_CLASS: return CoreModelPackage.YCSS_ABLE__CSS_CLASS;
+ case ExtensionModelPackage.YDIALOG_COMPONENT__CSS_ID: return CoreModelPackage.YCSS_ABLE__CSS_ID;
+ default: return -1;
+ }
+ }
+ return super.eBaseStructuralFeatureID(derivedFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public int eDerivedStructuralFeatureID(int baseFeatureID, Class<?> baseClass) {
+ if (baseClass == YBindable.class) {
+ switch (baseFeatureID) {
+ default: return -1;
+ }
+ }
+ if (baseClass == YValueBindable.class) {
+ switch (baseFeatureID) {
+ case CoreModelPackage.YVALUE_BINDABLE__VALUE_BINDING_ENDPOINT: return ExtensionModelPackage.YDIALOG_COMPONENT__VALUE_BINDING_ENDPOINT;
+ default: return -1;
+ }
+ }
+ if (baseClass == YCssAble.class) {
+ switch (baseFeatureID) {
+ case CoreModelPackage.YCSS_ABLE__CSS_CLASS: return ExtensionModelPackage.YDIALOG_COMPONENT__CSS_CLASS;
+ case CoreModelPackage.YCSS_ABLE__CSS_ID: return ExtensionModelPackage.YDIALOG_COMPONENT__CSS_ID;
+ default: return -1;
+ }
+ }
+ return super.eDerivedStructuralFeatureID(baseFeatureID, baseClass);
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String toString() {
+ if (eIsProxy()) return super.toString();
+
+ StringBuffer result = new StringBuffer(super.toString());
+ result.append(" (tags: ");
+ result.append(tags);
+ result.append(", id: ");
+ result.append(id);
+ result.append(", name: ");
+ result.append(name);
+ result.append(", cssClass: ");
+ result.append(cssClass);
+ result.append(", cssID: ");
+ result.append(cssID);
+ result.append(", viewContextCallback: ");
+ result.append(viewContextCallback);
+ result.append(", type: ");
+ result.append(type);
+ result.append(", updateCallback: ");
+ result.append(updateCallback);
+ result.append(')');
+ return result.toString();
+ }
+
+} //YDialogComponentImpl
diff --git a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/YNumericSearchFieldImpl.java b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/YNumericSearchFieldImpl.java
index 97554b4..129eb95 100644
--- a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/YNumericSearchFieldImpl.java
+++ b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/YNumericSearchFieldImpl.java
@@ -136,7 +136,7 @@
* @generated
* @ordered
*/
- protected Class type;
+ protected Class<?> type;
/**
* The default value of the '{@link #getTypeQualifiedName() <em>Type Qualified Name</em>}' attribute.
@@ -379,7 +379,7 @@
* attribute
* @generated
*/
- public Class getType() {
+ public Class<?> getType() {
return type;
}
@@ -391,8 +391,8 @@
* attribute
* @generated
*/
- public void setType(Class newType) {
- Class oldType = type;
+ public void setType(Class<?> newType) {
+ Class<?> oldType = type;
type = newType;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, ExtensionModelPackage.YNUMERIC_SEARCH_FIELD__TYPE, oldType, type));
@@ -543,7 +543,7 @@
setPropertyPath((String)newValue);
return;
case ExtensionModelPackage.YNUMERIC_SEARCH_FIELD__TYPE:
- setType((Class)newValue);
+ setType((Class<?>)newValue);
return;
case ExtensionModelPackage.YNUMERIC_SEARCH_FIELD__TYPE_QUALIFIED_NAME:
setTypeQualifiedName((String)newValue);
@@ -578,7 +578,7 @@
setPropertyPath(PROPERTY_PATH_EDEFAULT);
return;
case ExtensionModelPackage.YNUMERIC_SEARCH_FIELD__TYPE:
- setType((Class)null);
+ setType((Class<?>)null);
return;
case ExtensionModelPackage.YNUMERIC_SEARCH_FIELD__TYPE_QUALIFIED_NAME:
setTypeQualifiedName(TYPE_QUALIFIED_NAME_EDEFAULT);
diff --git a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/YTableImpl.java b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/YTableImpl.java
index b3c83eb..0e0df1f 100644
--- a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/YTableImpl.java
+++ b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/impl/YTableImpl.java
@@ -70,6 +70,7 @@
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YTableImpl#getSortOrder <em>Sort Order</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YTableImpl#getDoSort <em>Do Sort</em>}</li>
* <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YTableImpl#isScrollToBottom <em>Scroll To Bottom</em>}</li>
+ * <li>{@link org.eclipse.osbp.ecview.core.extension.model.extension.impl.YTableImpl#getPageLength <em>Page Length</em>}</li>
* </ul>
*
* @generated
@@ -339,6 +340,25 @@
protected boolean scrollToBottom = SCROLL_TO_BOTTOM_EDEFAULT;
/**
+ * The default value of the '{@link #getPageLength() <em>Page Length</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPageLength()
+ * @generated
+ * @ordered
+ */
+ protected static final int PAGE_LENGTH_EDEFAULT = 0;
+ /**
+ * The cached value of the '{@link #getPageLength() <em>Page Length</em>}' attribute.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @see #getPageLength()
+ * @generated
+ * @ordered
+ */
+ protected int pageLength = PAGE_LENGTH_EDEFAULT;
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->.
*
* @generated
@@ -1021,6 +1041,27 @@
}
/**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public int getPageLength() {
+ return pageLength;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public void setPageLength(int newPageLength) {
+ int oldPageLength = pageLength;
+ pageLength = newPageLength;
+ if (eNotificationRequired())
+ eNotify(new ENotificationImpl(this, Notification.SET, ExtensionModelPackage.YTABLE__PAGE_LENGTH, oldPageLength, pageLength));
+ }
+
+ /**
* <!-- begin-user-doc --> <!-- end-user-doc -->.
*
* @return the y embeddable multi selection endpoint
@@ -1211,6 +1252,8 @@
return getDoSort();
case ExtensionModelPackage.YTABLE__SCROLL_TO_BOTTOM:
return isScrollToBottom();
+ case ExtensionModelPackage.YTABLE__PAGE_LENGTH:
+ return getPageLength();
}
return super.eGet(featureID, resolve, coreType);
}
@@ -1292,6 +1335,9 @@
case ExtensionModelPackage.YTABLE__SCROLL_TO_BOTTOM:
setScrollToBottom((Boolean)newValue);
return;
+ case ExtensionModelPackage.YTABLE__PAGE_LENGTH:
+ setPageLength((Integer)newValue);
+ return;
}
super.eSet(featureID, newValue);
}
@@ -1366,6 +1412,9 @@
case ExtensionModelPackage.YTABLE__SCROLL_TO_BOTTOM:
setScrollToBottom(SCROLL_TO_BOTTOM_EDEFAULT);
return;
+ case ExtensionModelPackage.YTABLE__PAGE_LENGTH:
+ setPageLength(PAGE_LENGTH_EDEFAULT);
+ return;
}
super.eUnset(featureID);
}
@@ -1421,6 +1470,8 @@
return DO_SORT_EDEFAULT == null ? doSort != null : !DO_SORT_EDEFAULT.equals(doSort);
case ExtensionModelPackage.YTABLE__SCROLL_TO_BOTTOM:
return scrollToBottom != SCROLL_TO_BOTTOM_EDEFAULT;
+ case ExtensionModelPackage.YTABLE__PAGE_LENGTH:
+ return pageLength != PAGE_LENGTH_EDEFAULT;
}
return super.eIsSet(featureID);
}
@@ -1550,6 +1601,8 @@
result.append(doSort);
result.append(", scrollToBottom: ");
result.append(scrollToBottom);
+ result.append(", pageLength: ");
+ result.append(pageLength);
result.append(')');
return result.toString();
}
diff --git a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/util/ExtensionModelAdapterFactory.java b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/util/ExtensionModelAdapterFactory.java
index 0d26d9f..3656e31 100644
--- a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/util/ExtensionModelAdapterFactory.java
+++ b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/util/ExtensionModelAdapterFactory.java
@@ -397,6 +397,10 @@
return createYKanbanVisibilityProcessorAdapter();
}
@Override
+ public Adapter caseYDialogComponent(YDialogComponent object) {
+ return createYDialogComponentAdapter();
+ }
+ @Override
public Adapter caseYTaggable(YTaggable object) {
return createYTaggableAdapter();
}
@@ -1361,6 +1365,20 @@
}
/**
+ * Creates a new adapter for an object of class '{@link org.eclipse.osbp.ecview.core.extension.model.extension.YDialogComponent <em>YDialog Component</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.osbp.ecview.core.extension.model.extension.YDialogComponent
+ * @generated
+ */
+ public Adapter createYDialogComponentAdapter() {
+ return null;
+ }
+
+ /**
* Creates a new adapter for an object of class '{@link org.eclipse.osbp.ecview.core.common.model.core.YTaggable <em>YTaggable</em>}'.
* <!-- begin-user-doc -->
* This default implementation returns null so that we can easily ignore cases;
diff --git a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/util/ExtensionModelSwitch.java b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/util/ExtensionModelSwitch.java
index ba0faf2..c9881c3 100644
--- a/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/util/ExtensionModelSwitch.java
+++ b/org.eclipse.osbp.ecview.core.extension.model/src/org/eclipse/osbp/ecview/core/extension/model/extension/util/ExtensionModelSwitch.java
@@ -1116,6 +1116,17 @@
if (result == null) result = defaultCase(theEObject);
return result;
}
+ case ExtensionModelPackage.YDIALOG_COMPONENT: {
+ YDialogComponent yDialogComponent = (YDialogComponent)theEObject;
+ T result = caseYDialogComponent(yDialogComponent);
+ if (result == null) result = caseYElement(yDialogComponent);
+ if (result == null) result = caseYValueBindable(yDialogComponent);
+ if (result == null) result = caseYCssAble(yDialogComponent);
+ if (result == null) result = caseYTaggable(yDialogComponent);
+ if (result == null) result = caseYBindable(yDialogComponent);
+ if (result == null) result = defaultCase(theEObject);
+ return result;
+ }
default: return defaultCase(theEObject);
}
}
@@ -2021,6 +2032,21 @@
}
/**
+ * Returns the result of interpreting the object as an instance of '<em>YDialog Component</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>YDialog Component</em>'.
+ * @see #doSwitch(org.eclipse.emf.ecore.EObject) doSwitch(EObject)
+ * @generated
+ */
+ public T caseYDialogComponent(YDialogComponent object) {
+ return null;
+ }
+
+ /**
* Returns the result of interpreting the object as an instance of '<em>YTaggable</em>'.
* <!-- begin-user-doc -->
* This implementation returns null;