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                                                                                                                                                                                                                               

Similar Messages

  • 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                                                                                                                                                                           

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

  • 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

  • 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

  • Java class library method definition is visible in debugging!!!!!

    I create a jar by using java class library project option, and when i am using it in other project, it is displaying all code inside the library, i implement security inside the java library, it contains some key ...... is there any way to hide the code? or how to hide my logic when i submit it to client...
    is there any tool for this or is there are any technique to create a dll like microsoft supply.

    rohit pathak wrote:
    thanks for your time gimbal2 ,
    I tested it and it is working fine, i choose the option
    Exclude from jar file - **/*.java
    and its worked out.could you tell me about security of this class library (.jar file) ? Although i used required code { code which omit .java file during packaging } , is this is secure? or we can get the code { key in my case } from .jar file by any java tool.As you have already noticed through your other thread - yes you can.
    how to secure code in java..

  • Importing Java classes in Forms 6i

    Hi
    When I try to import java classes using the option available in forms 6i,I get the following error
    PDE-UJI001 Failed to create the JVM.
    ne clue?
    Thanks
    Gangs

    You have installer the JDK 1.2 (This software located in a Sun Microsystems Web Site), and you have a configure the your PATH:
    PATH=%PATH%;< path your JDK installed >;
    If you have Designer 6i installed in your machine, then your Enviromento Variable PATH = PATH=< path your JDK installed >;%PATH%;
    After configure the PATH, you have a create another Enviroment Variable CLASSPATH with:
    Example:
    CLASSPATH=C:\oracle\designer\TOOLS\COMMON60\JAVA\IMPORTER.JAR;c:\jdk1.2.2;
    Test your Forms 6i.

  • Forms6i - Import Java Classes

    Hi,i need import java classes to Forms.When I choose in menu
    Program/Import Java classes, program shows error: PDE-UJI001
    Failed to create the JVM. I tried set classpath,paths but
    nothing. Thank you for any tip:-)

    Download and install the JDK 1.2.2.
    2. Assuming the JDK 1.2.2 is installed in c:\jdk1.2.2 directory
    and the JRE in
    C:\PROGRA~1\JAVASOFT\JRE\1.2 directory; ORACLE_HOME=C:\Dev6iR2.
    Set the PATH to
    set PATH=%PATH%;c:\jdk1.2.2\bin;C:\PROGRA~1\JAVASOFT\JRE\1.2
    \bin;C:\PROGRA~1\JAVASOFT\JRE\1.2\bin\classic
    ( If you are using ias9i then the JDK 1.2.2 comes with the ias
    installtion ,
    in this case please set the PATH to
    D:\ias9i\Apache\jdk\bin;D:\ias9i\Apache\jdk\jre\bin;D:\ias9i\Apac
    he\jdk\jre\bin\classic;%PATH% )
    3. Set the CLASSPATH to set CLASSPATH=%CLASSPATH%;C:\Dev6iR2
    \TOOLS\COMMON60\JAVA\IMPORTER.JAR;.
    (If you do not set the CLASSPATH correctly you will get the error
    PDE-UJI002 Unable to find the required java importer classes)
    4. Now run the Forms Builder by using the command.
    C:\Dev6iR2\bin\ifbld60.exe
    Now the Java Importer Should Run fine

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

  • Enhance Req: ADF BC create java classes

    Hi JDev team
    Can you log the following enhancement request please under JDev 11g TP.
    In any of the ADF BC editors under their Java options, when you select to generate a class for the selected ADF BC object (eg. EntityImpl for an EO), it would be preferred the newly generated class file was opened in the editor. At the moment you have to then find the newly generated file under the ADF BC object in the Application Navigator and open it separately. I'd suggest 9 times out of 10 when you've just created a Java file for an ADF BC object, you'd want to edit it straight away so it should auto open.
    Regards,
    CM.

    Chris,
    filed a Er with lower piority to make this an option in teh JDeveloper prefrences settings for ADF BC. ER 6121517
    Frank

  • Enhancement request: Remote interface java file generation

    Problem:
    In release 9.0.3, If you want to write a method that is suppossed to be exposed in the remote interface, you have to first right click on the ejb-jar.xml's appropriate EJB name node and then add the method, specify the argument types (say about 25 in number in a small width textbox), return type, etc and check the check box 'Expose in remote interface'. Then only remote interface's java source gets updated and only after doing all this can you actually sit down to write the business logic in that method. If you first code the method and then try to add the same, it gives an error saying "duplicate method exists"
    Suggestion:
    The similiar feature in release 9.0.2 was much better and flexible as it allowed the generation of remote interface source after coding the actual method in the EJB source. You can first write the method and then expose it in the interface by just choosing it from a method browser and opting for exposing it in the remote interface. You donot have to write the name and number of arguments like we have to currently do in the 9.0.3 release.
    (1) Actually, all public methods in the EJB source should by default be exposed in the remote interface because EJB are supposed to be used by other EJBs and JSPs only and all methods that are public but not exposed in the remote interface should actually be private or protected.
    (2) Leave it up to the developer to edit the remote interface
    (3) When the EJB source file is changed (public methods changed) compiled the remote interface should also be updated automatically. Why? already you have provision to change the remote interface source, so just dump all the public methods in the remote interface source when the EJB source is compiled.
    (4) Ditto for EJB Homes
    (5) Actually whenever the developer changes and compiles the EJB source, the remote and home source should automatically be updated AND COMPILED. (Refer: Pramati Studio 3.0 SP3 :- URL: www.pramati.com )
    I was very happy with the earlier option. If anybody other then the JDeveloper Team finds this interesting, please respond. A suite like developer should be more User-friendly.
    And yes expect more like this from me in the future

    Hi Raghu,
    Thanks for the quick response. This flexiblity in Remote interface generation and choice of methods in it at any given point in the development cycle is very much desired feature.
    The other thing I would like to suggest is you look at another enhancement request in my name regarding batch updates of the "web.xml" file. You will find the thread updated today i.e. on 15th September with a reply
    I will shortly post one more for lack of modularity in EJB components descriptors.
    My Company Four Soft Pvt. Ltd. (www.four-soft.com) is Oracle's development partner and we use and support Oracle products. They are good but naturally we would like them to be better and more User-friendly.
    Thanks once again.
    Amit

  • Creating java code from a class diagram in JDeveloper

    I have created a class diagram in JDeveloper 11.1.1.3.0. When I generated java code from the class diagram by right clicking on the class diagram->transform->same diagram->UML to Java, a .java file is generated with attributes and getters/setters, and also a .uml_cla file is generated. What is this .uml_cla file exactly and what is it used for? Also I have a package.uml_pck file that was created 3 times. I have a package of com.xxx.xxxx, and it put this package.uml_pck file in "com", in "xxx", and in "xxxx". Do I need to retain all 3 of these files in my project?
    One more question related to this. When I change something in the java representation of the class diagram (i.e. a datatype), it updates the .java file that was generated from the class diagram, and it also works the other way...change the .java file and the java representation of the class diagram changes. However, the class diagram that the code was generated from does not change, nor does the mysterious .uml_cla file I asked about in the above paragraph.

    This did work for me, with an exception. I have put the .java files generated from the class diagram in a different package from the .class_diagram file, the package.uml_pck file, and the .uml_cla file to keep the actual source code separate. When I modified the .java file and transformed the class diagram from java to UML, it created the package.uml_pck file and the .uml_cla files again in the same package as the .java file, and they show the update. The package.uml_pck file, and the .uml_cla file that were originally created and are in the separate package from the .java files were untouched, thus the class diagram displayed does not reflect the change either. Does this mean I should not, or cannot, separate these files, and that they all must be left in the same package? (the purpose of separating it in the first place was for ease of deployment since we don't want to deploy any of the class diagram files) Thanks!

  • How to pass a HTTP request from a simple java class

    Is it possible to pass an HTTP request from a simple java class.if yes how?

    Is it possible to pass an HTTP request from a simple
    java class.if yes how?If you're talking about creating a HttpRequest object and passing it to a servlet, that would be a red flag to me that your design is flawed. You shouldn't have to do that - the application server (Tomcat, Weblogic, etc) should be the only thing that has to worry about creating that kind of object and passing it to you.

Maybe you are looking for

  • Photos not showing up in iMessage

    I recently updated to iOS 8.3. In iMessage and SMS conversation, when I send or receive a photo, it appears for a half second then turns into a black message bubble. The photo is saved in the Details of the conversation, but it does not appear in the

  • N95 - how do I stop Music Player playing my sound ...

    I'm listening to songs on the bus, and suddenly, I've got a 2 minute recording of my other half snoring in my headphones. Or a 30 second sound clip of a man giving me directions to the Ikea store. Or a memo to myself to check the price of blu-ray pla

  • Caller 70 missing

    hi experts, i ran the info package for ODS, in the status tab , it is saying the message like caller 70 missing System Response"Caller 70" is missing. Hint: Further analysis: Search the BI short dump overview for the short dump that belongs to the re

  • Is it possible to auto create albums based off of the saved keywords

    I would like to import my photos but have them organized in albums by the keywords saved in the image tags. Is this possible? I have a large collection that I currently manage on a PC with Abobe Elements 5 and I don't want to have to recreate each al

  • Upgrading Oracle client

    Hi, Information: -- Oracle Client version = 10.2.0.1.0 -- Oracle Database Version = 10.2.0.5.0 My query is that can we upgrade Oracle Client from 10.2.0.1.0 to 10.2.0.5.0 version? And if possible then where from could we get upgradation patch for Ora