net.refractions.udig.ui.action
Class NewObjectDelegateComparator

java.lang.Object
  extended by net.refractions.udig.ui.action.NewObjectDelegateComparator
All Implemented Interfaces:
java.io.Serializable, java.util.Comparator<IConfigurationElement>

public class NewObjectDelegateComparator
extends java.lang.Object
implements java.util.Comparator<IConfigurationElement>, java.io.Serializable

Used to hack the contributions into an expected order.

Since:
0.6.0
Author:
jeichar
See Also:
Serialized Form

Constructor Summary
NewObjectDelegateComparator()
           
 
Method Summary
 int compare(IConfigurationElement arg0, IConfigurationElement arg1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Comparator
equals
 

Constructor Detail

NewObjectDelegateComparator

public NewObjectDelegateComparator()
Method Detail

compare

public int compare(IConfigurationElement arg0,
                   IConfigurationElement arg1)
Specified by:
compare in interface java.util.Comparator<IConfigurationElement>
See Also:
Comparator.compare(java.lang.Object, java.lang.Object)