Working with topic tables

From WandoraWiki
(Difference between revisions)
Jump to: navigation, search
(Selecting in topic tables)
Line 18: Line 18:
 
== Selecting in topic tables ==
 
== Selecting in topic tables ==
  
Topic table allows you to select one or more cells in the table. This feature is extremely powerful as it enables Wandora user to specify what topics are subject to change if a tool is executed. Topic table selection is created clicking the cells in table. Selection with multiple topics is created holding SHIFT or CONTROL key down while clicking the cells. SHIFT key creates continuous selections while CONTROL allows to select distinct cells. Selected cells are colored light blue. Another and maybe more intuitive method to create continuous selections beyond single topic is to drag mouse while mouse button is pressed down. Wandora has also more sophisticated selection methods. These methods locate in '''Edit > Select''' top-menu or '''Select''' context menu and are
+
Topic table allows you to select table cells. Topic table selection is created clicking a cell in the table. Multiple cells are selected holding the SHIFT or the CONTROL key down while clicking table cells. SHIFT key creates continuous selections while CONTROL selects distinct cells. Another and maybe more intuitive method to create continuous selections is to drag mouse while mouse button is pressed down. Selected cells are colored light blue. Wandora has also more sophisticated selection tools. These tools locate in '''Edit > Select''' top-menu or '''Select''' context menu. Selection tools are:
  
* [[SelectInTopicTableAll|Select all]]
+
* '''[[SelectInTopicTableAll|Select all]]''' selects every cell in the context table.
* [[SelectInTopicTableRows|Select row(s)]]
+
* '''[[SelectInTopicTableRows|Select row(s)]]''' selects all cells of selected rows.
* [[SelectInTopicTableCols|Select column(s)]]
+
* '''[[SelectInTopicTableCols|Select column(s)]]''' selects all cells of selected columns.
* [[SelectInTopicTableClear|Deselect]]
+
* '''[[SelectInTopicTableClear|Deselect]]''' clears the selection of context table.
* [[SelectInTopicTableInvert|Invert selection]]
+
* '''[[SelectInTopicTableInvert|Invert selection]]''' selects all unselected cells and deselects all selected cells.
* [[SelectCellsInTopicTableIfNoAssociations|Select topics without associations]]
+
* '''[[SelectCellsInTopicTableIfNoAssociations|Select topics without associations]]'''. If topic in the cell has no associations the cell is selected.
* [[SelectCellsInTopicTableIfNoTextdatas|Select topics without text datas]]
+
* '''[[SelectCellsInTopicTableIfNoTextdatas|Select topics without text datas]]'''. If topic in the cell has no occurrences the cell is selected.
* [[SelectCellsInTopicTableIfNoBasenames|Select topics without base names]]
+
* '''[[SelectCellsInTopicTableIfNoBasenames|Select topics without base names]]'''. If topic in the cell has no base name the cell is selected.
* [[SelectCellsInTopicTableIfNoClasses|Select topics without classes]]
+
* '''[[SelectCellsInTopicTableIfNoClasses|Select topics without classes]]'''. If topic in the cell has no classes the cell is selected.
* [[SelectCellsInTopicTableIfNoInstances|Select topics without instances]]
+
* '''[[SelectCellsInTopicTableIfNoInstances|Select topics without instances]]'''. If topic in the cell has no instances the cell is selected.
* [[SelectCellsInTopicTableIfNoAI|Select topics without A+I]]
+
* '''[[SelectCellsInTopicTableIfNoAI|Select topics without A+I]]'''. If topic in the cell has no associations and instances the cell is selected.
* [[SelectCellsInTopicTableIfSL|Select topics with SL]]
+
* '''[[SelectCellsInTopicTableIfSL|Select topics with SL]]'''. If topic in the cell has no subject locator the cell is selected.
* [[SelectCellsInTopicTableWithAssociationType|Select topics with typed associations]]
+
* '''[[SelectCellsInTopicTableWithAssociationType|Select topics with typed associations]]'''. If topic in the cell has associations of given type the cell is selected.
* [[SelectCellsInTopicTableWithClipboard|Select topics with clipboard identifiers]]
+
* '''[[SelectCellsInTopicTableWithClipboard|Select topics with clipboard identifiers]]'''. Tool expects you have newline character separated identifiers such as subject identifiers, subject locators, and base names in clipboard. Table cell is selected only if topic in the cell has identifier in clipboard.
* [[SelectCellsInTopicTableWithClipboardRegex|Select topics with clipboard regexes]]
+
* '''[[SelectCellsInTopicTableWithClipboardRegex|Select topics with clipboard regexes]]'''. Selection tool expects you have newline character separated regular expressions in the clipboard. Table cell is selected only if at least one identifier of the topic in the cell matches at least one regular expression in the clipboard.
* [[SelectCellsInTopicTableWithClipboardRegex|Select topics with clipboard regex finders]]
+
* '''[[SelectCellsInTopicTableWithClipboardRegex|Select topics with clipboard regex finders]]'''. Selection tool expects you have newline character separated regular expressions in the clipboard. Table cell is selected only if at least one regular expression can be found at least in one identifier of the topic in the cell.
  
 
All selection tools assume you have somehow indicated the topic table in which the selection is created. Indication is implicit when you use context menu tools. Explicit indication such as clicking the table with mouse pointer is required if you intend to use top menu selection tools.
 
All selection tools assume you have somehow indicated the topic table in which the selection is created. Indication is implicit when you use context menu tools. Explicit indication such as clicking the table with mouse pointer is required if you intend to use top menu selection tools.
 
  
 
== Modifying topics in table ==
 
== Modifying topics in table ==

Revision as of 21:30, 9 May 2007

Topic table is perhaps the most general GUI element in Wandora. Wandora uses topic tables to view topic collections such as search results, classes, instances and associations. Topic table contains a set of topic cells each cell representing a single topic. Typically table cell contains topic's base name. If you are familiar with any spreadsheet application such as Microsoft Excel you may find it practical to think topic table as a limited spreadsheet where each cell contains topic instead of a number, formula, string etc. Below is a simple example of single column topic table with six topics. Two topics are selected.


Topictable example 01.gif


Topic tables of search results, instances, and classes are always single column tables. Association tables usually contains at least two columns. Below is an example of topic table representing four separate associations.


Topictable example 04.gif


All associations in the example above have same type and roles. Association table is a specific topic table. It carries association's type in left upper corner. Roles locate directly below the association type. Player rows locate below the role row. Each player row represents one association. This kind of representation of associations are very economic and intuitive if associations are similar. Unfortunately the picture is not pretty if associations don't share a type and roles.

Association table's role cells can also be used to sort table rows, switch table column order and change column widths. If you click the header cell with mouse pointer, table rows are sorted. If you click the cell again the order is inverted. Third click restores initial order. Small arrow near the header name indicates table's current sort status. Column order changes dragging and dropping the header horizontally to a new location. Column widths change dragging and dropping the header mid-line to a new location. Header mid-line is a line between two header cells. Mouse cursor changes to a horizontal two head arrow when you can adjust column widths.


Selecting in topic tables

Topic table allows you to select table cells. Topic table selection is created clicking a cell in the table. Multiple cells are selected holding the SHIFT or the CONTROL key down while clicking table cells. SHIFT key creates continuous selections while CONTROL selects distinct cells. Another and maybe more intuitive method to create continuous selections is to drag mouse while mouse button is pressed down. Selected cells are colored light blue. Wandora has also more sophisticated selection tools. These tools locate in Edit > Select top-menu or Select context menu. Selection tools are:

All selection tools assume you have somehow indicated the topic table in which the selection is created. Indication is implicit when you use context menu tools. Explicit indication such as clicking the table with mouse pointer is required if you intend to use top menu selection tools.

Modifying topics in table

Topic tables enable Wandora user to specify tool's context. Tool's context in the other hand is important as it specifies target topics of tool actions. If you right click on the topic table, a context menu is revealed. Context menu contains wide variety of tools you can use to modify selected topics.

etc.

Personal tools