sunuml-developers Mailing List for SunUML (Page 2)
Status: Planning
Brought to you by:
lazaruslong
You can subscribe to this list here.
2008 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(3) |
Oct
(27) |
Nov
(35) |
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2012 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Aidar T. <ata...@ya...> - 2008-11-06 22:01:56
|
Hi, For toolbox we can use FoldPanelBar class (comes with wxPython). I attached two screenshots from wxPython demo. Also I recommend to use AuiNotebook - as it is integrates better with AUI manager. Code style: I think we should follow wxPython style guide (http://wiki.wxpython.org/wxPython%20Style%20Guide) Regards, Aidar Talibzhanov ----- Original Message ---- From: Javier Capanegra <ja...@ya...> To: sun...@li... Sent: Wednesday, 5 November, 2008 3:15:26 Subject: [Sunuml-developers] wxPython/wxWidgets help Searching for widgets I found various of them that could help me do SunUML main frame. For panel arrangement I thought of using the AUI Manager, handles automatic panel arrangement using perspective or with user input by dragging the panels. For center panel (diagram pages) FlatNotebook, this allows showing, closing and rearraging tabs. Can anyone tell if this choices are good or are there any better controls to replicate/improve StarUML interface on SunUML? And finally I don't have a good control for the toolbox (maybe a vertical toolbar?), any sugestions? That's it, thanks Javier ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Sunuml-developers mailing list Sun...@li... https://lists.sourceforge.net/lists/listinfo/sunuml-developers |
From: Steven G. <laz...@gm...> - 2008-11-06 04:58:51
|
Seems it is a localisation issue: https://sourceforge.net/forum/message.php?msg_id=4214447 I didn't touch any default settings of StarUML. Is this because my machine in a Swiss-French WinXP and StarUML is in english? If yes I don't see how to correct this problem :/ I will try to change the digits to confirm this. We will need to discuss via .png images :/ Regards, Steven |
From: Javier C. <ja...@ya...> - 2008-11-06 03:20:39
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type"> </head> <body bgcolor="#ffffff" text="#000000"> No idea, I have the same version as you and I can open it fine.<br> <br> Try opening StarUML first and then opening the diagram with File/Open instead of double clicking on the file.<br> I have no clue why you get this error.<br> <br> If you can't open it I can upload the design to the wiki with explanations as text.<br> <br> Steven Gay escribió: <blockquote cite="mid:ad8...@ma..." type="cite">Hello<br> <br> <div class="gmail_quote"> <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I created a class diagram to show what I'm going to do for the<br> GUI-Plugin Framework.<br> <br> It is made using StarUML, maybe someday we will be able to open it using<br> SunUML.</blockquote> </div> <br> Which version of StarUML did you use ?<br> <br> Because with my version 5.0.2.1570 (Win32) I can't load the .uml and get the error:<br> <br> <div style="margin-left: 40px;"><i>Could not convert variant of type (OleStr) into type (Double)</i><br> </div> <br> <br> Any idea?<br> <br> We need SunUML ;)<br> <br> Steven<br> <br> <pre wrap=""> <hr size="4" width="90%"> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world <a class="moz-txt-link-freetext" href="http://moblin-contest.org/redirect.php?banner_id=100&url=/">http://moblin-contest.org/redirect.php?banner_id=100&url=/</a></pre> <pre wrap=""> <hr size="4" width="90%"> _______________________________________________ Sunuml-developers mailing list <a class="moz-txt-link-abbreviated" href="mailto:Sun...@li...">Sun...@li...</a> <a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/sunuml-developers">https://lists.sourceforge.net/lists/listinfo/sunuml-developers</a> </pre> </blockquote> </body> </html> |
From: Steven G. <laz...@gm...> - 2008-11-05 23:56:10
|
Hey For panel arrangement I thought of using the AUI Manager, handles > automatic panel arrangement using perspective or with user input by > dragging the panels. AUI is a good choice I use it for my editor. > For center panel (diagram pages) FlatNotebook, this allows showing, > closing and rearraging tabs. We will also need progrid and later wxScintilla: - wxScintilla - http://www.scintilla.org/ - progrid - http://wxpropgrid.sourceforge.net/ Btw don't forget to note the version of the libraries you are using. We should create a "Building from Source" page something like this: http://www.opengameengine.org/wiki/index.php?title=DanuNotes > And finally I don't have a good control for the toolbox (maybe a > vertical toolbar?), any sugestions? If I am not mistaken you can't with a wxToolBar add a string next to the icon which makes it less clear for beginners. Perhaps a vertical *wxMenu* would better suits our need. If not then a simple *wxListView* should do the trick. About the StarUML tool bar there is one point I don't like: I am constantly switching between the "Annotation" and "Class" sub-panel which oblige me to go up and down the toolbar. Any idea how we could avoid this? Use tabs instead? Putting all in one bar would make it too big and oblige to scroll. Which is not really better (except if we list the tools by usage frequency). Regards, Steven |
From: Steven G. <laz...@gm...> - 2008-11-05 23:15:51
|
Hello I created a class diagram to show what I'm going to do for the > GUI-Plugin Framework. > > It is made using StarUML, maybe someday we will be able to open it using > SunUML. Which version of StarUML did you use ? Because with my version 5.0.2.1570 (Win32) I can't load the .uml and get the error: *Could not convert variant of type (OleStr) into type (Double)* Any idea? We need SunUML ;) Steven |
From: Javier C. <ja...@ya...> - 2008-11-05 02:15:42
|
Searching for widgets I found various of them that could help me do SunUML main frame. For panel arrangement I thought of using the AUI Manager, handles automatic panel arrangement using perspective or with user input by dragging the panels. For center panel (diagram pages) FlatNotebook, this allows showing, closing and rearraging tabs. Can anyone tell if this choices are good or are there any better controls to replicate/improve StarUML interface on SunUML? And finally I don't have a good control for the toolbox (maybe a vertical toolbar?), any sugestions? That's it, thanks Javier |
From: Javier C. <ja...@ya...> - 2008-11-05 02:05:07
|
I created a class diagram to show what I'm going to do for the GUI-Plugin Framework. It is made using StarUML, maybe someday we will be able to open it using SunUML. It's pretty basic. You can view a class description by selecting the class and then showing the "Documentation Panel". I added documentation for all classes to explain the responsibility of each one. By the way is is uploaded to the SVN, maybe I could put it on the wiki if someone wants. All ideas are welcome, this is still work in progress. Regards, Javier |
From: Steven G. <laz...@gm...> - 2008-11-04 01:47:54
|
Hey Javier, I will replay on the developer list. Perhaps someone has an idea. Methods grouping seems necessary. In c++ importing methods instead of the whole class has compile & link advantage. Do you know if it is is the same in Python? One more thing, the file names are a pain. > > In python each file is a module, so if you put one class per file you get > the same number of modules as classes. > > The problem is when you want to use that class. > > For example in the file "SunUMLWorkspaceTreeUITool.py" there is a class > named "WorkspaceTreeUITool", if you want to use that class in another file > you write: > > import SunUMLWorkspaceTreeUITool #import the module > .... > tool = SunUMLWorkspaceTreeUITool.WorkspaceTreeUITool(parent) #Create an > instance of the object > .... > > We can do one of various things, the first is to group classes and > functions according to they're functionality, for example name the file > "workspace_tree.py" and put there all the classes necesary to make the > workspace tree work. This will reduce the amount of files and also the code > will be more visible. > > The other choice would be to use the import differently, like this: > > from SunUMLWorkspaceTreeUITool import WorkspaceTreeUITool #import the > module > .... > tool = WorkspaceTreeUITool(parent) #Create an instance of the object, you > don't have to put the name of the module > .... > > The second choice could be dangerous with name clashes, is like putting > "using namespace xx" in C++. > > > I think that grouping more classes inside one file would be better, as each > file would be a module of the program. Do you think this is ok? Or do you > think another way could be better? > > Regards > Javier > |
From: Steven G. <laz...@gm...> - 2008-11-04 01:15:29
|
Hey Ricardo & Javier, (Ricardo) I agree. > (Javier) I think that the second option is better, only the file names. > Done the svn commit should now be send without the diff. Btw don't forget to replay to sun...@li... *not *to the sender (or at least not only). The purpose of the list is to exchange ideas among all :) Bye, Steven |
From: Steven G. <laz...@gm...> - 2008-11-03 11:47:05
|
Hey Javier, I just uploaded an experimental test to the SVN. > Don't look much at the code because it is really messy, most of it is > copy and paste from various samples I found. Ok I have some comments even if hadn't time to fully check the code. 1) Don't forget to put a license to each file. See http://sunuml.wiki.sourceforge.net/Copyright+%26+Disclaimer This source file is part of SunUML For the latest info, see http://sourceforge.net/projects/sunuml Copyright (c) 2008 SunUML. See also the Readme.txt Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License" of the "Copyright & Disclaimer" page of the SunUML wiki. You should have received a copy of the "GNU Free Documentation License" along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA, or go to http://www.gnu.org/copyleft/fdl.html#TOC 2) Why the embedded images? It makes it slightly more difficult to customise. 3) We should follow the Python recommended coding style more closely http://www.python.org/dev/peps/pep-0008/ I copied below the most relevant part. IMO using the *mixedCase *convention would be better 4) As we are trying to do an UML tool we should try to use some... uml documentations before coding too much ;) We should use this code experiment to help us define some overall design. Bye, Steven ------------------------------------- Function Names Function names should be *lowercase*, with words separated by underscores as necessary to improve readability. *mixedCase *is allowed only in contexts where that's already the prevailing style (e.g. threading.py), to retain backwards compatibility. Function and method arguments Always use 'self' for the first argument to instance methods. Always use 'cls' for the first argument to class methods. If a function argument's name clashes with a reserved keyword, it is generally better to append a single trailing underscore rather than use an abbreviation or spelling corruption. Thus "print_" is better than "prnt". (Perhaps better is to avoid such clashes by using a synonym.) Method Names and Instance Variables Use the function naming rules: *lowercase *with words separated by underscores as necessary to improve readability. Use one leading underscore only for non-public methods and instance variables. To avoid name clashes with subclasses, use two leading underscores to invoke Python's name mangling rules. Python mangles these names with the class name: if class Foo has an attribute named __a, it cannot be accessed by Foo.__a. (An insistent user could still gain access by calling Foo._Foo__a.) Generally, double leading underscores should be used only to avoid name conflicts with attributes in classes designed to be subclassed. Note: there is some controversy about the use of __names (see below). |
From: Steven G. <laz...@gm...> - 2008-11-03 11:03:42
|
Hey, I configured the SVN to send on the sunuml-svn-commit mailing list not only the message associated with a commit *but also the svn diff*. Adding this diff makes the emails pretty big. So my question is: Do you prefer it like this or would like the sunuml-svn-commit mailing list to contain only the messages & the name of the file changed/added? I prefer the second option. What do you prefer? Steven |
From: Javier C. <ja...@ya...> - 2008-11-03 02:57:49
|
Hi, I just uploaded an experimental test to the SVN. Don't look much at the code because it is really messy, most of it is copy and paste from various samples I found. The purpose of this upload is to create the structure for SVN directories and test some controls of wxPython in action. To run the application you have to execute main.py. Be sure to install Python 2.6 and wxPython. I will make a more serious design to develop the plugin/gui framework from here on, any sugestions are welcome. Regards, Javier |
From: Aidar T. <ata...@ya...> - 2008-10-26 19:23:33
|
I also think we should go with StarUML UI. BTW the other popular modelling tool - Enterprise Architect has similar interface. Aslo can I add something, it is about storing models - I think we should use XMI as a default file format for SunUML and provide import from StartUML's .uml files. XMI spec is available here: http://www.omg.org/technology/documents/formal/xmi.htm Regards, Aidar Talibzhanov |
From: J. C. S. <joh...@gm...> - 2008-10-25 19:50:33
|
On Fri, Oct 24, 2008 at 6:15 PM, Steven Gay <laz...@gm...> wrote: > > > >> Are we going to clone the UI of StarUml? >> >> Same layout? model explorer? toolbox? menu? > > > This is related to a suggestion I made some time ago > to put on the wiki a screenshot of the various StarUML panels. > Then we can comment then with improvement suggestions. > > Nobody put the screenshots or gave an comment so either we don't have time > or everyone is satisfied with the StarUML UI. > > My suggestion is to clone the StarUML UI (we are doing a fork). > This means that we all know how the UI should work and > we don't need tons of specifications to define a new UI. > > We will deal with improvements as we go. > I agree. |
From: J. C. S. <joh...@gm...> - 2008-10-25 19:48:40
|
On Fri, Oct 24, 2008 at 7:38 PM, Steven Gay <laz...@gm...> wrote: > > > What about splitting diagrams in several milestones? i don't know, may be >> beginning with use cases.... then classes, then sequences.... so we will be >> able to release functional versions faster... and ask for testers :P > > > Ok - I updated the roadmap > Now it looks much better... :D > > I don't know for you but I get the feeling that the "Generic Editor" could > be used as base for any type of project using an editor. > > Shall we begin discussing/coding the framework? About coding... as I told you before, I am not an experienced wxWidgets/Python programmer..... so I need someone else to create the project and help me on how to configure my development environment... About discussing... let's do it!!! Would you like to start? ( I will follow you :P ) By the way... where is the other people? |
From: Steven G. <laz...@gm...> - 2008-10-25 01:48:46
|
What about splitting diagrams in several milestones? i don't know, may be > beginning with use cases.... then classes, then sequences.... so we will be > able to release functional versions faster... and ask for testers :P Ok - I updated the roadmap Seems to me the features are better grouped together by logic code. I don't know for you but I get the feeling that the "Generic Editor" could be used as base for any type of project using an editor. Shall we begin discussing/coding the framework? Regards, Steven |
From: Steven G. <laz...@gm...> - 2008-10-25 00:15:13
|
> Are we going to clone the UI of StarUml? > > Same layout? model explorer? toolbox? menu? This is related to a suggestion I made some time ago to put on the wiki a screenshot of the various StarUML panels. Then we can comment then with improvement suggestions. Nobody put the screenshots or gave an comment so either we don't have time or everyone is satisfied with the StarUML UI. My suggestion is to clone the StarUML UI (we are doing a fork). This means that we all know how the UI should work and we don't need tons of specifications to define a new UI. We will deal with improvements as we go. |
From: J. C. S. <joh...@gm...> - 2008-10-24 19:14:15
|
Hi, Are we going to clone the UI of StarUml? Same layout? model explorer? toolbox? menu? |
From: J. C. S. <joh...@gm...> - 2008-10-24 15:08:44
|
On Thu, Oct 23, 2008 at 8:26 PM, Steven Gay <laz...@gm...> wrote: > > I think that "Plugin framework" should be in 0.6, because we won't have >> plugins to test it until 0.6 :P. > > > IMO we should design from the start the editor as a pluggable one. Or it > will mean a profound refactoring afterwards. > Agree. > Depending on how we do it the "document generator" and even the diagrams > can be placed in plugins... > my comment is about developing a feature that we won't use or test, but if we use the "Plugin framework" from the beginning it sounds great!!! > Any other comments? > What about splitting diagrams in several milestones? i don't know, may be beginning with use cases.... then classes, then sequences.... so we will be able to release functional versions faster... and ask for testers :P |
From: Steven G. <laz...@gm...> - 2008-10-24 02:26:17
|
Hey We can move the localisation in 0.2 I simply didn't want to over charge it :) Btw when I say localisation I didn't speak about doing the translation but merely to put the design in place to permit easy translation. Granted. Localisation is often difficult and must often be designed also from the start. I think that "Plugin framework" should be in 0.6, because we won't have > plugins to test it until 0.6 :P. IMO we should design from the start the editor as a pluggable one. Or it will mean a profound refactoring afterwards. Depending on how we do it the "document generator" and even the diagrams can be placed in plugins... Any other comments? |
From: J. C. S. <joh...@gm...> - 2008-10-23 17:34:53
|
I think that "Plugin framework" should be in 0.6, because we won't have plugins to test it until 0.6 :P. On Thu, Oct 23, 2008 at 8:47 AM, Johan Chaves Saborío <joh...@gm...>wrote: > I think that we should move localization to 0.2, I can provide the spanish > translation... > > IMHO we should split "diagrams" in several milestones in order to be able > to make functional releases. > > > On Thu, Oct 23, 2008 at 7:51 AM, Steven Gay <laz...@gm...> wrote: > >> Hey, >> >> Here is a tentative roadmap: >> http://sunuml.wiki.sourceforge.net/Planning+%26+Schedule >> >> Fell free to modify the obvious errors and add any features you want to >> include in SunUML. >> >> Regards, >> Steven >> > > |
From: J. C. S. <joh...@gm...> - 2008-10-23 14:48:09
|
I think that we should move localization to 0.2, I can provide the spanish translation... IMHO we should split "diagrams" in several milestones in order to be able to make functional releases. On Thu, Oct 23, 2008 at 7:51 AM, Steven Gay <laz...@gm...> wrote: > Hey, > > Here is a tentative roadmap: > http://sunuml.wiki.sourceforge.net/Planning+%26+Schedule > > Fell free to modify the obvious errors and add any features you want to > include in SunUML. > > Regards, > Steven > |
From: Steven G. <laz...@gm...> - 2008-10-23 13:51:22
|
Hey, Here is a tentative roadmap: http://sunuml.wiki.sourceforge.net/Planning+%26+Schedule Fell free to modify the obvious errors and add any features you want to include in SunUML. Regards, Steven |
From: Steven G. <laz...@gm...> - 2008-10-23 13:18:18
|
Hey all, The discussion about the language seems to hold the progress of the project. So in order for this project to make forward progress I believe I must take a decision about which language to use. Most of you advocated for Pyhton and several of you noted Python should speed up the project. As lot of code, Python will do, because the project is a GUI based program which will wait most of the time for user input. When needed part can be reimplemented in C++ and use the python disttools to allow inclusion of (un)compiled c/c++ modules. And "freeze" from Mcmillan ( http://davidf.sjsoft.com/mirrors/mcmillan-inc/install1.html) to distribute the application Hence, even if my expertise lays more with C++, I think we should go with * Python* first and C++ when needed. Now I ask those of you who put forward the argument that Pyhton enable fast prototyping and coding to prove it :D The next task should be to complete a simple planning and basic architecture design. * PS*: What do you think about using this import framework: http://davidf.sjsoft.com/mirrors/mcmillan-inc/iu.html ? Let the fun begin, Steven |
From: J. C. S. <joh...@gm...> - 2008-10-22 15:29:08
|
Hi, me again... I think we should define a Road Map for the project, I mean, we should define milestones with increments of features... We have the following features (ok, it is an initial list): - Model persistence - Model Explorer - Use Case Diagrams - Class Diagrams - Sequence Diagrams - ... other diagrams... - Document generator - Plugins -- Code Generation -- Reverse Engineer - ... (I need some help here :P ) |