Skip to content

Add icon for flow implementation. Display proper icon based on selected#2480

Merged
lwrage merged 3 commits intomasterfrom
2440_2442_add_icons_outline_view
Oct 27, 2020
Merged

Add icon for flow implementation. Display proper icon based on selected#2480
lwrage merged 3 commits intomasterfrom
2440_2442_add_icons_outline_view

Conversation

@asazonova
Copy link
Copy Markdown
Contributor

@asazonova asazonova commented Oct 7, 2020

Add icon for flow implementation. Display proper icon based on selected specification implementation: display flow path, sink or source

Fixes #2440

specification implementation: display flow path, sink or source
@asazonova asazonova requested a review from lwrage October 7, 2020 21:24
@asazonova
Copy link
Copy Markdown
Contributor Author

I also changed FlowSink.gif file only because it shows up with white background in dark theme view (all others have transparent background, so they show up with black background). New file also has transparent background to match the others

Copy link
Copy Markdown
Contributor

@lwrage lwrage left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add an icon for end to end flow.

Comment on lines +150 to +153
} else if (((FlowImplementationImpl) object).getInEnd() == null) {
return overlayImage(object, getResourceLocator().getImage("full/obj16/FlowSource"));
} else if (((FlowImplementationImpl) object).getOutEnd() == null) {
return overlayImage(object, getResourceLocator().getImage("full/obj16/FlowSink"));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add icons for flow source/sink implementation (and I above the line like flow implementation).

return overlayImage(object, getResourceLocator().getImage("full/obj16/FlowSink"));
}

return overlayImage(object, getResourceLocator().getImage("full/obj16/FlowImplementation"));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For consistency name this file FlowPathImplementation.gif

@asazonova asazonova requested a review from lwrage October 15, 2020 17:03
implementation sink/path/source. Add icon for end to end flow
@lwrage
Copy link
Copy Markdown
Contributor

lwrage commented Oct 27, 2020

This PR doesn't fix #2442 because the labels are still either Flow Specification or Flow Implementation. I'll merge it to close #2440 and move #2442 back to "Next".

@lwrage lwrage merged commit c7760d1 into master Oct 27, 2020
@lwrage lwrage deleted the 2440_2442_add_icons_outline_view branch October 27, 2020 16:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

No icons for flows in outline view

2 participants