Drop6: Java/Class Diagrams - associations + thumbnail isssue

Hi JDev team
I'm having a play with the Java/Class Diagrams in 11g Drop6 and importing existing class structures to display.
Under an ADF BC project I've created both a Java Diagram and a Class Diagram, and added the "oracle.jbo.server.AppModuleImpl" class. I then right click on the imported class in the diagram, then Show -> Related Items, and it imports a large array of classes as expected.
2 problems I see:
1) Minor issue: If you layout the components using the Diagram Hierarchical Top to Bottom layout option, the thumbnail view doesn't zoom out far enough to allow you to move around the whole diagram.
2) In the diagram, the imported elements only seem to show Generalizations (extend) and Dependencies (interfaces), yet not associations (ie. one class includes a by ref-variable handle to another class). I'm sorely missing this 3rd feature. Am I missing something to enable this? It used to do this in 10.1.3, but with the old 10.1.3 diagrammer tool. Has this feature been dropped?
Cheers,
CM.

Boing.

Similar Messages

  • JavaDoc HTML link of  classes in Java class diagram not correct

    Hi,
    I created a Java class diagram in a certain package (e.g. com.mycompany.p1) and placed some classes on this diagram from the same package and from other packages. Then I created JavaDocs. When I click on the classes in the created JavaDoc diagram, only the links of the classes in the same package as the diagram (com.mycompany.p1) wor correctly. When I click on a class outside this package I get an error message that the file is not found. It looks for the class documentation in the package of the diagram and this is obviousely wrong!
    Is there a property I missed to set or is it a bug?
    Thanks for help
    Thomas

    Hi Thomas,
    I don't use the diagrammers much, so I cannot comment on this directly; however, based on your description, it does sound like a defect. Do you have access to Oracle Support to file an SR?
    John

  • Enhancement request: Java Class Diagram show option

    Hi JDev team
    Can you log the following enhancement request for the Java Class Diagram editor please? When right clicking an existing class in the diagram, then the Show option, it would be useful to have a Dependent Elements option that will add any subclasses to the selected parent class.
    For example, say I had oracle.jbo.server.RowImpl selected, if I selected this new option it would automatically add EntityImpl and ViewRowImpl, saving me having to look at the JDoc for RowImpl to determine the subclasses then manually add the classes to the diagram.
    Thanks & regards,
    CM.

    Chris,
    This is an interesting feature. The ER tracking number for this potential feature is 6279169.
    --Ric                                                                                                                                                                                                                               

  • Enhancement request: Java Class Diagram new facilities

    Hi JDev team
    Can you log the following enhancement request for the Java Class Diagram editor please? Firstly it would be useful when selecting a class in the diagram that the Hierarchy window was synchronized and updated the class stack to show the selected item.
    Secondly it would be nice to be able to drag and drop items from the Hierarchy window into the Java Class Diagram to be included in the diagram.
    Thanks & regards,
    CM.

    Chris,
    I submitted an ER for your request. The tracking number is 6279159.
    --RiC                                                                                                                                                                           

  • Should I start with Entity Object or Java Class Diagram ??

    Hi,
    I come to J2EE / OO application development from non-oo programming world. I am still confused about what step-by-step development approach should I take ?
    Should I :
    - start with creating Entity Object from available database table ?
    - should I start with Java class diagram, followed by generating database tables, then create EO from it ?
    Could anybody please help me, what best practice step by step development approach should I take ?
    Is there any white paper / docs about this ?
    Thank you for your help,
    Krist

    Krist,
    If you are not from the OO world then you may be interested in this new site on OTN (http://otn.oracle.com/formsdesignerj2ee) There is a workshop that starts by looking at an existing datamodel and builds up from there.
    If you are starting from nothing, you can indeed start higher at the Class Model level.
    I recently started discussing data modeling on my blog (http://www.groundside.com/blog/content/SueHarper/) and there are some very good comments(feedback from readers) that may possibly be useful to you.
    If you are new to the UML modeling world, I recommend you read two very good papers by Jan Kettenis on OTN (http://www.oracle.com/technology/products/jdev/collateral/collateral10g.html) They are Getting Strted with UML Class modeling and Getting Started with UML Use Case Modeling.
    Shay pointed you to Toplink. There are a lot of resources on OTN for Toplink, including tutorials.
    Personally? I think if you have time, and if you can, start with a Class Model and perhaps a Use Case model, then you can start planning your application development from a solid base.
    Regards
    Sue Harper

  • JDev Java class diagrams - how to associate 2 classes to parent via Map?

    I am using 9.0.5.1 and working on some simple Class diagrams. I have learnt how to use the @associates javadoc tag and association editor to get associations displayed between classes that use Collections. However, it seem that I cannot associate the classes used for the "key" and "value" in member Map. Only a single association per member variable appears to be supported. Is this possible?
    In case the above doesn't make sense, here is the code from the class with the Map member:
    * @associates <{score.ContentItem}>
    * @associates <{score.ScoreConsolidator}>
    protected Map descriptionMap = new HashMap();
    The diagram tool only seems to recognize the last @associates tag. I have tried a few syntaxes for refering to multiple classes to no avail.
    Thanks
    Drew

    Drew,
    Your correct, we do only support one associates tag. The associates tag indicates the collection type of the association, and only the first associates tag will be read.
    The best way to indicate that an association is indexed, or keyed, by a certain type is to draw a dependency between the association line and the key, or index, type.
    Thanks,
    Geoff

  • ER: Java class diagrams do show inheritance from no-sourcecode classes

    Hi!
    We just noticed that when we extend some classes for which the source code is not available, such inheritance is not visible on diagrams.
    I would like to propose ER to show these inheritances (as the no-source classes signatures are enough to display the class on diagram). It is very inconvenient to have diagrams without possibility to depict the inheritance from many Oracle classes, as this inheritance is more and more important for building ADF applications.
    Thanks for consideration.
    PaKo

    Pako,
    I filed the ER
    Frank

  • Simple Java classes (POJO) used to generate EJB3 session

    Hi there,
    Since relationships between entity beans are not displayed in a EJB3 diagram, I would like to make a regular Java classes diagram (with regular classes) and then manually add annotations to these classes to make persistent (eg. add @Entity....). Then I would like to generate session beans which could use this simple classes as entity but this does not work : JDev only sees entity beans which were created as 'Entity beans from the menu'...
    Any idea?
    Thanks,
    Fabrice.

    Just found a solution: I edited the JDev project file (model.jpr in my case) and add the following line inside the <list n="annotatedEjbBeanClassUrls"> tag:
    <url path="src/testejb3/model/Class1.java"/>
    If works but that's not a wonderful solution. If someone has a solution which works from the IDE then I am still interested ;-)
    Regards,
    Fabrice.

  • Ternary Association In a class diagram

    Hi
    Please help. I need to depict a ternary association icon between 3 Classes in my Class diagram.
    I am using Java Studio Enterprise 8's UML tool.
    The modeling palette does not make provision for this type of association.
    Is there a way to depict the ternary association icon, or is there an update for the Modeling palette in the class diagrams?
    It is the little diamond, looks the same as the decision icon.

    I filed one for neext release http://www.netbeans.org/issues/show_bug.cgi?id=79744
    It's unlikely functionality will be added in patch to jse8.

  • Java Source Code to UML Class Diagram

    Can anyone tell me exactly which kinds of relationships may be identified for a UML CLass diagram, directly from 'static' source code..
    Note that I am developing my own case tool which will convert from java to uml..
    At the moment, I have only managed to get Inheritance and Association relationships..
    Where Association is identified by looking at the types of all variables belonging to a class (excluding method variables etc) and if the type of the variable is non-primitive, than I have deduced it is an association relationship with that class.
    Would this be the right approach?
    Secondly I have noticed in JBuilder, it models dependency relationships by getting all the Imports at the top of the java source file, is this right?? also I have read that a dependency can be modelled by the variable types in operation arguments (paremeterS ?)..
    I would also appreciate if someone could clarify the difference betweeen Composition and Aggregation for me and explain if it is possible to identify the two relationships directly from java source code..
    Last but not least, what about multiplicity ? am I right in thinking that an instance variable is 0-1, an array declaration is seen as 0-n (fixed number) and a Vector/ data collection.. is seen as 0 - * (any number)..
    Thanks for any help,
    Regards
    Tony.

    although this post is way old it could do with a decent answer.
    some guidance can be taken from JSR26: UML Mapping for EJB
    find it a www.jcp.org
    also this research paper on consistency of reverse engineering between uml tools
    http://citeseer.nj.nec.com/545406.html
    Where Association is identified by looking at the types of all variables belonging >to a class (excluding method variables etc) and if the type of the variable is >non-primitive, than I have deduced it is an association relationship with that >class.
    Would this be the right approach?Yes. You could also say that if it is a java.* type then it would also be an attribute.
    Secondly I have noticed in JBuilder, it models dependency relationships by getting >all the Imports at the top of the java source file, is this right?? also I have >read that a dependency can be modelled by the variable types in operation >arguments (paremeterS ?)..JBuilder would be consistent with JSR26, and that's how i intend to implement in ArgoUml.
    I would also appreciate if someone could clarify the difference betweeen >Composition and Aggregation for me and explain if it is possible to identify the >two relationships directly from java source code..Composition is a stronger form of ownership. the composed class is owned only by 1 class. Its lifetime is strongly linked to its owner - ie. it is not created before its owner and it is destroyed before its owner is.
    eg. leg of a table.
    Agregation is weak ownership. the owned class may be owned by several classes.
    eg. a company is owned by many shareholders.
    Last but not least, what about multiplicity ? am I right in thinking that an >instance variable is 0-1, an array declaration is seen as 0-n (fixed number) and a >Vector/ data collection.. is seen as 0 - * (any number)..sound right.
    Alex

  • I can not drag java class onto uml class diagram - why??

    Hi
    1. I created a new java web project
    2. I created a new uml project.
    3. I created new classes in the java web project.
    4. I created a new "class diagram" in the uml project.
    PROBLEM:
    1. When I drag one of the classes onto the class diagram screen, nothing happens. That is, when I perform the "drop"...nothing happens.
    (NOTE: when I drag a "package" to the class diagram, a box representing the java package appears... I just cant get this to work for a class(s) )
    QUESTION:
    Should I be able to drag a class (or classes) from my web project src folder onto the UML project's class diagram and have UML representations of the classes appear?

    Hi Shay
    Unfortunately, I cannot view the suggested youtube stuff at work. (I'll try to view it when I get home)
    But, in the meantime, I did kind of get things working...
    After creating the java project and uml project (and initial class diagram), I had to
    1. drag the java packages (containing the classes I wanted diagrammed) onto the root node of the UML project (i.e., located on the left side "navigation" bar). Afterward, the package appeared under the UML project....Then,
    2. One by one I had to drag the individual java classes from the java project onto the root node of the UML project (i.e,. the classes then appeared under their respective packages under the UML project) . Then,
    3. Then, finally, I could drag the java classes (listed under their respective packages under the UML project) onto the class diagram panel, where the rendered properly.
    I dont know if this is supposed to be the way to "reverse engineer" java classes to be part of a UML class diagram... But, it was the only way I found that worked... thus far, anyway.
    Thanks again for reading my post and answering so promptly.... That was much appreciated!
    s

  • How can I Create Class Diagram and save as image in Java

    Hi
    I have to make a project in java that will generate class diagram of the input class file.
    I have some knowledge of listing methods/properties of a class file in text from but don't really know how to draw a class diagram model (JBuilder 2005 such class diagram whenever a class is compiled). I have to save that class diagram in an image file as well.
    Please guide me what must be my line of action to follow. I need some suggestions on urgent basis.
    Thanx in advance
    Regards

    Hi
    My problem is that I have to construct toll like JUDE. What I need from this tool is just to simply draw the diagrams and save in an image format.
    So I need to know how to draw the diagram and save in an image file. I don't know about the drawing libraries available in Java. Kindly help me
    Regards

  • Could not create Java class: associated with region:

    Hi All,
    I am extending the standard controller oracle.apps.pos.supplier.webui.SuppSummCO
    With a custom controller xxmycomp.oracle.apps.pos.supplier.webui.XXSuppSummCO
    I have built the project in my local JDEV,
    Compiled the custom controller and put it under $JAVA_TOP
    I have verified the same by ls -l $JAVA_TOP/xxmycomp/oracle/apps/pos/supplier/webui/XXSuppSummCO.class
    I have given full permission to xxmycomp folder under $JAVA_TOP (chmod -R 777 xxmycomp)
    I have done the OC4J core bounce
    After setting the custom controller at site level by personalizing the Region,
    When I am returning to the application I am getting the following error
    oracle.apps.fnd.framework.OAException: Could not create Java class: (xxmycomp.oracle.apps.pos.supplier.webui.XXSuppSummCO) associated with region: (PageLayoutRN). This is probably because the class name is wrong or not included in project.
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1247)
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)
         at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2559)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1894)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:538)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:426)
         at OA.jspService(_OA.java:212)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:379)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
         at com.evermind.server.http.ServletRequestDispatcher.unprivileged_forward(ServletRequestDispatcher.java:259)
         at com.evermind.server.http.ServletRequestDispatcher.access$100(ServletRequestDispatcher.java:51)
         at com.evermind.server.http.ServletRequestDispatcher$2.oc4jRun(ServletRequestDispatcher.java:193)
         at oracle.oc4j.security.OC4JSecurity.doPrivileged(OC4JSecurity.java:284)
         at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:198)
         at com.evermind.server.http.EvermindPageContext.forward(EvermindPageContext.java:395)
         at RF.jspService(_RF.java:225)
    The custom controller is for testing only and has only the following code
    public void processRequest(OAPageContext oapagecontext,
    OAWebBean oawebbean)
    super.processRequest(oapagecontext, oawebbean);
    public void processFormRequest(OAPageContext oapagecontext,
    OAWebBean oawebbean)
    super.processFormRequest(oapagecontext, oawebbean);
    I have created the directory xxmycomp under $JAVA_TOP
    I have read only access to other directories under $JAVA_TOP apart from xxmycomp.
    Can anybody help me resolve this error?
    I am doing the same steps in another instance where it is working fine.
    Regards,
    Gourab

    Hi Gourab,
    Double check the the page.xml has referring to the correct CO. Open the page.xml and see which controller is attached to it.
    Also attach the extended controller through personalization to the page/Region.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Reverse Engineering UMl Diagrams from Java Classes

    Hi,
    Is there a way in Jdeveloper, by which i can generate the class diagrams from the existing java classes. Something lik everse engineering.. have anyone done this before..
    Thanks & Regards,

    Yes.
    Drag and drop the Java code onto an empty diagram.
    Shay.

  • Can anyone tell me the class diagrams of a simple java notepad

    hi,
    Can anyone tell me the class diagrams of a simple java notepad.
    i'm a very beginner in UML.
    thanks in advance.
    Moazzam

    Don't worry too much about that. Figure out what it needs to do. Then grab JUnit and start writing tests & code.
    On xprogramming.com there is a series of articles developing a notepad type app in C#. That might be of some help.
    Dave

Maybe you are looking for

  • Integrate KDE notifications with Openbox?

    Hi, I'm using openbox with whole set of KDE programs (I prefer it this way over KDE with OB as WM). Is there any way of integrating KDE notifications with OB to make it look neat? Cheers vi3dr0

  • Odd thing happening to my Open dialog box in Photoshop

    I use Photoshop under Mac OS 10.6.8, and every time I bring up the Open dialog box, the file window (which is always set to List View) has the Name column all scrunched up to the point where all the filenames are mostly hidden. I have to expand the c

  • Af:clientlistener not working in af:column header

    Hi I am using jdeveloper 11.1.1.5.0 and my browser is IE 8. i have added client listener property in af:column to show the tooltip message on 'mouseover' action. This property is working fine If i am using inside the af:inputDate components. but, sam

  • Need to reinstall Itunes to import from CD??

    After installing latest v ITunes it looks to install ok. However when launching I get shown in order to import from CD I need to reinstall ITunes. I have tried several times, tried the hints on the Apple website but none of them work.... Any ideas it

  • Flash Player not compatible with OS 10.10.2

    I tried to download the latest Flash Player but it stops at 25% on Mac OS 10.10.2