Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Sunshine

Pages: 1 ... 23 24 [25] 26 27 ... 46
361
General Board / Re: Patterns and resulting element names
« on: November 09, 2015, 10:41:02 am »
I don't believe that feature is available however you can do it via
a) JScript
b) SQL statement in Search Model

The latter using SQL would be faster and would look something like this if you have SQL Server as a repository
Code: [Select]
Update t_object Set Name = replace(Name, '_Name_', 'Tiger');


See more at: http://www.sqlteam.com/article/using-replace-in-an-update-statement#sthash.0t6xcRxu.dpuf

Alternatively if its an MS Access DB just open the repository in MS Access and do a search and replace on the Name in t_object table.

Probably best to back up your repository before doing it just in-case it goes pear shaped and you replace things unintentionally.

Hope that helps.
 :)

362
General Board / Re: Add new toolbox, elements with default images?
« on: October 21, 2015, 07:52:21 pm »
Glad I can help.

363
General Board / Re: Add new toolbox, elements with default images?
« on: October 17, 2015, 09:53:38 am »
Yes you certainly can as I've done this with Enterprise Application Integration Patterns by Gregor Hohpe and Bobby Woolf.

You need to create an MDG which four parts
- Stereotypes
- Diagram type
- Toobox
- Images which you import into the model. Use emf or wmf format if you want transparent backgrounds otherwise they don't work.

You can use alternative image on the stereotype but you then have to import the image library into each model. An alternative way is to export the images into the MDG and use a shape script. That way you don't have to mess around importing image libraries into the model you are working on. Here is the an example shape script. The trick is to prefix the image withe the MDG name. In this case its EAI
Code: [Select]
shape main
{
      layouttype="border";
      image("EAI::Messaging",0,0,100,100);
      addsubshape("name","S");

      shape name
      {
            h_align="center";
            print("#NAME#");
      }
}

For each stereo type you will need three attributes
_metatype = the name of the new type
_image = holds shape script
_icon = a 16x16 bit map used in the toolbox and project browser.

Hope that helps.
 :)

364
General Board / Re: SQL Server extended properties
« on: October 07, 2015, 11:24:22 am »
Haven't tried this but if you can't see a direct way of doing it here are some alternative ideas to work around it;
a) Export to csv file and import into your database to populate the descriptions.
b) Write some SQL to populate the target DB with descriptions directly from the Sparx EA repository(database).
 :)

365
General Board / Re: Display package in rectangular notation.
« on: September 25, 2015, 05:50:51 pm »
You can use UML stereotypes and shapescript
i.e.
Menu Project>Settings>UML Types
Create new stereotype for package like "Rectangle"
Add shape script like below
Then for a package select stereotype "Rectangle" and shapescript kicks in and draws a rectangle for the package.
Code: [Select]
shape main
{
     rectangle(0,0,100,100);
     addsubshape("namecompartment",100,100);
     shape namecompartment
     {
          h_align = "center";
          editablefield = "name";
          println("#name#");
     }
}
Hope that helps.
BTW I've just sent Martin R. at MinEdu an EA MDG which has some of these
 :)

366
General Board / Re: ArchiMateŽ Model Exchange File Format
« on: August 17, 2015, 06:57:05 am »
Quote
Oh I'm totally with you that EA is a cost effective tool, but it's amazing the quotes you get from systems integrators and the like to deliver it as a solution.  For example you may have a rule in an organisation that if an application is going to be deployed to more than five works stations it must be packaged for deployment.  Even tho' it's simple to break the EA .msi out of the .exe and load into a deployment tool it's hard to get the engagement down to under 15 person hours of chargeable time.  
Right see where you are coming from. A "system integrator" that's milking it is the inhibitor. unfortunately you are not alone.  :(

367
General Board / Re: ArchiMateŽ Model Exchange File Format
« on: August 14, 2015, 06:52:32 am »
Quote
Budgetary intervals are longer than thirty days.
Depending which edition you want of course but most people go for corporate, so US $239 isn't going to break the bank. Most businesses don't even blink at that cost. 30 days should  be more than enough to help you do a proof of concept and decide if its the right tool for the job.
Just saying people often spend more time and money than they would just purchasing the product.

368
General Board / Re: ArchiMateŽ Model Exchange File Format
« on: August 13, 2015, 11:53:11 am »
You could use the 30 day trial version of Sparx EA to prove the value then you wouldn't have to worry about importing.

369
General Board / Re: Export data models from EA to PowerDesigner
« on: August 07, 2015, 04:52:10 pm »
Got a C# add-in to do it the other way Power Designer to EA  :)
Going back to Power Designer aye? :-?

370
General Board / Re: Diagram Background Colour - HTML
« on: July 17, 2015, 06:43:59 am »
As far as I can tell the diagrams generated in HTML and RTF always have a white backgrounds and there is no way to change it. A Good idea for a future feature though.
If you really can't live without a coloured background then a possible work around is to put a boundary object on the diagram. Set the boundary to solid fill by double clicking on border and selecting border style solid. Send the boundary to the bottom z order so its behind all the other objects on the diagram by right clicking menu >z-order> send to bottom. Stretch to the size of boundary to size of the diagram. And finally change the line and fill colours to those that you desire.
Hope that helps.

371
General Board / Re: New Image Library?
« on: July 23, 2015, 07:28:02 pm »
Very nice :). Thanks for the heads up Ben.

372
General Board / Re: New Image Library?
« on: November 11, 2014, 06:48:40 am »
Quote
Not seeing any new images in EA 12.,
or from the downloadable image library.
The EA example does have some curious images though
Yeah whats happened to that new image library Sparxs?

373
General Board / Re: New Image Library?
« on: September 10, 2014, 07:57:21 am »
Quote
Nice table about the product growth. Puts # of licenses against features introduced which suggests that the new features triggered the increase. Why do I see it the way that more licenses have been sold despite the new features?

q.
Dunno why do you see it that way?
Granted there probably isn't a correlation between features and licenses sold.

Nice to know I was an early adopter back in 2004. Is it really that long ago, 10 years?  

374
General Board / Re: New Image Library?
« on: September 09, 2014, 01:37:44 pm »
There was a user group presentation from Tom O'Reilley on EA V11 and on slide 37 it has the new library of images.
http://www.in2grateit.com/EANorthAmerica/Presentations/Tom%20O%27Reilley%20-%20Enterprise%20Architect%2011.pdf
How does that song go?
Why are we waiting
Why are we waiting
Why are we waiting oh why oh why

375
General Board / Re: New Image Library?
« on: August 29, 2014, 09:10:16 am »
Quote
Has anyone noticed this as yet?  :question
No doesn't seem to have appeared yet. Although I saw another presentation and it had a whole lot of images. Can't remember which presentation though.

Pages: 1 ... 23 24 [25] 26 27 ... 46