History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-10652
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Dmitry Jemerov
Reporter: Alexander Chernikov
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

GUI Designer: reload custom classes when compiling a form (component with non-default value of a property causes error on deletion of this property)

Created: 09 Oct 06 20:21   Updated: 28 Sep 07 16:41
Component/s: GUI Designer
Fix Version/s: Diana Final

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 6,034


 Description  « Hide
GUI Designer. Make sure that "Generate GUI" setting has "Java source" value. Provide a custom component with custom property, e.g. of String type. Add this component to a form. In inspector provide non-default value of this property. Build. The code like
customTypeObject.setCustomProperty("value");

is generated. Now go to custom component class and remove (comment out) custom property. In Designer everything looks fine, property is missed in inspector. Build project - you get the error in GUI auto-generated code. Set method is still there. It is not overwritten and causes errors.

Probably custom classes should be realoded before compiling a form.

Workaround: user can manually erase erroneous statement. Then compilation is Ok.
Bug does not occur if "Generate GUI" = "Binary class files".



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.