diff --git a/plugins/org.obeonetwork.m2doc.genconf.edit/src-gen/org/obeonetwork/m2doc/genconf/provider/ModelDefinitionItemProvider.java b/plugins/org.obeonetwork.m2doc.genconf.edit/src-gen/org/obeonetwork/m2doc/genconf/provider/ModelDefinitionItemProvider.java index 2c5c99ef5..531612a37 100644 --- a/plugins/org.obeonetwork.m2doc.genconf.edit/src-gen/org/obeonetwork/m2doc/genconf/provider/ModelDefinitionItemProvider.java +++ b/plugins/org.obeonetwork.m2doc.genconf.edit/src-gen/org/obeonetwork/m2doc/genconf/provider/ModelDefinitionItemProvider.java @@ -176,7 +176,7 @@ private String getLabelForExternalEObject(EObject eObject) { return ""; } - private ComposedAdapterFactory adapterFactory = null; + private ComposedAdapterFactory delegatedAdapterFactory = null; /** * Return a label provider for the specified EObject * Try to return an existing one and create a new AdapterFactory if needed @@ -192,11 +192,11 @@ private IItemLabelProvider getItemLabelProvider(EObject eObject) { } // No adapter found we have no choice but creating our own AdapterFactory - if (adapterFactory == null) { - adapterFactory = new ComposedAdapterFactory(ComposedAdapterFactory.Descriptor.Registry.INSTANCE); + if (delegatedAdapterFactory == null) { + delegatedAdapterFactory = new ComposedAdapterFactory(ComposedAdapterFactory.Descriptor.Registry.INSTANCE); } - if (adapterFactory != null) { - return (IItemLabelProvider) adapterFactory.adapt(eObject, IItemLabelProvider.class); + if (delegatedAdapterFactory != null) { + return (IItemLabelProvider) delegatedAdapterFactory.adapt(eObject, IItemLabelProvider.class); } return null;