Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Dec 20, 2022. It is now read-only.

Conversation

@d-gs
Copy link
Member

@d-gs d-gs commented Dec 13, 2021

Type of request

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Refactoring
  • Documentation or documentation changes

Related Issue(s)

Closes #36

Concept

Description of the change

  • Scalable cli-like dialog for any number of commands by using tab-folder composite
  • Add icons to the tab-items to indicate running/completed/failed commands.

Checklist:

  • All the commits are signed.
  • My code follows the code style of this project.
  • I agree with die CLA.
  • I have read the CONTRIBUTING docs.
  • I have added/updated necessary documentation (if appropriate).

Comment on lines 171 to 172
// TODO: if only one command, do we really need the tab-folder?
final CTabFolder tabFolder = new CTabFolder(parent, SWT.TOP);
Copy link
Member

Choose a reason for hiding this comment

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

I think, keeping a single tab-folder is better than changing the layout and interface (consistency). Furthermore, the recognition value is higher for the user.

Copy link
Member Author

Choose a reason for hiding this comment

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

Leftover for some considerations I have when I implemented. Next commit will remove this and other TODOs that are not any longer relevant.

@d-gs d-gs merged commit f508762 into main Dec 14, 2021
@d-gs d-gs deleted the gem/main/d-gs/#36 branch December 20, 2021 09:16
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

CommandProgressDialog does not scale with lots of commands

4 participants