Abstract
Stores references to selected objects. Override with a reference in outer scope, if selection should also operate outside of table
Refer items to the clipboard for copy & paste
The item has the focus and that will be copied if the selection is empty, otherwise the current selection is referred
Refer objects to the clipboard for copy & paste and delete them from this controller
The item that has the focus and that will be cut if the selection is empty, otherwise the whole selection gets referred and deleted
Remove the objects to be deleted, e.g. the current selection, from the data structure the table refers to and return a list of those objects in order for the according TableItems to be deleted also
The expendable objects
Return allowed dragDrop-effect
Standard behaviour: check the ctrlKey for "copy" and shiftKey for "link", otherwise return "move"
Refer objects to the clipboard for drag & drop
The item that has the focus and that will be dragged if the selection is empty, otherwise the current selection is referred
Retrieve objects from the clipboard, process and return them to add to the tree. Standard behaviour: if {@link: dragOver} yields "copy", return an array of clones of the objects in, otherwise the content of the dragDrop-clipboard.
Abstract
getAbstract
getRetrieve a string to create a label for the table item representing the object (appears not to be called yet)
Abstract
renameReturn false if renaming of object is not possibile, or true if the object was renamed
Abstract
sortSort data by given key and direction
Subclass this to create a broker between your data and a [[Table]] to display and manipulate it. The [[Table]] doesn't know how your data is structured and how to handle it, the controller implements the methods needed