Book a Demo

Author Topic: Avoid importing published attributs with Delphi  (Read 2165 times)

juhel

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Avoid importing published attributs with Delphi
« on: August 24, 2006, 08:03:12 am »
Hi,

  I have a Delphi project that I would like to import with reverse engineering but I only want to import the private and public attributs but I don't want the published one (all the GUI component like the TLable, TButton, ...). How can I do that?

  I try to import my project but I deselect the 'Show attributes' select box in 'New Diagram Otions', so, on my class diagram, I only have the private and public methods. Now, for some of the class, I want to show their attributs.  How can I do that?

 Thank you for your help.

PS : is it true that EA has been writen with Delphi?

Philippe Juhel
ICAM
Toulouse, France
« Last Edit: August 24, 2006, 08:09:47 am by juhel »

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Avoid importing published attributs with Delph
« Reply #1 on: August 24, 2006, 03:18:21 pm »
You might have to set individual classes to hide the attributes then.  To do this, select Feature Visibility from the context menu of a class. (Ctrl+Shift+Y)

juhel

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
  • I love YaBB 1 Gold!
    • View Profile
Re: Avoid importing published attributs with Delph
« Reply #2 on: August 24, 2006, 11:20:31 pm »
Thank you for your reply.

  When I import a Delphi project, I only want MY attributs (private, protected and public) but I don't want the GUI attributs which correspond to the GUI componants (like TLabel for example).

  The problem is that this kind of attributs has a visibility of 'published' which is like 'public'.

  So, is there a solution to say to EA : "I want all MY public, protected and private members but I don't want the DELPHI published one"?

  Thanks a lot for any reply,

Philippe Juhel
ICAM
Toulouse, France