Skip to content

Feed aggregator

UML for a migration project.

UML Forum Google Group - Wed, 07/07/2010 - 20:11
Hi Folks,

I'm fairly new to UML, but I'm trying to integrate it into projects as
I get the opportunity.

Currently I'm working on a migration project and I'm using Enterprise
Architect to document the target database including adding
constraints. I then generate DDL to create a target database and write

Categories: Communities

Re: [UML Forum] Activity Diagram: Concept and clear traceability of data tokens

UML Forum Google Group - Wed, 07/07/2010 - 20:11
Responding to Huellein...
That's fine. It is really determined by the methodology that makes
things play together. Not everything in UML needs to be used in every
application; it is a hybrid notation intended to support quite different
construction approaches.
In this case what you describe is more Domain Modeling or a form of
Categories: Communities

Re: [UML Forum] Activity Diagram: Concept and clear traceability of data tokens

UML Forum Google Group - Wed, 07/07/2010 - 20:11
Thank you for your detailed answer. Especially the part about using AD at
all was very interesting. At the moment I am using them very
extensive to describe workflows which are not yet modelled in terms of
classes and methods. They shall picture the next level after Use
Cases, so which part takes (in general) an action or how (a very small
Categories: Communities

how to make UML class diagram for MVC-application?

UML Forum Google Group - Wed, 07/07/2010 - 20:11
how is supposed to be
please help
and sorry for broken english

got a project on cakePHP
i need to make a class diagrams
its for my university

i've got 4 controllers and 4 models. each controller has one or many
views.

so
how do people usually draw class diagrams for it

sorry

Categories: Communities

How to create InstanceSpecification from ExecutionEnvironment (or Component)

UML Forum Google Group - Wed, 07/07/2010 - 20:11
Hello,

I would like to create an InstanceSpecification object from an
ExecutionEnvironment one (or Component).

Is there a way to do it with the UML2 API?

Thanks in advance.

Nicolas

Categories: Communities

CfP: The 10th workshop on Domain-Specific Modeling

UML Forum Google Group - Wed, 07/07/2010 - 20:11
The 10th workshop on Domain-Specific Modeling
Reno/Tahoe, Nevada, USA, 17-18 October 2010
[link]

Domain-specific modeling (DSM) provides a modern solution to demands
for higher productivity by constricting the gap between problem and
solution modeling. In the past, productivity gains have been sought

Categories: Communities

ATL wins the Best Live model synchronization award at the Tool Transformation Contest 2010

Software Modeling Blog - Wed, 07/07/2010 - 05:47

The ATL team (composed by Frédéric Jouault and Dennis Wagelaar ) won the Best Model Synchronization award at the live contest hold during the Tool Transformation Contest 2010 event. Check the TTC web page for more information on the contest and the winners of other awards (if not yet there, they will add this information soon)

-->

 

read more

Categories: Blogs

ATL 3.1.0 is available

Software Modeling Blog - Wed, 07/07/2010 - 05:37

ATL 3.1.0 has just been released.

As many of you already know, ATL is a model transformation language and toolkit available as an Eclipse/M2M component. In the field of Model-Driven Engineering (MDE), ATL provides ways to produce a set of target models from a set of source models. This release brings a lot of improvements, both at the user interface level and core level. Read the
new improvements of this version !

-->

 

read more

Categories: Blogs

Atego launches Atego Process Director

Atego, the leading independent supplier of industrial-grade, collaborative development tools for engineering complex, mission- and safety-critical architectures, systems, software and hardware, has launched Atego Process Director, a ground-breaking, new web-based environment for process definition, management and deployment.
Categories: Companies

List of bloggers on MDE topics

Software Modeling Blog - Mon, 07/05/2010 - 23:48

Xavier Seignard has posted a list of all MDE bloggers he follows. The list looks quite complete (of course you should add him to the list!)
Remember that my own selected selection of bloggers on MDE (or software engineering in general) is available here

-->

 

read more

Categories: Blogs

Another nice list of free/open source UML tools

Software Modeling Blog - Mon, 07/05/2010 - 23:36
Check this new list of free and/or open source UML modeling tools. -->

 

read more

Categories: Blogs

Executable UML with Enterprise Analyst

Software Modeling Blog - Fri, 07/02/2010 - 12:23
Today Aleksandar Orlic presents us a new Executable UML tool Enterprise Analyst created by his craftware company :

Enterprise Analyst (EAn) is an MDA tool for rapid and precise system prototyping basen on UML models. Its ultimate goal is to offer a full UML based implementation platform as can be seen in the following tool schema

-->

 

read more

Categories: Blogs

Showing inherited and implemented methods

UML Forum Google Group - Thu, 07/01/2010 - 23:25
I'm wondering about what is considered good practice in the following
scenario.
Given two interfaces I1 and I2. Logically, if the language permitted
it, I would structure these as I2 inheriting from I1, but the language
in question does not currently support interface inheritance.
There are one or more concrete classes C1, C2, etc. Each is an
Categories: Communities

Re: [UML Forum] multiplicity constraints

UML Forum Google Group - Thu, 07/01/2010 - 23:25
Thanks all about your detailed answers
Categories: Communities

Re: [UML Forum] multiplicity constraints

UML Forum Google Group - Thu, 07/01/2010 - 23:25
Azzam,
azzam wrote, On 5/25/2010 1:16 AM:
Once in a great while I will use this, although I can't remember if it's
always temporary. Sometimes, rather than saying that class A has an
association with every subclass of class B, I'll just say class A has an
association with B and make the max multiplicity the number of subclasses.
Categories: Communities

Re: [UML Forum] multiplicity constraints

UML Forum Google Group - Thu, 07/01/2010 - 23:25
Responding to azzam...

Well, they should -- provided the constraints exist in the problem
space. Remember that UML models abstract some reality and not all
realities are constrained the same way. However,...

First, let me point out that 0- refers to conditionality, not
multiplicity. That is, it defines whether the association can be

Categories: Communities

[UML Forum] multiplicity constraints

UML Forum Google Group - Thu, 07/01/2010 - 23:25
Hello everybody,

UML offers several constraints, such as multiplicity constraints,
generalization set constraints, subsetting, and redefinitions. Recently I
began to wonder about the importance of these constraints in real models
(besides DATA BASE world). Actually, I was surprised that most examples I

Categories: Communities

Cursored or non Cursored

CapableObjects - Thu, 07/01/2010 - 17:45

Cursored set up is what we call the standard dialog display of one to many relationships. Like in normal master detail displays when the master has a current value, a cursor, that controls what details to show.

The non Cursored set up would be more like a tree – something that displays details for every parent available, not just the parent selected (the current master). This is what treeviews and reports do and it is something we want to be able to do using viewmodels as well.

Consider this model

 image

And this ViewModel:

image

The ViewModelUserControl uses a cursored set up when generating a UI:

   1: <StackPanel  Height="262" VerticalAlignment="Top" >
   2:     <Button Background="Yellow" Click="Button_Click">
   3:         <TextBlock Text="Click to Create New and Set in ViewModel" ></TextBlock>
   4:     </Button>
   5:     <viewmodel:ViewModelWPFUserControl Background="Azure" Name="viewModelWPFUserControl1"   
   6:                              EcoSpaceType="{x:Type eco:EcoProject12EcoSpace}" 
   7:                              ViewModelName="SampleViewModel" />
   8: </StackPanel>

Giving us this in VisualStudio WPF Designer:

image

And in this UI the Cursor set up sees to it that the Class3 grid only shows the Class3 objects owned by the current row in the Class2 grid; this is the standard behavior.

Nothing new here for ECO5 developers really.

In ECO6 for Visual Studio 2010 we added a new ViewModel consumer: the BindableViewModel.

This component replaces the ViewModelContent (ViewModelContent is not removed, and BindableViewModel use ViewModelContent under the hood).

The reason for adding BindableViewModel is mainly to provide Design time binding support. This was not possible in the WPF designer for Visual Studio 2008, but it is for Visual Studio 2010.

Check out this code that defines two BindableViewModels one cursored and one that is not cursored:

   1: <Window.Resources>
   2:      <wecpof:BindableViewModel x:Key="BindVM" 
   3:               EcoSpaceType="{x:Type eco:EcoProject12EcoSpace}" 
   4:               ViewModelName="SampleViewModel" 
   5:               Cursored="True"></wecpof:BindableViewModel>
   6:     <wecpof:BindableViewModel x:Key="BindVM2" 
   7:               EcoSpaceType="{x:Type eco:EcoProject12EcoSpace}" 
   8:               ViewModelName="SampleViewModel" 
   9:               Cursored="False"></wecpof:BindableViewModel>
  10: </Window.Resources>

We can then use the artifacts within the viewmodel.

Check out this treeview that use the non cursored BindableViewModel:

   1: <StackPanel DataContext="{StaticResource BindVM2 }" Background="Red">
   2:     <TextBlock x:Name="MyTextBlock2" 
   3:                Text="{Binding Path=SampleViewModel/Class2/Name}"></TextBlock>
   4:     <TreeView ItemsSource="{Binding Path=SampleViewModel/Class2}" >
   5:         <TreeView.ItemTemplate>
   6:             <HierarchicalDataTemplate ItemsSource="{Binding Path=Class3}" >
   7:                 <HierarchicalDataTemplate.ItemTemplate>
   8:                     <HierarchicalDataTemplate>
   9:                         <TextBlock Text="{Binding Path=AsString}"></TextBlock>
  10:                     </HierarchicalDataTemplate>
  11:                 </HierarchicalDataTemplate.ItemTemplate>
  12:                 <TextBlock Text="{Binding Path=Name}"></TextBlock>
  13:             </HierarchicalDataTemplate>
  14:         </TreeView.ItemTemplate>
  15:         
  16:     </TreeView>
  17: </StackPanel>

It looks like this at runtime:

image

Conclusion

Even if you are not going to use the Generated UI capabilities provided by the ViewModelUserControls you can still use the ViewModel-definitions. The ViewModel is a good place to keep any and all transformations you need between your domain layer and your presentation. The ViewModel also holds the infrastructure for verifying OCL expression and for Validation definitions (Described here). And now with the ability to use both a Cursored set up and a non Cursored set up the argument is even stronger. Top this with design time support to the bind to the ViewModel-classes and columns.

Categories: Companies

Jolt awards for the best design and modeling tool

Software Modeling Blog - Mon, 06/28/2010 - 18:38

Greg Wilson sent me a link to the prestigious Jolt Awards that include a category for the best design and modeling tool . Don't forget to send your nomination (but no need to hurry, according to this our category is open until July next year)

-->

 

read more

Categories: Blogs

Top 5 posts in May 2010

Software Modeling Blog - Mon, 06/28/2010 - 18:08

Time to review the five most popular blog eentries in May 2010 (according to your votes: number of votes=number of clicks on the post)are, in this order,:

-->

 

read more

Categories: Blogs