Exemplo n.º 1
0
 /** Invoked when a reference is selected */
 private void referenceSelected(Reference reference) {
   Helper.selectAndReveal(
       reference.getFilePath(), reference.getPosition(), reference.getName().length());
   referenceTableViewer.getControl().setFocus();
 }
Exemplo n.º 2
0
 /** Invoked when the refresh button is clicked. */
 private void refreshButtonClicked() {
   Helper.saveAllEditors();
   if (Helper.getActiveEditor() != null)
     displayEntityView(
         Helper.getProjectPath(), Helper.getProjectName(), Helper.getRelativeFilePath());
 }