Goat comes with four built-in viewers to edit/view your data. The list of available viewers can be displayed by right clicking on the data cell within the Data Panelas shown below. You can also create your own viewers if you desire to. Look at the section Extending Goat to learn how to do that.
The viewers are defined in a file called plugin.xml, which is located in the root directory where goat is installed. Out of the box, the default viewer is the Text Viewer which is opened if you double-click on any of the data cell in the Data Panel. You can change the default viewer by modifying the plugin file.
The following viewers are pre-built into Goat.
The text viewer allows users to change textual data. It is as shown below :
As shown above, the text viewer supports all features a standard text editor supports - including a find button, a word wrap button and the save button. You can also save the file to disk using the File->Save As feature. If you try to save the file after modifying it, the Update Data Dialog will be displayed, helping you create an update query to set the data in the database.
The image viewer allows users to view and change images. This viewer supports three image formats : .png, .gif and .jpg. It is as shown below.
As shown above, the image viewer supports all features like zoom, file save and file save as. If you try to save the file after modifying it, the Update Data Dialog will be displayed, helping you create an update query to set the data in the database into your clob or blob field.
The XML Viewer supports viewing data as an XML Tree. It is as shown below :
As shown above the XML Editor is viewing data of an xml file. Note that this is just a viewer and there are no editing capabilities built into it. However it can save the xml to disk and read xml from the file system and save them to the database if desired.
The HTML Viewer supports viewing data as stored in the HTML format. It is as shown below :
As shown above the HTML Editor is viewing data of an HTML file. Note that this is just a viewer and there are no editing capabilities built into it.