You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Seelmann (JIRA)" <ji...@apache.org> on 2010/06/25 19:15:49 UTC

[jira] Created: (DIRSTUDIO-666) I want to specify the members of the generated Java bean class

 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


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.


[jira] Updated: (DIRSTUDIO-666) I want to specify the members of the generated Java bean class

Posted by "Kasun Lakpriya (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kasun Lakpriya updated DIRSTUDIO-666:
-------------------------------------

    Attachment: Screenshot.png

UI using CheckboxTableviewer.

>  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, Screenshot.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.


[jira] Assigned: (DIRSTUDIO-666) I want to specify the members of the generated Java bean class

Posted by "Kasun Lakpriya (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kasun Lakpriya reassigned DIRSTUDIO-666:
----------------------------------------

    Assignee: Kasun Lakpriya

>  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.


[jira] Updated: (DIRSTUDIO-666) I want to specify the members of the generated Java bean class

Posted by "Stefan Seelmann (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stefan Seelmann updated DIRSTUDIO-666:
--------------------------------------

    Attachment: DIRSTUDIO-666.png

Attached UI mock

>  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
>         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.


[jira] Commented: (DIRSTUDIO-666) I want to specify the members of the generated Java bean class

Posted by "Kasun Lakpriya (JIRA)" <ji...@apache.org>.
    [ 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.


[jira] Resolved: (DIRSTUDIO-666) I want to specify the members of the generated Java bean class

Posted by "Kasun Lakpriya (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DIRSTUDIO-666?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kasun Lakpriya resolved DIRSTUDIO-666.
--------------------------------------

    Resolution: Fixed

Resolved with the help from Stefan Seelmann and Pierre-Arnaud. And added few validations to the UI but there are some more validations that we can add to make the UI a better one. To have a fully working flow we are moving forward with this state. 

>  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, Screenshot.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.