Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgkessler2010-03-17 00:22:30 +0000
committergkessler2010-03-17 00:22:30 +0000
commit4027278601058c15164e2e137e3bfd21b845d3a9 (patch)
tree361206e5a5eb2ee53db48468172b6ebbf8c54ff1
parent4e7dc8eb4aef54691fbdd938e1c7cff14763bf38 (diff)
downloadwebtools.jsf-4027278601058c15164e2e137e3bfd21b845d3a9.tar.gz
webtools.jsf-4027278601058c15164e2e137e3bfd21b845d3a9.tar.xz
webtools.jsf-4027278601058c15164e2e137e3bfd21b845d3a9.zip
295246 - [JSF2.0]- FacesConfig model update
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AbsoluteOrderingTypeItemProvider.java179
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ActionListenerTypeItemProvider.java175
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ApplicationExtensionTypeItemProvider.java112
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ApplicationFactoryTypeItemProvider.java177
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ApplicationTypeItemProvider.java495
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AttributeClassTypeItemProvider.java199
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AttributeExtensionTypeItemProvider.java109
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AttributeNameTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AttributeTypeItemProvider.java354
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/BaseNameTypeItemProvider.java201
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/BehaviorClassTypeItemProvider.java192
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/BehaviorExtensionTypeItemProvider.java120
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/BehaviorIdTypeItemProvider.java193
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/BehaviorTypeItemProvider.java221
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ClientBehaviorRendererClassTypeItemProvider.java192
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ClientBehaviorRendererTypeItemProvider.java179
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ClientBehaviorRendererTypeTypeItemProvider.java193
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentClassTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentExtensionTypeItemProvider.java108
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentFamilyTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentTypeItemProvider.java263
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentTypeTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterClassTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterExtensionTypeItemProvider.java112
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterForClassTypeItemProvider.java197
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterIdTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterTypeItemProvider.java343
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DefaultLocaleTypeItemProvider.java156
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DefaultRenderKitIdTypeItemProvider.java173
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DefaultValidatorsTypeItemProvider.java205
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DefaultValueTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DescriptionTypeItemProvider.java240
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DisplayNameTypeItemProvider.java246
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DocumentRootItemProvider.java1106
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DynamicAttributeItemProvider.java201
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DynamicElementItemProvider.java293
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ELResolverTypeItemProvider.java201
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ExceptionHandlerFactoryTypeItemProvider.java192
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ExtensionTypeItemProvider.java227
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ExternalContextFactoryTypeItemProvider.java192
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/FacesConfigExtensionTypeItemProvider.java112
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/FacesConfigItemProviderAdapterFactory.java3460
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/FacesConfigTypeItemProvider.java471
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/FacesContextFactoryTypeItemProvider.java172
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/FacetExtensionTypeItemProvider.java108
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/FacetNameTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/FacetTypeItemProvider.java258
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/FactoryExtensionTypeItemProvider.java112
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/FactoryTypeItemProvider.java328
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/FromActionTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/FromOutcomeTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/FromViewIdTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/IconTypeItemProvider.java295
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/IfTypeItemProvider.java192
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/KeyClassTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/KeyTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/LargeIconTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/LifecycleExtensionTypeItemProvider.java113
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/LifecycleFactoryTypeItemProvider.java181
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/LifecycleTypeItemProvider.java225
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ListEntriesTypeItemProvider.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/LocaleConfigTypeItemProvider.java222
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ManagedBeanClassTypeItemProvider.java201
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ManagedBeanExtensionTypeItemProvider.java113
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ManagedBeanNameTypeItemProvider.java201
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ManagedBeanScopeTypeItemProvider.java201
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ManagedBeanTypeItemProvider.java400
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ManagedPropertyTypeItemProvider.java366
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/MapEntriesTypeItemProvider.java275
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/MapEntryTypeItemProvider.java261
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/MessageBundleTypeItemProvider.java176
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/NameTypeItemProvider.java192
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/NavigationCaseTypeItemProvider.java348
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/NavigationHandlerTypeItemProvider.java176
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/NavigationRuleExtensionTypeItemProvider.java112
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/NavigationRuleTypeItemProvider.java301
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/NullValueTypeItemProvider.java159
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/OrderingOrderingTypeItemProvider.java179
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/OrderingOthersTypeItemProvider.java167
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/OrderingTypeItemProvider.java201
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/PartialViewContextFactoryTypeItemProvider.java192
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/PhaseListenerTypeItemProvider.java179
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/PropertyClassTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/PropertyExtensionTypeItemProvider.java108
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/PropertyNameTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/PropertyResolverTypeItemProvider.java179
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/PropertyTypeItemProvider.java373
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/RedirectTypeItemProvider.java223
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/RedirectViewParamTypeItemProvider.java212
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ReferencedBeanClassTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ReferencedBeanNameTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ReferencedBeanTypeItemProvider.java306
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/RenderKitClassTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/RenderKitExtensionTypeItemProvider.java113
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/RenderKitFactoryTypeItemProvider.java180
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/RenderKitIdTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/RenderKitTypeItemProvider.java308
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/RendererClassTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/RendererExtensionTypeItemProvider.java108
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/RendererTypeItemProvider.java365
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/RendererTypeTypeItemProvider.java178
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ResourceBundleTypeItemProvider.java314
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ResourceHandlerTypeItemProvider.java192
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/SmallIconTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/SourceClassTypeItemProvider.java192
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/StateManagerTypeItemProvider.java181
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/SuggestedValueTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/SupportedLocaleTypeItemProvider.java158
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/SystemEventClassTypeItemProvider.java192
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/SystemEventListenerClassTypeItemProvider.java192
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/SystemEventListenerTypeItemProvider.java219
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/TagHandlerDelegateFactoryTypeItemProvider.java192
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ToViewIdTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ValidatorClassTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ValidatorExtensionTypeItemProvider.java112
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ValidatorIdTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ValidatorTypeItemProvider.java312
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ValueClassTypeItemProvider.java198
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ValueTypeItemProvider.java199
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/VarTypeItemProvider.java201
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/VariableResolverTypeItemProvider.java179
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ViewDeclarationLanguageFactoryTypeItemProvider.java192
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ViewHandlerTypeItemProvider.java179
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/VisitContextFactoryTypeItemProvider.java192
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/AbsoluteOrderingType.java86
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ActionListenerType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ApplicationExtensionType.java6
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ApplicationFactoryType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ApplicationType.java311
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/AttributeClassType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/AttributeExtensionType.java6
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/AttributeNameType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/AttributeType.java229
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/BaseNameType.java64
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/BehaviorClassType.java95
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/BehaviorExtensionType.java33
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/BehaviorIdType.java95
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/BehaviorType.java204
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ClientBehaviorRendererClassType.java95
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ClientBehaviorRendererType.java95
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ClientBehaviorRendererTypeType.java95
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ComponentClassType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ComponentExtensionType.java6
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ComponentFamilyType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ComponentType.java223
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ComponentTypeType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ConverterClassType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ConverterExtensionType.java6
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ConverterForClassType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ConverterIdType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ConverterType.java235
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DefaultLocaleType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DefaultRenderKitIdType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DefaultValidatorsType.java86
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DefaultValueType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DescriptionType.java96
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DisplayNameType.java96
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DocumentRoot.java4387
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DynamicAttribute.java62
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/DynamicElement.java95
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ELResolverType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ExceptionHandlerFactoryType.java95
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ExtensionType.java81
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ExternalContextFactoryType.java95
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacesConfigExtensionType.java6
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacesConfigFactory.java1218
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacesConfigPackage.java23104
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacesConfigType.java425
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacesContextFactoryType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacetExtensionType.java6
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacetNameType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FacetType.java139
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FactoryExtensionType.java6
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FactoryType.java235
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FromActionType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FromOutcomeType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/FromViewIdType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/IconType.java126
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/IfType.java95
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/KeyClassType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/KeyType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/LargeIconType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/LifecycleExtensionType.java6
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/LifecycleFactoryType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/LifecycleType.java73
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ListEntriesType.java103
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/LocaleConfigType.java85
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ManagedBeanClassType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ManagedBeanExtensionType.java6
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ManagedBeanNameType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ManagedBeanScopeType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ManagedBeanType.java305
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ManagedPropertyType.java271
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/MapEntriesType.java115
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/MapEntryType.java126
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/MessageBundleType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/NameType.java95
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/NavigationCaseType.java239
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/NavigationHandlerType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/NavigationRuleExtensionType.java6
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/NavigationRuleType.java157
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/NullValueType.java36
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/OrderingOrderingType.java86
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/OrderingOthersType.java67
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/OrderingType.java95
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PartialViewContextFactoryType.java95
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PhaseListenerType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PropertyClassType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PropertyExtensionType.java6
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PropertyNameType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PropertyResolverType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/PropertyType.java229
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RedirectType.java83
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RedirectViewParamType.java123
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ReferencedBeanClassType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ReferencedBeanNameType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ReferencedBeanType.java151
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RenderKitClassType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RenderKitExtensionType.java6
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RenderKitFactoryType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RenderKitIdType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RenderKitType.java205
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RendererClassType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RendererExtensionType.java6
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RendererType.java235
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/RendererTypeType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ResourceBundleType.java147
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ResourceHandlerType.java95
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/SmallIconType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/SourceClassType.java95
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/StateManagerType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/SuggestedValueType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/SupportedLocaleType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/SystemEventClassType.java95
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/SystemEventListenerClassType.java95
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/SystemEventListenerType.java151
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/TagHandlerDelegateFactoryType.java95
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ToViewIdType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ValidatorClassType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ValidatorExtensionType.java6
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ValidatorIdType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ValidatorType.java205
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ValueClassType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ValueType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/VarType.java64
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/VariableResolverType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ViewDeclarationLanguageFactoryType.java95
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/ViewHandlerType.java66
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/VisitContextFactoryType.java95
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AbsoluteOrderingTypeImpl.java250
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ActionListenerTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ApplicationExtensionTypeImpl.java27
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ApplicationFactoryTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ApplicationTypeImpl.java1005
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AttributeClassTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AttributeExtensionTypeImpl.java26
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AttributeNameTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/AttributeTypeImpl.java858
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/BaseNameTypeImpl.java263
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/BehaviorClassTypeImpl.java224
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/BehaviorExtensionTypeImpl.java54
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/BehaviorIdTypeImpl.java224
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/BehaviorTypeImpl.java483
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ClientBehaviorRendererClassTypeImpl.java224
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ClientBehaviorRendererTypeImpl.java258
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ClientBehaviorRendererTypeTypeImpl.java224
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentClassTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentExtensionTypeImpl.java26
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentFamilyTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentTypeImpl.java808
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ComponentTypeTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterClassTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterExtensionTypeImpl.java27
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterForClassTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterIdTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ConverterTypeImpl.java860
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DefaultLocaleTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DefaultRenderKitIdTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DefaultValidatorsTypeImpl.java225
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DefaultValueTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DescriptionTypeImpl.java320
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DisplayNameTypeImpl.java320
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DocumentRootImpl.java5738
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DynamicAttributeImpl.java263
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/DynamicElementImpl.java368
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ELResolverTypeImpl.java263
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ExceptionHandlerFactoryTypeImpl.java224
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ExtensionTypeImpl.java303
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ExternalContextFactoryTypeImpl.java224
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesConfigExtensionTypeImpl.java27
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesConfigFactoryImpl.java1749
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesConfigPackageImpl.java17566
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesConfigTypeImpl.java1230
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacesContextFactoryTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacetExtensionTypeImpl.java26
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacetNameTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FacetTypeImpl.java514
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FactoryExtensionTypeImpl.java27
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FactoryTypeImpl.java686
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FromActionTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FromOutcomeTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/FromViewIdTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/IconTypeImpl.java460
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/IfTypeImpl.java224
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/KeyClassTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/KeyTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LargeIconTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LifecycleExtensionTypeImpl.java27
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LifecycleFactoryTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LifecycleTypeImpl.java298
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ListEntriesTypeImpl.java398
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/LocaleConfigTypeImpl.java342
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanClassTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanExtensionTypeImpl.java27
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanNameTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanScopeTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedBeanTypeImpl.java1076
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ManagedPropertyTypeImpl.java1014
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/MapEntriesTypeImpl.java442
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/MapEntryTypeImpl.java486
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/MessageBundleTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NameTypeImpl.java224
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NavigationCaseTypeImpl.java872
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NavigationHandlerTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NavigationRuleExtensionTypeImpl.java27
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NavigationRuleTypeImpl.java568
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/NullValueTypeImpl.java174
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/OrderingOrderingTypeImpl.java228
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/OrderingOthersTypeImpl.java170
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/OrderingTypeImpl.java255
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PartialViewContextFactoryTypeImpl.java224
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PhaseListenerTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyClassTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyExtensionTypeImpl.java26
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyNameTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyResolverTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/PropertyTypeImpl.java858
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RedirectTypeImpl.java283
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RedirectViewParamTypeImpl.java323
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ReferencedBeanClassTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ReferencedBeanNameTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ReferencedBeanTypeImpl.java556
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitClassTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitExtensionTypeImpl.java27
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitFactoryTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitIdTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RenderKitTypeImpl.java705
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RendererClassTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RendererExtensionTypeImpl.java26
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RendererTypeImpl.java864
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/RendererTypeTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ResourceBundleTypeImpl.java537
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ResourceHandlerTypeImpl.java224
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SmallIconTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SourceClassTypeImpl.java224
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/StateManagerTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SuggestedValueTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SupportedLocaleTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SystemEventClassTypeImpl.java224
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SystemEventListenerClassTypeImpl.java224
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/SystemEventListenerTypeImpl.java393
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/TagHandlerDelegateFactoryTypeImpl.java224
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ToViewIdTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValidatorClassTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValidatorExtensionTypeImpl.java27
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValidatorIdTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValidatorTypeImpl.java752
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValueClassTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ValueTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/VarTypeImpl.java263
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/VariableResolverTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ViewDeclarationLanguageFactoryTypeImpl.java224
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/ViewHandlerTypeImpl.java256
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/impl/VisitContextFactoryTypeImpl.java224
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/util/FacesConfigAdapterFactory.java2686
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/emf/util/FacesConfigSwitch.java3603
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/AbsoluteOrderingTranslator.java43
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ActionListenerTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ApplicationFactoryTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ApplicationTranslator.java8
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/AttributeTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/BehaviorClassTranslator.java41
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/BehaviorExtensionTranslator.java31
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/BehaviorIdTranslator.java42
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/BehaviorTranslator.java49
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ClientBehaviorRendererClassTranslator.java41
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ClientBehaviorRendererTranslator.java42
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ClientBehaviorRendererTypeTranslator.java41
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ConverterTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/DefaultRenderKitIdTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/DefaultValidatorsTranslator.java41
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/DescriptionTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/DisplayNameTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ExceptionHandlerFactoryTranslator.java41
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ExternalContextFactoryTranslator.java41
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FacesConfigTranslator.java9
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FacesContextFactoryTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FacetTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/FactoryTranslator.java8
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/IconTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/IfTranslator.java41
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/LifecycleFactoryTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/LifecycleTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ListEntriesTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/LocaleConfigTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ManagedBeanTranslator.java3
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ManagedPropertyTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/MapEntriesTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/MapEntryTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/MessageBundleTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/NameTranslator.java41
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/NavigationCaseTranslator.java3
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/NavigationHandlerTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/NavigationRuleTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/OrderingOrderingTranslator.java43
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/OrderingOthersTranslator.java40
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/OrderingTranslator.java43
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PartialTraversalTranslator.java40
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PartialViewContextFactoryTranslator.java41
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PhaseListenerTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PropertyResolverTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/PropertyTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RedirectTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RedirectViewParamTranslator.java43
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ReferencedBeanTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RenderKitFactoryTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RenderKitTranslator.java3
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/RendererTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ResourceHandlerTranslator.java41
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/SourceClassTranslator.java41
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/StateManagerTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/SupportedLocaleTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/SystemEventClassTranslator.java41
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/SystemEventListenerClassTranslator.java41
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/SystemEventListenerTranslator.java43
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/TagHandlerDelegateFactoryTranslator.java41
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ValidatorTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ValueTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/VariableResolverTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ViewDeclarationLanguageFactoryTranslator.java41
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/ViewHandlerTranslator.java2
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/internal/translator/VisitContextFactoryTranslator.java41
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateAbsoluteOrderingType_name_NameType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateAbsoluteOrderingType_others_OrderingOthersType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateApplicationType_partialTraversal_PartialTraversalType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateApplicationType_resourceHandler_ResourceHandlerType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateAttributeType_attributeClass_AttributeClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateAttributeType_defaultValue_DefaultValueType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateAttributeType_suggestedValue_SuggestedValueType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateBehaviorType_attribute_AttributeType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateBehaviorType_behaviorClass_BehaviorClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateBehaviorType_behaviorExtension_BehaviorExtensionType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateBehaviorType_behaviorId_BehaviorIdType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateBehaviorType_description_DescriptionType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateBehaviorType_displayName_DisplayNameType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateBehaviorType_icon_IconType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateBehaviorType_property_PropertyType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateClientBehaviorRendererType_clientBehaviorRendererClass_ClientBehaviorRendererClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateClientBehaviorRendererType_clientBehaviorRendererType_ClientBehaviorRendererTypeType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateConverterType_converterClass_ConverterClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateConverterType_converterForClass_ConverterForClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateConverterType_converterId_ConverterIdType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDefaultValidatorsType_validatorId_ValidatorIdType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_absoluteOrdering_AbsoluteOrderingType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_attributeClass_AttributeClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_behaviorClass_BehaviorClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_behaviorExtension_BehaviorExtensionType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_behaviorId_BehaviorIdType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_behavior_BehaviorType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_componentFamily_ComponentFamilyType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_converterClass_ConverterClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_converterForClass_ConverterForClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_converterId_ConverterIdType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_defaultRenderKitId_DefaultRenderKitIdType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_defaultValidators_DefaultValidatorsType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_defaultValue_DefaultValueType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_exceptionHandlerFactory_ExceptionHandlerFactoryType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_externalContextFactory_ExternalContextFactoryType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_facetExtension_FacetExtensionType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_facetName_FacetNameType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_facet_FacetType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_fromAction_FromActionType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_fromOutcome_FromOutcomeType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_fromViewId_FromViewIdType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_if_IfType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_keyClass_KeyClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_key_KeyType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_largeIcon_LargeIconType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_managedBeanClass_ManagedBeanClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_managedBeanName_ManagedBeanNameType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_managedBeanScope_ManagedBeanScopeType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_name_NameType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_orderingOrdering_OrderingOrderingType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_ordering_OrderingType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_others_OrderingOthersType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_partialTraversal_PartialTraversalType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_partialViewContextFactory_PartialViewContextFactoryType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_propertyClass_PropertyClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_propertyName_PropertyNameType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_redirectViewParam_RedirectViewParamType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_referencedBeanClass_ReferencedBeanClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_referencedBeanName_ReferencedBeanNameType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_renderKitClass_RenderKitClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_renderKitId_RenderKitIdType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_rendererClass_RendererClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_rendererType_RendererTypeType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_resourceHandler_ResourceHandlerType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_smallIcon_SmallIconType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_sourceClass_SourceClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_suggestedValue_SuggestedValueType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_systemEventClass_SystemEventClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_systemEventListenerClass_SystemEventListenerClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_systemEventListener_SystemEventListenerType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_tagHandlerDelegateFactory_TagHandlerDelegateFactoryType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_toViewId_ToViewIdType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_validatorClass_ValidatorClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_validatorId_ValidatorIdType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_valueClass_ValueClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_viewDeclarationLanguageFactory_ViewDeclarationLanguageFactoryType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateDocumentRoot_visitContextFactory_VisitContextFactoryType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateFacesConfigType_absoluteOrdering_AbsoluteOrderingType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateFacesConfigType_behavior_BehaviorType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateFacesConfigType_name_NameType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateFacesConfigType_ordering_OrderingType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateFactoryType_exceptionHandlerFactory_ExceptionHandlerFactoryType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateFactoryType_externalContextFactory_ExternalContextFactoryType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateFactoryType_partialViewContextFactory_PartialViewContextFactoryType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateFactoryType_tagHandlerDelegateFactory_TagHandlerDelegateFactoryType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateFactoryType_viewDeclarationLanguageFactory_ViewDeclarationLanguageFactoryType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateFactoryType_visitContextFactory_VisitContextFactoryType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateIconType_largeIcon_LargeIconType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateIconType_smallIcon_SmallIconType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateListEntriesType_valueClass_ValueClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateManagedBeanType_managedBeanClass_ManagedBeanClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateManagedBeanType_managedBeanName_ManagedBeanNameType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateManagedBeanType_managedBeanScope_ManagedBeanScopeType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateManagedPropertyType_nullValue_NullValueType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateManagedPropertyType_propertyClass_PropertyClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateManagedPropertyType_propertyName_PropertyNameType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateManagedPropertyType_value_ValueType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateMapEntriesType_keyClass_KeyClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateMapEntriesType_valueClass_ValueClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateMapEntryType_key_KeyType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateMapEntryType_nullValue_NullValueType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateMapEntryType_value_ValueType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateNavigationCaseType_fromAction_FromActionType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateNavigationCaseType_fromOutcome_FromOutcomeType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateNavigationCaseType_if_IfType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateNavigationCaseType_toViewId_ToViewIdType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateNavigationRuleType_fromViewId_FromViewIdType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateOrderingOrderingType_name_NameType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateOrderingOrderingType_others_OrderingOthersType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateOrderingType_after_OrderingOrderingType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateOrderingType_before_OrderingOrderingType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreatePropertyType_defaultValue_DefaultValueType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreatePropertyType_propertyClass_PropertyClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreatePropertyType_propertyName_PropertyNameType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreatePropertyType_suggestedValue_SuggestedValueType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateRedirectType_viewParam_RedirectViewParamType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateRedirectViewParamType_name_NameType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateRedirectViewParamType_value_ValueType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateReferencedBeanType_referencedBeanClass_ReferencedBeanClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateReferencedBeanType_referencedBeanName_ReferencedBeanNameType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateRenderKitType_clientBehaviorRenderer_ClientBehaviorRendererType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateRenderKitType_renderKitClass_RenderKitClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateRenderKitType_renderKitId_RenderKitIdType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateRendererType_componentFamily_ComponentFamilyType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateRendererType_rendererClass_RendererClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateRendererType_rendererType_RendererTypeType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateSystemEventListenerType_sourceClass_SourceClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateSystemEventListenerType_systemEventClass_SystemEventClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateSystemEventListenerType_systemEventListenerClass_SystemEventListenerClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateValidatorType_validatorClass_ValidatorClassType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/ctool16/CreateValidatorType_validatorId_ValidatorIdType.gifbin0 -> 225 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/AbsoluteOrderingType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/BehaviorClassType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/BehaviorExtensionType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/BehaviorIdType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/BehaviorType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/ClientBehaviorRendererClassType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/ClientBehaviorRendererType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/ClientBehaviorRendererTypeType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/DefaultValidatorsType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/ExceptionHandlerFactoryType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/ExternalContextFactoryType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/IfType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/NameType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/OrderingOrderingType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/OrderingOthersType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/OrderingType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/PartialTraversalType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/PartialViewContextFactoryType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/RedirectViewParamType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/ResourceHandlerType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/SourceClassType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/SystemEventClassType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/SystemEventListenerClassType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/SystemEventListenerType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/TagHandlerDelegateFactoryType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/ViewDeclarationLanguageFactoryType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/icons/full/obj16/VisitContextFactoryType.gifbin0 -> 131 bytes
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/model/FacesConfig.ecore1055
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/model/facesConfig.genmodel458
-rw-r--r--jsf/plugins/org.eclipse.jst.jsf.facesconfig/plugin.properties136
604 files changed, 84744 insertions, 57544 deletions
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AbsoluteOrderingTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AbsoluteOrderingTypeItemProvider.java
new file mode 100644
index 000000000..40c500f31
--- /dev/null
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AbsoluteOrderingTypeItemProvider.java
@@ -0,0 +1,179 @@
+/***************************************************************************************************
+ * Copyright (c) 2005, 2006 IBM Corporation 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ * Oracle Corporation - revision
+ **************************************************************************************************/
+package org.eclipse.jst.jsf.facesconfig.edit.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.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+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.ItemProviderAdapter;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin;
+import org.eclipse.jst.jsf.facesconfig.emf.AbsoluteOrderingType;
+import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigFactory;
+import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.jst.jsf.facesconfig.emf.AbsoluteOrderingType} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class AbsoluteOrderingTypeItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
+
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @param adapterFactory
+ * @generated NOT
+ */
+ public AbsoluteOrderingTypeItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Collection getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(FacesConfigPackage.Literals.ABSOLUTE_ORDERING_TYPE__NAME);
+ childrenFeatures.add(FacesConfigPackage.Literals.ABSOLUTE_ORDERING_TYPE__OTHERS);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ 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 AbsoluteOrderingType.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/AbsoluteOrderingType")); //$NON-NLS-1$
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public String getText(Object object) {
+ return getString("_UI_AbsoluteOrderingType_type"); //$NON-NLS-1$
+ }
+
+ /**
+ * 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
+ */
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(AbsoluteOrderingType.class)) {
+ case FacesConfigPackage.ABSOLUTE_ORDERING_TYPE__NAME:
+ case FacesConfigPackage.ABSOLUTE_ORDERING_TYPE__OTHERS:
+ 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
+ */
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.ABSOLUTE_ORDERING_TYPE__NAME,
+ FacesConfigFactory.eINSTANCE.createNameType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.ABSOLUTE_ORDERING_TYPE__OTHERS,
+ FacesConfigFactory.eINSTANCE.createOrderingOthersType()));
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceLocator getResourceLocator() {
+ return FacesConfigPlugin.INSTANCE;
+ }
+
+}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ActionListenerTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ActionListenerTypeItemProvider.java
index 785263dee..db9605f4f 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ActionListenerTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ActionListenerTypeItemProvider.java
@@ -40,42 +40,41 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
*
* @generated
*/
+@SuppressWarnings("nls")
public class ActionListenerTypeItemProvider extends ItemProviderAdapter
implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource, ITableItemLabelProvider {
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
+ * This constructs an instance from a factory and a notifier.
* <!--begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- *
* @generated
*/
public ActionListenerTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
+ * This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
- *
* @generated
*/
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addTextContentPropertyDescriptor(object);
- addIdPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addTextContentPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
* This adds a property descriptor for the Text Content feature. <!--
@@ -85,96 +84,96 @@ public class ActionListenerTypeItemProvider extends ItemProviderAdapter
* @generated
*/
protected void addTextContentPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ActionListenerType_textContent_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ActionListenerType_textContent_feature", "_UI_ActionListenerType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.ACTION_LISTENER_TYPE__TEXT_CONTENT,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ActionListenerType_textContent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ActionListenerType_textContent_feature", "_UI_ActionListenerType_type"),
+ FacesConfigPackage.Literals.ACTION_LISTENER_TYPE__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Id feature.
- * <!-- begin-user-doc
- * --> <!-- end-user-doc -->
- * @param object
- * @generated
- */
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc>
+ * @param object
+ * <!-- end-user-doc -->
+ * @generated
+ */
protected void addIdPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ActionListenerType_id_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ActionListenerType_id_feature", "_UI_ActionListenerType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.ACTION_LISTENER_TYPE__ID,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ActionListenerType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ActionListenerType_id_feature", "_UI_ActionListenerType_type"),
+ FacesConfigPackage.Literals.ACTION_LISTENER_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This returns ActionListenerType.gif.
- * <!-- begin-user-doc --> <!--
+ * This returns ActionListenerType.gif.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ActionListenerType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ActionListenerType"));
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public String getText(Object object) {
- String label = ((ActionListenerType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_ActionListenerType_type") : //$NON-NLS-1$
- getString("_UI_ActionListenerType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((ActionListenerType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ActionListenerType_type") :
+ getString("_UI_ActionListenerType_type") + " " + label;
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc --> <!--
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
+ updateChildren(notification);
- switch (notification.getFeatureID(ActionListenerType.class)) {
- case FacesConfigPackage.ACTION_LISTENER_TYPE__TEXT_CONTENT:
- case FacesConfigPackage.ACTION_LISTENER_TYPE__ID:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
+ switch (notification.getFeatureID(ActionListenerType.class)) {
+ case FacesConfigPackage.ACTION_LISTENER_TYPE__TEXT_CONTENT:
+ case FacesConfigPackage.ACTION_LISTENER_TYPE__ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
/**
* Return the resource locator for this item provider's resources. <!--
@@ -183,8 +182,8 @@ public class ActionListenerTypeItemProvider extends ItemProviderAdapter
* @generated
*/
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
/* (non-Javadoc)
* @see org.eclipse.emf.edit.provider.ITableItemLabelProvider#getColumnImage(java.lang.Object, int)
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ApplicationExtensionTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ApplicationExtensionTypeItemProvider.java
index bd60b257e..59ddbc871 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ApplicationExtensionTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ApplicationExtensionTypeItemProvider.java
@@ -17,17 +17,11 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-
-import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin;
-
import org.eclipse.jst.jsf.facesconfig.emf.ApplicationExtensionType;
/**
@@ -45,92 +39,82 @@ public class ApplicationExtensionTypeItemProvider
IItemLabelProvider,
IItemPropertySource {
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
@SuppressWarnings("hiding")
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ApplicationExtensionTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This returns ApplicationExtensionType.gif.
- * <!-- begin-user-doc -->
+ * This returns ApplicationExtensionType.gif.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated NOT
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ApplicationExtensionType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ApplicationExtensionType")); //$NON-NLS-1$
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated NOT
+ */
public String getText(Object object) {
- String label = ((ApplicationExtensionType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_ApplicationExtensionType_type") : //$NON-NLS-1$
- getString("_UI_ApplicationExtensionType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((ApplicationExtensionType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ApplicationExtensionType_type") : //$NON-NLS-1$
+ getString("_UI_ApplicationExtensionType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
-
- /**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ApplicationFactoryTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ApplicationFactoryTypeItemProvider.java
index 6f9b11a75..8ae61e0e6 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ApplicationFactoryTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ApplicationFactoryTypeItemProvider.java
@@ -38,25 +38,27 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
* <!-- end-user-doc -->
* @generated
*/
-public class ApplicationFactoryTypeItemProvider extends ItemProviderAdapter
- implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource,ITableItemLabelProvider {
+@SuppressWarnings("nls")
+public class ApplicationFactoryTypeItemProvider
+extends ItemProviderAdapter
+implements
+ IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource, ITableItemLabelProvider {
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
+ * This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- *
* @generated
*/
public ApplicationFactoryTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
* This returns the property descriptors for the adapted class. <!--
@@ -65,114 +67,113 @@ public class ApplicationFactoryTypeItemProvider extends ItemProviderAdapter
* @generated
*/
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addTextContentPropertyDescriptor(object);
- addIdPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addTextContentPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the Text Content feature.
+ * This adds a property descriptor for the Text Content feature.
* <!--begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- *
* @generated
*/
protected void addTextContentPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ApplicationFactoryType_textContent_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ApplicationFactoryType_textContent_feature", "_UI_ApplicationFactoryType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.APPLICATION_FACTORY_TYPE__TEXT_CONTENT,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ApplicationFactoryType_textContent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ApplicationFactoryType_textContent_feature", "_UI_ApplicationFactoryType_type"),
+ FacesConfigPackage.Literals.APPLICATION_FACTORY_TYPE__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Id feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addIdPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ApplicationFactoryType_id_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ApplicationFactoryType_id_feature", "_UI_ApplicationFactoryType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.APPLICATION_FACTORY_TYPE__ID,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ApplicationFactoryType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ApplicationFactoryType_id_feature", "_UI_ApplicationFactoryType_type"),
+ FacesConfigPackage.Literals.APPLICATION_FACTORY_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This returns ApplicationFactoryType.gif.
- * <!-- begin-user-doc --> <!--
+ * This returns ApplicationFactoryType.gif.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ApplicationFactoryType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ApplicationFactoryType"));
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public String getText(Object object) {
- String label = ((ApplicationFactoryType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_ApplicationFactoryType_type") : //$NON-NLS-1$
- getString("_UI_ApplicationFactoryType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((ApplicationFactoryType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ApplicationFactoryType_type") :
+ getString("_UI_ApplicationFactoryType_type") + " " + label;
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc --> <!--
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
+ updateChildren(notification);
- switch (notification.getFeatureID(ApplicationFactoryType.class)) {
- case FacesConfigPackage.APPLICATION_FACTORY_TYPE__TEXT_CONTENT:
- case FacesConfigPackage.APPLICATION_FACTORY_TYPE__ID:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
+ switch (notification.getFeatureID(ApplicationFactoryType.class)) {
+ case FacesConfigPackage.APPLICATION_FACTORY_TYPE__TEXT_CONTENT:
+ case FacesConfigPackage.APPLICATION_FACTORY_TYPE__ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
/**
* Return the resource locator for this item provider's resources. <!--
@@ -181,8 +182,8 @@ public class ApplicationFactoryTypeItemProvider extends ItemProviderAdapter
* @generated
*/
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
/**
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ApplicationTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ApplicationTypeItemProvider.java
index 7c106f36a..85d5c1f15 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ApplicationTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ApplicationTypeItemProvider.java
@@ -29,7 +29,6 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin;
-
import org.eclipse.jst.jsf.facesconfig.emf.ApplicationType;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigFactory;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
@@ -40,6 +39,7 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
* <!-- end-user-doc -->
* @generated
*/
+@SuppressWarnings("nls")
public class ApplicationTypeItemProvider
extends ItemProviderAdapter
implements
@@ -49,285 +49,340 @@ public class ApplicationTypeItemProvider
IItemLabelProvider,
IItemPropertySource {
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ApplicationTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addIdPropertyDescriptor(object);
- addELResolverPropertyDescriptor(object);
- addResourceBundlePropertyDescriptor(object);
- addApplicationExtensionPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addELResolverPropertyDescriptor(object);
+ addSystemEventListenerPropertyDescriptor(object);
+ addResourceBundlePropertyDescriptor(object);
+ addApplicationExtensionPropertyDescriptor(object);
+ addDefaultValidatorsPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the Id feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addIdPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ApplicationType_id_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ApplicationType_id_feature", "_UI_ApplicationType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.APPLICATION_TYPE__ID,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ApplicationType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ApplicationType_id_feature", "_UI_ApplicationType_type"),
+ FacesConfigPackage.Literals.APPLICATION_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the EL Resolver feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the EL Resolver feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addELResolverPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ApplicationType_eLResolver_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ApplicationType_eLResolver_feature", "_UI_ApplicationType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.APPLICATION_TYPE__EL_RESOLVER,
- true,
- false,
- true,
- null,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ApplicationType_eLResolver_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ApplicationType_eLResolver_feature", "_UI_ApplicationType_type"),
+ FacesConfigPackage.Literals.APPLICATION_TYPE__EL_RESOLVER,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Resource Bundle feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the System Event Listener feature.
+ * <!-- begin-user-doc -->
+ * @param object
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addSystemEventListenerPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ApplicationType_systemEventListener_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ApplicationType_systemEventListener_feature", "_UI_ApplicationType_type"),
+ FacesConfigPackage.Literals.APPLICATION_TYPE__SYSTEM_EVENT_LISTENER,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Resource Bundle feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addResourceBundlePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ApplicationType_resourceBundle_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ApplicationType_resourceBundle_feature", "_UI_ApplicationType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.APPLICATION_TYPE__RESOURCE_BUNDLE,
- true,
- false,
- true,
- null,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ApplicationType_resourceBundle_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ApplicationType_resourceBundle_feature", "_UI_ApplicationType_type"),
+ FacesConfigPackage.Literals.APPLICATION_TYPE__RESOURCE_BUNDLE,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Application Extension feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Application Extension feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addApplicationExtensionPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ApplicationType_applicationExtension_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ApplicationType_applicationExtension_feature", "_UI_ApplicationType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.APPLICATION_TYPE__APPLICATION_EXTENSION,
- true,
- false,
- true,
- null,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ApplicationType_applicationExtension_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ApplicationType_applicationExtension_feature", "_UI_ApplicationType_type"),
+ FacesConfigPackage.Literals.APPLICATION_TYPE__APPLICATION_EXTENSION,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
+ }
/**
- * This specifies how to implement {@link #getChildren(Object)} 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(Object, org.eclipse.emf.edit.domain.EditingDomain, Class, org.eclipse.emf.edit.command.CommandParameter)}.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Default Validators feature.
+ * <!-- begin-user-doc -->
+ * @param object
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addDefaultValidatorsPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ApplicationType_defaultValidators_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ApplicationType_defaultValidators_feature", "_UI_ApplicationType_type"),
+ FacesConfigPackage.Literals.APPLICATION_TYPE__DEFAULT_VALIDATORS,
+ true,
+ false,
+ true,
+ null,
+ 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
- */
+ * @generated
+ */
public Collection getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(FacesConfigPackage.Literals.APPLICATION_TYPE__ACTION_LISTENER);
- childrenFeatures.add(FacesConfigPackage.Literals.APPLICATION_TYPE__DEFAULT_RENDER_KIT_ID);
- childrenFeatures.add(FacesConfigPackage.Literals.APPLICATION_TYPE__MESSAGE_BUNDLE);
- childrenFeatures.add(FacesConfigPackage.Literals.APPLICATION_TYPE__NAVIGATION_HANDLER);
- childrenFeatures.add(FacesConfigPackage.Literals.APPLICATION_TYPE__VIEW_HANDLER);
- childrenFeatures.add(FacesConfigPackage.Literals.APPLICATION_TYPE__STATE_MANAGER);
- childrenFeatures.add(FacesConfigPackage.Literals.APPLICATION_TYPE__PROPERTY_RESOLVER);
- childrenFeatures.add(FacesConfigPackage.Literals.APPLICATION_TYPE__VARIABLE_RESOLVER);
- childrenFeatures.add(FacesConfigPackage.Literals.APPLICATION_TYPE__LOCALE_CONFIG);
- }
- return childrenFeatures;
- }
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(FacesConfigPackage.Literals.APPLICATION_TYPE__ACTION_LISTENER);
+ childrenFeatures.add(FacesConfigPackage.Literals.APPLICATION_TYPE__DEFAULT_RENDER_KIT_ID);
+ childrenFeatures.add(FacesConfigPackage.Literals.APPLICATION_TYPE__MESSAGE_BUNDLE);
+ childrenFeatures.add(FacesConfigPackage.Literals.APPLICATION_TYPE__NAVIGATION_HANDLER);
+ childrenFeatures.add(FacesConfigPackage.Literals.APPLICATION_TYPE__VIEW_HANDLER);
+ childrenFeatures.add(FacesConfigPackage.Literals.APPLICATION_TYPE__STATE_MANAGER);
+ childrenFeatures.add(FacesConfigPackage.Literals.APPLICATION_TYPE__PROPERTY_RESOLVER);
+ childrenFeatures.add(FacesConfigPackage.Literals.APPLICATION_TYPE__VARIABLE_RESOLVER);
+ childrenFeatures.add(FacesConfigPackage.Literals.APPLICATION_TYPE__RESOURCE_HANDLER);
+ childrenFeatures.add(FacesConfigPackage.Literals.APPLICATION_TYPE__LOCALE_CONFIG);
+ }
+ return childrenFeatures;
+ }
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
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.
+ // 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);
- }
+ return super.getChildFeature(object, child);
+ }
/**
- * This returns ApplicationType.gif.
- * <!-- begin-user-doc -->
+ * This returns ApplicationType.gif.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ApplicationType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ApplicationType"));
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public String getText(Object object) {
- String label = ((ApplicationType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_ApplicationType_type") : //$NON-NLS-1$
- getString("_UI_ApplicationType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((ApplicationType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ApplicationType_type") :
+ getString("_UI_ApplicationType_type") + " " + label;
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(ApplicationType.class)) {
- case FacesConfigPackage.APPLICATION_TYPE__ID:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- case FacesConfigPackage.APPLICATION_TYPE__ACTION_LISTENER:
- case FacesConfigPackage.APPLICATION_TYPE__DEFAULT_RENDER_KIT_ID:
- case FacesConfigPackage.APPLICATION_TYPE__MESSAGE_BUNDLE:
- case FacesConfigPackage.APPLICATION_TYPE__NAVIGATION_HANDLER:
- case FacesConfigPackage.APPLICATION_TYPE__VIEW_HANDLER:
- case FacesConfigPackage.APPLICATION_TYPE__STATE_MANAGER:
- case FacesConfigPackage.APPLICATION_TYPE__PROPERTY_RESOLVER:
- case FacesConfigPackage.APPLICATION_TYPE__VARIABLE_RESOLVER:
- case FacesConfigPackage.APPLICATION_TYPE__LOCALE_CONFIG:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ApplicationType.class)) {
+ case FacesConfigPackage.APPLICATION_TYPE__ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case FacesConfigPackage.APPLICATION_TYPE__ACTION_LISTENER:
+ case FacesConfigPackage.APPLICATION_TYPE__DEFAULT_RENDER_KIT_ID:
+ case FacesConfigPackage.APPLICATION_TYPE__MESSAGE_BUNDLE:
+ case FacesConfigPackage.APPLICATION_TYPE__NAVIGATION_HANDLER:
+ case FacesConfigPackage.APPLICATION_TYPE__VIEW_HANDLER:
+ case FacesConfigPackage.APPLICATION_TYPE__STATE_MANAGER:
+ case FacesConfigPackage.APPLICATION_TYPE__PROPERTY_RESOLVER:
+ case FacesConfigPackage.APPLICATION_TYPE__VARIABLE_RESOLVER:
+ case FacesConfigPackage.APPLICATION_TYPE__RESOURCE_HANDLER:
+ case FacesConfigPackage.APPLICATION_TYPE__LOCALE_CONFIG:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.APPLICATION_TYPE__ACTION_LISTENER,
- FacesConfigFactory.eINSTANCE.createActionListenerType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.APPLICATION_TYPE__DEFAULT_RENDER_KIT_ID,
- FacesConfigFactory.eINSTANCE.createDefaultRenderKitIdType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.APPLICATION_TYPE__MESSAGE_BUNDLE,
- FacesConfigFactory.eINSTANCE.createMessageBundleType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.APPLICATION_TYPE__NAVIGATION_HANDLER,
- FacesConfigFactory.eINSTANCE.createNavigationHandlerType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.APPLICATION_TYPE__VIEW_HANDLER,
- FacesConfigFactory.eINSTANCE.createViewHandlerType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.APPLICATION_TYPE__STATE_MANAGER,
- FacesConfigFactory.eINSTANCE.createStateManagerType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.APPLICATION_TYPE__PROPERTY_RESOLVER,
- FacesConfigFactory.eINSTANCE.createPropertyResolverType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.APPLICATION_TYPE__VARIABLE_RESOLVER,
- FacesConfigFactory.eINSTANCE.createVariableResolverType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.APPLICATION_TYPE__LOCALE_CONFIG,
- FacesConfigFactory.eINSTANCE.createLocaleConfigType()));
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.APPLICATION_TYPE__ACTION_LISTENER,
+ FacesConfigFactory.eINSTANCE.createActionListenerType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.APPLICATION_TYPE__DEFAULT_RENDER_KIT_ID,
+ FacesConfigFactory.eINSTANCE.createDefaultRenderKitIdType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.APPLICATION_TYPE__MESSAGE_BUNDLE,
+ FacesConfigFactory.eINSTANCE.createMessageBundleType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.APPLICATION_TYPE__NAVIGATION_HANDLER,
+ FacesConfigFactory.eINSTANCE.createNavigationHandlerType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.APPLICATION_TYPE__VIEW_HANDLER,
+ FacesConfigFactory.eINSTANCE.createViewHandlerType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.APPLICATION_TYPE__STATE_MANAGER,
+ FacesConfigFactory.eINSTANCE.createStateManagerType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.APPLICATION_TYPE__PROPERTY_RESOLVER,
+ FacesConfigFactory.eINSTANCE.createPropertyResolverType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.APPLICATION_TYPE__VARIABLE_RESOLVER,
+ FacesConfigFactory.eINSTANCE.createVariableResolverType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.APPLICATION_TYPE__RESOURCE_HANDLER,
+ FacesConfigFactory.eINSTANCE.createResourceHandlerType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.APPLICATION_TYPE__LOCALE_CONFIG,
+ FacesConfigFactory.eINSTANCE.createLocaleConfigType()));
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AttributeClassTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AttributeClassTypeItemProvider.java
index ca5ce4bd7..a920fda46 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AttributeClassTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AttributeClassTypeItemProvider.java
@@ -28,7 +28,6 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin;
-
import org.eclipse.jst.jsf.facesconfig.emf.AttributeClassType;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
@@ -38,6 +37,7 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
* <!-- end-user-doc -->
* @generated
*/
+@SuppressWarnings("nls")
public class AttributeClassTypeItemProvider
extends ItemProviderAdapter
implements
@@ -47,147 +47,146 @@ public class AttributeClassTypeItemProvider
IItemLabelProvider,
IItemPropertySource {
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public AttributeClassTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addTextContentPropertyDescriptor(object);
- addIdPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addTextContentPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the Text Content feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Text Content feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addTextContentPropertyDescriptor(Object object) {
-
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_AttributeClassType_textContent_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_AttributeClassType_textContent_feature", "_UI_AttributeClassType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.ATTRIBUTE_CLASS_TYPE__TEXT_CONTENT,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_AttributeClassType_textContent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_AttributeClassType_textContent_feature", "_UI_AttributeClassType_type"),
+ FacesConfigPackage.Literals.ATTRIBUTE_CLASS_TYPE__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Id feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addIdPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_AttributeClassType_id_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_AttributeClassType_id_feature", "_UI_AttributeClassType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.ATTRIBUTE_CLASS_TYPE__ID,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_AttributeClassType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_AttributeClassType_id_feature", "_UI_AttributeClassType_type"),
+ FacesConfigPackage.Literals.ATTRIBUTE_CLASS_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This returns AttributeClassType.gif.
- * <!-- begin-user-doc -->
+ * This returns AttributeClassType.gif.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/AttributeClassType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/AttributeClassType"));
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public String getText(Object object) {
- String label = ((AttributeClassType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_AttributeClassType_type") : //$NON-NLS-1$
- getString("_UI_AttributeClassType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((AttributeClassType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_AttributeClassType_type") :
+ getString("_UI_AttributeClassType_type") + " " + label;
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
+ updateChildren(notification);
- switch (notification.getFeatureID(AttributeClassType.class)) {
- case FacesConfigPackage.ATTRIBUTE_CLASS_TYPE__TEXT_CONTENT:
- case FacesConfigPackage.ATTRIBUTE_CLASS_TYPE__ID:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
+ switch (notification.getFeatureID(AttributeClassType.class)) {
+ case FacesConfigPackage.ATTRIBUTE_CLASS_TYPE__TEXT_CONTENT:
+ case FacesConfigPackage.ATTRIBUTE_CLASS_TYPE__ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AttributeExtensionTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AttributeExtensionTypeItemProvider.java
index a0a3d8aab..3c775330f 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AttributeExtensionTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AttributeExtensionTypeItemProvider.java
@@ -17,13 +17,11 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.util.ResourceLocator;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin;
import org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType;
/**
@@ -32,6 +30,7 @@ import org.eclipse.jst.jsf.facesconfig.emf.AttributeExtensionType;
* <!-- end-user-doc -->
* @generated
*/
+@SuppressWarnings("nls")
public class AttributeExtensionTypeItemProvider
extends ExtensionTypeItemProvider
implements
@@ -41,92 +40,82 @@ public class AttributeExtensionTypeItemProvider
IItemLabelProvider,
IItemPropertySource {
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
@SuppressWarnings("hiding")
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public AttributeExtensionTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This returns AttributeExtensionType.gif.
- * <!-- begin-user-doc -->
+ * This returns AttributeExtensionType.gif.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/AttributeExtensionType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/AttributeExtensionType"));
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public String getText(Object object) {
- String label = ((AttributeExtensionType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_AttributeExtensionType_type") : //$NON-NLS-1$
- getString("_UI_AttributeExtensionType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((AttributeExtensionType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_AttributeExtensionType_type") :
+ getString("_UI_AttributeExtensionType_type") + " " + label;
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
-
- /**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AttributeNameTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AttributeNameTypeItemProvider.java
index dab785fb8..0cbbe4a26 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AttributeNameTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AttributeNameTypeItemProvider.java
@@ -28,7 +28,6 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin;
-
import org.eclipse.jst.jsf.facesconfig.emf.AttributeNameType;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
@@ -38,6 +37,7 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
* <!-- end-user-doc -->
* @generated
*/
+@SuppressWarnings("nls")
public class AttributeNameTypeItemProvider
extends ItemProviderAdapter
implements
@@ -47,146 +47,146 @@ public class AttributeNameTypeItemProvider
IItemLabelProvider,
IItemPropertySource {
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public AttributeNameTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addTextContentPropertyDescriptor(object);
- addIdPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addTextContentPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the Text Content feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Text Content feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addTextContentPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_AttributeNameType_textContent_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_AttributeNameType_textContent_feature", "_UI_AttributeNameType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.ATTRIBUTE_NAME_TYPE__TEXT_CONTENT,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_AttributeNameType_textContent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_AttributeNameType_textContent_feature", "_UI_AttributeNameType_type"),
+ FacesConfigPackage.Literals.ATTRIBUTE_NAME_TYPE__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Id feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addIdPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_AttributeNameType_id_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_AttributeNameType_id_feature", "_UI_AttributeNameType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.ATTRIBUTE_NAME_TYPE__ID,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_AttributeNameType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_AttributeNameType_id_feature", "_UI_AttributeNameType_type"),
+ FacesConfigPackage.Literals.ATTRIBUTE_NAME_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This returns AttributeNameType.gif.
- * <!-- begin-user-doc -->
+ * This returns AttributeNameType.gif.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/AttributeNameType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/AttributeNameType"));
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public String getText(Object object) {
- String label = ((AttributeNameType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_AttributeNameType_type") : //$NON-NLS-1$
- getString("_UI_AttributeNameType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((AttributeNameType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_AttributeNameType_type") :
+ getString("_UI_AttributeNameType_type") + " " + label;
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
+ updateChildren(notification);
- switch (notification.getFeatureID(AttributeNameType.class)) {
- case FacesConfigPackage.ATTRIBUTE_NAME_TYPE__TEXT_CONTENT:
- case FacesConfigPackage.ATTRIBUTE_NAME_TYPE__ID:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
+ switch (notification.getFeatureID(AttributeNameType.class)) {
+ case FacesConfigPackage.ATTRIBUTE_NAME_TYPE__TEXT_CONTENT:
+ case FacesConfigPackage.ATTRIBUTE_NAME_TYPE__ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AttributeTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AttributeTypeItemProvider.java
index 8752d5ea7..8b3edb3c1 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AttributeTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/AttributeTypeItemProvider.java
@@ -30,7 +30,6 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin;
-
import org.eclipse.jst.jsf.facesconfig.emf.AttributeType;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigFactory;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
@@ -41,6 +40,7 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
* <!-- end-user-doc -->
*
*/
+@SuppressWarnings("nls")
public class AttributeTypeItemProvider
extends ItemProviderAdapter
implements
@@ -51,261 +51,207 @@ public class AttributeTypeItemProvider
IItemPropertySource,
ITableItemLabelProvider{
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public AttributeTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addAttributeClassPropertyDescriptor(object);
- addDefaultValuePropertyDescriptor(object);
- addSuggestedValuePropertyDescriptor(object);
- addIdPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Attribute Class feature.
- * <!-- begin-user-doc -->
- * @param object
- * <!-- end-user-doc -->
- * @generated
- */
- protected void addAttributeClassPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_AttributeType_attributeClass_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_AttributeType_attributeClass_feature", "_UI_AttributeType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.ATTRIBUTE_TYPE__ATTRIBUTE_CLASS,
- true,
- false,
- false,
- null,
- null,
- null));
- }
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- /**
- * This adds a property descriptor for the Default Value feature.
- * <!-- begin-user-doc -->
- * @param object
- * <!-- end-user-doc -->
- * @generated
- */
- protected void addDefaultValuePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_AttributeType_defaultValue_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_AttributeType_defaultValue_feature", "_UI_AttributeType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.ATTRIBUTE_TYPE__DEFAULT_VALUE,
- true,
- false,
- false,
- null,
- null,
- null));
- }
-
- /**
- * This adds a property descriptor for the Suggested Value feature.
- * <!-- begin-user-doc -->
- * @param object
- * <!-- end-user-doc -->
- * @generated
- */
- protected void addSuggestedValuePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_AttributeType_suggestedValue_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_AttributeType_suggestedValue_feature", "_UI_AttributeType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.ATTRIBUTE_TYPE__SUGGESTED_VALUE,
- true,
- false,
- false,
- null,
- null,
- null));
- }
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the Id feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addIdPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_AttributeType_id_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_AttributeType_id_feature", "_UI_AttributeType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.ATTRIBUTE_TYPE__ID,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_AttributeType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_AttributeType_id_feature", "_UI_AttributeType_type"),
+ FacesConfigPackage.Literals.ATTRIBUTE_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This specifies how to implement {@link #getChildren(Object)} 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(Object, org.eclipse.emf.edit.domain.EditingDomain, Class, org.eclipse.emf.edit.command.CommandParameter)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public Collection getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(FacesConfigPackage.Literals.ATTRIBUTE_TYPE__DESCRIPTION);
- childrenFeatures.add(FacesConfigPackage.Literals.ATTRIBUTE_TYPE__DISPLAY_NAME);
- childrenFeatures.add(FacesConfigPackage.Literals.ATTRIBUTE_TYPE__ICON);
- childrenFeatures.add(FacesConfigPackage.Literals.ATTRIBUTE_TYPE__ATTRIBUTE_NAME);
- childrenFeatures.add(FacesConfigPackage.Literals.ATTRIBUTE_TYPE__ATTRIBUTE_EXTENSION);
- }
- return childrenFeatures;
- }
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(FacesConfigPackage.Literals.ATTRIBUTE_TYPE__DESCRIPTION);
+ childrenFeatures.add(FacesConfigPackage.Literals.ATTRIBUTE_TYPE__DISPLAY_NAME);
+ childrenFeatures.add(FacesConfigPackage.Literals.ATTRIBUTE_TYPE__ICON);
+ childrenFeatures.add(FacesConfigPackage.Literals.ATTRIBUTE_TYPE__ATTRIBUTE_NAME);
+ childrenFeatures.add(FacesConfigPackage.Literals.ATTRIBUTE_TYPE__ATTRIBUTE_CLASS);
+ childrenFeatures.add(FacesConfigPackage.Literals.ATTRIBUTE_TYPE__DEFAULT_VALUE);
+ childrenFeatures.add(FacesConfigPackage.Literals.ATTRIBUTE_TYPE__SUGGESTED_VALUE);
+ childrenFeatures.add(FacesConfigPackage.Literals.ATTRIBUTE_TYPE__ATTRIBUTE_EXTENSION);
+ }
+ return childrenFeatures;
+ }
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
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.
+ // 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);
- }
+ return super.getChildFeature(object, child);
+ }
/**
- * This returns AttributeType.gif.
- * <!-- begin-user-doc -->
+ * This returns AttributeType.gif.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/AttributeType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/AttributeType"));
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public String getText(Object object) {
- String label = ((AttributeType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_AttributeType_type") : //$NON-NLS-1$
- getString("_UI_AttributeType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((AttributeType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_AttributeType_type") :
+ getString("_UI_AttributeType_type") + " " + label;
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
+ updateChildren(notification);
- switch (notification.getFeatureID(AttributeType.class)) {
- case FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_CLASS:
- case FacesConfigPackage.ATTRIBUTE_TYPE__DEFAULT_VALUE:
- case FacesConfigPackage.ATTRIBUTE_TYPE__SUGGESTED_VALUE:
- case FacesConfigPackage.ATTRIBUTE_TYPE__ID:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- case FacesConfigPackage.ATTRIBUTE_TYPE__DESCRIPTION:
- case FacesConfigPackage.ATTRIBUTE_TYPE__DISPLAY_NAME:
- case FacesConfigPackage.ATTRIBUTE_TYPE__ICON:
- case FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_NAME:
- case FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_EXTENSION:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
+ switch (notification.getFeatureID(AttributeType.class)) {
+ case FacesConfigPackage.ATTRIBUTE_TYPE__ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case FacesConfigPackage.ATTRIBUTE_TYPE__DESCRIPTION:
+ case FacesConfigPackage.ATTRIBUTE_TYPE__DISPLAY_NAME:
+ case FacesConfigPackage.ATTRIBUTE_TYPE__ICON:
+ case FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_NAME:
+ case FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_CLASS:
+ case FacesConfigPackage.ATTRIBUTE_TYPE__DEFAULT_VALUE:
+ case FacesConfigPackage.ATTRIBUTE_TYPE__SUGGESTED_VALUE:
+ case FacesConfigPackage.ATTRIBUTE_TYPE__ATTRIBUTE_EXTENSION:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.ATTRIBUTE_TYPE__DESCRIPTION,
+ FacesConfigFactory.eINSTANCE.createDescriptionType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.ATTRIBUTE_TYPE__DISPLAY_NAME,
+ FacesConfigFactory.eINSTANCE.createDisplayNameType()));
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.ATTRIBUTE_TYPE__DESCRIPTION,
- FacesConfigFactory.eINSTANCE.createDescriptionType()));
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.ATTRIBUTE_TYPE__ICON,
+ FacesConfigFactory.eINSTANCE.createIconType()));
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.ATTRIBUTE_TYPE__DISPLAY_NAME,
- FacesConfigFactory.eINSTANCE.createDisplayNameType()));
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.ATTRIBUTE_TYPE__ATTRIBUTE_NAME,
+ FacesConfigFactory.eINSTANCE.createAttributeNameType()));
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.ATTRIBUTE_TYPE__ICON,
- FacesConfigFactory.eINSTANCE.createIconType()));
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.ATTRIBUTE_TYPE__ATTRIBUTE_CLASS,
+ FacesConfigFactory.eINSTANCE.createAttributeClassType()));
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.ATTRIBUTE_TYPE__ATTRIBUTE_NAME,
- FacesConfigFactory.eINSTANCE.createAttributeNameType()));
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.ATTRIBUTE_TYPE__DEFAULT_VALUE,
+ FacesConfigFactory.eINSTANCE.createDefaultValueType()));
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.ATTRIBUTE_TYPE__ATTRIBUTE_EXTENSION,
- FacesConfigFactory.eINSTANCE.createAttributeExtensionType()));
- }
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.ATTRIBUTE_TYPE__SUGGESTED_VALUE,
+ FacesConfigFactory.eINSTANCE.createSuggestedValueType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.ATTRIBUTE_TYPE__ATTRIBUTE_EXTENSION,
+ FacesConfigFactory.eINSTANCE.createAttributeExtensionType()));
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
public String getColumnText(Object object, int columnIndex) {
AttributeType attribute = (AttributeType) object;
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/BaseNameTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/BaseNameTypeItemProvider.java
index beb08864d..5fbe1f2ef 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/BaseNameTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/BaseNameTypeItemProvider.java
@@ -17,9 +17,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -29,9 +27,7 @@ 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.jst.jsf.facesconfig.FacesConfigPlugin;
-
import org.eclipse.jst.jsf.facesconfig.emf.BaseNameType;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
@@ -41,6 +37,7 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
* <!-- end-user-doc -->
* @generated
*/
+@SuppressWarnings("nls")
public class BaseNameTypeItemProvider
extends ItemProviderAdapter
implements
@@ -50,146 +47,146 @@ public class BaseNameTypeItemProvider
IItemLabelProvider,
IItemPropertySource {
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public BaseNameTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addTextContentPropertyDescriptor(object);
- addIdPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addTextContentPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the Text Content feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Text Content feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addTextContentPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_BaseNameType_textContent_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_BaseNameType_textContent_feature", "_UI_BaseNameType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.BASE_NAME_TYPE__TEXT_CONTENT,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_BaseNameType_textContent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_BaseNameType_textContent_feature", "_UI_BaseNameType_type"),
+ FacesConfigPackage.Literals.BASE_NAME_TYPE__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Id feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addIdPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_BaseNameType_id_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_BaseNameType_id_feature", "_UI_BaseNameType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.BASE_NAME_TYPE__ID,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_BaseNameType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_BaseNameType_id_feature", "_UI_BaseNameType_type"),
+ FacesConfigPackage.Literals.BASE_NAME_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This returns BaseNameType.gif.
- * <!-- begin-user-doc -->
+ * This returns BaseNameType.gif.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/BaseNameType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/BaseNameType"));
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public String getText(Object object) {
- String label = ((BaseNameType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_BaseNameType_type") : //$NON-NLS-1$
- getString("_UI_BaseNameType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((BaseNameType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_BaseNameType_type") :
+ getString("_UI_BaseNameType_type") + " " + label;
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
+ updateChildren(notification);
- switch (notification.getFeatureID(BaseNameType.class)) {
- case FacesConfigPackage.BASE_NAME_TYPE__TEXT_CONTENT:
- case FacesConfigPackage.BASE_NAME_TYPE__ID:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
+ switch (notification.getFeatureID(BaseNameType.class)) {
+ case FacesConfigPackage.BASE_NAME_TYPE__TEXT_CONTENT:
+ case FacesConfigPackage.BASE_NAME_TYPE__ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/BehaviorClassTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/BehaviorClassTypeItemProvider.java
new file mode 100644
index 000000000..12a7b9c09
--- /dev/null
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/BehaviorClassTypeItemProvider.java
@@ -0,0 +1,192 @@
+/***************************************************************************************************
+ * Copyright (c) 2005, 2006 IBM Corporation 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ * Oracle Corporation - revision
+ **************************************************************************************************/
+package org.eclipse.jst.jsf.facesconfig.edit.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.ResourceLocator;
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.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.jst.jsf.facesconfig.FacesConfigPlugin;
+import org.eclipse.jst.jsf.facesconfig.emf.BehaviorClassType;
+import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.jst.jsf.facesconfig.emf.BehaviorClassType} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+@SuppressWarnings("nls")
+public class BehaviorClassTypeItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
+
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * * @param adapterFactory
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BehaviorClassTypeItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addTextContentPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Text Content feature.
+ * <!-- begin-user-doc -->
+ * @param object
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addTextContentPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_BehaviorClassType_textContent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_BehaviorClassType_textContent_feature", "_UI_BehaviorClassType_type"),
+ FacesConfigPackage.Literals.BEHAVIOR_CLASS_TYPE__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
+ * @param object
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addIdPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_BehaviorClassType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_BehaviorClassType_id_feature", "_UI_BehaviorClassType_type"),
+ FacesConfigPackage.Literals.BEHAVIOR_CLASS_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns BehaviorClassType.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/BehaviorClassType"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getText(Object object) {
+ String label = ((BehaviorClassType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_BehaviorClassType_type") :
+ getString("_UI_BehaviorClassType_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
+ */
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(BehaviorClassType.class)) {
+ case FacesConfigPackage.BEHAVIOR_CLASS_TYPE__TEXT_CONTENT:
+ case FacesConfigPackage.BEHAVIOR_CLASS_TYPE__ID:
+ 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
+ */
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceLocator getResourceLocator() {
+ return FacesConfigPlugin.INSTANCE;
+ }
+
+}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/BehaviorExtensionTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/BehaviorExtensionTypeItemProvider.java
new file mode 100644
index 000000000..0e7a51388
--- /dev/null
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/BehaviorExtensionTypeItemProvider.java
@@ -0,0 +1,120 @@
+/***************************************************************************************************
+ * Copyright (c) 2005, 2006 IBM Corporation 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ * Oracle Corporation - revision
+ **************************************************************************************************/
+package org.eclipse.jst.jsf.facesconfig.edit.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.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.jst.jsf.facesconfig.emf.BehaviorExtensionType;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.jst.jsf.facesconfig.emf.BehaviorExtensionType} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class BehaviorExtensionTypeItemProvider
+ extends ExtensionTypeItemProvider
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @SuppressWarnings("hiding")
+ public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
+
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * @param adapterFactory
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BehaviorExtensionTypeItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns BehaviorExtensionType.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/BehaviorExtensionType")); //$NON-NLS-1$
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public String getText(Object object) {
+ String label = ((BehaviorExtensionType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_BehaviorExtensionType_type") : //$NON-NLS-1$
+ getString("_UI_BehaviorExtensionType_type") + " " + label; //$NON-NLS-1$//$NON-NLS-2$
+ }
+
+ /**
+ * 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
+ */
+ 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
+ */
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/BehaviorIdTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/BehaviorIdTypeItemProvider.java
new file mode 100644
index 000000000..b6fe2d140
--- /dev/null
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/BehaviorIdTypeItemProvider.java
@@ -0,0 +1,193 @@
+/***************************************************************************************************
+ * Copyright (c) 2005, 2006 IBM Corporation 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ * Oracle Corporation - revision
+ **************************************************************************************************/
+package org.eclipse.jst.jsf.facesconfig.edit.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.ResourceLocator;
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.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.jst.jsf.facesconfig.FacesConfigPlugin;
+import org.eclipse.jst.jsf.facesconfig.emf.BehaviorIdType;
+import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.jst.jsf.facesconfig.emf.BehaviorIdType} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+@SuppressWarnings("nls")
+public class BehaviorIdTypeItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
+
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * @param adapterFactory
+ * <!-- end-user-doc -->
+
+ * @generated
+ */
+ public BehaviorIdTypeItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addTextContentPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Text Content feature.
+ * <!-- begin-user-doc -->
+ * @param object
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addTextContentPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_BehaviorIdType_textContent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_BehaviorIdType_textContent_feature", "_UI_BehaviorIdType_type"),
+ FacesConfigPackage.Literals.BEHAVIOR_ID_TYPE__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
+ * @param object
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addIdPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_BehaviorIdType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_BehaviorIdType_id_feature", "_UI_BehaviorIdType_type"),
+ FacesConfigPackage.Literals.BEHAVIOR_ID_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns BehaviorIdType.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/BehaviorIdType")); //$NON-NLS-1$
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public String getText(Object object) {
+ String label = ((BehaviorIdType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_BehaviorIdType_type") : //$NON-NLS-1$
+ getString("_UI_BehaviorIdType_type") + " " + label; //$NON-NLS-1$//$NON-NLS-2$
+ }
+
+ /**
+ * 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
+ */
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(BehaviorIdType.class)) {
+ case FacesConfigPackage.BEHAVIOR_ID_TYPE__TEXT_CONTENT:
+ case FacesConfigPackage.BEHAVIOR_ID_TYPE__ID:
+ 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
+ */
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceLocator getResourceLocator() {
+ return FacesConfigPlugin.INSTANCE;
+ }
+
+}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/BehaviorTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/BehaviorTypeItemProvider.java
new file mode 100644
index 000000000..1deaa16b3
--- /dev/null
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/BehaviorTypeItemProvider.java
@@ -0,0 +1,221 @@
+/***************************************************************************************************
+ * Copyright (c) 2005, 2006 IBM Corporation 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ * Oracle Corporation - revision
+ **************************************************************************************************/
+package org.eclipse.jst.jsf.facesconfig.edit.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.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+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.ItemProviderAdapter;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin;
+import org.eclipse.jst.jsf.facesconfig.emf.BehaviorType;
+import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigFactory;
+import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.jst.jsf.facesconfig.emf.BehaviorType} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class BehaviorTypeItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
+
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * @param adapterFactory
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public BehaviorTypeItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Collection getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(FacesConfigPackage.Literals.BEHAVIOR_TYPE__DESCRIPTION);
+ childrenFeatures.add(FacesConfigPackage.Literals.BEHAVIOR_TYPE__DISPLAY_NAME);
+ childrenFeatures.add(FacesConfigPackage.Literals.BEHAVIOR_TYPE__ICON);
+ childrenFeatures.add(FacesConfigPackage.Literals.BEHAVIOR_TYPE__BEHAVIOR_ID);
+ childrenFeatures.add(FacesConfigPackage.Literals.BEHAVIOR_TYPE__BEHAVIOR_CLASS);
+ childrenFeatures.add(FacesConfigPackage.Literals.BEHAVIOR_TYPE__ATTRIBUTE);
+ childrenFeatures.add(FacesConfigPackage.Literals.BEHAVIOR_TYPE__PROPERTY);
+ childrenFeatures.add(FacesConfigPackage.Literals.BEHAVIOR_TYPE__BEHAVIOR_EXTENSION);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ 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 BehaviorType.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/BehaviorType")); //$NON-NLS-1$
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public String getText(Object object) {
+ return getString("_UI_BehaviorType_type"); //$NON-NLS-1$
+ }
+
+ /**
+ * 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
+ */
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(BehaviorType.class)) {
+ case FacesConfigPackage.BEHAVIOR_TYPE__DESCRIPTION:
+ case FacesConfigPackage.BEHAVIOR_TYPE__DISPLAY_NAME:
+ case FacesConfigPackage.BEHAVIOR_TYPE__ICON:
+ case FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_ID:
+ case FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_CLASS:
+ case FacesConfigPackage.BEHAVIOR_TYPE__ATTRIBUTE:
+ case FacesConfigPackage.BEHAVIOR_TYPE__PROPERTY:
+ case FacesConfigPackage.BEHAVIOR_TYPE__BEHAVIOR_EXTENSION:
+ 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
+ */
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.BEHAVIOR_TYPE__DESCRIPTION,
+ FacesConfigFactory.eINSTANCE.createDescriptionType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.BEHAVIOR_TYPE__DISPLAY_NAME,
+ FacesConfigFactory.eINSTANCE.createDisplayNameType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.BEHAVIOR_TYPE__ICON,
+ FacesConfigFactory.eINSTANCE.createIconType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.BEHAVIOR_TYPE__BEHAVIOR_ID,
+ FacesConfigFactory.eINSTANCE.createBehaviorIdType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.BEHAVIOR_TYPE__BEHAVIOR_CLASS,
+ FacesConfigFactory.eINSTANCE.createBehaviorClassType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.BEHAVIOR_TYPE__ATTRIBUTE,
+ FacesConfigFactory.eINSTANCE.createAttributeType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.BEHAVIOR_TYPE__PROPERTY,
+ FacesConfigFactory.eINSTANCE.createPropertyType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.BEHAVIOR_TYPE__BEHAVIOR_EXTENSION,
+ FacesConfigFactory.eINSTANCE.createBehaviorExtensionType()));
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceLocator getResourceLocator() {
+ return FacesConfigPlugin.INSTANCE;
+ }
+
+}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ClientBehaviorRendererClassTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ClientBehaviorRendererClassTypeItemProvider.java
new file mode 100644
index 000000000..b553b27e1
--- /dev/null
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ClientBehaviorRendererClassTypeItemProvider.java
@@ -0,0 +1,192 @@
+/***************************************************************************************************
+ * Copyright (c) 2005, 2006 IBM Corporation 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ * Oracle Corporation - revision
+ **************************************************************************************************/
+package org.eclipse.jst.jsf.facesconfig.edit.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.ResourceLocator;
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.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.jst.jsf.facesconfig.FacesConfigPlugin;
+import org.eclipse.jst.jsf.facesconfig.emf.ClientBehaviorRendererClassType;
+import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.jst.jsf.facesconfig.emf.ClientBehaviorRendererClassType} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+@SuppressWarnings("nls")
+public class ClientBehaviorRendererClassTypeItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
+
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * @param adapterFactory
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ClientBehaviorRendererClassTypeItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addTextContentPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Text Content feature.
+ * <!-- begin-user-doc -->
+ * @param object
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addTextContentPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ClientBehaviorRendererClassType_textContent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ClientBehaviorRendererClassType_textContent_feature", "_UI_ClientBehaviorRendererClassType_type"),
+ FacesConfigPackage.Literals.CLIENT_BEHAVIOR_RENDERER_CLASS_TYPE__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
+ * @param object
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addIdPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ClientBehaviorRendererClassType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ClientBehaviorRendererClassType_id_feature", "_UI_ClientBehaviorRendererClassType_type"),
+ FacesConfigPackage.Literals.CLIENT_BEHAVIOR_RENDERER_CLASS_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns ClientBehaviorRendererClassType.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ClientBehaviorRendererClassType"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getText(Object object) {
+ String label = ((ClientBehaviorRendererClassType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ClientBehaviorRendererClassType_type") :
+ getString("_UI_ClientBehaviorRendererClassType_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
+ */
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ClientBehaviorRendererClassType.class)) {
+ case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_CLASS_TYPE__TEXT_CONTENT:
+ case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_CLASS_TYPE__ID:
+ 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
+ */
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceLocator getResourceLocator() {
+ return FacesConfigPlugin.INSTANCE;
+ }
+
+}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ClientBehaviorRendererTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ClientBehaviorRendererTypeItemProvider.java
new file mode 100644
index 000000000..04b041e3d
--- /dev/null
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ClientBehaviorRendererTypeItemProvider.java
@@ -0,0 +1,179 @@
+/***************************************************************************************************
+ * Copyright (c) 2005, 2006 IBM Corporation 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ * Oracle Corporation - revision
+ **************************************************************************************************/
+package org.eclipse.jst.jsf.facesconfig.edit.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.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+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.ItemProviderAdapter;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin;
+import org.eclipse.jst.jsf.facesconfig.emf.ClientBehaviorRendererType;
+import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigFactory;
+import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.jst.jsf.facesconfig.emf.ClientBehaviorRendererType} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ClientBehaviorRendererTypeItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
+
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * @param adapterFactory
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ClientBehaviorRendererTypeItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Collection getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(FacesConfigPackage.Literals.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_TYPE);
+ childrenFeatures.add(FacesConfigPackage.Literals.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_CLASS);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ 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 ClientBehaviorRendererType.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ClientBehaviorRendererType")); //$NON-NLS-1$
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public String getText(Object object) {
+ return getString("_UI_ClientBehaviorRendererType_type"); //$NON-NLS-1$
+ }
+
+ /**
+ * 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
+ */
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ClientBehaviorRendererType.class)) {
+ case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_TYPE:
+ case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_CLASS:
+ 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
+ */
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_TYPE,
+ FacesConfigFactory.eINSTANCE.createClientBehaviorRendererTypeType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.CLIENT_BEHAVIOR_RENDERER_TYPE__CLIENT_BEHAVIOR_RENDERER_CLASS,
+ FacesConfigFactory.eINSTANCE.createClientBehaviorRendererClassType()));
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceLocator getResourceLocator() {
+ return FacesConfigPlugin.INSTANCE;
+ }
+
+}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ClientBehaviorRendererTypeTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ClientBehaviorRendererTypeTypeItemProvider.java
new file mode 100644
index 000000000..41332189e
--- /dev/null
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ClientBehaviorRendererTypeTypeItemProvider.java
@@ -0,0 +1,193 @@
+/***************************************************************************************************
+ * Copyright (c) 2005, 2006 IBM Corporation 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ * Oracle Corporation - revision
+ **************************************************************************************************/
+package org.eclipse.jst.jsf.facesconfig.edit.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.ResourceLocator;
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.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.jst.jsf.facesconfig.FacesConfigPlugin;
+import org.eclipse.jst.jsf.facesconfig.emf.ClientBehaviorRendererTypeType;
+import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.jst.jsf.facesconfig.emf.ClientBehaviorRendererTypeType} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class ClientBehaviorRendererTypeTypeItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
+
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * @param adapterFactory
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ClientBehaviorRendererTypeTypeItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addTextContentPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Text Content feature.
+ * <!-- begin-user-doc -->
+ * @param object
+ * <!-- end-user-doc -->
+ *
+ * @generated NOT
+ */
+ protected void addTextContentPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ClientBehaviorRendererTypeType_textContent_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_ClientBehaviorRendererTypeType_textContent_feature", "_UI_ClientBehaviorRendererTypeType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ FacesConfigPackage.Literals.CLIENT_BEHAVIOR_RENDERER_TYPE_TYPE__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
+ * @param object
+ * <!-- end-user-doc -->
+ *
+ * @generated NOT
+ */
+ protected void addIdPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ClientBehaviorRendererTypeType_id_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_ClientBehaviorRendererTypeType_id_feature", "_UI_ClientBehaviorRendererTypeType_type"), //$NON-NLS-1$ //$NON-NLS-2$//$NON-NLS-3$
+ FacesConfigPackage.Literals.CLIENT_BEHAVIOR_RENDERER_TYPE_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns ClientBehaviorRendererTypeType.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ClientBehaviorRendererTypeType")); //$NON-NLS-1$
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated NOT
+ */
+ public String getText(Object object) {
+ String label = ((ClientBehaviorRendererTypeType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ClientBehaviorRendererTypeType_type") : //$NON-NLS-1$
+ getString("_UI_ClientBehaviorRendererTypeType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
+ }
+
+ /**
+ * 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
+ */
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ClientBehaviorRendererTypeType.class)) {
+ case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE_TYPE__TEXT_CONTENT:
+ case FacesConfigPackage.CLIENT_BEHAVIOR_RENDERER_TYPE_TYPE__ID:
+ 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
+ */
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceLocator getResourceLocator() {
+ return FacesConfigPlugin.INSTANCE;
+ }
+
+}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentClassTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentClassTypeItemProvider.java
index ab988bdf5..f5011bf75 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentClassTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentClassTypeItemProvider.java
@@ -28,7 +28,6 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin;
-
import org.eclipse.jst.jsf.facesconfig.emf.ComponentClassType;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
@@ -38,6 +37,7 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
* <!-- end-user-doc -->
* @generated
*/
+@SuppressWarnings("nls")
public class ComponentClassTypeItemProvider
extends ItemProviderAdapter
implements
@@ -47,146 +47,146 @@ public class ComponentClassTypeItemProvider
IItemLabelProvider,
IItemPropertySource {
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ComponentClassTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addTextContentPropertyDescriptor(object);
- addIdPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addTextContentPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the Text Content feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Text Content feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addTextContentPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ComponentClassType_textContent_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ComponentClassType_textContent_feature", "_UI_ComponentClassType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.COMPONENT_CLASS_TYPE__TEXT_CONTENT,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ComponentClassType_textContent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ComponentClassType_textContent_feature", "_UI_ComponentClassType_type"),
+ FacesConfigPackage.Literals.COMPONENT_CLASS_TYPE__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Id feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addIdPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ComponentClassType_id_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ComponentClassType_id_feature", "_UI_ComponentClassType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.COMPONENT_CLASS_TYPE__ID,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ComponentClassType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ComponentClassType_id_feature", "_UI_ComponentClassType_type"),
+ FacesConfigPackage.Literals.COMPONENT_CLASS_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This returns ComponentClassType.gif.
- * <!-- begin-user-doc -->
+ * This returns ComponentClassType.gif.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ComponentClassType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ComponentClassType"));
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public String getText(Object object) {
- String label = ((ComponentClassType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_ComponentClassType_type") : //$NON-NLS-1$
- getString("_UI_ComponentClassType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((ComponentClassType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ComponentClassType_type") :
+ getString("_UI_ComponentClassType_type") + " " + label;
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
+ updateChildren(notification);
- switch (notification.getFeatureID(ComponentClassType.class)) {
- case FacesConfigPackage.COMPONENT_CLASS_TYPE__TEXT_CONTENT:
- case FacesConfigPackage.COMPONENT_CLASS_TYPE__ID:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
+ switch (notification.getFeatureID(ComponentClassType.class)) {
+ case FacesConfigPackage.COMPONENT_CLASS_TYPE__TEXT_CONTENT:
+ case FacesConfigPackage.COMPONENT_CLASS_TYPE__ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentExtensionTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentExtensionTypeItemProvider.java
index bc5135388..90ae0fe68 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentExtensionTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentExtensionTypeItemProvider.java
@@ -17,13 +17,11 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-import org.eclipse.emf.common.util.ResourceLocator;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin;
import org.eclipse.jst.jsf.facesconfig.emf.ComponentExtensionType;
/**
@@ -41,92 +39,82 @@ public class ComponentExtensionTypeItemProvider
IItemLabelProvider,
IItemPropertySource {
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
@SuppressWarnings("hiding")
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ComponentExtensionTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This returns ComponentExtensionType.gif.
- * <!-- begin-user-doc -->
+ * This returns ComponentExtensionType.gif.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated NOT
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ComponentExtensionType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ComponentExtensionType")); //$NON-NLS-1$
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated NOT
+ */
public String getText(Object object) {
- String label = ((ComponentExtensionType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_ComponentExtensionType_type") : //$NON-NLS-1$
- getString("_UI_ComponentExtensionType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((ComponentExtensionType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ComponentExtensionType_type") : //$NON-NLS-1$
+ getString("_UI_ComponentExtensionType_type") + " " + label; //$NON-NLS-1$//$NON-NLS-2$
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
-
- /**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentFamilyTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentFamilyTypeItemProvider.java
index 158105228..2865fffd7 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentFamilyTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentFamilyTypeItemProvider.java
@@ -28,7 +28,6 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin;
-
import org.eclipse.jst.jsf.facesconfig.emf.ComponentFamilyType;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
@@ -38,6 +37,7 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
* <!-- end-user-doc -->
* @generated
*/
+@SuppressWarnings("nls")
public class ComponentFamilyTypeItemProvider
extends ItemProviderAdapter
implements
@@ -47,146 +47,146 @@ public class ComponentFamilyTypeItemProvider
IItemLabelProvider,
IItemPropertySource {
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ComponentFamilyTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addTextContentPropertyDescriptor(object);
- addIdPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addTextContentPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the Text Content feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Text Content feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addTextContentPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ComponentFamilyType_textContent_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ComponentFamilyType_textContent_feature", "_UI_ComponentFamilyType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.COMPONENT_FAMILY_TYPE__TEXT_CONTENT,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ComponentFamilyType_textContent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ComponentFamilyType_textContent_feature", "_UI_ComponentFamilyType_type"),
+ FacesConfigPackage.Literals.COMPONENT_FAMILY_TYPE__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Id feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addIdPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ComponentFamilyType_id_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ComponentFamilyType_id_feature", "_UI_ComponentFamilyType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.COMPONENT_FAMILY_TYPE__ID,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ComponentFamilyType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ComponentFamilyType_id_feature", "_UI_ComponentFamilyType_type"),
+ FacesConfigPackage.Literals.COMPONENT_FAMILY_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This returns ComponentFamilyType.gif.
- * <!-- begin-user-doc -->
+ * This returns ComponentFamilyType.gif.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ComponentFamilyType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ComponentFamilyType"));
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public String getText(Object object) {
- String label = ((ComponentFamilyType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_ComponentFamilyType_type") : //$NON-NLS-1$
- getString("_UI_ComponentFamilyType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((ComponentFamilyType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ComponentFamilyType_type") :
+ getString("_UI_ComponentFamilyType_type") + " " + label;
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
+ updateChildren(notification);
- switch (notification.getFeatureID(ComponentFamilyType.class)) {
- case FacesConfigPackage.COMPONENT_FAMILY_TYPE__TEXT_CONTENT:
- case FacesConfigPackage.COMPONENT_FAMILY_TYPE__ID:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
+ switch (notification.getFeatureID(ComponentFamilyType.class)) {
+ case FacesConfigPackage.COMPONENT_FAMILY_TYPE__TEXT_CONTENT:
+ case FacesConfigPackage.COMPONENT_FAMILY_TYPE__ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentTypeItemProvider.java
index 741452067..96baac37a 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentTypeItemProvider.java
@@ -34,20 +34,18 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigFactory;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
/**
- * This is the item provider adapter for a
- * {@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType} object.
+ * This is the item provider adapter for a {@link org.eclipse.jst.jsf.facesconfig.emf.ComponentType} object.
* <!-- begin-user-doc -->
* @extends ITableItemLabelProvider
* <!-- end-user-doc -->
- *
* @generated
*/
public class ComponentTypeItemProvider extends ItemProviderAdapter implements
IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource, ITableItemLabelProvider {
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
@@ -58,25 +56,24 @@ public class ComponentTypeItemProvider extends ItemProviderAdapter implements
* @generated
*/
public ComponentTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
+ * This returns the property descriptors for the adapted class.
* <!-- begin-user-doc -->
*
* <!-- end-user-doc -->
- *
* @generated
*/
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addIdPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
* @param object
@@ -110,71 +107,71 @@ public class ComponentTypeItemProvider extends ItemProviderAdapter implements
/**
- * This adds a property descriptor for the Id feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated NOT
+ */
protected void addIdPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ComponentType_id_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ComponentType_id_feature", "_UI_ComponentType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.COMPONENT_TYPE__ID,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ComponentType_id_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_ComponentType_id_feature", "_UI_ComponentType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ FacesConfigPackage.Literals.COMPONENT_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This specifies how to implement {@link #getChildren(Object)} 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(Object, org.eclipse.emf.edit.domain.EditingDomain, Class, org.eclipse.emf.edit.command.CommandParameter)}.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * 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
+ */
public Collection getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(FacesConfigPackage.Literals.COMPONENT_TYPE__DESCRIPTION);
- childrenFeatures.add(FacesConfigPackage.Literals.COMPONENT_TYPE__DISPLAY_NAME);
- childrenFeatures.add(FacesConfigPackage.Literals.COMPONENT_TYPE__ICON);
- childrenFeatures.add(FacesConfigPackage.Literals.COMPONENT_TYPE__COMPONENT_TYPE);
- childrenFeatures.add(FacesConfigPackage.Literals.COMPONENT_TYPE__COMPONENT_CLASS);
- childrenFeatures.add(FacesConfigPackage.Literals.COMPONENT_TYPE__FACET);
- childrenFeatures.add(FacesConfigPackage.Literals.COMPONENT_TYPE__ATTRIBUTE);
- childrenFeatures.add(FacesConfigPackage.Literals.COMPONENT_TYPE__PROPERTY);
- childrenFeatures.add(FacesConfigPackage.Literals.COMPONENT_TYPE__COMPONENT_EXTENSION);
- }
- return childrenFeatures;
- }
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(FacesConfigPackage.Literals.COMPONENT_TYPE__DESCRIPTION);
+ childrenFeatures.add(FacesConfigPackage.Literals.COMPONENT_TYPE__DISPLAY_NAME);
+ childrenFeatures.add(FacesConfigPackage.Literals.COMPONENT_TYPE__ICON);
+ childrenFeatures.add(FacesConfigPackage.Literals.COMPONENT_TYPE__COMPONENT_TYPE);
+ childrenFeatures.add(FacesConfigPackage.Literals.COMPONENT_TYPE__COMPONENT_CLASS);
+ childrenFeatures.add(FacesConfigPackage.Literals.COMPONENT_TYPE__FACET);
+ childrenFeatures.add(FacesConfigPackage.Literals.COMPONENT_TYPE__ATTRIBUTE);
+ childrenFeatures.add(FacesConfigPackage.Literals.COMPONENT_TYPE__PROPERTY);
+ childrenFeatures.add(FacesConfigPackage.Literals.COMPONENT_TYPE__COMPONENT_EXTENSION);
+ }
+ return childrenFeatures;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
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.
+ // 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);
- }
+ return super.getChildFeature(object, child);
+ }
/**
* This returns ComponentType.gif. <!-- begin-user-doc --> <!-- end-user-doc
* -->
*
- * @generated
+ * @generated NOT
*/
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ComponentType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ComponentType")); //$NON-NLS-1$
+ }
/**
* This returns the label text for the adapted class. <!-- begin-user-doc
@@ -202,89 +199,89 @@ public class ComponentTypeItemProvider extends ItemProviderAdapter implements
}
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc --> <!--
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
+ updateChildren(notification);
- switch (notification.getFeatureID(ComponentType.class)) {
- case FacesConfigPackage.COMPONENT_TYPE__ID:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- case FacesConfigPackage.COMPONENT_TYPE__DESCRIPTION:
- case FacesConfigPackage.COMPONENT_TYPE__DISPLAY_NAME:
- case FacesConfigPackage.COMPONENT_TYPE__ICON:
- case FacesConfigPackage.COMPONENT_TYPE__COMPONENT_TYPE:
- case FacesConfigPackage.COMPONENT_TYPE__COMPONENT_CLASS:
- case FacesConfigPackage.COMPONENT_TYPE__FACET:
- case FacesConfigPackage.COMPONENT_TYPE__ATTRIBUTE:
- case FacesConfigPackage.COMPONENT_TYPE__PROPERTY:
- case FacesConfigPackage.COMPONENT_TYPE__COMPONENT_EXTENSION:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
+ switch (notification.getFeatureID(ComponentType.class)) {
+ case FacesConfigPackage.COMPONENT_TYPE__ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case FacesConfigPackage.COMPONENT_TYPE__DESCRIPTION:
+ case FacesConfigPackage.COMPONENT_TYPE__DISPLAY_NAME:
+ case FacesConfigPackage.COMPONENT_TYPE__ICON:
+ case FacesConfigPackage.COMPONENT_TYPE__COMPONENT_TYPE:
+ case FacesConfigPackage.COMPONENT_TYPE__COMPONENT_CLASS:
+ case FacesConfigPackage.COMPONENT_TYPE__FACET:
+ case FacesConfigPackage.COMPONENT_TYPE__ATTRIBUTE:
+ case FacesConfigPackage.COMPONENT_TYPE__PROPERTY:
+ case FacesConfigPackage.COMPONENT_TYPE__COMPONENT_EXTENSION:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
+ super.collectNewChildDescriptors(newChildDescriptors, object);
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.COMPONENT_TYPE__DESCRIPTION,
- FacesConfigFactory.eINSTANCE.createDescriptionType()));
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.COMPONENT_TYPE__DESCRIPTION,
+ FacesConfigFactory.eINSTANCE.createDescriptionType()));
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.COMPONENT_TYPE__DISPLAY_NAME,
- FacesConfigFactory.eINSTANCE.createDisplayNameType()));
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.COMPONENT_TYPE__DISPLAY_NAME,
+ FacesConfigFactory.eINSTANCE.createDisplayNameType()));
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.COMPONENT_TYPE__ICON,
- FacesConfigFactory.eINSTANCE.createIconType()));
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.COMPONENT_TYPE__ICON,
+ FacesConfigFactory.eINSTANCE.createIconType()));
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.COMPONENT_TYPE__COMPONENT_TYPE,
- FacesConfigFactory.eINSTANCE.createComponentTypeType()));
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.COMPONENT_TYPE__COMPONENT_TYPE,
+ FacesConfigFactory.eINSTANCE.createComponentTypeType()));
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.COMPONENT_TYPE__COMPONENT_CLASS,
- FacesConfigFactory.eINSTANCE.createComponentClassType()));
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.COMPONENT_TYPE__COMPONENT_CLASS,
+ FacesConfigFactory.eINSTANCE.createComponentClassType()));
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.COMPONENT_TYPE__FACET,
- FacesConfigFactory.eINSTANCE.createFacetType()));
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.COMPONENT_TYPE__FACET,
+ FacesConfigFactory.eINSTANCE.createFacetType()));
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.COMPONENT_TYPE__ATTRIBUTE,
- FacesConfigFactory.eINSTANCE.createAttributeType()));
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.COMPONENT_TYPE__ATTRIBUTE,
+ FacesConfigFactory.eINSTANCE.createAttributeType()));
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.COMPONENT_TYPE__PROPERTY,
- FacesConfigFactory.eINSTANCE.createPropertyType()));
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.COMPONENT_TYPE__PROPERTY,
+ FacesConfigFactory.eINSTANCE.createPropertyType()));
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.COMPONENT_TYPE__COMPONENT_EXTENSION,
- FacesConfigFactory.eINSTANCE.createComponentExtensionType()));
- }
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.COMPONENT_TYPE__COMPONENT_EXTENSION,
+ FacesConfigFactory.eINSTANCE.createComponentExtensionType()));
+ }
/**
* Return the resource locator for this item provider's resources. <!--
@@ -293,8 +290,8 @@ public class ComponentTypeItemProvider extends ItemProviderAdapter implements
* @generated
*/
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
/* (non-Javadoc)
* @see org.eclipse.emf.edit.provider.ITableItemLabelProvider#getColumnImage(java.lang.Object, int)
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentTypeTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentTypeTypeItemProvider.java
index 41f3b26e6..20927a906 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentTypeTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ComponentTypeTypeItemProvider.java
@@ -28,7 +28,6 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin;
-
import org.eclipse.jst.jsf.facesconfig.emf.ComponentTypeType;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
@@ -38,6 +37,7 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
* <!-- end-user-doc -->
* @generated
*/
+@SuppressWarnings("nls")
public class ComponentTypeTypeItemProvider
extends ItemProviderAdapter
implements
@@ -47,146 +47,146 @@ public class ComponentTypeTypeItemProvider
IItemLabelProvider,
IItemPropertySource {
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ComponentTypeTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addTextContentPropertyDescriptor(object);
- addIdPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addTextContentPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the Text Content feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Text Content feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addTextContentPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ComponentTypeType_textContent_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ComponentTypeType_textContent_feature", "_UI_ComponentTypeType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.COMPONENT_TYPE_TYPE__TEXT_CONTENT,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ComponentTypeType_textContent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ComponentTypeType_textContent_feature", "_UI_ComponentTypeType_type"),
+ FacesConfigPackage.Literals.COMPONENT_TYPE_TYPE__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Id feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addIdPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ComponentTypeType_id_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ComponentTypeType_id_feature", "_UI_ComponentTypeType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.COMPONENT_TYPE_TYPE__ID,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ComponentTypeType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ComponentTypeType_id_feature", "_UI_ComponentTypeType_type"),
+ FacesConfigPackage.Literals.COMPONENT_TYPE_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This returns ComponentTypeType.gif.
- * <!-- begin-user-doc -->
+ * This returns ComponentTypeType.gif.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ComponentTypeType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ComponentTypeType"));
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public String getText(Object object) {
- String label = ((ComponentTypeType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_ComponentTypeType_type") : //$NON-NLS-1$
- getString("_UI_ComponentTypeType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((ComponentTypeType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ComponentTypeType_type") :
+ getString("_UI_ComponentTypeType_type") + " " + label;
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
+ updateChildren(notification);
- switch (notification.getFeatureID(ComponentTypeType.class)) {
- case FacesConfigPackage.COMPONENT_TYPE_TYPE__TEXT_CONTENT:
- case FacesConfigPackage.COMPONENT_TYPE_TYPE__ID:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
+ switch (notification.getFeatureID(ComponentTypeType.class)) {
+ case FacesConfigPackage.COMPONENT_TYPE_TYPE__TEXT_CONTENT:
+ case FacesConfigPackage.COMPONENT_TYPE_TYPE__ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterClassTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterClassTypeItemProvider.java
index f03fbe4aa..a9f940ed0 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterClassTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterClassTypeItemProvider.java
@@ -28,7 +28,6 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin;
-
import org.eclipse.jst.jsf.facesconfig.emf.ConverterClassType;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
@@ -38,6 +37,7 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
* <!-- end-user-doc -->
* @generated
*/
+@SuppressWarnings("nls")
public class ConverterClassTypeItemProvider
extends ItemProviderAdapter
implements
@@ -47,146 +47,146 @@ public class ConverterClassTypeItemProvider
IItemLabelProvider,
IItemPropertySource {
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ConverterClassTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addTextContentPropertyDescriptor(object);
- addIdPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addTextContentPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the Text Content feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Text Content feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addTextContentPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ConverterClassType_textContent_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ConverterClassType_textContent_feature", "_UI_ConverterClassType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.CONVERTER_CLASS_TYPE__TEXT_CONTENT,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ConverterClassType_textContent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ConverterClassType_textContent_feature", "_UI_ConverterClassType_type"),
+ FacesConfigPackage.Literals.CONVERTER_CLASS_TYPE__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Id feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addIdPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ConverterClassType_id_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ConverterClassType_id_feature", "_UI_ConverterClassType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.CONVERTER_CLASS_TYPE__ID,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ConverterClassType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ConverterClassType_id_feature", "_UI_ConverterClassType_type"),
+ FacesConfigPackage.Literals.CONVERTER_CLASS_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This returns ConverterClassType.gif.
- * <!-- begin-user-doc -->
+ * This returns ConverterClassType.gif.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ConverterClassType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ConverterClassType"));
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public String getText(Object object) {
- String label = ((ConverterClassType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_ConverterClassType_type") : //$NON-NLS-1$
- getString("_UI_ConverterClassType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((ConverterClassType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ConverterClassType_type") :
+ getString("_UI_ConverterClassType_type") + " " + label;
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
+ updateChildren(notification);
- switch (notification.getFeatureID(ConverterClassType.class)) {
- case FacesConfigPackage.CONVERTER_CLASS_TYPE__TEXT_CONTENT:
- case FacesConfigPackage.CONVERTER_CLASS_TYPE__ID:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
+ switch (notification.getFeatureID(ConverterClassType.class)) {
+ case FacesConfigPackage.CONVERTER_CLASS_TYPE__TEXT_CONTENT:
+ case FacesConfigPackage.CONVERTER_CLASS_TYPE__ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterExtensionTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterExtensionTypeItemProvider.java
index 1b92f025b..f0f50801d 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterExtensionTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterExtensionTypeItemProvider.java
@@ -17,17 +17,11 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
-import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertySource;
import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
-
-import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin;
-
import org.eclipse.jst.jsf.facesconfig.emf.ConverterExtensionType;
/**
@@ -45,92 +39,82 @@ public class ConverterExtensionTypeItemProvider
IItemLabelProvider,
IItemPropertySource {
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
@SuppressWarnings("hiding")
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ConverterExtensionTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This returns ConverterExtensionType.gif.
- * <!-- begin-user-doc -->
+ * This returns ConverterExtensionType.gif.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated NOT
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ConverterExtensionType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ConverterExtensionType")); //$NON-NLS-1$
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated NOT
+ */
public String getText(Object object) {
- String label = ((ConverterExtensionType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_ConverterExtensionType_type") : //$NON-NLS-1$
- getString("_UI_ConverterExtensionType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((ConverterExtensionType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ConverterExtensionType_type") : //$NON-NLS-1$
+ getString("_UI_ConverterExtensionType_type") + " " + label; //$NON-NLS-1$//$NON-NLS-2$
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
- super.notifyChanged(notification);
- }
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
-
- /**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @generated
- */
- public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterForClassTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterForClassTypeItemProvider.java
index 1a9ad3ef6..7539298cc 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterForClassTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterForClassTypeItemProvider.java
@@ -28,7 +28,6 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin;
-
import org.eclipse.jst.jsf.facesconfig.emf.ConverterForClassType;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
@@ -47,146 +46,146 @@ public class ConverterForClassTypeItemProvider
IItemLabelProvider,
IItemPropertySource {
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ConverterForClassTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addTextContentPropertyDescriptor(object);
- addIdPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addTextContentPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the Text Content feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Text Content feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated NOT
+ */
protected void addTextContentPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ConverterForClassType_textContent_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ConverterForClassType_textContent_feature", "_UI_ConverterForClassType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.CONVERTER_FOR_CLASS_TYPE__TEXT_CONTENT,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ConverterForClassType_textContent_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_ConverterForClassType_textContent_feature", "_UI_ConverterForClassType_type"), //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$
+ FacesConfigPackage.Literals.CONVERTER_FOR_CLASS_TYPE__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Id feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated NOT
+ */
protected void addIdPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ConverterForClassType_id_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ConverterForClassType_id_feature", "_UI_ConverterForClassType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.CONVERTER_FOR_CLASS_TYPE__ID,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ConverterForClassType_id_feature"), //$NON-NLS-1$
+ getString("_UI_PropertyDescriptor_description", "_UI_ConverterForClassType_id_feature", "_UI_ConverterForClassType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+ FacesConfigPackage.Literals.CONVERTER_FOR_CLASS_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This returns ConverterForClassType.gif.
- * <!-- begin-user-doc -->
+ * This returns ConverterForClassType.gif.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated NOT
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ConverterForClassType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ConverterForClassType")); //$NON-NLS-1$
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated NOT
+ */
public String getText(Object object) {
- String label = ((ConverterForClassType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_ConverterForClassType_type") : //$NON-NLS-1$
- getString("_UI_ConverterForClassType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((ConverterForClassType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ConverterForClassType_type") : //$NON-NLS-1$
+ getString("_UI_ConverterForClassType_type") + " " + label; //$NON-NLS-1$//$NON-NLS-2$
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
+ updateChildren(notification);
- switch (notification.getFeatureID(ConverterForClassType.class)) {
- case FacesConfigPackage.CONVERTER_FOR_CLASS_TYPE__TEXT_CONTENT:
- case FacesConfigPackage.CONVERTER_FOR_CLASS_TYPE__ID:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
+ switch (notification.getFeatureID(ConverterForClassType.class)) {
+ case FacesConfigPackage.CONVERTER_FOR_CLASS_TYPE__TEXT_CONTENT:
+ case FacesConfigPackage.CONVERTER_FOR_CLASS_TYPE__ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterIdTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterIdTypeItemProvider.java
index 3b4b92082..7a5edf0dd 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterIdTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterIdTypeItemProvider.java
@@ -28,7 +28,6 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin;
-
import org.eclipse.jst.jsf.facesconfig.emf.ConverterIdType;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
@@ -38,6 +37,7 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
* <!-- end-user-doc -->
* @generated
*/
+@SuppressWarnings("nls")
public class ConverterIdTypeItemProvider
extends ItemProviderAdapter
implements
@@ -47,146 +47,146 @@ public class ConverterIdTypeItemProvider
IItemLabelProvider,
IItemPropertySource {
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ConverterIdTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addTextContentPropertyDescriptor(object);
- addIdPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addTextContentPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the Text Content feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Text Content feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addTextContentPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ConverterIdType_textContent_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ConverterIdType_textContent_feature", "_UI_ConverterIdType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.CONVERTER_ID_TYPE__TEXT_CONTENT,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ConverterIdType_textContent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ConverterIdType_textContent_feature", "_UI_ConverterIdType_type"),
+ FacesConfigPackage.Literals.CONVERTER_ID_TYPE__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Id feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addIdPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ConverterIdType_id_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ConverterIdType_id_feature", "_UI_ConverterIdType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.CONVERTER_ID_TYPE__ID,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ConverterIdType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ConverterIdType_id_feature", "_UI_ConverterIdType_type"),
+ FacesConfigPackage.Literals.CONVERTER_ID_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This returns ConverterIdType.gif.
- * <!-- begin-user-doc -->
+ * This returns ConverterIdType.gif.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ConverterIdType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ConverterIdType"));
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public String getText(Object object) {
- String label = ((ConverterIdType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_ConverterIdType_type") : //$NON-NLS-1$
- getString("_UI_ConverterIdType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((ConverterIdType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ConverterIdType_type") :
+ getString("_UI_ConverterIdType_type") + " " + label;
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
+ updateChildren(notification);
- switch (notification.getFeatureID(ConverterIdType.class)) {
- case FacesConfigPackage.CONVERTER_ID_TYPE__TEXT_CONTENT:
- case FacesConfigPackage.CONVERTER_ID_TYPE__ID:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
+ switch (notification.getFeatureID(ConverterIdType.class)) {
+ case FacesConfigPackage.CONVERTER_ID_TYPE__TEXT_CONTENT:
+ case FacesConfigPackage.CONVERTER_ID_TYPE__ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterTypeItemProvider.java
index cf1dd3a57..3b495ea39 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ConverterTypeItemProvider.java
@@ -34,33 +34,31 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigFactory;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
/**
- * This is the item provider adapter for a
- * {@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType} object.
+ * This is the item provider adapter for a {@link org.eclipse.jst.jsf.facesconfig.emf.ConverterType} object.
* <!-- begin-user-doc -->
* @extends ITableItemLabelProvider
* <!-- end-user-doc -->
- *
* @generated
*/
+@SuppressWarnings("nls")
public class ConverterTypeItemProvider extends ItemProviderAdapter implements
IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource, ITableItemLabelProvider {
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
+ * This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- *
* @generated
*/
public ConverterTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
* This returns the property descriptors for the adapted class. <!--
@@ -69,144 +67,70 @@ public class ConverterTypeItemProvider extends ItemProviderAdapter implements
* @generated
*/
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
-
- addConverterIdPropertyDescriptor(object);
- addConverterForClassPropertyDescriptor(object);
- addConverterClassPropertyDescriptor(object);
- addIdPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
-
- /**
- * This adds a property descriptor for the Converter Id feature.
- *
- * <!-- begin-user-doc -->
- * @param object
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected void addConverterIdPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ConverterType_converterId_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ConverterType_converterId_feature", "_UI_ConverterType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.CONVERTER_TYPE__CONVERTER_ID,
- true,
- false,
- false,
- null,
- null,
- null));
- }
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- /**
- * This adds a property descriptor for the Converter For Class feature.
- *
- * <!-- begin-user-doc -->
- * @param object
- * <!-- end-user-doc -->
- *
- * @generated
- */
- protected void addConverterForClassPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ConverterType_converterForClass_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ConverterType_converterForClass_feature", "_UI_ConverterType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.CONVERTER_TYPE__CONVERTER_FOR_CLASS,
- true,
- false,
- false,
- null,
- null,
- null));
- }
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the Converter Class feature.
- *
+ * This adds a property descriptor for the Id feature.
* <!-- begin-user-doc -->
- * @param object
- * <!-- end-user-doc -->
- * @generated
- */
- protected void addConverterClassPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ConverterType_converterClass_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ConverterType_converterClass_feature", "_UI_ConverterType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.CONVERTER_TYPE__CONVERTER_CLASS,
- true,
- false,
- false,
- null,
- null,
- null));
- }
-
- /**
- * This adds a property descriptor for the Id feature.
- * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addIdPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ConverterType_id_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ConverterType_id_feature", "_UI_ConverterType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.CONVERTER_TYPE__ID,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ConverterType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ConverterType_id_feature", "_UI_ConverterType_type"),
+ FacesConfigPackage.Literals.CONVERTER_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This specifies how to implement {@link #getChildren(Object)} 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(Object, org.eclipse.emf.edit.domain.EditingDomain, Class, org.eclipse.emf.edit.command.CommandParameter)}.
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * 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
+ */
public Collection getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(FacesConfigPackage.Literals.CONVERTER_TYPE__DESCRIPTION);
- childrenFeatures.add(FacesConfigPackage.Literals.CONVERTER_TYPE__DISPLAY_NAME);
- childrenFeatures.add(FacesConfigPackage.Literals.CONVERTER_TYPE__ICON);
- childrenFeatures.add(FacesConfigPackage.Literals.CONVERTER_TYPE__ATTRIBUTE);
- childrenFeatures.add(FacesConfigPackage.Literals.CONVERTER_TYPE__PROPERTY);
- childrenFeatures.add(FacesConfigPackage.Literals.CONVERTER_TYPE__CONVERTER_EXTENSION);
- }
- return childrenFeatures;
- }
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(FacesConfigPackage.Literals.CONVERTER_TYPE__DESCRIPTION);
+ childrenFeatures.add(FacesConfigPackage.Literals.CONVERTER_TYPE__DISPLAY_NAME);
+ childrenFeatures.add(FacesConfigPackage.Literals.CONVERTER_TYPE__ICON);
+ childrenFeatures.add(FacesConfigPackage.Literals.CONVERTER_TYPE__CONVERTER_ID);
+ childrenFeatures.add(FacesConfigPackage.Literals.CONVERTER_TYPE__CONVERTER_FOR_CLASS);
+ childrenFeatures.add(FacesConfigPackage.Literals.CONVERTER_TYPE__CONVERTER_CLASS);
+ childrenFeatures.add(FacesConfigPackage.Literals.CONVERTER_TYPE__ATTRIBUTE);
+ childrenFeatures.add(FacesConfigPackage.Literals.CONVERTER_TYPE__PROPERTY);
+ childrenFeatures.add(FacesConfigPackage.Literals.CONVERTER_TYPE__CONVERTER_EXTENSION);
+ }
+ return childrenFeatures;
+ }
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
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.
+ // 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);
- }
+ return super.getChildFeature(object, child);
+ }
/**
* This returns ConverterType.gif. <!-- begin-user-doc --> <!-- end-user-doc
@@ -215,91 +139,106 @@ public class ConverterTypeItemProvider extends ItemProviderAdapter implements
* @generated
*/
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ConverterType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ConverterType"));
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public String getText(Object object) {
- String label = ((ConverterType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_ConverterType_type") : //$NON-NLS-1$
- getString("_UI_ConverterType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((ConverterType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ConverterType_type") :
+ getString("_UI_ConverterType_type") + " " + label;
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc --> <!--
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
+ updateChildren(notification);
- switch (notification.getFeatureID(ConverterType.class)) {
- case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_ID:
- case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_FOR_CLASS:
- case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_CLASS:
- case FacesConfigPackage.CONVERTER_TYPE__ID:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- case FacesConfigPackage.CONVERTER_TYPE__DESCRIPTION:
- case FacesConfigPackage.CONVERTER_TYPE__DISPLAY_NAME:
- case FacesConfigPackage.CONVERTER_TYPE__ICON:
- case FacesConfigPackage.CONVERTER_TYPE__ATTRIBUTE:
- case FacesConfigPackage.CONVERTER_TYPE__PROPERTY:
- case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_EXTENSION:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
+ switch (notification.getFeatureID(ConverterType.class)) {
+ case FacesConfigPackage.CONVERTER_TYPE__ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case FacesConfigPackage.CONVERTER_TYPE__DESCRIPTION:
+ case FacesConfigPackage.CONVERTER_TYPE__DISPLAY_NAME:
+ case FacesConfigPackage.CONVERTER_TYPE__ICON:
+ case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_ID:
+ case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_FOR_CLASS:
+ case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_CLASS:
+ case FacesConfigPackage.CONVERTER_TYPE__ATTRIBUTE:
+ case FacesConfigPackage.CONVERTER_TYPE__PROPERTY:
+ case FacesConfigPackage.CONVERTER_TYPE__CONVERTER_EXTENSION:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.CONVERTER_TYPE__DESCRIPTION,
+ FacesConfigFactory.eINSTANCE.createDescriptionType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.CONVERTER_TYPE__DISPLAY_NAME,
+ FacesConfigFactory.eINSTANCE.createDisplayNameType()));
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.CONVERTER_TYPE__DESCRIPTION,
- FacesConfigFactory.eINSTANCE.createDescriptionType()));
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.CONVERTER_TYPE__ICON,
+ FacesConfigFactory.eINSTANCE.createIconType()));
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.CONVERTER_TYPE__DISPLAY_NAME,
- FacesConfigFactory.eINSTANCE.createDisplayNameType()));
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.CONVERTER_TYPE__CONVERTER_ID,
+ FacesConfigFactory.eINSTANCE.createConverterIdType()));
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.CONVERTER_TYPE__ICON,
- FacesConfigFactory.eINSTANCE.createIconType()));
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.CONVERTER_TYPE__CONVERTER_FOR_CLASS,
+ FacesConfigFactory.eINSTANCE.createConverterForClassType()));
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.CONVERTER_TYPE__ATTRIBUTE,
- FacesConfigFactory.eINSTANCE.createAttributeType()));
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.CONVERTER_TYPE__CONVERTER_CLASS,
+ FacesConfigFactory.eINSTANCE.createConverterClassType()));
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.CONVERTER_TYPE__PROPERTY,
- FacesConfigFactory.eINSTANCE.createPropertyType()));
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.CONVERTER_TYPE__ATTRIBUTE,
+ FacesConfigFactory.eINSTANCE.createAttributeType()));
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.CONVERTER_TYPE__CONVERTER_EXTENSION,
- FacesConfigFactory.eINSTANCE.createConverterExtensionType()));
- }
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.CONVERTER_TYPE__PROPERTY,
+ FacesConfigFactory.eINSTANCE.createPropertyType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.CONVERTER_TYPE__CONVERTER_EXTENSION,
+ FacesConfigFactory.eINSTANCE.createConverterExtensionType()));
+ }
/**
* Return the resource locator for this item provider's resources. <!--
@@ -308,8 +247,8 @@ public class ConverterTypeItemProvider extends ItemProviderAdapter implements
* @generated
*/
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
/* (non-Javadoc)
* @see org.eclipse.emf.edit.provider.ITableItemLabelProvider#getColumnImage(java.lang.Object, int)
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DefaultLocaleTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DefaultLocaleTypeItemProvider.java
index af902cd71..8777aa46a 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DefaultLocaleTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DefaultLocaleTypeItemProvider.java
@@ -27,7 +27,6 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin;
-
import org.eclipse.jst.jsf.facesconfig.emf.DefaultLocaleType;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
@@ -38,27 +37,26 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
*
* @generated
*/
+@SuppressWarnings("nls")
public class DefaultLocaleTypeItemProvider extends ItemProviderAdapter
implements IEditingDomainItemProvider, IStructuredItemContentProvider,
ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- *
+ * This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- *
* @generated
*/
public DefaultLocaleTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
* This returns the property descriptors for the adapted class. <!--
@@ -67,72 +65,70 @@ public class DefaultLocaleTypeItemProvider extends ItemProviderAdapter
* @generated
*/
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addTextContentPropertyDescriptor(object);
- addIdPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addTextContentPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the Text Content feature.
- *
+ * This adds a property descriptor for the Text Content feature.
* <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- *
* @generated
*/
protected void addTextContentPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_DefaultLocaleType_textContent_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_DefaultLocaleType_textContent_feature", "_UI_DefaultLocaleType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.DEFAULT_LOCALE_TYPE__TEXT_CONTENT,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DefaultLocaleType_textContent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DefaultLocaleType_textContent_feature", "_UI_DefaultLocaleType_type"),
+ FacesConfigPackage.Literals.DEFAULT_LOCALE_TYPE__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Id feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addIdPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_DefaultLocaleType_id_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_DefaultLocaleType_id_feature", "_UI_DefaultLocaleType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.DEFAULT_LOCALE_TYPE__ID,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DefaultLocaleType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DefaultLocaleType_id_feature", "_UI_DefaultLocaleType_type"),
+ FacesConfigPackage.Literals.DEFAULT_LOCALE_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This returns DefaultLocaleType.gif.
- * <!-- begin-user-doc --> <!--
+ * This returns DefaultLocaleType.gif.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/DefaultLocaleType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/DefaultLocaleType"));
+ }
/**
* This returns the label text for the adapted class.
@@ -148,34 +144,34 @@ public class DefaultLocaleTypeItemProvider extends ItemProviderAdapter
}
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc --> <!--
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
+ updateChildren(notification);
- switch (notification.getFeatureID(DefaultLocaleType.class)) {
- case FacesConfigPackage.DEFAULT_LOCALE_TYPE__TEXT_CONTENT:
- case FacesConfigPackage.DEFAULT_LOCALE_TYPE__ID:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
+ switch (notification.getFeatureID(DefaultLocaleType.class)) {
+ case FacesConfigPackage.DEFAULT_LOCALE_TYPE__TEXT_CONTENT:
+ case FacesConfigPackage.DEFAULT_LOCALE_TYPE__ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
/**
* Return the resource locator for this item provider's resources. <!--
@@ -184,7 +180,7 @@ public class DefaultLocaleTypeItemProvider extends ItemProviderAdapter
* @generated
*/
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DefaultRenderKitIdTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DefaultRenderKitIdTypeItemProvider.java
index ab823fc92..0116f9692 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DefaultRenderKitIdTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DefaultRenderKitIdTypeItemProvider.java
@@ -38,25 +38,25 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
* <!-- end-user-doc -->
* @generated
*/
+@SuppressWarnings("nls")
public class DefaultRenderKitIdTypeItemProvider extends ItemProviderAdapter
implements IEditingDomainItemProvider, IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource, ITableItemLabelProvider {
/**
- * <!-- begin-user-doc --> <!-- end-user-doc -->
- * @generated
- */
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- *
+ * This constructs an instance from a factory and a notifier.
* <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
* @generated
*/
public DefaultRenderKitIdTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
* This returns the property descriptors for the adapted class. <!--
@@ -65,116 +65,113 @@ public class DefaultRenderKitIdTypeItemProvider extends ItemProviderAdapter
* @generated
*/
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addTextContentPropertyDescriptor(object);
- addIdPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addTextContentPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the Text Content feature.
- *
+ * This adds a property descriptor for the Text Content feature.
* <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- *
- *
* @generated
*/
protected void addTextContentPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_DefaultRenderKitIdType_textContent_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_DefaultRenderKitIdType_textContent_feature", "_UI_DefaultRenderKitIdType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.DEFAULT_RENDER_KIT_ID_TYPE__TEXT_CONTENT,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DefaultRenderKitIdType_textContent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DefaultRenderKitIdType_textContent_feature", "_UI_DefaultRenderKitIdType_type"),
+ FacesConfigPackage.Literals.DEFAULT_RENDER_KIT_ID_TYPE__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Id feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addIdPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_DefaultRenderKitIdType_id_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_DefaultRenderKitIdType_id_feature", "_UI_DefaultRenderKitIdType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.DEFAULT_RENDER_KIT_ID_TYPE__ID,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DefaultRenderKitIdType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DefaultRenderKitIdType_id_feature", "_UI_DefaultRenderKitIdType_type"),
+ FacesConfigPackage.Literals.DEFAULT_RENDER_KIT_ID_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This returns DefaultRenderKitIdType.gif.
- * <!-- begin-user-doc --> <!--
+ * This returns DefaultRenderKitIdType.gif.
+ * <!-- begin-user-doc --> <!--
* end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/DefaultRenderKitIdType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/DefaultRenderKitIdType"));
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc
* --> <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public String getText(Object object) {
- String label = ((DefaultRenderKitIdType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_DefaultRenderKitIdType_type") : //$NON-NLS-1$
- getString("_UI_DefaultRenderKitIdType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((DefaultRenderKitIdType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_DefaultRenderKitIdType_type") :
+ getString("_UI_DefaultRenderKitIdType_type") + " " + label;
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc --> <!--
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
+ updateChildren(notification);
- switch (notification.getFeatureID(DefaultRenderKitIdType.class)) {
- case FacesConfigPackage.DEFAULT_RENDER_KIT_ID_TYPE__TEXT_CONTENT:
- case FacesConfigPackage.DEFAULT_RENDER_KIT_ID_TYPE__ID:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
+ switch (notification.getFeatureID(DefaultRenderKitIdType.class)) {
+ case FacesConfigPackage.DEFAULT_RENDER_KIT_ID_TYPE__TEXT_CONTENT:
+ case FacesConfigPackage.DEFAULT_RENDER_KIT_ID_TYPE__ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
/**
* Return the resource locator for this item provider's resources. <!--
@@ -183,8 +180,8 @@ public class DefaultRenderKitIdTypeItemProvider extends ItemProviderAdapter
* @generated
*/
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
/* (non-Javadoc)
* @see org.eclipse.emf.edit.provider.ITableItemLabelProvider#getColumnImage(java.lang.Object, int)
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DefaultValidatorsTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DefaultValidatorsTypeItemProvider.java
new file mode 100644
index 000000000..67afeddbe
--- /dev/null
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DefaultValidatorsTypeItemProvider.java
@@ -0,0 +1,205 @@
+/***************************************************************************************************
+ * Copyright (c) 2005, 2006 IBM Corporation 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ * Oracle Corporation - revision
+ **************************************************************************************************/
+package org.eclipse.jst.jsf.facesconfig.edit.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.ResourceLocator;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.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.jst.jsf.facesconfig.FacesConfigPlugin;
+import org.eclipse.jst.jsf.facesconfig.emf.DefaultValidatorsType;
+import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigFactory;
+import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.jst.jsf.facesconfig.emf.DefaultValidatorsType} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+@SuppressWarnings("nls")
+public class DefaultValidatorsTypeItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
+
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * @param adapterFactory
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public DefaultValidatorsTypeItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
+ * @param object
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addIdPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DefaultValidatorsType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DefaultValidatorsType_id_feature", "_UI_DefaultValidatorsType_type"),
+ FacesConfigPackage.Literals.DEFAULT_VALIDATORS_TYPE__ID,
+ 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
+ */
+ public Collection getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(FacesConfigPackage.Literals.DEFAULT_VALIDATORS_TYPE__VALIDATOR_ID);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ 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 DefaultValidatorsType.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/DefaultValidatorsType"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getText(Object object) {
+ String label = ((DefaultValidatorsType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_DefaultValidatorsType_type") :
+ getString("_UI_DefaultValidatorsType_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
+ */
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(DefaultValidatorsType.class)) {
+ case FacesConfigPackage.DEFAULT_VALIDATORS_TYPE__ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case FacesConfigPackage.DEFAULT_VALIDATORS_TYPE__VALIDATOR_ID:
+ 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
+ */
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DEFAULT_VALIDATORS_TYPE__VALIDATOR_ID,
+ FacesConfigFactory.eINSTANCE.createValidatorIdType()));
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceLocator getResourceLocator() {
+ return FacesConfigPlugin.INSTANCE;
+ }
+
+}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DefaultValueTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DefaultValueTypeItemProvider.java
index 8cbf22fb7..b83028998 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DefaultValueTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DefaultValueTypeItemProvider.java
@@ -28,7 +28,6 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin;
-
import org.eclipse.jst.jsf.facesconfig.emf.DefaultValueType;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
@@ -38,6 +37,7 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
* <!-- end-user-doc -->
* @generated
*/
+@SuppressWarnings("nls")
public class DefaultValueTypeItemProvider
extends ItemProviderAdapter
implements
@@ -47,146 +47,146 @@ public class DefaultValueTypeItemProvider
IItemLabelProvider,
IItemPropertySource {
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public DefaultValueTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addTextContentPropertyDescriptor(object);
- addIdPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addTextContentPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the Text Content feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Text Content feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addTextContentPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_DefaultValueType_textContent_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_DefaultValueType_textContent_feature", "_UI_DefaultValueType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.DEFAULT_VALUE_TYPE__TEXT_CONTENT,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DefaultValueType_textContent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DefaultValueType_textContent_feature", "_UI_DefaultValueType_type"),
+ FacesConfigPackage.Literals.DEFAULT_VALUE_TYPE__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Id feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addIdPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_DefaultValueType_id_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_DefaultValueType_id_feature", "_UI_DefaultValueType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.DEFAULT_VALUE_TYPE__ID,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DefaultValueType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DefaultValueType_id_feature", "_UI_DefaultValueType_type"),
+ FacesConfigPackage.Literals.DEFAULT_VALUE_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This returns DefaultValueType.gif.
- * <!-- begin-user-doc -->
+ * This returns DefaultValueType.gif.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/DefaultValueType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/DefaultValueType"));
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public String getText(Object object) {
- String label = ((DefaultValueType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_DefaultValueType_type") : //$NON-NLS-1$
- getString("_UI_DefaultValueType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((DefaultValueType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_DefaultValueType_type") :
+ getString("_UI_DefaultValueType_type") + " " + label;
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
+ updateChildren(notification);
- switch (notification.getFeatureID(DefaultValueType.class)) {
- case FacesConfigPackage.DEFAULT_VALUE_TYPE__TEXT_CONTENT:
- case FacesConfigPackage.DEFAULT_VALUE_TYPE__ID:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
+ switch (notification.getFeatureID(DefaultValueType.class)) {
+ case FacesConfigPackage.DEFAULT_VALUE_TYPE__TEXT_CONTENT:
+ case FacesConfigPackage.DEFAULT_VALUE_TYPE__ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DescriptionTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DescriptionTypeItemProvider.java
index ea6c7605a..4bf86c2cc 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DescriptionTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DescriptionTypeItemProvider.java
@@ -28,7 +28,6 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin;
-
import org.eclipse.jst.jsf.facesconfig.emf.DescriptionType;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
@@ -38,6 +37,7 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
* <!-- end-user-doc -->
* @generated
*/
+@SuppressWarnings("nls")
public class DescriptionTypeItemProvider
extends ItemProviderAdapter
implements
@@ -47,171 +47,171 @@ public class DescriptionTypeItemProvider
IItemLabelProvider,
IItemPropertySource {
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public DescriptionTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addTextContentPropertyDescriptor(object);
- addLangPropertyDescriptor(object);
- addIdPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addTextContentPropertyDescriptor(object);
+ addLangPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the Text Content feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Text Content feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addTextContentPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_DescriptionType_textContent_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_DescriptionType_textContent_feature", "_UI_DescriptionType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.DESCRIPTION_TYPE__TEXT_CONTENT,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DescriptionType_textContent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DescriptionType_textContent_feature", "_UI_DescriptionType_type"),
+ FacesConfigPackage.Literals.DESCRIPTION_TYPE__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Lang feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Lang feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addLangPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_DescriptionType_lang_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_DescriptionType_lang_feature", "_UI_DescriptionType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.DESCRIPTION_TYPE__LANG,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DescriptionType_lang_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DescriptionType_lang_feature", "_UI_DescriptionType_type"),
+ FacesConfigPackage.Literals.DESCRIPTION_TYPE__LANG,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Id feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addIdPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_DescriptionType_id_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_DescriptionType_id_feature", "_UI_DescriptionType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.DESCRIPTION_TYPE__ID,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DescriptionType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DescriptionType_id_feature", "_UI_DescriptionType_type"),
+ FacesConfigPackage.Literals.DESCRIPTION_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This returns DescriptionType.gif.
- * <!-- begin-user-doc -->
+ * This returns DescriptionType.gif.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/DescriptionType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/DescriptionType"));
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public String getText(Object object) {
- String label = ((DescriptionType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_DescriptionType_type") : //$NON-NLS-1$
- getString("_UI_DescriptionType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((DescriptionType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_DescriptionType_type") :
+ getString("_UI_DescriptionType_type") + " " + label;
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(DescriptionType.class)) {
- case FacesConfigPackage.DESCRIPTION_TYPE__TEXT_CONTENT:
- case FacesConfigPackage.DESCRIPTION_TYPE__LANG:
- case FacesConfigPackage.DESCRIPTION_TYPE__ID:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(DescriptionType.class)) {
+ case FacesConfigPackage.DESCRIPTION_TYPE__TEXT_CONTENT:
+ case FacesConfigPackage.DESCRIPTION_TYPE__LANG:
+ case FacesConfigPackage.DESCRIPTION_TYPE__ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DisplayNameTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DisplayNameTypeItemProvider.java
index a5aa002e3..91d43b5dc 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DisplayNameTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DisplayNameTypeItemProvider.java
@@ -28,7 +28,6 @@ import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin;
-
import org.eclipse.jst.jsf.facesconfig.emf.DisplayNameType;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
@@ -38,6 +37,7 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
* <!-- end-user-doc -->
* @generated
*/
+@SuppressWarnings("nls")
public class DisplayNameTypeItemProvider
extends ItemProviderAdapter
implements
@@ -47,171 +47,171 @@ public class DisplayNameTypeItemProvider
IItemLabelProvider,
IItemPropertySource {
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public DisplayNameTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addTextContentPropertyDescriptor(object);
- addLangPropertyDescriptor(object);
- addIdPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addTextContentPropertyDescriptor(object);
+ addLangPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the Text Content feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Text Content feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addTextContentPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_DisplayNameType_textContent_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_DisplayNameType_textContent_feature", "_UI_DisplayNameType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.DISPLAY_NAME_TYPE__TEXT_CONTENT,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DisplayNameType_textContent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DisplayNameType_textContent_feature", "_UI_DisplayNameType_type"),
+ FacesConfigPackage.Literals.DISPLAY_NAME_TYPE__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Lang feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Lang feature.
+ * <!-- begin-user-doc -->
+ * @param object
* <!-- end-user-doc -->
- * @param object
- * @generated
- */
+ * @generated
+ */
protected void addLangPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_DisplayNameType_lang_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_DisplayNameType_lang_feature", "_UI_DisplayNameType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.DISPLAY_NAME_TYPE__LANG,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DisplayNameType_lang_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DisplayNameType_lang_feature", "_UI_DisplayNameType_type"),
+ FacesConfigPackage.Literals.DISPLAY_NAME_TYPE__LANG,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Id feature.
- * <!-- begin-user-doc -->
- * <!-- end-user-doc -->
- * @param object
- * @generated
- */
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
+ * @param object
+ * <!-- end-user-doc -->
+ * @generated
+ */
protected void addIdPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_DisplayNameType_id_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_DisplayNameType_id_feature", "_UI_DisplayNameType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.DISPLAY_NAME_TYPE__ID,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DisplayNameType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DisplayNameType_id_feature", "_UI_DisplayNameType_type"),
+ FacesConfigPackage.Literals.DISPLAY_NAME_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This returns DisplayNameType.gif.
- * <!-- begin-user-doc -->
+ * This returns DisplayNameType.gif.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/DisplayNameType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/DisplayNameType"));
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public String getText(Object object) {
- String label = ((DisplayNameType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_DisplayNameType_type") : //$NON-NLS-1$
- getString("_UI_DisplayNameType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((DisplayNameType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_DisplayNameType_type") :
+ getString("_UI_DisplayNameType_type") + " " + label;
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(DisplayNameType.class)) {
- case FacesConfigPackage.DISPLAY_NAME_TYPE__TEXT_CONTENT:
- case FacesConfigPackage.DISPLAY_NAME_TYPE__LANG:
- case FacesConfigPackage.DISPLAY_NAME_TYPE__ID:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(DisplayNameType.class)) {
+ case FacesConfigPackage.DISPLAY_NAME_TYPE__TEXT_CONTENT:
+ case FacesConfigPackage.DISPLAY_NAME_TYPE__LANG:
+ case FacesConfigPackage.DISPLAY_NAME_TYPE__ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DocumentRootItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DocumentRootItemProvider.java
index 8db362fc4..09acd8894 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DocumentRootItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DocumentRootItemProvider.java
@@ -18,6 +18,7 @@ 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.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
import org.eclipse.emf.edit.provider.IItemPropertySource;
@@ -26,7 +27,6 @@ import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
import org.eclipse.emf.edit.provider.ItemProviderAdapter;
import org.eclipse.emf.edit.provider.ViewerNotification;
import org.eclipse.jst.jsf.facesconfig.FacesConfigPlugin;
-
import org.eclipse.jst.jsf.facesconfig.emf.DocumentRoot;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigFactory;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
@@ -46,345 +46,841 @@ public class DocumentRootItemProvider
IItemLabelProvider,
IItemPropertySource {
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public DocumentRootItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- }
- return itemPropertyDescriptors;
- }
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This specifies how to implement {@link #getChildren(Object)} 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(Object, org.eclipse.emf.edit.domain.EditingDomain, Class, org.eclipse.emf.edit.command.CommandParameter)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public Collection getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__MIXED);
- }
- return childrenFeatures;
- }
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__ABSOLUTE_ORDERING);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__ACTION_LISTENER);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__APPLICATION);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__APPLICATION_FACTORY);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE_CLASS);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE_EXTENSION);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE_NAME);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__BEHAVIOR);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__BEHAVIOR_CLASS);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__BEHAVIOR_ID);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__BEHAVIOR_EXTENSION);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_CLASS);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_EXTENSION);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_FAMILY);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_TYPE);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__CONVERTER);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__CONVERTER_CLASS);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__CONVERTER_FOR_CLASS);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__CONVERTER_ID);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__DEFAULT_LOCALE);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__DEFAULT_RENDER_KIT_ID);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__DEFAULT_VALIDATORS);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__DEFAULT_VALUE);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__DESCRIPTION);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__DISPLAY_NAME);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__EXCEPTION_HANDLER_FACTORY);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__EXTERNAL_CONTEXT_FACTORY);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACES_CONFIG);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACES_CONTEXT_FACTORY);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACET);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACET_EXTENSION);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACET_NAME);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__FACTORY);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__FROM_ACTION);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__FROM_OUTCOME);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__FROM_VIEW_ID);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__ICON);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__IF);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__KEY);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__KEY_CLASS);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__LARGE_ICON);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__LIFECYCLE);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__LIFECYCLE_FACTORY);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__LIST_ENTRIES);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__LOCALE_CONFIG);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_BEAN);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_BEAN_CLASS);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_BEAN_NAME);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_BEAN_SCOPE);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_PROPERTY);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__MAP_ENTRIES);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__MAP_ENTRY);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__MESSAGE_BUNDLE);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__NAME);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__NAVIGATION_CASE);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__NAVIGATION_HANDLER);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__NAVIGATION_RULE);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__NULL_VALUE);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__ORDERING);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__ORDERING_ORDERING);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__OTHERS);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__PARTIAL_VIEW_CONTEXT_FACTORY);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__PHASE_LISTENER);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY_CLASS);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY_EXTENSION);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY_NAME);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY_RESOLVER);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__REDIRECT);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__REDIRECT_VIEW_PARAM);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__REFERENCED_BEAN);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__REFERENCED_BEAN_CLASS);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__REFERENCED_BEAN_NAME);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDERER);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDERER_CLASS);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDERER_EXTENSION);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDERER_TYPE);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDER_KIT);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDER_KIT_CLASS);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDER_KIT_FACTORY);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDER_KIT_ID);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__RESOURCE_HANDLER);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__SMALL_ICON);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__SOURCE_CLASS);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__STATE_MANAGER);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__SUGGESTED_VALUE);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__SUPPORTED_LOCALE);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__SYSTEM_EVENT_CLASS);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER_CLASS);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__TAG_HANDLER_DELEGATE_FACTORY);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__TO_VIEW_ID);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__VALIDATOR);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__VALIDATOR_CLASS);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__VALIDATOR_ID);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__VALUE);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__VALUE_CLASS);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__VARIABLE_RESOLVER);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__VIEW_DECLARATION_LANGUAGE_FACTORY);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__VIEW_HANDLER);
+ childrenFeatures.add(FacesConfigPackage.Literals.DOCUMENT_ROOT__VISIT_CONTEXT_FACTORY);
+ }
+ return childrenFeatures;
+ }
/**
- * This returns DocumentRoot.gif.
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ 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 DocumentRoot.gif.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated NOT
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/DocumentRoot")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/DocumentRoot")); //$NON-NLS-1$
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated NOT
+ */
public String getText(Object object) {
- return getString("_UI_DocumentRoot_type"); //$NON-NLS-1$
- }
+ return getString("_UI_DocumentRoot_type"); //$NON-NLS-1$
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(DocumentRoot.class)) {
- case FacesConfigPackage.DOCUMENT_ROOT__MIXED:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(DocumentRoot.class)) {
+ case FacesConfigPackage.DOCUMENT_ROOT__ABSOLUTE_ORDERING:
+ case FacesConfigPackage.DOCUMENT_ROOT__ACTION_LISTENER:
+ case FacesConfigPackage.DOCUMENT_ROOT__APPLICATION:
+ case FacesConfigPackage.DOCUMENT_ROOT__APPLICATION_FACTORY:
+ case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE:
+ case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE_CLASS:
+ case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE_EXTENSION:
+ case FacesConfigPackage.DOCUMENT_ROOT__ATTRIBUTE_NAME:
+ case FacesConfigPackage.DOCUMENT_ROOT__BEHAVIOR:
+ case FacesConfigPackage.DOCUMENT_ROOT__BEHAVIOR_CLASS:
+ case FacesConfigPackage.DOCUMENT_ROOT__BEHAVIOR_ID:
+ case FacesConfigPackage.DOCUMENT_ROOT__BEHAVIOR_EXTENSION:
+ case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT:
+ case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_CLASS:
+ case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_EXTENSION:
+ case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_FAMILY:
+ case FacesConfigPackage.DOCUMENT_ROOT__COMPONENT_TYPE:
+ case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER:
+ case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER_CLASS:
+ case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER_FOR_CLASS:
+ case FacesConfigPackage.DOCUMENT_ROOT__CONVERTER_ID:
+ case FacesConfigPackage.DOCUMENT_ROOT__DEFAULT_LOCALE:
+ case FacesConfigPackage.DOCUMENT_ROOT__DEFAULT_RENDER_KIT_ID:
+ case FacesConfigPackage.DOCUMENT_ROOT__DEFAULT_VALIDATORS:
+ case FacesConfigPackage.DOCUMENT_ROOT__DEFAULT_VALUE:
+ case FacesConfigPackage.DOCUMENT_ROOT__DESCRIPTION:
+ case FacesConfigPackage.DOCUMENT_ROOT__DISPLAY_NAME:
+ case FacesConfigPackage.DOCUMENT_ROOT__EXCEPTION_HANDLER_FACTORY:
+ case FacesConfigPackage.DOCUMENT_ROOT__EXTERNAL_CONTEXT_FACTORY:
+ case FacesConfigPackage.DOCUMENT_ROOT__FACES_CONFIG:
+ case FacesConfigPackage.DOCUMENT_ROOT__FACES_CONTEXT_FACTORY:
+ case FacesConfigPackage.DOCUMENT_ROOT__FACET:
+ case FacesConfigPackage.DOCUMENT_ROOT__FACET_EXTENSION:
+ case FacesConfigPackage.DOCUMENT_ROOT__FACET_NAME:
+ case FacesConfigPackage.DOCUMENT_ROOT__FACTORY:
+ case FacesConfigPackage.DOCUMENT_ROOT__FROM_ACTION:
+ case FacesConfigPackage.DOCUMENT_ROOT__FROM_OUTCOME:
+ case FacesConfigPackage.DOCUMENT_ROOT__FROM_VIEW_ID:
+ case FacesConfigPackage.DOCUMENT_ROOT__ICON:
+ case FacesConfigPackage.DOCUMENT_ROOT__IF:
+ case FacesConfigPackage.DOCUMENT_ROOT__KEY:
+ case FacesConfigPackage.DOCUMENT_ROOT__KEY_CLASS:
+ case FacesConfigPackage.DOCUMENT_ROOT__LARGE_ICON:
+ case FacesConfigPackage.DOCUMENT_ROOT__LIFECYCLE:
+ case FacesConfigPackage.DOCUMENT_ROOT__LIFECYCLE_FACTORY:
+ case FacesConfigPackage.DOCUMENT_ROOT__LIST_ENTRIES:
+ case FacesConfigPackage.DOCUMENT_ROOT__LOCALE_CONFIG:
+ case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN:
+ case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN_CLASS:
+ case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN_NAME:
+ case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_BEAN_SCOPE:
+ case FacesConfigPackage.DOCUMENT_ROOT__MANAGED_PROPERTY:
+ case FacesConfigPackage.DOCUMENT_ROOT__MAP_ENTRIES:
+ case FacesConfigPackage.DOCUMENT_ROOT__MAP_ENTRY:
+ case FacesConfigPackage.DOCUMENT_ROOT__MESSAGE_BUNDLE:
+ case FacesConfigPackage.DOCUMENT_ROOT__NAME:
+ case FacesConfigPackage.DOCUMENT_ROOT__NAVIGATION_CASE:
+ case FacesConfigPackage.DOCUMENT_ROOT__NAVIGATION_HANDLER:
+ case FacesConfigPackage.DOCUMENT_ROOT__NAVIGATION_RULE:
+ case FacesConfigPackage.DOCUMENT_ROOT__NULL_VALUE:
+ case FacesConfigPackage.DOCUMENT_ROOT__ORDERING:
+ case FacesConfigPackage.DOCUMENT_ROOT__ORDERING_ORDERING:
+ case FacesConfigPackage.DOCUMENT_ROOT__OTHERS:
+ case FacesConfigPackage.DOCUMENT_ROOT__PARTIAL_VIEW_CONTEXT_FACTORY:
+ case FacesConfigPackage.DOCUMENT_ROOT__PHASE_LISTENER:
+ case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY:
+ case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_CLASS:
+ case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_EXTENSION:
+ case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_NAME:
+ case FacesConfigPackage.DOCUMENT_ROOT__PROPERTY_RESOLVER:
+ case FacesConfigPackage.DOCUMENT_ROOT__REDIRECT:
+ case FacesConfigPackage.DOCUMENT_ROOT__REDIRECT_VIEW_PARAM:
+ case FacesConfigPackage.DOCUMENT_ROOT__REFERENCED_BEAN:
+ case FacesConfigPackage.DOCUMENT_ROOT__REFERENCED_BEAN_CLASS:
+ case FacesConfigPackage.DOCUMENT_ROOT__REFERENCED_BEAN_NAME:
+ case FacesConfigPackage.DOCUMENT_ROOT__RENDERER:
+ case FacesConfigPackage.DOCUMENT_ROOT__RENDERER_CLASS:
+ case FacesConfigPackage.DOCUMENT_ROOT__RENDERER_EXTENSION:
+ case FacesConfigPackage.DOCUMENT_ROOT__RENDERER_TYPE:
+ case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT:
+ case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT_CLASS:
+ case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT_FACTORY:
+ case FacesConfigPackage.DOCUMENT_ROOT__RENDER_KIT_ID:
+ case FacesConfigPackage.DOCUMENT_ROOT__RESOURCE_HANDLER:
+ case FacesConfigPackage.DOCUMENT_ROOT__SMALL_ICON:
+ case FacesConfigPackage.DOCUMENT_ROOT__SOURCE_CLASS:
+ case FacesConfigPackage.DOCUMENT_ROOT__STATE_MANAGER:
+ case FacesConfigPackage.DOCUMENT_ROOT__SUGGESTED_VALUE:
+ case FacesConfigPackage.DOCUMENT_ROOT__SUPPORTED_LOCALE:
+ case FacesConfigPackage.DOCUMENT_ROOT__SYSTEM_EVENT_CLASS:
+ case FacesConfigPackage.DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER:
+ case FacesConfigPackage.DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER_CLASS:
+ case FacesConfigPackage.DOCUMENT_ROOT__TAG_HANDLER_DELEGATE_FACTORY:
+ case FacesConfigPackage.DOCUMENT_ROOT__TO_VIEW_ID:
+ case FacesConfigPackage.DOCUMENT_ROOT__VALIDATOR:
+ case FacesConfigPackage.DOCUMENT_ROOT__VALIDATOR_CLASS:
+ case FacesConfigPackage.DOCUMENT_ROOT__VALIDATOR_ID:
+ case FacesConfigPackage.DOCUMENT_ROOT__VALUE:
+ case FacesConfigPackage.DOCUMENT_ROOT__VALUE_CLASS:
+ case FacesConfigPackage.DOCUMENT_ROOT__VARIABLE_RESOLVER:
+ case FacesConfigPackage.DOCUMENT_ROOT__VIEW_DECLARATION_LANGUAGE_FACTORY:
+ case FacesConfigPackage.DOCUMENT_ROOT__VIEW_HANDLER:
+ case FacesConfigPackage.DOCUMENT_ROOT__VISIT_CONTEXT_FACTORY:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__ACTION_LISTENER,
- FacesConfigFactory.eINSTANCE.createActionListenerType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__APPLICATION,
- FacesConfigFactory.eINSTANCE.createApplicationType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__APPLICATION_FACTORY,
- FacesConfigFactory.eINSTANCE.createApplicationFactoryType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE,
- FacesConfigFactory.eINSTANCE.createAttributeType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE_EXTENSION,
- FacesConfigFactory.eINSTANCE.createAttributeExtensionType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE_NAME,
- FacesConfigFactory.eINSTANCE.createAttributeNameType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT,
- FacesConfigFactory.eINSTANCE.createComponentType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_CLASS,
- FacesConfigFactory.eINSTANCE.createComponentClassType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_EXTENSION,
- FacesConfigFactory.eINSTANCE.createComponentExtensionType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_TYPE,
- FacesConfigFactory.eINSTANCE.createComponentTypeType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__CONVERTER,
- FacesConfigFactory.eINSTANCE.createConverterType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__DEFAULT_LOCALE,
- FacesConfigFactory.eINSTANCE.createDefaultLocaleType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__DESCRIPTION,
- FacesConfigFactory.eINSTANCE.createDescriptionType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__DISPLAY_NAME,
- FacesConfigFactory.eINSTANCE.createDisplayNameType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__FACES_CONFIG,
- FacesConfigFactory.eINSTANCE.createFacesConfigType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__FACES_CONTEXT_FACTORY,
- FacesConfigFactory.eINSTANCE.createFacesContextFactoryType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__FACTORY,
- FacesConfigFactory.eINSTANCE.createFactoryType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__ICON,
- FacesConfigFactory.eINSTANCE.createIconType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__LIFECYCLE,
- FacesConfigFactory.eINSTANCE.createLifecycleType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__LIFECYCLE_FACTORY,
- FacesConfigFactory.eINSTANCE.createLifecycleFactoryType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__LIST_ENTRIES,
- FacesConfigFactory.eINSTANCE.createListEntriesType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__LOCALE_CONFIG,
- FacesConfigFactory.eINSTANCE.createLocaleConfigType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_BEAN,
- FacesConfigFactory.eINSTANCE.createManagedBeanType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_PROPERTY,
- FacesConfigFactory.eINSTANCE.createManagedPropertyType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__MAP_ENTRIES,
- FacesConfigFactory.eINSTANCE.createMapEntriesType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__MAP_ENTRY,
- FacesConfigFactory.eINSTANCE.createMapEntryType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__MESSAGE_BUNDLE,
- FacesConfigFactory.eINSTANCE.createMessageBundleType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__NAVIGATION_CASE,
- FacesConfigFactory.eINSTANCE.createNavigationCaseType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__NAVIGATION_HANDLER,
- FacesConfigFactory.eINSTANCE.createNavigationHandlerType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__NAVIGATION_RULE,
- FacesConfigFactory.eINSTANCE.createNavigationRuleType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__NULL_VALUE,
- FacesConfigFactory.eINSTANCE.createNullValueType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__PHASE_LISTENER,
- FacesConfigFactory.eINSTANCE.createPhaseListenerType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY,
- FacesConfigFactory.eINSTANCE.createPropertyType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY_EXTENSION,
- FacesConfigFactory.eINSTANCE.createPropertyExtensionType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY_RESOLVER,
- FacesConfigFactory.eINSTANCE.createPropertyResolverType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__REDIRECT,
- FacesConfigFactory.eINSTANCE.createRedirectType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__REFERENCED_BEAN,
- FacesConfigFactory.eINSTANCE.createReferencedBeanType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDERER,
- FacesConfigFactory.eINSTANCE.createRendererType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDERER_EXTENSION,
- FacesConfigFactory.eINSTANCE.createRendererExtensionType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDER_KIT,
- FacesConfigFactory.eINSTANCE.createRenderKitType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDER_KIT_FACTORY,
- FacesConfigFactory.eINSTANCE.createRenderKitFactoryType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__STATE_MANAGER,
- FacesConfigFactory.eINSTANCE.createStateManagerType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__SUPPORTED_LOCALE,
- FacesConfigFactory.eINSTANCE.createSupportedLocaleType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__VALIDATOR,
- FacesConfigFactory.eINSTANCE.createValidatorType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__VALUE,
- FacesConfigFactory.eINSTANCE.createValueType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__VARIABLE_RESOLVER,
- FacesConfigFactory.eINSTANCE.createVariableResolverType()));
-
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DOCUMENT_ROOT__VIEW_HANDLER,
- FacesConfigFactory.eINSTANCE.createViewHandlerType()));
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__ABSOLUTE_ORDERING,
+ FacesConfigFactory.eINSTANCE.createAbsoluteOrderingType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__ACTION_LISTENER,
+ FacesConfigFactory.eINSTANCE.createActionListenerType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__APPLICATION,
+ FacesConfigFactory.eINSTANCE.createApplicationType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__APPLICATION_FACTORY,
+ FacesConfigFactory.eINSTANCE.createApplicationFactoryType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE,
+ FacesConfigFactory.eINSTANCE.createAttributeType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE_CLASS,
+ FacesConfigFactory.eINSTANCE.createAttributeClassType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE_EXTENSION,
+ FacesConfigFactory.eINSTANCE.createAttributeExtensionType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__ATTRIBUTE_NAME,
+ FacesConfigFactory.eINSTANCE.createAttributeNameType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__BEHAVIOR,
+ FacesConfigFactory.eINSTANCE.createBehaviorType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__BEHAVIOR_CLASS,
+ FacesConfigFactory.eINSTANCE.createBehaviorClassType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__BEHAVIOR_ID,
+ FacesConfigFactory.eINSTANCE.createBehaviorIdType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__BEHAVIOR_EXTENSION,
+ FacesConfigFactory.eINSTANCE.createBehaviorExtensionType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT,
+ FacesConfigFactory.eINSTANCE.createComponentType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_CLASS,
+ FacesConfigFactory.eINSTANCE.createComponentClassType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_EXTENSION,
+ FacesConfigFactory.eINSTANCE.createComponentExtensionType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_FAMILY,
+ FacesConfigFactory.eINSTANCE.createComponentFamilyType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__COMPONENT_TYPE,
+ FacesConfigFactory.eINSTANCE.createComponentTypeType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__CONVERTER,
+ FacesConfigFactory.eINSTANCE.createConverterType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__CONVERTER_CLASS,
+ FacesConfigFactory.eINSTANCE.createConverterClassType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__CONVERTER_FOR_CLASS,
+ FacesConfigFactory.eINSTANCE.createConverterForClassType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__CONVERTER_ID,
+ FacesConfigFactory.eINSTANCE.createConverterIdType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__DEFAULT_LOCALE,
+ FacesConfigFactory.eINSTANCE.createDefaultLocaleType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__DEFAULT_RENDER_KIT_ID,
+ FacesConfigFactory.eINSTANCE.createDefaultRenderKitIdType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__DEFAULT_VALIDATORS,
+ FacesConfigFactory.eINSTANCE.createDefaultValidatorsType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__DEFAULT_VALUE,
+ FacesConfigFactory.eINSTANCE.createDefaultValueType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__DESCRIPTION,
+ FacesConfigFactory.eINSTANCE.createDescriptionType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__DISPLAY_NAME,
+ FacesConfigFactory.eINSTANCE.createDisplayNameType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__EXCEPTION_HANDLER_FACTORY,
+ FacesConfigFactory.eINSTANCE.createExceptionHandlerFactoryType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__EXTERNAL_CONTEXT_FACTORY,
+ FacesConfigFactory.eINSTANCE.createExternalContextFactoryType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__FACES_CONFIG,
+ FacesConfigFactory.eINSTANCE.createFacesConfigType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__FACES_CONTEXT_FACTORY,
+ FacesConfigFactory.eINSTANCE.createFacesContextFactoryType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__FACET,
+ FacesConfigFactory.eINSTANCE.createFacetType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__FACET_EXTENSION,
+ FacesConfigFactory.eINSTANCE.createFacetExtensionType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__FACET_NAME,
+ FacesConfigFactory.eINSTANCE.createFacetNameType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__FACTORY,
+ FacesConfigFactory.eINSTANCE.createFactoryType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__FROM_ACTION,
+ FacesConfigFactory.eINSTANCE.createFromActionType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__FROM_OUTCOME,
+ FacesConfigFactory.eINSTANCE.createFromOutcomeType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__FROM_VIEW_ID,
+ FacesConfigFactory.eINSTANCE.createFromViewIdType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__ICON,
+ FacesConfigFactory.eINSTANCE.createIconType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__IF,
+ FacesConfigFactory.eINSTANCE.createIfType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__KEY,
+ FacesConfigFactory.eINSTANCE.createKeyType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__KEY_CLASS,
+ FacesConfigFactory.eINSTANCE.createKeyClassType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__LARGE_ICON,
+ FacesConfigFactory.eINSTANCE.createLargeIconType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__LIFECYCLE,
+ FacesConfigFactory.eINSTANCE.createLifecycleType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__LIFECYCLE_FACTORY,
+ FacesConfigFactory.eINSTANCE.createLifecycleFactoryType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__LIST_ENTRIES,
+ FacesConfigFactory.eINSTANCE.createListEntriesType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__LOCALE_CONFIG,
+ FacesConfigFactory.eINSTANCE.createLocaleConfigType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_BEAN,
+ FacesConfigFactory.eINSTANCE.createManagedBeanType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_BEAN_CLASS,
+ FacesConfigFactory.eINSTANCE.createManagedBeanClassType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_BEAN_NAME,
+ FacesConfigFactory.eINSTANCE.createManagedBeanNameType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_BEAN_SCOPE,
+ FacesConfigFactory.eINSTANCE.createManagedBeanScopeType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__MANAGED_PROPERTY,
+ FacesConfigFactory.eINSTANCE.createManagedPropertyType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__MAP_ENTRIES,
+ FacesConfigFactory.eINSTANCE.createMapEntriesType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__MAP_ENTRY,
+ FacesConfigFactory.eINSTANCE.createMapEntryType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__MESSAGE_BUNDLE,
+ FacesConfigFactory.eINSTANCE.createMessageBundleType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__NAME,
+ FacesConfigFactory.eINSTANCE.createNameType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__NAVIGATION_CASE,
+ FacesConfigFactory.eINSTANCE.createNavigationCaseType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__NAVIGATION_HANDLER,
+ FacesConfigFactory.eINSTANCE.createNavigationHandlerType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__NAVIGATION_RULE,
+ FacesConfigFactory.eINSTANCE.createNavigationRuleType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__NULL_VALUE,
+ FacesConfigFactory.eINSTANCE.createNullValueType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__ORDERING,
+ FacesConfigFactory.eINSTANCE.createOrderingType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__ORDERING_ORDERING,
+ FacesConfigFactory.eINSTANCE.createOrderingOrderingType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__OTHERS,
+ FacesConfigFactory.eINSTANCE.createOrderingOthersType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__PARTIAL_VIEW_CONTEXT_FACTORY,
+ FacesConfigFactory.eINSTANCE.createPartialViewContextFactoryType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__PHASE_LISTENER,
+ FacesConfigFactory.eINSTANCE.createPhaseListenerType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY,
+ FacesConfigFactory.eINSTANCE.createPropertyType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY_CLASS,
+ FacesConfigFactory.eINSTANCE.createPropertyClassType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY_EXTENSION,
+ FacesConfigFactory.eINSTANCE.createPropertyExtensionType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY_NAME,
+ FacesConfigFactory.eINSTANCE.createPropertyNameType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__PROPERTY_RESOLVER,
+ FacesConfigFactory.eINSTANCE.createPropertyResolverType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__REDIRECT,
+ FacesConfigFactory.eINSTANCE.createRedirectType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__REDIRECT_VIEW_PARAM,
+ FacesConfigFactory.eINSTANCE.createRedirectViewParamType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__REFERENCED_BEAN,
+ FacesConfigFactory.eINSTANCE.createReferencedBeanType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__REFERENCED_BEAN_CLASS,
+ FacesConfigFactory.eINSTANCE.createReferencedBeanClassType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__REFERENCED_BEAN_NAME,
+ FacesConfigFactory.eINSTANCE.createReferencedBeanNameType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDERER,
+ FacesConfigFactory.eINSTANCE.createRendererType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDERER_CLASS,
+ FacesConfigFactory.eINSTANCE.createRendererClassType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDERER_EXTENSION,
+ FacesConfigFactory.eINSTANCE.createRendererExtensionType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDERER_TYPE,
+ FacesConfigFactory.eINSTANCE.createRendererTypeType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDER_KIT,
+ FacesConfigFactory.eINSTANCE.createRenderKitType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDER_KIT_CLASS,
+ FacesConfigFactory.eINSTANCE.createRenderKitClassType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDER_KIT_FACTORY,
+ FacesConfigFactory.eINSTANCE.createRenderKitFactoryType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__RENDER_KIT_ID,
+ FacesConfigFactory.eINSTANCE.createRenderKitIdType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__RESOURCE_HANDLER,
+ FacesConfigFactory.eINSTANCE.createResourceHandlerType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__SMALL_ICON,
+ FacesConfigFactory.eINSTANCE.createSmallIconType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__SOURCE_CLASS,
+ FacesConfigFactory.eINSTANCE.createSourceClassType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__STATE_MANAGER,
+ FacesConfigFactory.eINSTANCE.createStateManagerType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__SUGGESTED_VALUE,
+ FacesConfigFactory.eINSTANCE.createSuggestedValueType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__SUPPORTED_LOCALE,
+ FacesConfigFactory.eINSTANCE.createSupportedLocaleType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__SYSTEM_EVENT_CLASS,
+ FacesConfigFactory.eINSTANCE.createSystemEventClassType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER,
+ FacesConfigFactory.eINSTANCE.createSystemEventListenerType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__SYSTEM_EVENT_LISTENER_CLASS,
+ FacesConfigFactory.eINSTANCE.createSystemEventListenerClassType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__TAG_HANDLER_DELEGATE_FACTORY,
+ FacesConfigFactory.eINSTANCE.createTagHandlerDelegateFactoryType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__TO_VIEW_ID,
+ FacesConfigFactory.eINSTANCE.createToViewIdType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__VALIDATOR,
+ FacesConfigFactory.eINSTANCE.createValidatorType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__VALIDATOR_CLASS,
+ FacesConfigFactory.eINSTANCE.createValidatorClassType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__VALIDATOR_ID,
+ FacesConfigFactory.eINSTANCE.createValidatorIdType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__VALUE,
+ FacesConfigFactory.eINSTANCE.createValueType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__VALUE_CLASS,
+ FacesConfigFactory.eINSTANCE.createValueClassType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__VARIABLE_RESOLVER,
+ FacesConfigFactory.eINSTANCE.createVariableResolverType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__VIEW_DECLARATION_LANGUAGE_FACTORY,
+ FacesConfigFactory.eINSTANCE.createViewDeclarationLanguageFactoryType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__VIEW_HANDLER,
+ FacesConfigFactory.eINSTANCE.createViewHandlerType()));
+
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DOCUMENT_ROOT__VISIT_CONTEXT_FACTORY,
+ FacesConfigFactory.eINSTANCE.createVisitContextFactoryType()));
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DynamicAttributeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DynamicAttributeItemProvider.java
index cdcecc99d..e44c45251 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DynamicAttributeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DynamicAttributeItemProvider.java
@@ -17,9 +17,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -29,9 +27,7 @@ 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.jst.jsf.facesconfig.FacesConfigPlugin;
-
import org.eclipse.jst.jsf.facesconfig.emf.DynamicAttribute;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
@@ -41,6 +37,7 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
* <!-- end-user-doc -->
* @generated
*/
+@SuppressWarnings("nls")
public class DynamicAttributeItemProvider
extends ItemProviderAdapter
implements
@@ -50,146 +47,146 @@ public class DynamicAttributeItemProvider
IItemLabelProvider,
IItemPropertySource {
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public DynamicAttributeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addNamePropertyDescriptor(object);
- addValuePropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addNamePropertyDescriptor(object);
+ addValuePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the Name feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Name feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_DynamicAttribute_name_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_DynamicAttribute_name_feature", "_UI_DynamicAttribute_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.DYNAMIC_ATTRIBUTE__NAME,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DynamicAttribute_name_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DynamicAttribute_name_feature", "_UI_DynamicAttribute_type"),
+ FacesConfigPackage.Literals.DYNAMIC_ATTRIBUTE__NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Value feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Value feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addValuePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_DynamicAttribute_value_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_DynamicAttribute_value_feature", "_UI_DynamicAttribute_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.DYNAMIC_ATTRIBUTE__VALUE,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DynamicAttribute_value_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DynamicAttribute_value_feature", "_UI_DynamicAttribute_type"),
+ FacesConfigPackage.Literals.DYNAMIC_ATTRIBUTE__VALUE,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This returns DynamicAttribute.gif.
- * <!-- begin-user-doc -->
+ * This returns DynamicAttribute.gif.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/DynamicAttribute")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/DynamicAttribute"));
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public String getText(Object object) {
- String label = ((DynamicAttribute)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_DynamicAttribute_type") : //$NON-NLS-1$
- getString("_UI_DynamicAttribute_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((DynamicAttribute)object).getName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_DynamicAttribute_type") :
+ getString("_UI_DynamicAttribute_type") + " " + label;
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
+ updateChildren(notification);
- switch (notification.getFeatureID(DynamicAttribute.class)) {
- case FacesConfigPackage.DYNAMIC_ATTRIBUTE__NAME:
- case FacesConfigPackage.DYNAMIC_ATTRIBUTE__VALUE:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
+ switch (notification.getFeatureID(DynamicAttribute.class)) {
+ case FacesConfigPackage.DYNAMIC_ATTRIBUTE__NAME:
+ case FacesConfigPackage.DYNAMIC_ATTRIBUTE__VALUE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DynamicElementItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DynamicElementItemProvider.java
index b86b35735..cd537afc8 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DynamicElementItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/DynamicElementItemProvider.java
@@ -17,9 +17,8 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
+import org.eclipse.emf.ecore.EStructuralFeature;
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -29,9 +28,7 @@ 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.jst.jsf.facesconfig.FacesConfigPlugin;
-
import org.eclipse.jst.jsf.facesconfig.emf.DynamicElement;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigFactory;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
@@ -42,6 +39,7 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
* <!-- end-user-doc -->
* @generated
*/
+@SuppressWarnings("nls")
public class DynamicElementItemProvider
extends ItemProviderAdapter
implements
@@ -51,195 +49,206 @@ public class DynamicElementItemProvider
IItemLabelProvider,
IItemPropertySource {
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public DynamicElementItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addNamePropertyDescriptor(object);
- addAttributesPropertyDescriptor(object);
- addTextContentPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addNamePropertyDescriptor(object);
+ addAttributesPropertyDescriptor(object);
+ addTextContentPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the Attributes feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Attributes feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addAttributesPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_DynamicElement_attributes_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_DynamicElement_attributes_feature", "_UI_DynamicElement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.DYNAMIC_ELEMENT__ATTRIBUTES,
- true,
- false,
- false,
- null,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DynamicElement_attributes_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DynamicElement_attributes_feature", "_UI_DynamicElement_type"),
+ FacesConfigPackage.Literals.DYNAMIC_ELEMENT__ATTRIBUTES,
+ true,
+ false,
+ true,
+ null,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Text Content feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Text Content feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addTextContentPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_DynamicElement_textContent_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_DynamicElement_textContent_feature", "_UI_DynamicElement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.DYNAMIC_ELEMENT__TEXT_CONTENT,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DynamicElement_textContent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DynamicElement_textContent_feature", "_UI_DynamicElement_type"),
+ FacesConfigPackage.Literals.DYNAMIC_ELEMENT__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Name feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Name feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addNamePropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_DynamicElement_name_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_DynamicElement_name_feature", "_UI_DynamicElement_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.DYNAMIC_ELEMENT__NAME,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_DynamicElement_name_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_DynamicElement_name_feature", "_UI_DynamicElement_type"),
+ FacesConfigPackage.Literals.DYNAMIC_ELEMENT__NAME,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This specifies how to implement {@link #getChildren(Object)} 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(Object, org.eclipse.emf.edit.domain.EditingDomain, Class, org.eclipse.emf.edit.command.CommandParameter)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public Collection getChildrenFeatures(Object object) {
- if (childrenFeatures == null) {
- super.getChildrenFeatures(object);
- childrenFeatures.add(FacesConfigPackage.Literals.DYNAMIC_ELEMENT__CHILD_NODES);
- }
- return childrenFeatures;
- }
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(FacesConfigPackage.Literals.DYNAMIC_ELEMENT__CHILD_NODES);
+ }
+ return childrenFeatures;
+ }
/**
- * This returns DynamicElement.gif.
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ 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 DynamicElement.gif.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/DynamicElement")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/DynamicElement"));
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public String getText(Object object) {
- String label = ((DynamicElement)object).getName();
- return label == null || label.length() == 0 ?
- getString("_UI_DynamicElement_type") : //$NON-NLS-1$
- getString("_UI_DynamicElement_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((DynamicElement)object).getName();
+ return label == null || label.length() == 0 ?
+ getString("_UI_DynamicElement_type") :
+ getString("_UI_DynamicElement_type") + " " + label;
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
-
- switch (notification.getFeatureID(DynamicElement.class)) {
- case FacesConfigPackage.DYNAMIC_ELEMENT__NAME:
- case FacesConfigPackage.DYNAMIC_ELEMENT__ATTRIBUTES:
- case FacesConfigPackage.DYNAMIC_ELEMENT__TEXT_CONTENT:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- case FacesConfigPackage.DYNAMIC_ELEMENT__CHILD_NODES:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
- return;
- }
- super.notifyChanged(notification);
- }
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(DynamicElement.class)) {
+ case FacesConfigPackage.DYNAMIC_ELEMENT__NAME:
+ case FacesConfigPackage.DYNAMIC_ELEMENT__TEXT_CONTENT:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case FacesConfigPackage.DYNAMIC_ELEMENT__CHILD_NODES:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
+ super.collectNewChildDescriptors(newChildDescriptors, object);
- newChildDescriptors.add
- (createChildParameter
- (FacesConfigPackage.Literals.DYNAMIC_ELEMENT__CHILD_NODES,
- FacesConfigFactory.eINSTANCE.createDynamicElement()));
- }
+ newChildDescriptors.add
+ (createChildParameter
+ (FacesConfigPackage.Literals.DYNAMIC_ELEMENT__CHILD_NODES,
+ FacesConfigFactory.eINSTANCE.createDynamicElement()));
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ELResolverTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ELResolverTypeItemProvider.java
index 088020204..cb209a151 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ELResolverTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ELResolverTypeItemProvider.java
@@ -17,9 +17,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -29,9 +27,7 @@ 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.jst.jsf.facesconfig.FacesConfigPlugin;
-
import org.eclipse.jst.jsf.facesconfig.emf.ELResolverType;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
@@ -41,6 +37,7 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
* <!-- end-user-doc -->
* @generated
*/
+@SuppressWarnings("nls")
public class ELResolverTypeItemProvider
extends ItemProviderAdapter
implements
@@ -50,146 +47,146 @@ public class ELResolverTypeItemProvider
IItemLabelProvider,
IItemPropertySource {
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ELResolverTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
- addTextContentPropertyDescriptor(object);
- addIdPropertyDescriptor(object);
- }
- return itemPropertyDescriptors;
- }
+ addTextContentPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
/**
- * This adds a property descriptor for the Text Content feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Text Content feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addTextContentPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ELResolverType_textContent_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ELResolverType_textContent_feature", "_UI_ELResolverType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.EL_RESOLVER_TYPE__TEXT_CONTENT,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ELResolverType_textContent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ELResolverType_textContent_feature", "_UI_ELResolverType_type"),
+ FacesConfigPackage.Literals.EL_RESOLVER_TYPE__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This adds a property descriptor for the Id feature.
- * <!-- begin-user-doc -->
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
* @param object
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
protected void addIdPropertyDescriptor(Object object) {
- itemPropertyDescriptors.add
- (createItemPropertyDescriptor
- (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
- getResourceLocator(),
- getString("_UI_ELResolverType_id_feature"), //$NON-NLS-1$
- getString("_UI_PropertyDescriptor_description", "_UI_ELResolverType_id_feature", "_UI_ELResolverType_type"), //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
- FacesConfigPackage.Literals.EL_RESOLVER_TYPE__ID,
- true,
- false,
- false,
- ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
- null,
- null));
- }
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ELResolverType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ELResolverType_id_feature", "_UI_ELResolverType_type"),
+ FacesConfigPackage.Literals.EL_RESOLVER_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
/**
- * This returns ELResolverType.gif.
- * <!-- begin-user-doc -->
+ * This returns ELResolverType.gif.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public Object getImage(Object object) {
- return overlayImage(object, getResourceLocator().getImage("full/obj16/ELResolverType")); //$NON-NLS-1$
- }
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ELResolverType"));
+ }
/**
- * This returns the label text for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public String getText(Object object) {
- String label = ((ELResolverType)object).getId();
- return label == null || label.length() == 0 ?
- getString("_UI_ELResolverType_type") : //$NON-NLS-1$
- getString("_UI_ELResolverType_type") + " " + label; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ String label = ((ELResolverType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ELResolverType_type") :
+ getString("_UI_ELResolverType_type") + " " + label;
+ }
/**
- * This handles model notifications by calling {@link #updateChildren(Notification)} to update any cached
- * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged(Notification)}.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
public void notifyChanged(Notification notification) {
- updateChildren(notification);
+ updateChildren(notification);
- switch (notification.getFeatureID(ELResolverType.class)) {
- case FacesConfigPackage.EL_RESOLVER_TYPE__TEXT_CONTENT:
- case FacesConfigPackage.EL_RESOLVER_TYPE__ID:
- fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
- return;
- }
- super.notifyChanged(notification);
- }
+ switch (notification.getFeatureID(ELResolverType.class)) {
+ case FacesConfigPackage.EL_RESOLVER_TYPE__TEXT_CONTENT:
+ case FacesConfigPackage.EL_RESOLVER_TYPE__ID:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
/**
- * This adds to the collection of {@link org.eclipse.emf.edit.command.CommandParameter}s
- * describing all of the children that can be created under this object.
- * <!-- begin-user-doc -->
+ * 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
- */
+ * @generated
+ */
protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
- super.collectNewChildDescriptors(newChildDescriptors, object);
- }
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
/**
- * Return the resource locator for this item provider's resources.
- * <!-- begin-user-doc -->
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ResourceLocator getResourceLocator() {
- return FacesConfigPlugin.INSTANCE;
- }
+ return FacesConfigPlugin.INSTANCE;
+ }
}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ExceptionHandlerFactoryTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ExceptionHandlerFactoryTypeItemProvider.java
new file mode 100644
index 000000000..d9deefd08
--- /dev/null
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ExceptionHandlerFactoryTypeItemProvider.java
@@ -0,0 +1,192 @@
+/***************************************************************************************************
+ * Copyright (c) 2005, 2006 IBM Corporation 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
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ * Oracle Corporation - revision
+ **************************************************************************************************/
+package org.eclipse.jst.jsf.facesconfig.edit.provider;
+
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.util.ResourceLocator;
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.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.jst.jsf.facesconfig.FacesConfigPlugin;
+import org.eclipse.jst.jsf.facesconfig.emf.ExceptionHandlerFactoryType;
+import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
+
+/**
+ * This is the item provider adapter for a {@link org.eclipse.jst.jsf.facesconfig.emf.ExceptionHandlerFactoryType} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+@SuppressWarnings("nls")
+public class ExceptionHandlerFactoryTypeItemProvider
+ extends ItemProviderAdapter
+ implements
+ IEditingDomainItemProvider,
+ IStructuredItemContentProvider,
+ ITreeItemContentProvider,
+ IItemLabelProvider,
+ IItemPropertySource {
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
+
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * @param adapterFactory
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ExceptionHandlerFactoryTypeItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public List getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addTextContentPropertyDescriptor(object);
+ addIdPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Text Content feature.
+ * <!-- begin-user-doc -->
+ * @param object
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addTextContentPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ExceptionHandlerFactoryType_textContent_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ExceptionHandlerFactoryType_textContent_feature", "_UI_ExceptionHandlerFactoryType_type"),
+ FacesConfigPackage.Literals.EXCEPTION_HANDLER_FACTORY_TYPE__TEXT_CONTENT,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This adds a property descriptor for the Id feature.
+ * <!-- begin-user-doc -->
+ * @param object
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addIdPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add
+ (createItemPropertyDescriptor
+ (((ComposeableAdapterFactory)adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(),
+ getString("_UI_ExceptionHandlerFactoryType_id_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ExceptionHandlerFactoryType_id_feature", "_UI_ExceptionHandlerFactoryType_type"),
+ FacesConfigPackage.Literals.EXCEPTION_HANDLER_FACTORY_TYPE__ID,
+ true,
+ false,
+ false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE,
+ null,
+ null));
+ }
+
+ /**
+ * This returns ExceptionHandlerFactoryType.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ExceptionHandlerFactoryType"));
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public String getText(Object object) {
+ String label = ((ExceptionHandlerFactoryType)object).getId();
+ return label == null || label.length() == 0 ?
+ getString("_UI_ExceptionHandlerFactoryType_type") :
+ getString("_UI_ExceptionHandlerFactoryType_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
+ */
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ExceptionHandlerFactoryType.class)) {
+ case FacesConfigPackage.EXCEPTION_HANDLER_FACTORY_TYPE__TEXT_CONTENT:
+ case FacesConfigPackage.EXCEPTION_HANDLER_FACTORY_TYPE__ID:
+ 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
+ */
+ protected void collectNewChildDescriptors(Collection newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public ResourceLocator getResourceLocator() {
+ return FacesConfigPlugin.INSTANCE;
+ }
+
+}
diff --git a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ExtensionTypeItemProvider.java b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ExtensionTypeItemProvider.java
index e115833dc..66bcdb8ff 100644
--- a/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ExtensionTypeItemProvider.java
+++ b/jsf/plugins/org.eclipse.jst.jsf.facesconfig/facesconfig/org/eclipse/jst/jsf/facesconfig/edit/provider/ExtensionTypeItemProvider.java
@@ -17,9 +17,7 @@ import java.util.List;
import org.eclipse.emf.common.notify.AdapterFactory;
import org.eclipse.emf.common.notify.Notification;
-
import org.eclipse.emf.common.util.ResourceLocator;
-
import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
import org.eclipse.emf.edit.provider.IItemLabelProvider;
@@ -29,9 +27,7 @@ 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.jst.jsf.facesconfig.FacesConfigPlugin;
-
import org.eclipse.jst.jsf.facesconfig.emf.ExtensionType;
import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
@@ -41,6 +37,7 @@ import org.eclipse.jst.jsf.facesconfig.emf.FacesConfigPackage;
* <!-- end-user-doc -->
* @generated
*/
+@SuppressWarnings("nls")
public class ExtensionTypeItemProvider
extends ItemProviderAdapter
implements
@@ -50,160 +47,160 @@ public class ExtensionTypeItemProvider
IItemLabelProvider,
IItemPropertySource {
/**
- * <!-- begin-user-doc -->
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public static final String copyright = "Copyright (c) 2005, 2006 IBM Corporation and others"; //$NON-NLS-1$
/**
- * This constructs an instance from a factory and a notifier.
- * <!-- begin-user-doc -->
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
* @param adapterFactory
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public ExtensionTypeItemProvider(AdapterFactory adapterFactory) {
- super(adapterFactory);
- }
+ super(adapterFactory);
+ }
/**
- * This returns the property descriptors for the adapted class.
- * <!-- begin-user-doc -->
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
* <!-- end-user-doc -->
- * @generated
- */
+ * @generated
+ */
public List getPropertyDescriptors(Object object) {
- if (itemPropertyDescriptors == null) {
- super.getPropertyDescriptors(object);
+ if (itemPropertyDescriptors == null) {
+ s