index > Visual Studio Team System - Domain-Specific Language Tools > How adequate-rich or suffitient-complete the DSL?

How adequate-rich or suffitient-complete the DSL?



I want to develop Relational model or Data base -
showing tables, connections, attributes,

but also -type of attributes, their length,
connection between tables - by attributes.

So - how I can resolve desires to show more rich look then
just table-attribute ?
____
Or for object model- how to show methods and objects separately or with some icon?

Or not with icon - by how can I show many different things
or hierarchical things
on attributes set ?

vgrigor

One of the nice things about the DSL Toolset is its flexibility. For example, suppose you start with the Class Diagrams template. At first, each class is represented as a box, and each attribute and operation is represented as a line item within the box, in the usual UML way.

But you could decide that instead, you are going to represent each attribute as a separate shape - maybe a circle - and connect it to its class with a line. That would enable you to show much more detail on the attributes, showing their type and other characteristics as elements displayed in that shape.

To do that, you need not change the Classes-and-Relatonships part of the DSL Definition: you need only to add the new shape and connector definitions, and then alter the shape and connector maps to map them to the Attribute and ClassHasAttributes definitions.

Or maybe you would like still to represent each attribute as a line in the class box, but put more information all in that one line - for example "name : type". To do that, follow the link to this post.

Does that help?




- Alan [Microsoft]
Alan Cameron Wills
 thanks Alan,
 
 I said that any complex system can be show as combination of entities
 with list of attributes and connections.
 
 It can be done of course, but look can be not any adequate.
 
 No any business analytic will understand it as adequate to business system,
 what is purpose of MDA.
 
 Instead of one relational table I will oblige people to draw a number of of entities, and complexity and number elements on diagram
 will grow with growing realism of that single table description.
 
 It would be agly.
 If I understand concept correctly.
 
 It is to be question about extensibility
 

 For sample:
 can I add my CONTROL that is drawn by my way - showing ,
 relational table as in DataBase designer it is drown -
 with types and lengths of fields ?
 
 Why not permit DSL to extend self by "controls concept" ?
 (within powering that framework -by using their drawing terms)
_______________

In my company I advertize DSL, I like the idea,
but I afraid if by begin of use I can be
titled as advised just far from life, game thing.
vgrigor

I agree that it would be nice to make the visual appearance more extensible. This is something we will think about for future versions.

Alan




- Alan [Microsoft]
Alan Cameron Wills
reply 4

You can use google to search for other answers

 

More Articles

Defining custom multiplicities
Extending a DSL post-deployment
Mouse click in the Domain-Specific Language Wizard on the Finish ...
Extending right-click menu for DSL class
Shape Icon and Shape Tool Minor Bug
How to Prevent property from being displayed in Concepts Properti...
Is there documentation for the T4 engine somewhere?
Open a new Document
How to Add context menu to shapes
Manioulate shape text decorator at runtime.
Welcome to Bokebb   New Update   Joins the collection  
 

New Articles

Problems with DSL Tools Version 1
Problem installing latest DSL toolkit ...
bidirectional connectors
[outdated] September 2005 CTP available
Custom Modeler Code
How to expose domain model objects throu…
Embedding Relationships and Inheritence
DSL using languages
Atrributes with particular properties
Dynamically determining link type
Concept's Properties
Shape position from a template...
Template transformation error in designe…
Troubleshooting: duplicate generated files
Change a connector's from and to endpoin…

Hot Articles

Beginner question about the use of DSL T…
Deployment - template doesn't appear und…
Preventing model elements from being del…
Persistence in XML
Unregister DSL file extension
Can I make two DSL models interact ?
use case template dropped?
February CTP of DSL Tools is live in the…
Non string name domain properties
March CTP DSL uninstall / VS (RC) issue
Diagram Size
Using domain specific language
Problem Extending Notation with icons
Unable to intercept double click on deco…
Save instance of model in menu command

Recommend Articles

How create an Emf file ? Extending notat…
Textarea feature in DSL designer issue.
Additional Toolbox Tab
Self-contained Embedding
New version of DMD -> DD is available…
DSL Setup project fails to compile
Where can i get more documents of DLS To…
Why is creating concrete syntax so hard?
DSL and XMI interchange format
Change 'arrowStyle' of a connector at ru…
Deployment - template doesn't appear und…
timescale for DSL additions
Custom Storage setting...
Package Load Failure
How access to a connector property