himselfv / viper

Enhanced Windows Service manager application
35 stars 2 forks source link

Show dependency groups in dependencies #5

Closed himselfv closed 6 years ago

himselfv commented 8 years ago

Original report by me.

Dependency groups are dependency IDs starting with "+". This means at least one of the services from this group should be started.

Currently they are ignored as there's no way to show non-service entries in ServiceList. Perhaps we should add a special type of group node and all group contents as sub-items of it.

himselfv commented 8 years ago

Perhaps this kind of group-node might prove useful for grouping normal services in the main list. (Or maybe flat grouping, if ever implemented, could in turn be used to visualize dependency groups in dependencies).

himselfv commented 6 years ago

Adding the ability to add random nodes to service list, in this case folders. Made it so that Dependency loader creates an empty folder for each dependency group it finds referenced in the list. Need to test that it works. Then to populate it with all services from that dependency group.

Also: Need a way to better customize possible columns for Folder nodes. (Currently only the main one is populated with the Name text). Need a way to configure sorting between different types of TObject entries (TServiceEntry/TTreeFolder). Maybe a class var or a virtual class function GetPriority? Though it's a bit clumsy. What about precise sorting, for instance sorting by name, without regard to what it is, a folder or a service? So basically it would be nice to somehow provide an extension to the sorting routine which could do everything the base handler can do. Have to think on this.

himselfv commented 6 years ago

Basic copy columns should also work with custom nodes. (Currently implemented by looking directly at the service entry)

himselfv commented 6 years ago

Should also be able to deleted missing dependencies from the dependency list? Or does that even make sense? We cannot edit the dependencies right now. I guess I should split off the dependency list into its own ServiceList descendant and extend it with actions to edit the list.

himselfv commented 6 years ago

Done, except for the deletion part. Currently dependency list editing is simply not available.