🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.together.documentation
4 messages
4 total messages Started by Matt Fri, 11 Mar 2005 01:26
Creating source from "Design" elements?
#79
Author: Matt
Date: Fri, 11 Mar 2005 01:26
11 lines
1043 bytes
Hi guys,

In Together Solo, I've created some class diagrams that define some
new classes.  Now, I'd like to create the corresponding classes in
source code (from the classes defined in this diagram).

How do I go about this?  is it possible?

Thanks,

Matt.
Re: Creating source from "Design" elements?
#80
Author: Leonid Rudy
Date: Fri, 11 Mar 2005 10:21
29 lines
1884 bytes
I think, your classes must be already there.
Together is so called "round-trip" tool.
Whenever some Java classes/packages appear on a diagram,
they are instantly created as real Java files.
Vice versa, when you create .java files manually
(or using some other tool) they will appear on
a class diagram in Together.

That was actually a backbone idea of that tool when it first
was created in 1998.

All the best,

Leonid Rudy
http://www.filigris.com


Matt wrote:
> Hi guys,
>
> In Together Solo, I've created some class diagrams that define some
> new classes.  Now, I'd like to create the corresponding classes in
> source code (from the classes defined in this diagram).
> 
> How do I go about this?  is it possible?
> 
> Thanks,
> 
> Matt.
Re: Creating source from "Design" elements?
#81
Author: Matt
Date: Tue, 15 Mar 2005 00:04
25 lines
1861 bytes
Hi Leonid,

> I think, your classes must be already there.
> Together is so called "round-trip" tool.
> Whenever some Java classes/packages appear on a diagram,
> they are instantly created as real Java files.
> Vice versa, when you create .java files manually
> (or using some other tool) they will appear on
> a class diagram in Together.

Thanks for the reply - however, after playing around a bit, I
discovered that when you set your project's "Default Language" to
"Java" it WILL automatically create the corresponding Java files.

However, you can dynamically change the project's Default Language to
be "Design".  In this mode any classes/interfaces you create in a
diagram does *NOT* automatically create the corresponding Java files. 
The class/interface information is stored in a Together diagram file.

My question is - if I've got these "design" mode classes/interfaces,
how do I convert them into actual Java files?

Thanks!

Matt.
Re: Creating source from "Design" elements?
#82
Author: Leonid Rudy
Date: Tue, 15 Mar 2005 10:30
44 lines
2842 bytes
> However, you can dynamically change the project's Default Language to
> be "Design". In this mode any classes/interfaces you create in a
> diagram does *NOT* automatically create the corresponding Java files.
> The class/interface information is stored in a Together diagram file.

Yes. In that case, the diagrams are maintained in language-neutral way.
Hence, no Java files are created.

It appears, the command 'Tools | Generate | Source Code for Design
Project' may help you to convert your "Design" elements into actual
Java files (although, I'm not sure whether it's available in Solo).


Leonid Rudy
http://www.filigris.com


Matt wrote:
> Hi Leonid,
>
> > I think, your classes must be already there.
> > Together is so called "round-trip" tool.
> > Whenever some Java classes/packages appear on a diagram,
> > they are instantly created as real Java files.
> > Vice versa, when you create .java files manually
> > (or using some other tool) they will appear on
> > a class diagram in Together.
>
> Thanks for the reply - however, after playing around a bit, I
> discovered that when you set your project's "Default Language" to
> "Java" it WILL automatically create the corresponding Java files.
>
> However, you can dynamically change the project's Default Language to
> be "Design".  In this mode any classes/interfaces you create in a
> diagram does *NOT* automatically create the corresponding Java files.

> The class/interface information is stored in a Together diagram file.
>
> My question is - if I've got these "design" mode classes/interfaces,
> how do I convert them into actual Java files?
> 
> Thanks!
> 
> Matt.
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads