Author Topic: UML Plugin  (Read 60074 times)

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Re: UML Plugin
« Reply #30 on: March 15, 2015, 11:33:40 am »
@stahta01
An code plugin for 'Code::Blocks' :
https://github.com/LexRudera/UmlBlocks
after some adjustments, it compiles and load under svn10127 (wxWidgets unicode 2.8.12, wxShapeFramework 1.13,  TDM-GCC 4.7.1 ) https://github.com/LETARTARE/UmlBlocks
wxShapeFramework -> http://sourceforge.net/projects/wxsf/
After ...must be tested.
« Last Edit: March 15, 2015, 03:48:09 pm by LETARTARE »
CB-13483, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.1
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7576
    • My Best Post
Re: UML Plugin
« Reply #31 on: March 15, 2015, 05:48:14 pm »
@stahta01
An code plugin for 'Code::Blocks' :
https://github.com/LexRudera/UmlBlocks
after some adjustments, it compiles and load under svn10127 (wxWidgets unicode 2.8.12, wxShapeFramework 1.13,  TDM-GCC 4.7.1 ) https://github.com/LETARTARE/UmlBlocks
wxShapeFramework -> http://sourceforge.net/projects/wxsf/
After ...must be tested.

@LETARTARE:

I plan to look at both of the Git Projects yours and the LexRudera one.
I gave up on this thread long ago; since, I did NOT know enough C++ to help write it.
I still do NOT know much C++; so; other than testing and Precompiled Header (PCH) type changes not much I will be able to do.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7576
    • My Best Post
Re: UML Plugin
« Reply #32 on: March 15, 2015, 08:21:59 pm »
@LETARTARE:

I created a git repo forked from LexRudera/UmlBlocks repo.
https://github.com/stahta01/UmlBlocks/tree/cb_svn

The main difference, between your fork and my fork, at this time is I created a new CB project called UmlBlocks_cbsvn which uses an Global Var called cb_svn.
I did NOT like either yours nor LexRudera CB project and decided making another was better than editing either of yours.

I will work on the Precompiled Header (PCH) type changes and then do testing using a recent CB SVN version.

Tim S.
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7576
    • My Best Post
Re: UML Plugin
« Reply #33 on: March 16, 2015, 12:56:13 am »
Is any menu option except for "New UML Diagram" and "New Class" supposed to do anything?

Those are the only two I figured out how to use.

Is it possible to edit an UML Class?
Is it possible to save an UML Diagram?

Possible bugs; after I install the UML Plugin:
1. After restarting CB, the UML menu becomes the first menu (as in before the File menu).
2. The New Class form extends down too far for good display.
(Possible cause of this is I use a fixed Taskbar in Windows 7; several apps have issues with having a default height being to big)

Tim S.

C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline LETARTARE

  • Lives here!
  • ****
  • Posts: 531
  • L'ami de l'homme.The friend of man.
    • LETARTARE
Re: UML Plugin
« Reply #34 on: March 16, 2015, 08:39:21 am »
I just drop 0.3 to meet
- declaration -> *.hpp
- definitions  -> *.cpp

Unfortunately, the tests are discouraging ! Too few features installed.

Quote
Is it possible to edit an UML Class?
yes, but it is the only feasible action !! you have to capture the elements of the class in a dialog.

Quote
Is it possible to save an UML Diagram?
no, we can not do anything.

Too much work to do, I do not have time.

It's a shame, the basic ideas are good.
CB-13483, plugins-sdk-2.25.0 : Collector-2.0.0, AddOnForQt-3.9.1
1-Win7 Business Pack1 64bits : wx-3.2.4, gcc-8.1.0,
2-OpenSuse::Leap-15.4-64bits : wx-3.2.4;gtk3, gcc-8.2.1,
=> !! The messages are translated by Deepl