diff options
Diffstat (limited to 'plugins/org.gastro.business.edit/src/org/gastro/business/provider')
6 files changed, 58 insertions, 45 deletions
diff --git a/plugins/org.gastro.business.edit/src/org/gastro/business/provider/BusinessDayItemProvider.java b/plugins/org.gastro.business.edit/src/org/gastro/business/provider/BusinessDayItemProvider.java index c02c8fb7c1..c7aa51fcf0 100644 --- a/plugins/org.gastro.business.edit/src/org/gastro/business/provider/BusinessDayItemProvider.java +++ b/plugins/org.gastro.business.edit/src/org/gastro/business/provider/BusinessDayItemProvider.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -81,9 +81,10 @@ public class BusinessDayItemProvider extends ItemProviderAdapter implements IEdi */ protected void addDatePropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory) - .getRootAdapterFactory(), getResourceLocator(), getString("_UI_BusinessDay_date_feature"), getString( - "_UI_PropertyDescriptor_description", "_UI_BusinessDay_date_feature", "_UI_BusinessDay_type"), + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_BusinessDay_date_feature"), + getString("_UI_PropertyDescriptor_description", "_UI_BusinessDay_date_feature", "_UI_BusinessDay_type"), BusinessPackage.Literals.BUSINESS_DAY__DATE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); } @@ -95,9 +96,10 @@ public class BusinessDayItemProvider extends ItemProviderAdapter implements IEdi */ protected void addMenuCardPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory) - .getRootAdapterFactory(), getResourceLocator(), getString("_UI_BusinessDay_menuCard_feature"), getString( - "_UI_PropertyDescriptor_description", "_UI_BusinessDay_menuCard_feature", "_UI_BusinessDay_type"), + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_BusinessDay_menuCard_feature"), + getString("_UI_PropertyDescriptor_description", "_UI_BusinessDay_menuCard_feature", "_UI_BusinessDay_type"), BusinessPackage.Literals.BUSINESS_DAY__MENU_CARD, true, false, true, null, null, null)); } @@ -108,9 +110,10 @@ public class BusinessDayItemProvider extends ItemProviderAdapter implements IEdi */ protected void addClosedPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory) - .getRootAdapterFactory(), getResourceLocator(), getString("_UI_BusinessDay_closed_feature"), getString( - "_UI_PropertyDescriptor_description", "_UI_BusinessDay_closed_feature", "_UI_BusinessDay_type"), + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_BusinessDay_closed_feature"), + getString("_UI_PropertyDescriptor_description", "_UI_BusinessDay_closed_feature", "_UI_BusinessDay_type"), BusinessPackage.Literals.BUSINESS_DAY__CLOSED, true, false, false, ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, null)); } diff --git a/plugins/org.gastro.business.edit/src/org/gastro/business/provider/BusinessEditPlugin.java b/plugins/org.gastro.business.edit/src/org/gastro/business/provider/BusinessEditPlugin.java index 20ba67542d..88da60454c 100644 --- a/plugins/org.gastro.business.edit/src/org/gastro/business/provider/BusinessEditPlugin.java +++ b/plugins/org.gastro.business.edit/src/org/gastro/business/provider/BusinessEditPlugin.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/plugins/org.gastro.business.edit/src/org/gastro/business/provider/BusinessItemProviderAdapterFactory.java b/plugins/org.gastro.business.edit/src/org/gastro/business/provider/BusinessItemProviderAdapterFactory.java index 7465a63ae0..93ec9f0f45 100644 --- a/plugins/org.gastro.business.edit/src/org/gastro/business/provider/BusinessItemProviderAdapterFactory.java +++ b/plugins/org.gastro.business.edit/src/org/gastro/business/provider/BusinessItemProviderAdapterFactory.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at diff --git a/plugins/org.gastro.business.edit/src/org/gastro/business/provider/OrderDetailItemProvider.java b/plugins/org.gastro.business.edit/src/org/gastro/business/provider/OrderDetailItemProvider.java index 4b0328bd2e..455d19ecdd 100644 --- a/plugins/org.gastro.business.edit/src/org/gastro/business/provider/OrderDetailItemProvider.java +++ b/plugins/org.gastro.business.edit/src/org/gastro/business/provider/OrderDetailItemProvider.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -79,9 +79,10 @@ public class OrderDetailItemProvider extends ItemProviderAdapter implements IEdi */ protected void addOfferingPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory) - .getRootAdapterFactory(), getResourceLocator(), getString("_UI_OrderDetail_offering_feature"), getString( - "_UI_PropertyDescriptor_description", "_UI_OrderDetail_offering_feature", "_UI_OrderDetail_type"), + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_OrderDetail_offering_feature"), + getString("_UI_PropertyDescriptor_description", "_UI_OrderDetail_offering_feature", "_UI_OrderDetail_type"), BusinessPackage.Literals.ORDER_DETAIL__OFFERING, true, false, true, null, null, null)); } @@ -92,9 +93,10 @@ public class OrderDetailItemProvider extends ItemProviderAdapter implements IEdi */ protected void addQuantityPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory) - .getRootAdapterFactory(), getResourceLocator(), getString("_UI_OrderDetail_quantity_feature"), getString( - "_UI_PropertyDescriptor_description", "_UI_OrderDetail_quantity_feature", "_UI_OrderDetail_type"), + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_OrderDetail_quantity_feature"), + getString("_UI_PropertyDescriptor_description", "_UI_OrderDetail_quantity_feature", "_UI_OrderDetail_type"), BusinessPackage.Literals.ORDER_DETAIL__QUANTITY, true, false, false, ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null)); } @@ -106,9 +108,10 @@ public class OrderDetailItemProvider extends ItemProviderAdapter implements IEdi */ protected void addStatePropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory) - .getRootAdapterFactory(), getResourceLocator(), getString("_UI_OrderDetail_state_feature"), getString( - "_UI_PropertyDescriptor_description", "_UI_OrderDetail_state_feature", "_UI_OrderDetail_type"), + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_OrderDetail_state_feature"), + getString("_UI_PropertyDescriptor_description", "_UI_OrderDetail_state_feature", "_UI_OrderDetail_type"), BusinessPackage.Literals.ORDER_DETAIL__STATE, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); } @@ -120,9 +123,10 @@ public class OrderDetailItemProvider extends ItemProviderAdapter implements IEdi */ protected void addPricePropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory) - .getRootAdapterFactory(), getResourceLocator(), getString("_UI_OrderDetail_price_feature"), getString( - "_UI_PropertyDescriptor_description", "_UI_OrderDetail_price_feature", "_UI_OrderDetail_type"), + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_OrderDetail_price_feature"), + getString("_UI_PropertyDescriptor_description", "_UI_OrderDetail_price_feature", "_UI_OrderDetail_type"), BusinessPackage.Literals.ORDER_DETAIL__PRICE, false, false, false, ItemPropertyDescriptor.REAL_VALUE_IMAGE, null, null)); } diff --git a/plugins/org.gastro.business.edit/src/org/gastro/business/provider/OrderItemProvider.java b/plugins/org.gastro.business.edit/src/org/gastro/business/provider/OrderItemProvider.java index bdfdb5d2e8..75d49b7323 100644 --- a/plugins/org.gastro.business.edit/src/org/gastro/business/provider/OrderItemProvider.java +++ b/plugins/org.gastro.business.edit/src/org/gastro/business/provider/OrderItemProvider.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -79,9 +79,10 @@ public class OrderItemProvider extends ItemProviderAdapter implements IEditingDo */ protected void addTablePropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory) - .getRootAdapterFactory(), getResourceLocator(), getString("_UI_Order_table_feature"), getString( - "_UI_PropertyDescriptor_description", "_UI_Order_table_feature", "_UI_Order_type"), + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_Order_table_feature"), + getString("_UI_PropertyDescriptor_description", "_UI_Order_table_feature", "_UI_Order_type"), BusinessPackage.Literals.ORDER__TABLE, true, false, true, null, null, null)); } @@ -92,9 +93,10 @@ public class OrderItemProvider extends ItemProviderAdapter implements IEditingDo */ protected void addNumberPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory) - .getRootAdapterFactory(), getResourceLocator(), getString("_UI_Order_number_feature"), getString( - "_UI_PropertyDescriptor_description", "_UI_Order_number_feature", "_UI_Order_type"), + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_Order_number_feature"), + getString("_UI_PropertyDescriptor_description", "_UI_Order_number_feature", "_UI_Order_type"), BusinessPackage.Literals.ORDER__NUMBER, true, false, false, ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null)); } diff --git a/plugins/org.gastro.business.edit/src/org/gastro/business/provider/WaiterItemProvider.java b/plugins/org.gastro.business.edit/src/org/gastro/business/provider/WaiterItemProvider.java index f6910e7ae0..780a383c0b 100644 --- a/plugins/org.gastro.business.edit/src/org/gastro/business/provider/WaiterItemProvider.java +++ b/plugins/org.gastro.business.edit/src/org/gastro/business/provider/WaiterItemProvider.java @@ -1,5 +1,5 @@ /** - * Copyright (c) 2004 - 2010 Eike Stepper (Berlin, Germany) and others. + * Copyright (c) 2004 - 2011 Eike Stepper (Berlin, Germany) and others. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at @@ -79,9 +79,10 @@ public class WaiterItemProvider extends ItemProviderAdapter implements IEditingD */ protected void addTablesPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory) - .getRootAdapterFactory(), getResourceLocator(), getString("_UI_Waiter_tables_feature"), getString( - "_UI_PropertyDescriptor_description", "_UI_Waiter_tables_feature", "_UI_Waiter_type"), + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_Waiter_tables_feature"), + getString("_UI_PropertyDescriptor_description", "_UI_Waiter_tables_feature", "_UI_Waiter_type"), BusinessPackage.Literals.WAITER__TABLES, true, false, true, null, null, null)); } @@ -92,9 +93,10 @@ public class WaiterItemProvider extends ItemProviderAdapter implements IEditingD */ protected void addEmployeePropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory) - .getRootAdapterFactory(), getResourceLocator(), getString("_UI_Waiter_employee_feature"), getString( - "_UI_PropertyDescriptor_description", "_UI_Waiter_employee_feature", "_UI_Waiter_type"), + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_Waiter_employee_feature"), + getString("_UI_PropertyDescriptor_description", "_UI_Waiter_employee_feature", "_UI_Waiter_type"), BusinessPackage.Literals.WAITER__EMPLOYEE, true, false, true, null, null, null)); } @@ -105,9 +107,10 @@ public class WaiterItemProvider extends ItemProviderAdapter implements IEditingD */ protected void addFromPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory) - .getRootAdapterFactory(), getResourceLocator(), getString("_UI_Waiter_from_feature"), getString( - "_UI_PropertyDescriptor_description", "_UI_Waiter_from_feature", "_UI_Waiter_type"), + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_Waiter_from_feature"), + getString("_UI_PropertyDescriptor_description", "_UI_Waiter_from_feature", "_UI_Waiter_type"), BusinessPackage.Literals.WAITER__FROM, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); } @@ -119,9 +122,10 @@ public class WaiterItemProvider extends ItemProviderAdapter implements IEditingD */ protected void addUntilPropertyDescriptor(Object object) { - itemPropertyDescriptors.add(createItemPropertyDescriptor(((ComposeableAdapterFactory)adapterFactory) - .getRootAdapterFactory(), getResourceLocator(), getString("_UI_Waiter_until_feature"), getString( - "_UI_PropertyDescriptor_description", "_UI_Waiter_until_feature", "_UI_Waiter_type"), + itemPropertyDescriptors.add(createItemPropertyDescriptor( + ((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(), getResourceLocator(), + getString("_UI_Waiter_until_feature"), + getString("_UI_PropertyDescriptor_description", "_UI_Waiter_until_feature", "_UI_Waiter_type"), BusinessPackage.Literals.WAITER__UNTIL, true, false, false, ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null)); } |