Documentation

Trace:

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
visionx:userprofiles_filters [2020/04/03 13:05]
admin
visionx:userprofiles_filters [2020/05/22 21:56]
admin
Line 1: Line 1:
 ~~NOTRANS~~ ~~NOTRANS~~
 ~~Title: User Profiles and Filters~~ ~~Title: User Profiles and Filters~~
 +
 +=== Introduction ===
  
 The User Profile AddOn saves your screen layout if you close a screen and restores everything if you open the same screen again. This works per user and global. It's possible to create default screen layouts for every user and a specific user will use its own layout based on the global one. The AddOn also adds a new functionality to your tables: The User Profile AddOn saves your screen layout if you close a screen and restores everything if you open the same screen again. This works per user and global. It's possible to create default screen layouts for every user and a specific user will use its own layout based on the global one. The AddOn also adds a new functionality to your tables:
Line 28: Line 30:
  
 It's possible to add as many conditions as you want and single conditions can be en- or disabled. It's possible to add as many conditions as you want and single conditions can be en- or disabled.
 +
 +The customized filter also can be saved and loaded:
 +
 +{{:​visionx:​save_load_filter.png?​nolink|}}
 +
 +Another feature is and/or grouping. Decide which option is combined with and or or. 
 +
 +=== Customizing ===
 +
 +The AddOn is designed to be customizable. The default settings and implementations can be modified.The AddOn contains the class ProfileUtil which offers a lot of useful methods, like:
 +
 +<file java>
 +setDefaultTableInformationDialogClass(IApplication app, Class class)
 +</​file>​
 +
 +This method set the class which should be used to show the table information dialog. It's possible to extend the existing class **TableInformationDialog**.
 +It's also possible to change the table information dialog per Navigation table:
 +
 +<file java>
 +setTableInformationDialogClass(NavigationTable table, Class class)
 +</​file>​
 +It's also possible to hide the table information button:
 +
 +<file java>
 +setDefaultShowTableInformationButton(IApplication app, boolean show)
 +</​file>​
 +
 +Check the available methods of **ProfileUtil** to find out more.
 +
 +Another feature is the definition of available column names in the table information dialog:
 +
 +<file java>
 +databook.getRowDefinition().setColumnView(ITableInformationControl.class,​ new ColumnView(new String[] {...}));
 +</​file>​
 +This statement defines a list of column names which will be shown in the table information dialog.
This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.More information