Permalink
Browse files

Use a different icon for the constructor -vs- data declaration.

  • Loading branch information...
1 parent 45ca52f commit b75bf90172f698c6868fda5c24bb8df74d445eed @clanehin clanehin committed May 11, 2011
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@@ -25,7 +25,7 @@
imageKeysByType.put(OutlineDef.OutlineDefType.SYN,IImageNames.TYPE_DECL);
imageKeysByType.put(OutlineDef.OutlineDefType.INSTANCE,IImageNames.INSTANCE_DECL);
imageKeysByType.put(OutlineDef.OutlineDefType.FIELD,IImageNames.FIELD_DECL);
- imageKeysByType.put(OutlineDef.OutlineDefType.CONSTRUCTOR,IImageNames.DATA_DECL);
+ imageKeysByType.put(OutlineDef.OutlineDefType.CONSTRUCTOR,IImageNames.CONSTRUCTOR_DECL);
}
@@ -91,6 +91,7 @@ private static void declareImages() {
declare( FUNCTION_BINDING, OBJECT + "functionbinding.gif" ); //$NON-NLS-1$
declare( PATTERN_BINDING, OBJECT + "patternbinding.gif" ); //$NON-NLS-1$
declare( DATA_DECL, OBJECT + "datadecl.gif" ); //$NON-NLS-1$
+ declare( CONSTRUCTOR_DECL, OBJECT + "constructordecl.gif" ); //$NON-NLS-1$
declare( TYPE_DECL, OBJECT + "typedecl.gif" ); //$NON-NLS-1$
declare( NEWTYPE_DECL, OBJECT + "typedecl.gif" ); //$NON-NLS-1$
declare( TYPE_SIGNATURE, OBJECT + "typesig.gif" ); //$NON-NLS-1$
@@ -48,6 +48,7 @@
String FUNCTION_BINDING = ID + ".FUNCTION_BINDING"; //$NON-NLS-1$
String PATTERN_BINDING = ID + ".PATTERN_BINDING"; //$NON-NLS-1$
String DATA_DECL = ID + ".DATA_DECL"; //$NON-NLS-1$
+ String CONSTRUCTOR_DECL = ID + ".CONSTRUCTOR_DECL"; //$NON-NLS-1$
String TYPE_SIGNATURE = ID + ".TYPE_SIGNATURE"; //$NON-NLS-1$
String TYPE_DECL = ID + ".TYPE_DECL"; //$NON-NLS-1$
String NEWTYPE_DECL = ID + ".NEWTYPE_DECL"; //$NON-NLS-1$

0 comments on commit b75bf90

Please sign in to comment.