ReAssure Graphic User Interface Copyright Purdue University 2005 Michael Yang and Pascal Meunier Mouse Controls: Create node: double left click on main display Select node: click on node Delete node: double right click on node Delete all nodes: double right click on main display Create edge: left click on node and drag -edges can only be created between PC nodes and VLAN nodes Delete edge: double right click on NIC ball of edge Move node: right click on node and drag Move display: -Can click and drag on minimap in upper left corner of interface -Can middle mouse button click and drag on main display -Can click and drag on scrollbars Resize display -Click and drag grey bars separating main display from minimap and properties box The sidebar containing the minimap and properties box can be resized by clicking and dragging the grey bar separating it from the main display. The minimap and properties box can be resized by clicking and dragging the grey bar separating them. To select between creating PC nodes and VLAN nodes, click on the appropriate radio button in the top tool bar to select the type of node you wish to place. The canvas of the main display will automatically resize when a node is created near or dragged and dropped near the edge of the canvas. The area of the canvas being displayed shows as a light blue box in the minimap. Nodes and edges can be dragged outside of the area displayed to move it about the canvas. The scroll bars and minimap can also be used to move the display about the canvas. Clicking on the minimap (located in the upper left hand corner) will center the main display on the corresponding location. The minimap supports click and drag to move the main display around. To save a file, use the 'Save As ...' option in the file menu. If you have already openned or saved a file during this session, the 'Save' menu option will save the file to the most recently openned or saved file. To change a node's properties left click on the appropriate box in the properties display after having selected the desired node. Type the changes you wish to make and click the apply button in the below the properties display. Some properties, such as the ID, cannot be changed. The blue circles are host PCs. The red hexagons are VLANs. The green circles are called 'NIC balls' and the number represents the NIC on the PC that connects it to the VLAN. If a node (PC/VLAN/NIC ball) is partially obscured, hovering the mouse pointer over it should bring it to the front. If it does not come to the front right away, try hovering over a different spot on the node. Some nodes may have to be moved slightly to prevent them from obscuring other nodes. The name of the node is what is displayed in the main display. The ID is unique and used by the GUI to help track the node. Only .xml files can be openned or saved to. To create a .ns file you must choose the "Export as NS" option. Files that are not saved with the correct suffix will have the correct suffix appended to their name. If the user attempts to save a file as "output" it will be saved as "output.xml" instead. The saved .xml files are validated in part by the .xsd schema included in the .jar distribution file and in part by the Reconstructor class. If an xml file fails to load, the current topography will not be damaged. Only after the file has been completely parsed will the new topography replace the topography currently on screen. One PC cannot have two NICs with the same NIC#. The NIC# can be changed manually, but not to a number that is already taken for that PC. If you want to swap the NIC#s for two connections, the first must be renumbered to a valid number, then the second can be given the first number and the first can be given the now free second number. Known Issues: 'Submit ...' and 'Retrieve ...' menu options currently do nothing. Future features: Virtual PCs and host configuration Check boxes and drop down menus in the properties display More extensive 'help' file Better 'help' menu dialog including links to web page Input validation for properties Select box for names of virtual machines ReAssure supports (Ex: VMWare, UML, VirtualPC, Custom, etc...) Help dialog boxes for properties (explaining what the property means) Group drag and drop movement (dragging many nodes at once) For more information visit www.reassure.cerias.purdue.edu Licensing Info: All ReAssureClient files are original works with the exception of BulletinLayout.java, which is authored by David M. Geary and taken from the free files included with the book "Graphic Java 1.1, Mastering the AWT, 2nd edition" by David Geary. The Purdue University CERIAS ReAssure Project Copyright (c) 2005 Purdue University All rights reserved. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal with the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimers. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimers in the documentation and/or other materials provided with the distribution. Neither the names of Michael Yang and Pascal Meunier, CERIAS, Purdue University, nor the names of its contributors may be used to endorse or promote products derived from this Software without specific prior written permission. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE.