Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Java Development User Guide
Previous Page Home Next Page

Restoring a Deleted Workbench Element

  1. Ensure that a Java view that show Java elements inside files (such as the Outline view) is visible.
  2. Open the compilation unit to which you want to add a previously removed Java element from the local history.
  3. Activate the editor by clicking its tab in the editor area, and the Java view shows the content of the Java file.
  4. In the Java view, select the element to whose container type you want to restore the deleted element.
  5. From the type's pop-up menu in the Java view, select Restore from Local History.
  6. In the upper left pane of the resulting dialog, all available editions of the selected element in the local history are displayed.
  7. In the left pane check all elements that you want to replace.
  8. For every checked element select an edition in the right hand pane and view its content in the bottom pane.
  9. When you have identified the edition that you want to restore, press Restore. The local history editions are loaded into the editor.

Related concepts

Java editor

Related tasks

Using the local history

Related reference

Java outline

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire