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 - node.pl

Pages: [1]
1
Suggestions and Requests / Re: Links shortcuts
« on: December 07, 2015, 08:11:50 am »
I don't know how to assign shortcut to the script.
I need really quick way to handle these dear arrows (and their labels) since I am in the middle of EA model for really big company. I have literally thousands of objects here and a wild horde of arrows - argh...
It is not only about line style but also label text direction and handling problems of lost labels (when you put they manually somewhere and next change the link position then label is hard to find).
I appreciate and I use scripts but they are rather workaround then proper solution.
What more I guess adding shortcuts for Sparx guys would be just a less then 4 hours of effort... (and for me is many hours or even days of clicking, even using scripts). Please rescue me from clicking!

2
Suggestions and Requests / Re: Links shortcuts
« on: December 05, 2015, 04:19:29 am »
Yep - I have found your script before - thanks! It helped a lot.
... but still it is two click too far...

3
Suggestions and Requests / Links shortcuts
« on: December 05, 2015, 03:45:49 am »
Hi,
Since version 12 ( guess) there are nice shortcuts on object: (n) to go to note or (r) show relations. That is great!

How about create similar behavior for links?
For example when you press link could set line style direct, when you press space reset to the shortest path etc.

Here is a full list:
1 - Line style Direct
2 - Line style Autorouting
3 - Line style Custom Line
4 - Tree Style - Vertical
5 - Tree Style - Horizontal
6 - Lateral - Vertical
7 - Lateral - Horizontal
8 - Orthogonal - Square (there is no shortcut now, I dream about this one!)
9 - Orthogonal - Rounded
[ - flip all link labels anticlockwise
] - flip all link labels clockwise
shift-h - hide link on all other diagrams

and two more (there is now not such function):
space - reset to shortest path
l - reset label position (sometimes they tend to get lost)

I spend hours on big diagram with a lot of links and it would save me a lot of time next time.

How about other users? Do you like the idea? If yes please back me up here :-)

Best regards,
Tomek

4
For some reasons Sparx refuse to enable multiselect edit capability for years. It is obviously needed - I cannot understand their stubbornness.

Anyway... please see http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1427040005

you can find there a simple script for workaround. Script uses multiselect in the project browser but you can fairly simply change it to run on diagram elements. It is also possible to add custom windows but it needs Visual Studio experience, so it is not so easy if you have none (like me).

qwerty's books are helpful :-)

Quote
Actually there is simple workaround using scripting feature...

5
Actually there is simple workaround using scripting feature. It does not mean that proper functionality is not needed...


1. Open scripting.
2. Create or open project browser group
3. Create script "Mulit-update Alias" in that group:

(tested in EA 12 and 12.1)

!INC Local Scripts.EAConstants-JScript
!INC EAScriptLib.JScript-Dialog


/*
 * Script Name: Multielement update
 *
 * Author: tkazimie
 * Purpose: Update alias field for muli-selected elements project browser
 * Date: 2015.10.23
 *
 * Select elements in Project Browsera, right click and choose "Scripts / Mulit-update Alias" from the context menu
 *
 *
 */



/*
 * Project Browser Script main function
 */
function OnProjectBrowserScript()
{
      
      // Get the type of element selected in the Project Browser
      var selElem as EA.Collection;

      var wart=DLGInputBox( 'New alias', 'Multi-select element update', '');
      
      selElem = Repository.GetTreeSelectedElements();
      for (i=0; i < selElem.Count; i++) {
            var e as EA.Element;
            e = selElem.GetAt(i);
            Session.Output('Element changed:'+e.Name);
            e.Alias = wart;
            e.Update();
            e.Refresh();
      }
}

OnProjectBrowserScript();



6
Please allow multiple selection properties edit - at least in docked properties sheet. It would be extremely(!) powerful when setting statuses, versions, authors etc.

If anybody have idea how to achieve it without massive direct update of the database please share.

7
Suggestions and Requests / Re: Speller for Polish
« on: March 31, 2015, 06:57:53 pm »
Simon,
List of polish words you can find here:

http://www.michalwolski.pl/wp-content/plugins/download-monitor/download.php?id=spell_pl.zip

(Thanks to Michal Wolski)

8
Suggestions and Requests / Speller for Polish
« on: March 23, 2015, 02:56:20 am »
Please add speller for Polish language. Current restriction discourages use EA for documentation purpose.

9
Suggestions and Requests / Dragging from diagram to Project browser
« on: March 24, 2015, 01:40:14 am »
It would be very useful to enable dragging elements from diagram to the project browser. It is quite common to create object within the diagram (e.g. requirements) and next move them into proper folder, which could be far, far away.

10
Suggestions and Requests / Comments in HTML report
« on: March 23, 2015, 03:09:36 am »
HTML reports from the repository are the great tool simplifying communication with business users.

They would be even more useful if users could add comments directly from the browser. Output could be CSV with issues pointing commented objects or diagrams.

11
Suggestions and Requests / Shortcuts for SVN
« on: March 23, 2015, 02:54:01 am »
It will be great help to have shortcuts for SVN:

Package checkout
Package checkin
Checkin branch
Checkout branch
Get latest
Get all latest

now it is always mouse action, which is quite inconvenient when used frequently

12
Bugs and Issues / Problems with scaling on high resolution display
« on: November 14, 2015, 10:31:56 am »
I use EA on 2880x1800 display. Windows 8 and 10 lets to set scaling factor - 200% looks ok. Unfortunately some elements of the UI and diagrams does not scale well. Most annoying are:
1. When enter into edit diagram elements - edited fonts are huge. Problem exist on diagrams of any types.
2. In wireframe using Header produces enormous text on diagram.
3. Older Win32 diagrams are blow-out in high resolution mode. There is perfect mess displayed in the diagrams. When showing the same diagram with scale factor set to 100% problem disappear.
4. When shift clicking relations (to enable bend-points it is very difficult to click again into the same point to remove bend).
5. Some elements of UI are to scaled: buttons "Show hide/diagram button", "Select current diagram/view" and "Close current diagram or view" are tiny.
Please correct in 12.1

13
Hi,
I like to show dialog in JScript (in EA scripting) similar  to DLGInputBox from EAScriptLib.JScript-Dialog but having not one but many inputs at once eg.: Name, Alias, Version etc.

I can see that inside DLGInputBox ActiveXObject("ScriptControl") is used.
Is there any other dialog which could be employed instead?

Thanks,
Tomasz

Pages: [1]