Author: dgeraskov
Date: 2010-03-17 11:51:49 -0400 (Wed, 17 Mar 2010)
New Revision: 20891
Added:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/icons/images/generator.gif
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/icons/images/primary_key.gif
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.mapper/src/org/hibernate/eclipse/mapper/editors/reveng/TablePropertiesLabelProvider.java
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ImageConstants.java
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ImageMap.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5813
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ImageConstants.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ImageConstants.java 2010-03-17
14:52:42 UTC (rev 20890)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ImageConstants.java 2010-03-17
15:51:49 UTC (rev 20891)
@@ -130,5 +130,7 @@
public static final String PINDOWN = "PINDOWN"; //$NON-NLS-1$
public static final String PINDOWN_PATH = "images/pindown.png"; //$NON-NLS-1$
+ public static final String PRIMARY_KEY = "PRIMARY_KEY";//$NON-NLS-1$
+ public static final String GENERATOR = "GENERATOR";//$NON-NLS-1$
}
\ No newline at end of file
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ImageMap.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ImageMap.java 2010-03-17
14:52:42 UTC (rev 20890)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse/src/org/hibernate/console/ImageMap.java 2010-03-17
15:51:49 UTC (rev 20891)
@@ -77,7 +77,8 @@
declareRegistryImage(ERROR, "images/error.gif"); //$NON-NLS-1$
declareRegistryImage(PINUP, PINUP_PATH);
declareRegistryImage(PINDOWN, PINDOWN_PATH);
-
+ declareRegistryImage(PRIMARY_KEY, "images/primary_key.gif"); //$NON-NLS-1$
+ declareRegistryImage(GENERATOR, "images/generator.gif"); //$NON-NLS-1$
}
protected abstract void declareRegistryImage(String key, String path);
Added:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/icons/images/generator.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/icons/images/generator.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/icons/images/primary_key.gif
===================================================================
(Binary files differ)
Property changes on:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/icons/images/primary_key.gif
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.mapper/src/org/hibernate/eclipse/mapper/editors/reveng/TablePropertiesLabelProvider.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.mapper/src/org/hibernate/eclipse/mapper/editors/reveng/TablePropertiesLabelProvider.java 2010-03-17
14:52:42 UTC (rev 20890)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.mapper/src/org/hibernate/eclipse/mapper/editors/reveng/TablePropertiesLabelProvider.java 2010-03-17
15:51:49 UTC (rev 20891)
@@ -85,6 +85,10 @@
return EclipseImages.getImage(ImageConstants.COLUMN);
} else if(element instanceof IRevEngParameter) {
return EclipseImages.getImage(ImageConstants.PARAMETER);
+ } else if(element instanceof IRevEngPrimaryKey) {
+ return EclipseImages.getImage(ImageConstants.PRIMARY_KEY);
+ } else if (element instanceof IRevEngGenerator){
+ return EclipseImages.getImage(ImageConstants.GENERATOR);
}
return null;
}