Recent

Author Topic: Class designer/editor  (Read 2014 times)

VisualLab

  • Hero Member
  • *****
  • Posts: 501
Re: Class designer/editor
« Reply #15 on: September 15, 2024, 12:48:31 am »
@VisualLab what do you think of the screenshot? :-)

A good starting point. If you can, show a screenshot of some larger fragment of the generated source code, such that the class code with fields, properties and methods is visible.

The day before yesterday I drew (in LibreOffice Draw) a rough diagram of a container for a class template and also 4 items: field, method, property, event. I gradually took into account various issues and the diagram came out a bit more complex than I initially thought (and it contains only the basics). At the moment I am implementing a container class in Lazarus, which would hold the components of the skeleton of the designed class (according to what I suggested and drew myself). For now I treat it as a kind of simple homework.

Aruna

  • Sr. Member
  • ****
  • Posts: 462
Re: Class designer/editor
« Reply #16 on: September 15, 2024, 02:38:36 am »
@VisualLab what do you think of the screenshot? :-)
A good starting point. If you can, show a screenshot of some larger fragment of the generated source code, such that the class code with fields, properties and methods is visible.
I can't right now I still have to write the code to do that, which is in progress.

The day before yesterday I drew (in LibreOffice Draw) a rough diagram of a container for a class template and also 4 items: field, method, property, event. I gradually took into account various issues and the diagram came out a bit more complex than I initially thought (and it contains only the basics). At the moment I am implementing a container class in Lazarus, which would hold the components of the skeleton of the designed class (according to what I suggested and drew myself). For now I treat it as a kind of simple homework.
The only diagrams I ever used were flow-charts way back in school. If it is ok with you why not share a screenshot of your diagram? 
Debian GNU/Linux 11 (bullseye)
https://pascal.chat/

dseligo

  • Hero Member
  • *****
  • Posts: 1374
Re: Class designer/editor
« Reply #17 on: September 15, 2024, 10:08:26 am »
The only diagrams I ever used were flow-charts way back in school. If it is ok with you why not share a screenshot of your diagram?

Speaking of diagrams, just in case you didn't come across it, here is railroad diagram of class definition for Free Pascal: https://www.freepascal.org/docs-html/ref/refse35.html.

Aruna

  • Sr. Member
  • ****
  • Posts: 462
Re: Class designer/editor
« Reply #18 on: September 15, 2024, 01:56:21 pm »
The only diagrams I ever used were flow-charts way back in school. If it is ok with you why not share a screenshot of your diagram?

Speaking of diagrams, just in case you didn't come across it, here is railroad diagram of class definition for Free Pascal: https://www.freepascal.org/docs-html/ref/refse35.html.
Thank you very much @dseligo
Debian GNU/Linux 11 (bullseye)
https://pascal.chat/

VisualLab

  • Hero Member
  • *****
  • Posts: 501
Re: Class designer/editor
« Reply #19 on: September 15, 2024, 02:00:07 pm »
@VisualLab what do you think of the screenshot? :-)
A good starting point. If you can, show a screenshot of some larger fragment of the generated source code, such that the class code with fields, properties and methods is visible.
I can't right now I still have to write the code to do that, which is in progress.

OK.

The day before yesterday I drew (in LibreOffice Draw) a rough diagram of a container for a class template and also 4 items: field, method, property, event. I gradually took into account various issues and the diagram came out a bit more complex than I initially thought (and it contains only the basics). At the moment I am implementing a container class in Lazarus, which would hold the components of the skeleton of the designed class (according to what I suggested and drew myself). For now I treat it as a kind of simple homework.
The only diagrams I ever used were flow-charts way back in school. If it is ok with you why not share a screenshot of your diagram?

You probably mean entity diagrams (UML didn't exist back then). What I drew is something close to a UML class diagram (but it's very simplified). It's just a loose concept. It doesn't include many of the internal details of classes (including methods) that would support the container for the skeleton of the class being designed.

 

TinyPortal © 2005-2018