Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://objectstyle.org/jira/secure/ViewIssue.jspa?key=CAY-425
Here is an overview of the issue:
---------------------------------------------------------------------
Key: CAY-425
Summary: ObjEntityTab.java--add tooltip to "Sync" button; correct button size in layout
Type: Improvement
Status: Assigned
Priority: Minor
Project: Cayenne
Components:
CayenneModeler GUI
Versions:
1.2 [DEV]
Assignee: Andrus Adamchik
Reporter: Paul Furbacher
Created: Thu, 26 Jan 2006 11:46 AM
Updated: Thu, 26 Jan 2006 11:46 AM
Environment: Windows XP, JDK 1.5.03_b07 (that which comes installed with JBuilder 2006) -- neither is really relevant here.
Description:
The view, ObjEntityTab
(org.objectstyle.cayenne.modeler.editor.ObjEntityTab)
currently (M10) shows the "Sync w/ DBEntity" button with
elided text. This is caused by an improper FormLayout column
setting.
Instead of a fixed width, the "pref" value should be used:
FormLayout layout = new FormLayout(
"right:70dlu, 3dlu, fill:135dlu, 3dlu, fill:63dlu",
"");
it should read
FormLayout layout = new FormLayout(
"right:70dlu, 3dlu, fill:135dlu, 3dlu, pref",
"");
Also, in keeping with the standard of providing tooltips for buttons
in the Modeler UI, the following "setTooltipText()" call should be
added, the text of which is up to the maintainer of the Modeler
application (lines:
// The next two statements are from the original.
syncWithDbEntityButton = CayenneWidgetFactory.createButton("Sync with DbEntity");
syncWithDbEntityButton.setIcon(ModelerUtil.buildIcon("icon-sync.gif"));
// Add this tooltip ...
syncWithDbEntityButton.setToolTipText("Sync this ObjEntity with its DBEntity");
See attached file for all changes.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://objectstyle.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
This archive was generated by hypermail 2.0.0 : Thu Jan 26 2006 - 11:47:39 EST