Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.emf.compare.rcp/src/org/eclipse/emf/compare/rcp/internal/postprocessor/PostProcessorRegistryImpl.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.compare.rcp/src/org/eclipse/emf/compare/rcp/internal/postprocessor/PostProcessorRegistryImpl.java b/plugins/org.eclipse.emf.compare.rcp/src/org/eclipse/emf/compare/rcp/internal/postprocessor/PostProcessorRegistryImpl.java
index e6065f61f..d8b956def 100644
--- a/plugins/org.eclipse.emf.compare.rcp/src/org/eclipse/emf/compare/rcp/internal/postprocessor/PostProcessorRegistryImpl.java
+++ b/plugins/org.eclipse.emf.compare.rcp/src/org/eclipse/emf/compare/rcp/internal/postprocessor/PostProcessorRegistryImpl.java
@@ -85,8 +85,12 @@ public class PostProcessorRegistryImpl implements IPostProcessor.Descriptor.Regi
* {@inheritDoc}
*/
public List<IPostProcessor.Descriptor> getDescriptors() {
+ List<IItemDescriptor<Descriptor>> itemDescriptors = baseRegisty.getItemDescriptors();
+ Collections.sort(itemDescriptors);
+
Collection<IItemDescriptor<IPostProcessor.Descriptor>> activeDescriptor = Collections2.filter(
- baseRegisty.getItemDescriptors(), not(in(getDisabledEngines())));
+ itemDescriptors, not(in(getDisabledEngines())));
+
Collection<IPostProcessor.Descriptor> descriptors = Collections2.transform(activeDescriptor,
AbstractItemDescriptor.<IPostProcessor.Descriptor> getItemFunction());
return Lists.newArrayList(descriptors);

Back to the top