Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.osbp.ecview.dsl.edit/src/org/eclipse/osbp/ecview/semantic/uimodel/provider/UiMobileSearchPanelItemProvider.java')
-rw-r--r--org.eclipse.osbp.ecview.dsl.edit/src/org/eclipse/osbp/ecview/semantic/uimodel/provider/UiMobileSearchPanelItemProvider.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/org.eclipse.osbp.ecview.dsl.edit/src/org/eclipse/osbp/ecview/semantic/uimodel/provider/UiMobileSearchPanelItemProvider.java b/org.eclipse.osbp.ecview.dsl.edit/src/org/eclipse/osbp/ecview/semantic/uimodel/provider/UiMobileSearchPanelItemProvider.java
index a0d3ffb..f4fc90c 100644
--- a/org.eclipse.osbp.ecview.dsl.edit/src/org/eclipse/osbp/ecview/semantic/uimodel/provider/UiMobileSearchPanelItemProvider.java
+++ b/org.eclipse.osbp.ecview.dsl.edit/src/org/eclipse/osbp/ecview/semantic/uimodel/provider/UiMobileSearchPanelItemProvider.java
@@ -1,4 +1,14 @@
/**
+ * Copyright (c) 2011, 2015 - Lunifera GmbH (Gross Enzersdorf, Austria), Loetz GmbH&Co.KG (69115 Heidelberg, Germany)
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License 2.0
+ * which accompanies this distribution, and is available at
+ * https://www.eclipse.org/legal/epl-2.0/
+ *
+ * SPDX-License-Identifier: EPL-2.0
+ *
+ * Contributors:
+ * Florian Pirchner - Initial implementation
*/
package org.eclipse.osbp.ecview.semantic.uimodel.provider;
@@ -58,6 +68,7 @@ public class UiMobileSearchPanelItemProvider extends UiVisibilityProcessableItem
addInvisiblePropertyDescriptor(object);
addStylesPropertyDescriptor(object);
addAutowirePropertyDescriptor(object);
+ addNumberColumnsPropertyDescriptor(object);
}
return itemPropertyDescriptors;
}
@@ -195,6 +206,28 @@ public class UiMobileSearchPanelItemProvider extends UiVisibilityProcessableItem
}
/**
+ * This adds a property descriptor for the Number Columns feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addNumberColumnsPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_UiLayout_numberColumns_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_UiLayout_numberColumns_feature", "_UI_UiLayout_type"),
+ UiModelPackage.Literals.UI_LAYOUT__NUMBER_COLUMNS,
+ 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}.
@@ -272,6 +305,7 @@ public class UiMobileSearchPanelItemProvider extends UiVisibilityProcessableItem
case UiModelPackage.UI_MOBILE_SEARCH_PANEL__INVISIBLE:
case UiModelPackage.UI_MOBILE_SEARCH_PANEL__STYLES:
case UiModelPackage.UI_MOBILE_SEARCH_PANEL__AUTOWIRE:
+ case UiModelPackage.UI_MOBILE_SEARCH_PANEL__NUMBER_COLUMNS:
fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
return;
case UiModelPackage.UI_MOBILE_SEARCH_PANEL__I18N_INFO:

Back to the top