Author Topic: UML Plugin  (Read 45685 times)

Offline LETARTARE

  • Regular
  • ***
  • Posts: 425
  • L'ami de l'homme.The friend of man.
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-rev12207, plugins : QtPregen-2.7.3-sdk240
1-Win 7 Business Pack 1 64bits :  wx-3.1.3, gcc-8.1.0,
2-Vista Business Pack2 32bits : wx-3.1.4, gcc-8.1.0
3-OpenSuse-15.1-Leap 64bits : wx-3.03, gcc-7.5.
=> !! The messages are translated by Deepl !!

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6997
    • 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 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6997
    • 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 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline stahta01

  • Lives here!
  • ****
  • Posts: 6997
    • 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 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline LETARTARE

  • Regular
  • ***
  • Posts: 425
  • L'ami de l'homme.The friend of man.
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-rev12207, plugins : QtPregen-2.7.3-sdk240
1-Win 7 Business Pack 1 64bits :  wx-3.1.3, gcc-8.1.0,
2-Vista Business Pack2 32bits : wx-3.1.4, gcc-8.1.0
3-OpenSuse-15.1-Leap 64bits : wx-3.03, gcc-7.5.
=> !! The messages are translated by Deepl !!