Difference between revisions of "User:Cgomes7/Basics"

From CDOT Wiki
Jump to: navigation, search
(Moving and copying Java elements)
Line 30: Line 30:
 
[https://zenit.senecac.on.ca/svn/ecl500_111rep5/trunk%2078/tung-lab1/src/cs/ecl/basics/lab/tut1/ project]
 
[https://zenit.senecac.on.ca/svn/ecl500_111rep5/trunk%2078/tung-lab1/src/cs/ecl/basics/lab/tut1/ project]
 
== Moving and copying Java elements ==
 
== Moving and copying Java elements ==
 +
-Right click on a java class -> Refactor -> Move
 +
[[Image:move.jpg|thumb|widthpx| ]]
 +
 
== Navigate to a Java element's declaration ==
 
== Navigate to a Java element's declaration ==
 
== Viewing the type Hierarchy ==
 
== Viewing the type Hierarchy ==

Revision as of 20:47, 1 February 2011

DPS914 - Basic Lab

Basic Lab

Preparing Eclipse

Creating your first Java project

Tung tutorial project

Browsing Java elements using the package explorer

JavaElements.jpg

- To browse java elements using package explorer, expand the java package to show all the java classes.

- Expand a java class, all the java elements are now visible.





Editing Java elements

Creating a Java class

Renaming Java elements

Tung tutorial project

Moving and copying Java elements

-Right click on a java class -> Refactor -> Move

Move.jpg

Navigate to a Java element's declaration

Viewing the type Hierarchy

Searching the workbench

Tung tutorial project

Running your programs

Debugging your programs

Evaluating expressions

Evaluating snippets

Tung tutorial project

Using the Java browsing perspective

Writing and running JUnit tests