Changes between Version 5 and Version 6 of EclipseInterface


Ignore:
Timestamp:
Jan 28, 2015, 12:51:15 AM (10 years ago)
Author:
manualwiki
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • EclipseInterface

    v5 v6  
    8686 
    8787Open Eclipse and click on the **Help > Install new software** buttons in the Eclipse menu.  
    88 {{{ 
    89 #!comment  
    90 KÉP 
    91 }}} 
     88 
     89[[Image(install-menu.png, align=center)]] 
    9290 
    9391Click **Add...** in the appearing window, and paste the link we just copied to the clipboard in the **Location** text field of the window named **Add Repository**. Click OK. 
    94 {{{ 
    95 #!comment 
    96 KÉP 
    97 }}} 
     92 
     93[[Image(install.png, align=center)]] 
    9894 
    9995In the original **Install** window select the !RefactorErl group and a list should appear, containing the plugins available from the update site we specified in the last step.  
    100 {{{ 
    101 #!comment  
    102 KÉP 
    103 }}}  
    10496 
    10597To install the !RefactorErl plugin, select the **!RefactorErl Eclipse UI** entry.  
     
    130122 
    131123Navigate to the preference pages by clicking **Window > Preferences > !RefactorErl**.  
    132 {{{ 
    133 #!comment  
    134 KÉP 
    135 }}}  
     124 
     125[[Image(prefs.png, align=center)]] 
    136126 
    137127In case you would like to connect to a local !RefactorErl application, fill in the **!RefactorErl Base Directory** field with the path to the base directory of a locally installed !RefactorErl application.  
     
    140130 
    141131Click **OK**. Click **Yes** on the dialog inquiring wheter you want to reconnect to !RefactorErl. If the connection was successful, a `Connected to RefactorErl` message will appear in the left side of the status bar at the bottom of the Eclipse window.  
    142 {{{ 
    143 #!comment  
    144 KÉP 
    145 }}} 
    146132 
    147133Congratulations, now you can start using !RefactorErl with the Eclipse interface! 
     
    173159You can open a view containing the list of files, called the //Database// view, by clicking **!RefactorErl > Database > Show Database** in the top menu.  
    174160 
    175 {{{ 
    176 #!comment  
    177 KÉP 
    178 }}} 
     161[[Image(filelist.png, width=800, align=center)]] 
    179162 
    180163When you click in the //Database// view with the right mouse button, a context menu will appear, containing all database management features. Some of them, like the //drop// and //show// features, are dependent on the files or directories selected in the view. 
     
    197180You can execute a global query by writing your query in the textfield initially with the text `Semantic query` in the Eclipse toolbar and pressing the return key.  
    198181You can also execute global queries by clicking on **!RefactorErl > Queries > Start query**. A dialog will appear, where you can type the global query. 
    199 {{{ 
    200 #!comment  
    201 KÉP 
    202 }}} 
     182 
     183[[Image(autocomplete.png, align=center)]] 
    203184 
    204185To execute a position based query, open the source file where you want to start the query from, and click on the desired position in the text of the file with the right mouse button. In the appearing context menu, select **Run query from position**. A dialog will appear, where you can type a position based query (or even a global query). 
    205186 
    206 {{{ 
    207 #!comment  
    208 KÉP 
    209 }}} 
    210  
    211187After a successful query execution a view, called //Query result// view will appear with the results of your query. You can double click on a line of the result, and if it's possible, an editor tab will open with the file containing the content of that line, highlighting the content in question. 
     188 
     189[[Image(q.png, width=800, align=center)]] 
    212190 
    213191The **!RefactorErl > Queries > Show query history** button will open the //Query history// view. Double clicking on a query in the //Query history// view will show a results of this query in a //Query result// view. Please note, that these are historical results, it may or may not be consistent with the current content of the database. 
     
    240218To draw a dependency graph, select the **!RefactorErl > Draw dependency graph** button in the menu to open the //Dependency analysis// view tab.  
    241219 
    242 {{{ 
    243 #!comment  
    244 KÉP 
    245 }}} 
    246  
    247220In this view, you can provide the parameters for the analysis, select output format and choose a directory to store the results for future use. Hit the **Draw dependency graph** button on top of the view tab to start the analysis. Note that this may take for a while, depending on how much data is stored in the database. 
    248221 
    249 {{{ 
    250 #!comment  
    251 KÉP mindháromról 
     222[[Image(dep_smart.jpg, width=240, align=center)]]  
     223 
     224[[Image(dep_svg.png, width=240, align=center)]]  
     225 
     226[[Image(dep_erl.png, width=240, align=center)]] 
     227{{{ 
     228#!comment 
     229[[Image(dep_zest.png, align=center, width=400, align=center)]] 
    252230}}} 
    253231 
     
    259237To use this feature, click **!RefactorErl > Clone !IdentifiErl** in the top menu to open the //Clone !IdentifiErl //view. You can select an algorithm from the box on the tip part of the view, and fill in the parameters in the bottom part. To start the search, click on the **Run analysis** button. Note that this may take a long time, depending on how much data is stored in the database. 
    260238 
    261 {{{ 
    262 #!comment  
    263 KÉP mindháromról 
    264 }}} 
     239[[Image(dupcode.png, width=800, align=center)]] 
    265240 
    266241The results will be presented as a list of pairs of file positions in a view called //Duplicated code analysis results//. Double clicking on an item of that list will show the duplicated code sections side by side in a dual-pane editor.