[umbrello] [Bug 403808] Realization of ball-and-socket notation for simple ports like in UML 2 structured classifiers specification

2019-11-23 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=403808

Ralf Habacker  changed:

   What|Removed |Added

   Target Milestone|--- |2.29 (KDE Applications
   ||19.08)

-- 
You are receiving this mail because:
You are watching all bug changes.

[umbrello] [Bug 403808] Realization of ball-and-socket notation for simple ports like in UML 2 structured classifiers specification

2019-08-06 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=403808

--- Comment #8 from Ralf Habacker  ---
Git commit 3d1984979cd3b621bd4e7c6db38433d18a550672 by Ralf Habacker.
Committed on 06/08/2019 at 12:39.
Pushed by habacker into branch 'Applications/19.08'.

Add UML2 support for "required interface" associations

With UML2 a "required interface" association is created by adding a
normal association from the interface to the component, wherein adding
an association from the component to the interface creates a "provided
interface".

With UML1, according to current research, there is no visible label for
a required interface mapping. This behavior has been corrected.
Related: bug 115269
(cherry picked from commit 48ae6b8ec83505a22cdc8811feeafa3040db13a7)

M  +142  -136  umbrello/assocrules.cpp
M  +2-0umbrello/assocrules.h
M  +25   -14   umbrello/umlwidgets/classifierwidget.cpp

https://commits.kde.org/umbrello/3d1984979cd3b621bd4e7c6db38433d18a550672

-- 
You are receiving this mail because:
You are watching all bug changes.

[umbrello] [Bug 403808] Realization of ball-and-socket notation for simple ports like in UML 2 structured classifiers specification

2019-08-06 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=403808

Ralf Habacker  changed:

   What|Removed |Added

  Latest Commit|https://commits.kde.org/umb |https://commits.kde.org/umb
   |rello/48ae6b8ec83505a22cdc8 |rello/00ca55576b815ddd54466
   |811feeafa3040db13a7 |d1da48eeecf04d6b0d2
   Version Fixed In|2.29.80 (KDE Applications   |2.29.0 (KDE Applications
   |19.11.80)   |19.08.0)

--- Comment #9 from Ralf Habacker  ---
Git commit 00ca55576b815ddd54466d1da48eeecf04d6b0d2 by Ralf Habacker.
Committed on 06/08/2019 at 12:40.
Pushed by habacker into branch 'Applications/19.08'.

Activate newly added association rules for UML2 "required interface"

Fixup of commit 48ae6b8ec83505a22cdc8811feeafa3040db13a7.

(cherry picked from commit 0514f21fbc66e54a3afb8e91d89e38b127ac1ff2)
Related: bug 115269
FIXED-IN:2.29.0 (KDE Applications 19.08.0)

M  +3-4umbrello/assocrules.cpp

https://commits.kde.org/umbrello/00ca55576b815ddd54466d1da48eeecf04d6b0d2

--- Comment #8 from Ralf Habacker  ---
Git commit 3d1984979cd3b621bd4e7c6db38433d18a550672 by Ralf Habacker.
Committed on 06/08/2019 at 12:39.
Pushed by habacker into branch 'Applications/19.08'.

Add UML2 support for "required interface" associations

With UML2 a "required interface" association is created by adding a
normal association from the interface to the component, wherein adding
an association from the component to the interface creates a "provided
interface".

With UML1, according to current research, there is no visible label for
a required interface mapping. This behavior has been corrected.
Related: bug 115269
(cherry picked from commit 48ae6b8ec83505a22cdc8811feeafa3040db13a7)

M  +142  -136  umbrello/assocrules.cpp
M  +2-0umbrello/assocrules.h
M  +25   -14   umbrello/umlwidgets/classifierwidget.cpp

https://commits.kde.org/umbrello/3d1984979cd3b621bd4e7c6db38433d18a550672

-- 
You are receiving this mail because:
You are watching all bug changes.

[umbrello] [Bug 403808] Realization of ball-and-socket notation for simple ports like in UML 2 structured classifiers specification

2019-08-05 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=403808

Ralf Habacker  changed:

   What|Removed |Added

   Version Fixed In|2.28.80 (KDE Applications   |2.29.80 (KDE Applications
   |19.11.80)   |19.11.80)

-- 
You are receiving this mail because:
You are watching all bug changes.

[umbrello] [Bug 403808] Realization of ball-and-socket notation for simple ports like in UML 2 structured classifiers specification

2019-08-05 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=403808

Ralf Habacker  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
  Latest Commit||https://commits.kde.org/umb
   ||rello/48ae6b8ec83505a22cdc8
   ||811feeafa3040db13a7
   Version Fixed In||2.28.80 (KDE Applications
   ||19.11.80)
 Resolution|--- |FIXED

--- Comment #7 from Ralf Habacker  ---
Git commit 48ae6b8ec83505a22cdc8811feeafa3040db13a7 by Ralf Habacker.
Committed on 05/08/2019 at 04:58.
Pushed by habacker into branch 'master'.

Add UML2 support for "required interface" associations

With UML2 a "required interface" association is created by adding a
normal association from the interface to the component, wherein adding
an association from the component to the interface creates a "provided
interface".

With UML1, according to current research, there is no visible label for
a required interface mapping. This behavior has been corrected.

M  +142  -136  umbrello/assocrules.cpp
M  +2-0umbrello/assocrules.h
M  +2-0umbrello/icons.qrc
M  +25   -14   umbrello/umlwidgets/classifierwidget.cpp

https://commits.kde.org/umbrello/48ae6b8ec83505a22cdc8811feeafa3040db13a7

-- 
You are receiving this mail because:
You are watching all bug changes.

[umbrello] [Bug 403808] Realization of ball-and-socket notation for simple ports like in UML 2 structured classifiers specification

2019-08-03 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=403808

Ralf Habacker  changed:

   What|Removed |Added

 Blocks||115269


Referenced Bugs:

https://bugs.kde.org/show_bug.cgi?id=115269
[Bug 115269] Implement the UML 2.0 standard
-- 
You are receiving this mail because:
You are watching all bug changes.

[umbrello] [Bug 403808] Realization of ball-and-socket notation for simple ports like in UML 2 structured classifiers specification

2019-08-03 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=403808

Ralf Habacker  changed:

   What|Removed |Added

 Attachment #117800|0   |1
is obsolete||

-- 
You are receiving this mail because:
You are watching all bug changes.

[umbrello] [Bug 403808] Realization of ball-and-socket notation for simple ports like in UML 2 structured classifiers specification

2019-08-03 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=403808

--- Comment #6 from Ralf Habacker  ---
(In reply to sggdev.im from comment #2)
> Created attachment 117800 [details]
> attachment-988-0.html

You do not need to add a reply as attachment. Instead you can simply reply to a
message and cut out the uninteresting texts. ;-)

> I think the best way is

>> "4. Reuse one of the available association type for supporting sockets"
I agree 

> Dependence association is the best candidat for this.

This only is true for UML1 diagrams, not for UML2 where dependencies are an
independent association type (see 
http://agilemodeling.com/artifacts/componentDiagram.htm)

What remains is one or both of the following options added to (what I can see
yet) normal associations.

>> 1. Take the orientation of the association as flag for showing the ball
>> (provide) or socket (required). Adding the association from component to
>> interface, means provide and from interface to component specifies
>> require. 
>>
>> 2. Add support for a <> stereotype to specify a required
>> interface

>>
>> I think it is required to check first if there are any UML2 related
>> specifications to get an indication, which of the mentioned solution would
>> be the best.
The above mentioned example do not show any stereotypes on the "required"
association, which let me think that option 1. would be the best.

To get an impression, it would be interesting to see how other UML tools do
this.

-- 
You are receiving this mail because:
You are watching all bug changes.

[umbrello] [Bug 403808] Realization of ball-and-socket notation for simple ports like in UML 2 structured classifiers specification

2019-07-22 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=403808

--- Comment #5 from Ralf Habacker  ---
Git commit 366c2e4f4be5937efc640fa9298fe12fc9c7794d by Ralf Habacker.
Committed on 22/07/2019 at 21:40.
Pushed by habacker into branch 'Applications/19.08'.

Make WidgetRole struct member umlWidget save against dangled pointers

M  +1-1umbrello/umlwidgets/associationwidget.h

https://commits.kde.org/umbrello/366c2e4f4be5937efc640fa9298fe12fc9c7794d

--- Comment #4 from Ralf Habacker  ---
Git commit 6c00e9878fec11f397d4f044439efda06946fcfa by Ralf Habacker.
Committed on 22/07/2019 at 21:40.
Pushed by habacker into branch 'Applications/19.08'.

We do not need a cast to get UMLWidget::localID() because it is not a virtual
method

M  +2-2umbrello/umlwidgets/associationwidget.cpp
M  +1-1umbrello/umlwidgets/widget_utils.cpp

https://commits.kde.org/umbrello/6c00e9878fec11f397d4f044439efda06946fcfa

-- 
You are receiving this mail because:
You are watching all bug changes.

[umbrello] [Bug 403808] Realization of ball-and-socket notation for simple ports like in UML 2 structured classifiers specification

2019-07-22 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=403808

--- Comment #4 from Ralf Habacker  ---
Git commit 6c00e9878fec11f397d4f044439efda06946fcfa by Ralf Habacker.
Committed on 22/07/2019 at 21:40.
Pushed by habacker into branch 'Applications/19.08'.

We do not need a cast to get UMLWidget::localID() because it is not a virtual
method

M  +2-2umbrello/umlwidgets/associationwidget.cpp
M  +1-1umbrello/umlwidgets/widget_utils.cpp

https://commits.kde.org/umbrello/6c00e9878fec11f397d4f044439efda06946fcfa

-- 
You are receiving this mail because:
You are watching all bug changes.

[umbrello] [Bug 403808] Realization of ball-and-socket notation for simple ports like in UML 2 structured classifiers specification

2019-02-03 Thread Gerhard Landsmann
https://bugs.kde.org/show_bug.cgi?id=403808

--- Comment #3 from Gerhard Landsmann  ---
PLEASE GET ME OFF THE DISTRIBUTION!!!


Am 03.02.19 um 10:22 schrieb bugzilla_nore...@kde.org:
> https://bugs.kde.org/show_bug.cgi?id=403808
>
> --- Comment #2 from sggdev...@gmail.com ---
> I think the best way is
>
> "4. Reuse one of the available association type for supporting sockets"
>
> Dependence association is the best candidat for this.
>
> сб, 2 февр. 2019 г., 3:04 Ralf Habacker bugzilla_nore...@kde.org:
>
>> https://bugs.kde.org/show_bug.cgi?id=403808
>>
>> Ralf Habacker  changed:
>>
>> What|Removed |Added
>>
>> 
>>   CC||ralf.habac...@freenet.de
>>
>> --- Comment #1 from Ralf Habacker  ---
>>> Umbrello need to implement one more connection type - Required
>> Connection.
>> Just some notes:
>>
>> 1. In UML (and umbrello) such connections are named associations (see
>> https://en.wikipedia.org/wiki/Association_(object-oriented_programming))
>>
>> 2. The socket symbol has been introduced by UML to indicate a required
>> interface (www.agilemodeling.com/artifacts/componentDiagram.htm)
>>
>> 3. The current implementation of umbrello uses an UMLAssociation type
>> 'association' connected to the interface for "providing" that interface.
>>
>> 4. in umbrello the interface get a socket symbol by adding an additional
>> dependency or generalization.
>>
>> The question is how to add this new association type.
>>
>> Currently the following solutions come to my mind:
>>
>> 1. Take the orientation of the association as flag for showing the ball
>> (provide) or socket (required). Adding the association from component to
>> interface, means provide and from interface to component specifies
>> require. The
>> added association then needs a property to switch the direction  (relative
>> easy
>> to implement)
>>
>> 2. Add support for a <> stereotype to specify a required
>> interface
>>
>> 3. Another option would be to use a different association type (much more
>> implementation work)
>>
>> 4. Reuse one of the available association type for supporting sockets.
>>
>> I think it is required to check first if there are any UML2 related
>> specifications to get an indication, which of the mentioned solution would
>> be
>> the best.
>>
>> --
>> You are receiving this mail because:
>> You reported the bug.

-- 
You are receiving this mail because:
You are watching all bug changes.

[umbrello] [Bug 403808] Realization of ball-and-socket notation for simple ports like in UML 2 structured classifiers specification

2019-02-03 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=403808

--- Comment #2 from sggdev...@gmail.com ---
I think the best way is

"4. Reuse one of the available association type for supporting sockets"

Dependence association is the best candidat for this.

сб, 2 февр. 2019 г., 3:04 Ralf Habacker bugzilla_nore...@kde.org:

> https://bugs.kde.org/show_bug.cgi?id=403808
>
> Ralf Habacker  changed:
>
>What|Removed |Added
>
> 
>  CC||ralf.habac...@freenet.de
>
> --- Comment #1 from Ralf Habacker  ---
> > Umbrello need to implement one more connection type - Required
> Connection.
> Just some notes:
>
> 1. In UML (and umbrello) such connections are named associations (see
> https://en.wikipedia.org/wiki/Association_(object-oriented_programming))
>
> 2. The socket symbol has been introduced by UML to indicate a required
> interface (www.agilemodeling.com/artifacts/componentDiagram.htm)
>
> 3. The current implementation of umbrello uses an UMLAssociation type
> 'association' connected to the interface for "providing" that interface.
>
> 4. in umbrello the interface get a socket symbol by adding an additional
> dependency or generalization.
>
> The question is how to add this new association type.
>
> Currently the following solutions come to my mind:
>
> 1. Take the orientation of the association as flag for showing the ball
> (provide) or socket (required). Adding the association from component to
> interface, means provide and from interface to component specifies
> require. The
> added association then needs a property to switch the direction  (relative
> easy
> to implement)
>
> 2. Add support for a <> stereotype to specify a required
> interface
>
> 3. Another option would be to use a different association type (much more
> implementation work)
>
> 4. Reuse one of the available association type for supporting sockets.
>
> I think it is required to check first if there are any UML2 related
> specifications to get an indication, which of the mentioned solution would
> be
> the best.
>
> --
> You are receiving this mail because:
> You reported the bug.

-- 
You are receiving this mail because:
You are watching all bug changes.

[umbrello] [Bug 403808] Realization of ball-and-socket notation for simple ports like in UML 2 structured classifiers specification

2019-02-01 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=403808

Ralf Habacker  changed:

   What|Removed |Added

 CC||ralf.habac...@freenet.de

--- Comment #1 from Ralf Habacker  ---
> Umbrello need to implement one more connection type - Required Connection.
Just some notes:

1. In UML (and umbrello) such connections are named associations (see
https://en.wikipedia.org/wiki/Association_(object-oriented_programming))

2. The socket symbol has been introduced by UML to indicate a required
interface (www.agilemodeling.com/artifacts/componentDiagram.htm)

3. The current implementation of umbrello uses an UMLAssociation type
'association' connected to the interface for "providing" that interface. 

4. in umbrello the interface get a socket symbol by adding an additional
dependency or generalization.

The question is how to add this new association type.

Currently the following solutions come to my mind:

1. Take the orientation of the association as flag for showing the ball
(provide) or socket (required). Adding the association from component to
interface, means provide and from interface to component specifies require. The
added association then needs a property to switch the direction  (relative easy
to implement)

2. Add support for a <> stereotype to specify a required interface

3. Another option would be to use a different association type (much more
implementation work)

4. Reuse one of the available association type for supporting sockets.

I think it is required to check first if there are any UML2 related
specifications to get an indication, which of the mentioned solution would be
the best.

-- 
You are receiving this mail because:
You are watching all bug changes.