| Summary: | Make default package more visible and easy to edit. | ||
|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Dimitar Giormov <dimitar.giormov> |
| Component: | Diagram Editor | Assignee: | Project Inbox <dali.diagrameditor-inbox> |
| Status: | NEW --- | QA Contact: | Stefan Dimov <stefan.dimov> |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | kaloyan, petya.sabeva, shaun.smith |
| Version: | 0.5 | Keywords: | plan |
| Target Milestone: | Future | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
|
Description
Dimitar Giormov
Default (or maybe more accurately "current") package name should be specified per project or even per diagram (when multiple diagrams per project are supported). Specification of the current package should be easy and direct. Instead of defaulting to a global value initial package could be specified the first time someone tries to create an Entity. They could be prompted with the standard package selection dialog that allow for both selection and creation. Dragging an entity into an empty diagram could also set the current package to that of the entity. "Auto switching" the current package to that of the last dragged entity could be an additional optional feature. Changing the current package could be done via a pop-up menu in the diagram and would open the standard package selection dialog. Also, the current package could be displayed somewhere in the palette and clicking on it could once again open the standard package dialog. Yes, it can be done better. BTW, the package can be specified per project. There is a coresponding project property page with the same options as the global preference page. The values set in the project property page override the globals. (In reply to comment #2) Where do I find the project level default package setting? I'm not able to find it in the project properties dialog. Look for Java Persistence > JPA Diagram Editor property page. It's available for projects with the JPA facet. (In reply to comment #4) > Look for Java Persistence > JPA Diagram Editor property page. It's available > for projects with the JPA facet. Hmm, nothing there for me. I installed 0.5 into Java EE Helios SR1 and looked at project properties for both JPA 1.0 and 2.0 projects but the only thing visible under Java Persistence is Errors/Warnings. I don't see any relevant exceptions in the Errors view. I have other things installed on top of SR1 in addition to the JPA Diagram Editor so perhaps the problem is due to an interaction with one of them? Now I can see that it only shows for JPA 1.0 projects, but not for JPA 2.0 ones. Could you check again for JPA 1.0 projects? I've created a new bug jus(In reply to comment #6) > Now I can see that it only shows for JPA 1.0 projects, but not for JPA 2.0 > ones. > Could you check again for JPA 1.0 projects? I've creates a new bug only for this: https://bugs.eclipse.org/bugs/show_bug.cgi?id=334536 The 3.2 target now represents the Juno release. Retargeting this bug to the Kepler realease (3.3). *** Bug 329304 has been marked as a duplicate of this bug. *** Retargeting this bug to 3.4 release. Bulk move to Dali 3.5 as Dali 3.4 has shipped. Deferring from 3.5 to Future target. |