Book a Demo

Author Topic: java or .net classes as super class  (Read 2940 times)

sri303

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • Quest
    • View Profile
java or .net classes as super class
« on: December 21, 2002, 04:34:47 pm »
HI,

 I have 2 questions.

  1) How do we use the classes from Java or .NET as the super class for my class.
    e.g. I want to develop a class that extends JPanel.

 To do this, do I need to create the class diagrams for all the classes of Java or .Net libraries that I need ?

 2) When I reverse engineer a class that extends JPanel, EA puts the label 'JPanel' in italics in the name compartment of the class diagram. I want to get this, even when I come up with a new class diagram without reverse engineering. Is it possible.

Thanks

sri303

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
  • Quest
    • View Profile
Re: java or .net classes as super class
« Reply #1 on: December 23, 2002, 10:49:51 am »
I figured out the answers for my questions.

 1) We have an XML file provided by Microsoft for .net and latest version of EA has a feature to import this xml file to get c# classes.  For Java still I don't know if there is any XMI file like this.  :(

 2) To do this, just go to setElementParent option by right-clicking on the class diagram

 Well, may be these are very basic questions for you guys.

Thanks,
Sri