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:
- accept only a single file.
- accept files which file extension is not
001.
The validity element should look like this:
<validity maxfiles="1" maxfolders="0" fileextensions="001" inverse="fileextensions" />
The
Validity / Visibilityxml element in Configuration Files should have an attribute to inverse the logic of the validity/visibility. For instance, inverse thefileextensionsattribute.A typical use case is the following:
split filemenu accept only a single file. When executed, it generates multiple files of which the first "part" has the file extension001.join filesmenu accept all files that matchesfileextensions="001"Edit:
To prevent the
split filemenu 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 matchesfileextensions="001".In the end, the
split filemenu validity should be:001.The validity element should look like this: