[
https://issues.apache.org/jira/browse/DIRSTUDIO-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12883831#action_12883831
]
Stefan Seelmann commented on DIRSTUDIO-665:
-------------------------------------------
You need to attach another modify listener to the "packageNameText" widget, in
the same way as you already do with the "classNameText" widget.
> I want to specify the package name and class name of the generated java bean
> class
> ----------------------------------------------------------------------------------
>
> Key: DIRSTUDIO-665
> URL: https://issues.apache.org/jira/browse/DIRSTUDIO-665
> Project: Directory Studio
> Issue Type: Improvement
> Components: studio-persistence-tooling
> Reporter: Stefan Seelmann
> Assignee: Athoya Hettige Kasun Lakpriya
> Attachments: DIRSTUDIO-665.png
>
>
> The current implemention automatically uses the name of the structural object
> class as java class name and automatically uses the default package.
> I want to be able to specify the class name and package name of the class in
> a nice UI. There should be two text fields, one for the class name and one
> for the package name.
> The default class name should be the name of the structural object class with
> uppercased first charcter.
> The default package name should be constructed from the parent DN's values.
> For example if the DN of the entry is "cn=foobar,ou=sales,dc=example,dc=com"
> then the default package name should be "com.example.sales"
> I think it makes sense to use a JFace wizard for this and put the new UI
> widgets to the first wizard page.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.