diff options
Diffstat (limited to 'org.eclipse.osbp.ecview.dsl.edit/src/org/eclipse/osbp/ecview/semantic/uimodel/provider/UiHorizontalLayoutItemProvider.java')
-rw-r--r-- | org.eclipse.osbp.ecview.dsl.edit/src/org/eclipse/osbp/ecview/semantic/uimodel/provider/UiHorizontalLayoutItemProvider.java | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/org.eclipse.osbp.ecview.dsl.edit/src/org/eclipse/osbp/ecview/semantic/uimodel/provider/UiHorizontalLayoutItemProvider.java b/org.eclipse.osbp.ecview.dsl.edit/src/org/eclipse/osbp/ecview/semantic/uimodel/provider/UiHorizontalLayoutItemProvider.java index d5e5cc2..c938e50 100644 --- a/org.eclipse.osbp.ecview.dsl.edit/src/org/eclipse/osbp/ecview/semantic/uimodel/provider/UiHorizontalLayoutItemProvider.java +++ b/org.eclipse.osbp.ecview.dsl.edit/src/org/eclipse/osbp/ecview/semantic/uimodel/provider/UiHorizontalLayoutItemProvider.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; @@ -54,6 +64,7 @@ public class UiHorizontalLayoutItemProvider extends UiVisibilityProcessableItemP addInvisiblePropertyDescriptor(object); addStylesPropertyDescriptor(object); addAutowirePropertyDescriptor(object); + addNumberColumnsPropertyDescriptor(object); } return itemPropertyDescriptors; } @@ -191,6 +202,28 @@ public class UiHorizontalLayoutItemProvider extends UiVisibilityProcessableItemP } /** + * 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}. @@ -267,6 +300,7 @@ public class UiHorizontalLayoutItemProvider extends UiVisibilityProcessableItemP case UiModelPackage.UI_HORIZONTAL_LAYOUT__INVISIBLE: case UiModelPackage.UI_HORIZONTAL_LAYOUT__STYLES: case UiModelPackage.UI_HORIZONTAL_LAYOUT__AUTOWIRE: + case UiModelPackage.UI_HORIZONTAL_LAYOUT__NUMBER_COLUMNS: fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true)); return; case UiModelPackage.UI_HORIZONTAL_LAYOUT__I18N_INFO: |