Author: vyemialyanchyk
Date: 2010-01-05 13:07:49 -0500 (Tue, 05 Jan 2010)
New Revision: 19648
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/wizards/UpDownListComposite.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-5159 - first step implementation
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java 2010-01-05
17:40:38 UTC (rev 19647)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.java 2010-01-05
18:07:49 UTC (rev 19648)
@@ -502,6 +502,8 @@
public static String DeleteProjectParticipant_console_configurations_updates;
public static String DeleteProjectParticipant_delete_console_configuration;
+
+ public static String AddRemoveTableComposite_no_dependencies;
//
static {
// initialize resource bundle
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties 2010-01-05
17:40:38 UTC (rev 19647)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/HibernateConsoleMessages.properties 2010-01-05
18:07:49 UTC (rev 19648)
@@ -503,4 +503,6 @@
ConnectionProfileCtrl_JPAConfiguredConnection=[JPA Project Configured Connection]
ConnectionProfileCtrl_New=New...
ConnectionProfileRenameChange_update_connection_profile_name=Update connection profile
name in launch configuration
-ConnectionProfileRenameParticipant_launch_configurations_updates=Launch Configurations
updates
\ No newline at end of file
+ConnectionProfileRenameParticipant_launch_configurations_updates=Launch Configurations
updates
+
+AddRemoveTableComposite_no_dependencies=no dependencies
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/wizards/UpDownListComposite.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/wizards/UpDownListComposite.java 2010-01-05
17:40:38 UTC (rev 19647)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/wizards/UpDownListComposite.java 2010-01-05
18:07:49 UTC (rev 19648)
@@ -174,7 +174,7 @@
GridData gridData2 = new org.eclipse.swt.layout.GridData();
gridData2.horizontalAlignment = org.eclipse.swt.layout.GridData.FILL;
gridData2.grabExcessHorizontalSpace = false;
- gridData2.grabExcessVerticalSpace = false;
+ gridData2.grabExcessVerticalSpace = true;
gridData2.verticalAlignment = org.eclipse.swt.layout.GridData.FILL;
buttons = new Composite( group, SWT.NONE );
buttons.setLayout(new GridLayout());
@@ -202,8 +202,13 @@
downButton.setText(HibernateConsoleMessages.UpDownListComposite_down);
downButton.setLayoutData(gridData5);
downButton.addSelectionListener(buttonListener);
+
+ createAdditionalOptions(buttons);
}
+ protected void createAdditionalOptions(Composite parent) {
+ }
+
protected String[] getAddButtonLabels() {
return new String[] { HibernateConsoleMessages.UpDownListComposite_add };
}