View RSS Feed

Eclipse

Eclipse is a multi-language software development environment comprising an integrated development environment (IDE) and an extensible plug-in system.

  1. Threads and Monitors in Eclipse

    by , 05-21-2011 at 10:40 PM (My Java Tips)
    When you are working with multi threading where resources are locked and released, deadlock prevention becomes very important. To prevent starvation, proper lock and release mechanism has to be defined/implemented.

    Eclipse’s debugger provides monitor information in the debug view. To use it, use the Show Monitors action which can be found in the Debug view drop down menu. It will show which threads are holding locks and which are waiting to acquire locks. The threads in red indicated ...
    Categories
    Eclipse
  2. Override/Implement methods

    by , 05-21-2011 at 10:14 PM (My Java Tips)
    Eclipse provides an easy way to generate stubs for the parent classes and implemented interfaces.

    Right click the your class and select Source > Override/Implement methods. You will be presented a window where you can select all the methods that you want to override/implement. This methods will be from the implemented interface or extended class.

    Name:  eclipseoverride.jpg
Views: 247
Size:  20.1 KB

    Really saves time. Do try this.
    Categories
    Eclipse
  3. Detached Views in Eclipse

    by , 05-21-2011 at 10:07 PM (My Java Tips)
    Eclipse provides an option to detach a view so that it can be moved to the desired place. Detached views are used if you are not comfortable with the placing of a view and want it to be move to someplace that is more feasible.

    This is done as follows:

    • Right-click on the view
    • Select "Detached" from the menu
    • Place the view where you choose


    Name:  detachedview.PNG
Views: 319
Size:  6.3 KB

    Thing to remember is that one can also drag and drop ...
    Categories
    Eclipse
  4. Create SQL File in Eclipse

    by , 05-21-2011 at 10:03 PM (My Java Tips)
    SQL files can be created manually in any existing eclipse project. It's simple and useful. I'll list the required steps.

    • Open Database Development perspective
    • Select File > New > Other, expand SQL Development, select SQL File, and click Next
    • This will open the New SQL File wizard.
    • To create a new project, click "Create Project" and follow the wizard instructions. Now provide the SQL file name.
    • Select a connection profile type from the Connection profile
    ...
    Tags: eclipse, sql Add / Edit Tags
    Categories
    Eclipse
Page 3 of 3 FirstFirst 123