10

24 March 2013 0:00:00

Add Comment

denkir 6 August 2011 10:11:04

RE: RE: relationship

Yes, they were! The problem is that, I have several classes which use the other

class. I connect them by the dependency relation. I put together all the arrows

as if there's only one arrow. That approach orders the diagram. But when I open

my diagram all the arrows don't lie upon the initial arrow. Although the relation

isn't broken between classes...

Dusan Rodina - softwareideas.net 11 August 2011 14:13:18

RE: RE: RE: relationship

In the next release, I'll implement a improvement, which should avoid this problem.

denkir 28 June 2011 6:39:37

#include

Dušan, great job!

How can I get the generated C++ code with #include instruction?

I use a Class Diagram. For example I have 2 classes. What type of connection should I use between 2 classes?

Dusan Rodina - softwareideas.net 28 June 2011 12:39:14

RE: #include

Thank you.

Unfortunately, generation of #include is not you supported. Possibilities of source code generator will be enhanced in the next major version 5.

Vicki 24 May 2011 13:08:39

I love SIM :-) Is there any way to remove visibility in the classes?

My lecturer has just pinged me for having + and - in my diagram :-)

Dusan Rodina - softwareideas.net 24 May 2011 14:05:01

RE:

Thanks.

Unfortunately, it isn't yet possible. However, I can add this option in the next release.

Dusan Rodina - softwareideas.net 13 June 2011 15:14:41

RE: RE:

Option for showing/hiding the visibility was added in the new version 4.97.

Puah Hock Leng 19 May 2011 20:17:39

Generate properties

Thanks for this user friendly software. May I know if we are able to add properties instead of public field?

Dusan Rodina - softwareideas.net 21 May 2011 12:57:05

RE: Generate properties

You are welcome.

It is not yet possible, but I plan to add this possibility in version 5.

Mostafa Karkache 26 October 2010 21:44:03

Creating a class diagram from a schema

First, thank you very much for allowing us to use this great software. Excellent job guys!!

I was wondering if there is a way to import the data and relations from a schema or from a text based file to create the appropriate class diagram. As of now, i am copying and pacing the attribute into each class !! and it is a tedious process :)

Thank you all

Dusan Rodina - softwareideas.net 28 October 2010 1:28:45

RE: Creating a class diagram from a schema

In the current version, the model can be imported only from database - MS SQL, assemblies - .NET Framework (menu Tools > Reverse Engineering) and XMI files (menu File > Import). Other sources for import will be added in further versions of SIM.

pop 15 October 2010 18:33:43

add associatiion class

first thank you for this great software

I have question how to add association class

thanks

Dusan Rodina - softwareideas.net 15 October 2010 23:35:45

RE: add associatiion class

You're welcome.

It can be done in several steps:

1. Insert two classes

2. Add association between them

3. Insert new class - this will be the association class

4. Add the association between the association and the association class

The result doesn't fully conform to UML specification and therefore it will be improved in version 4.20.

EDIT: In version 4.15, it is possible to do easier:

1. Insert two classes

2. Add association between them

3. Click on Add Association Class in the context bar below the association.

Stephan 27 September 2010 20:59:35

Code Generation for class relations

Hello Dušan,

first of all: Great piece of software - very usable so far!

One little improvement request: Can you generate code for associations, aggregations and compositions.

Note: A very good implementation for such code generation (inclusive a very good comments section generation) is provided by FUJABA (I use 4.3.2, provided at http://www.fujaba.de/resources/installation/packages.html) (If you want I can provide you with a code sample here)

Thank you for your answer.

Stephan 28 September 2010 11:08:09

Addtional info for Code Generation for class relat

Hello Dušan,

in addition to my last mail here is the (beautiful) sample code from FUJABA:

public class Client

{

/**

* <pre>

* 0..1 is connected to 0..*

* Client ------------------------------- Server

* myClient myServer

* </pre>

*/

private FHashSet myServer;

public boolean addToMyServer(Server value) {...}

public boolean hasInMyServer(Server value) {...}

public Iterator iteratorOfMyServer() {...}

public void removeAllFromMyServer() {...}

public boolean removeFromMyServer(Server value) {...}

public int sizeOfMyServer() {...}

public void removeYou() {...}

}

Dusan Rodina - softwareideas.net 15 October 2010 23:22:42

RE: Addtional info for Code Generation for class r

Hello,

sorry that I responded so late. Thank you for interesting tips.

Code generation will be improved even more with next versions of SIM.

Thank you 20 October 2010 11:52:02

RE: RE: Addtional info for Code Generation for cla

Thank you for your reply. The reason behind my inquiry was the use of your tool for teaching object oriented software construction.

Usually I take FUJABA for that issue and it would be very helpful to use your tool (because more and more participants of the classes are using C#)...

So I will track the future development.

Happy days!

Rob G 23 August 2010 15:21:27

Name of the Namespace

Hi!

Great piece of software - keep up the good work! :)

One question, if I may... when generating VB.NET code, the generated code starts with "Namespace Default". How do you give a name to the Namespace?

I have tried creating a Package, and placing the Classes within the Package, and it doesn't affect the naming.

Any help will be greatly appreciated.

Dusan Rodina - softwareideas.net 25 August 2010 1:06:04

RE: Name of the Namespace

Hi,

thank you :)

Version 3.x has not defined namespaces for diagram elements, that's why source code generator generates classes in Default namespace. Version 4.0 will solve this problem.

TheArchitect 12 July 2010 15:01:20

Code generation

Hi

When i generate the C# code for my class diagram the generalizations are not generated

is there a way to do this?