Skip to content

Validity / Visibility should have an inverse attribute #49

@end2endzone

Description

@end2endzone

The Validity / Visibility xml element in Configuration Files should have an attribute to inverse the logic of the validity/visibility. For instance, inverse the fileextensions attribute.

A typical use case is the following:

  • A split file menu accept only a single file. When executed, it generates multiple files of which the first "part" has the file extension 001.
  • A join files menu accept all files that matches fileextensions="001"

Edit:
To prevent the split file menu to be displayed when user selects a *.001 file (we don't need to split a file twice), the menu should also not accept files that matches fileextensions="001".

In the end, the split file menu validity should be:

  1. accept only a single file.
  2. accept files which file extension is not 001.

The validity element should look like this:

<validity maxfiles="1" maxfolders="0" fileextensions="001" inverse="fileextensions" />

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions