Static fields (#368)

Class diagram

Right clicked menu

-> methods cannot be set as static (in diagram properties can be)

-> fields can be set as static (highlighted by underline) but cannot be set as static in diagram properties; moreover this state (set as static) is non-persistent

To achieve behavior

1) star new project

2) create class diagram

3) fill some field

4) fill some method

5) via RClick / Modifiers/Static set as field static

6) confirm by field being underlined

6.5) fail to find "modifiees" submenu in RClick

7) via RClick/properties/methods/chkBox set method as static

8) confirm by field being underlined

9) save

10) exit program

11) open program

12) load project

13) confirm static modifier lost from field

Expected behavior:

being able to set static both methods and fields

being able to set both via RClick menu

being able to set both via properties dialog

preserve the state after save

Created
24 June 2014 12:09:43
Closed
7 July 2014 0:30:26
Requested by
chmirko
State
Solved
Version
6.51
OperatingSystem
Windows 7
Solved in
7.50

Dusan Rodina - softwareideas.net 24 June 2014 13:22:11

Thank you for your notice, it will be fixed in the next release.

TrackedRequestComment
Your Name:
You can use these formatting tags: [b]bold[/b] [i]italic[/i] [u]underline[/u] [url]www.example.com[/url] [code]some code[/code] [quote]quoted text[/quote] [list]one list item per line[/list]