directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kasun Lakpriya (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DIRSTUDIO-666) I want to specify the members of the generated Java bean class
Date Wed, 07 Jul 2010 13:15:49 GMT

    [ https://issues.apache.org/jira/browse/DIRSTUDIO-666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12885935#action_12885935
] 

Kasun Lakpriya commented on DIRSTUDIO-666:
------------------------------------------

As discussed in IRC with Seelmann used CheckboxTableViewer instead of simple TableViewer,
which adds checkboxes in the first column by default.

Now UI part has completed and screen shot will be added.

>  I want to specify the members of the generated Java bean class
> ---------------------------------------------------------------
>
>                 Key: DIRSTUDIO-666
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-666
>             Project: Directory Studio
>          Issue Type: Improvement
>          Components: studio-persistence-tooling
>            Reporter: Stefan Seelmann
>            Assignee: Kasun Lakpriya
>         Attachments: DIRSTUDIO-666.png
>
>
> The current implementation automatically adds all LDAP attributes as members to the generated
Java bean class.
> It would be nice to extend the wizard with a new page where the Java members could be
specifed.
> The GUI widget to use is an JFace Table Viewer. There should be tree columns:
> - the 1st column contains a checkbox where the user can select if the LDAP attribute
should be used at all. All checkboxes are checked by default
> - the 2nd column contains a the LDAP attribute name, this column is not modifyable by
the user
> - the 3rd column contains the Java member name. By default it has the same value as the
LDAP attribute name. But the user can modify this value. To edit cells in a table viewer so-called
CellEditors can be used.
> If the user edits the Java member it must be checked that the new value is a valid Java
identifier and that the value isn't used twice.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message