MenuItem is a clickable that contains event tree tool enums used in
controlling the tool states and the types of nodes to be added to the
tree (if any).
SettingsView is the part of the UI that displays the selected TreeNode's
information, allowing the user to modify the node's content through the
UI elements of the layout.
Sets the contents of the setting's view, using the type of the given node
(instanceof) to determine the type (and amount) of relevant
UI elements needed to modify the node's contents.
Moves the context menu to the given coordinates and sets the menu visible,
displaying a list of clickable items based on the type of the node given
as a parameter.