SlideShare a Scribd company logo
More Eclipse!
 COM S 207
      Simanta Mitra, Ph.D.
Department of Computer Science
     Iowa state University



                                 1
Objectives for this lesson
 At the end of this lesson, you should be familiar
  with the following Eclipse terminology
  1.   workspace
  2.   project
  3.   view
  4.   Console view
  5.   Package Explorer view
  6.   Navigator view
  7.   Editor view
Also you will know a bit about the Eclipse Menu
  


                                                  2
Workspace
 The Eclipse WORKSPACE is a directory or a folder where
    eclipse stores your code for all your projects. Any time you
    create an Eclipse project or file – it gets stored in this folder.
 You should NEVER modify files in the workspace directly
    from outside the Eclipse environment.


 You can use ONE workspace for all of your coms207 work.


 You can create more than one workspace – maybe for
    outside class work.


                                                                    3
Project
 An Eclipse project is basically a folder where all code
  for a single application is stored. This single application
  can have many Java programs in it.
 You create Eclipse projects INSIDE the workspace.
  You may be working on several projects – say, a Maze
  project and a TicTacToe project. You will put all of them
  in the same workspace.
 Important:
   Note that Eclipse allows you to create many types of
    projects: for example: ordinary projects, web projects,
    java projects, etc .
   You will be creating only JAVA projects. When you do
    that, Eclipse will know what settings to use to compile
    and run your programs.
  
                                                              4
View
 When you open Eclipse, it has several different parts
    each of which show different information or in a
    different way. Each such part is called an Eclipse view.
 There are many many views available and you can
    select which views you want to open.
 You can close by clicking on x next to the name of the
    view.
 Some of the more useful views are the:
       console view,
       package explorer view,
       navigator view, and
       editor view.

                                                           5
Console view
 This is a view – that shows your program output.
  Eclipse also shows errors and warnings here. It
  looks as shown below…




                                                    6
Navigator View
 This is a view - that
    shows the folder structure
    in your project. If you
    opened the folder using
    WINDOWS EXPLORER
    (or Mac Finder), you
    would see the exact
    same folder structure.

 If you double click on a
    file, it opens it in a editor.




                                     7
Package Explorer View
 This is a view that shows
  Java programs in your
  workspace in a JAVA-like
  manner (we will discuss
  later).

 It does NOT show all the
  folders. Instead, it shows
  the classes and
  packages in your project.
  If you double-click on a
  class – it opens it in the
  editor.


                               8
Editor view




This view allows you to enter and make changes to
your Java programs. You can click on a tab to bring a
particular file to the forefront.                   9
Eclipse Menu
 The Eclipse menu allows you to control all
  operations in Eclipse. Here is a brief description of
  the main menus.
   File menu – create new projects, save projects etc.

   Edit and Source menus – helps in editing a program.

   Run menu - offers you ways to execute a program.

   Window menu – allows customization

   Project menu – set project settings.
                                                         10
Summary
 all projects are stored in WORKSPACE.
 all code for an application is stored in a PROJECT.
 a VIEW is just a part of the entire Eclipse window.
 the program output is shown in CONSOLE view
 folders and files are shown in NAVIGATOR view
 code to be edited is shown in EDITOR view
 folders/files shown in Java-like manner in Package
  Explorer view
 Eclipse Menu allows you to control all operations.
                                                        11
THE END




          12

More Related Content

DOCX
Assign 10 - Creating Projects using Eclipse IDE
PPTX
Drupal 8 cli
PPT
Eclipse IDE
PPT
Mule managing cloud hub
ODP
Developing Java SWT Applications - A Starter
PPTX
Mule environments
PPTX
1.1 teamwork2
PPTX
Trabajo slide share
Assign 10 - Creating Projects using Eclipse IDE
Drupal 8 cli
Eclipse IDE
Mule managing cloud hub
Developing Java SWT Applications - A Starter
Mule environments
1.1 teamwork2
Trabajo slide share

Viewers also liked (12)

PPTX
1.2 screen sketches
PPT
2.1 need teamwork
PDF
2.1 need teamwork
PPSX
1 about eclipse
PPTX
1 about eclipse
PPTX
1 about eclipse
PDF
2.1 teamwork
PDF
Course Policies
PPTX
0 website organization
PDF
LBS Application Wars
DOCX
Proyecto bobina de tesla
PDF
M2M Strategies
1.2 screen sketches
2.1 need teamwork
2.1 need teamwork
1 about eclipse
1 about eclipse
1 about eclipse
2.1 teamwork
Course Policies
0 website organization
LBS Application Wars
Proyecto bobina de tesla
M2M Strategies
Ad

Similar to 3 more abouteclipse (20)

PDF
intro-to-eclipse.pdf
PDF
Eclipse tutorial
PDF
Eclipse - GUI Palette
PPTX
Introduction to Eclipse
PDF
Supplement J Eclipse
 
PDF
JF_4_1_sg.pdf
PDF
Eclipse In Action A Guide For Java Developers 1st Edition David Gallardo
PPT
Eclipse Training - Introduction
PPT
1) workbench basics
DOCX
Page 8 of 83.Tutorial Get Started with Eclipse in the Compute.docx
PPT
Frc java5-8andeclipse
PPTX
Eclipse workshop presentation (March 2016)
PDF
Eclipse workshop presentation
PDF
Installation
PDF
Improving Domino Designer
PDF
Connect2014 BP205: Improving Your IBM Domino Designer Experience
PPT
Get ready for FRC 2015: Intro to Java 5 through 8 updates and Eclipse
PDF
Part 2 java development
PDF
Improve Your IBM Domino Designer Experience
intro-to-eclipse.pdf
Eclipse tutorial
Eclipse - GUI Palette
Introduction to Eclipse
Supplement J Eclipse
 
JF_4_1_sg.pdf
Eclipse In Action A Guide For Java Developers 1st Edition David Gallardo
Eclipse Training - Introduction
1) workbench basics
Page 8 of 83.Tutorial Get Started with Eclipse in the Compute.docx
Frc java5-8andeclipse
Eclipse workshop presentation (March 2016)
Eclipse workshop presentation
Installation
Improving Domino Designer
Connect2014 BP205: Improving Your IBM Domino Designer Experience
Get ready for FRC 2015: Intro to Java 5 through 8 updates and Eclipse
Part 2 java development
Improve Your IBM Domino Designer Experience
Ad

Recently uploaded (20)

PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
A Presentation on Artificial Intelligence
PDF
Heart disease approach using modified random forest and particle swarm optimi...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Assigned Numbers - 2025 - Bluetooth® Document
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Accuracy of neural networks in brain wave diagnosis of schizophrenia
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PPTX
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Empathic Computing: Creating Shared Understanding
PPTX
Spectroscopy.pptx food analysis technology
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
OMC Textile Division Presentation 2021.pptx
Univ-Connecticut-ChatGPT-Presentaion.pdf
A Presentation on Artificial Intelligence
Heart disease approach using modified random forest and particle swarm optimi...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Assigned Numbers - 2025 - Bluetooth® Document
Spectral efficient network and resource selection model in 5G networks
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Accuracy of neural networks in brain wave diagnosis of schizophrenia
gpt5_lecture_notes_comprehensive_20250812015547.pdf
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
TechTalks-8-2019-Service-Management-ITIL-Refresh-ITIL-4-Framework-Supports-Ou...
Digital-Transformation-Roadmap-for-Companies.pptx
Per capita expenditure prediction using model stacking based on satellite ima...
Empathic Computing: Creating Shared Understanding
Spectroscopy.pptx food analysis technology
Unlocking AI with Model Context Protocol (MCP)
Advanced methodologies resolving dimensionality complications for autism neur...
Group 1 Presentation -Planning and Decision Making .pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
OMC Textile Division Presentation 2021.pptx

3 more abouteclipse

  • 1. More Eclipse! COM S 207 Simanta Mitra, Ph.D. Department of Computer Science Iowa state University 1
  • 2. Objectives for this lesson  At the end of this lesson, you should be familiar with the following Eclipse terminology 1. workspace 2. project 3. view 4. Console view 5. Package Explorer view 6. Navigator view 7. Editor view Also you will know a bit about the Eclipse Menu  2
  • 3. Workspace  The Eclipse WORKSPACE is a directory or a folder where eclipse stores your code for all your projects. Any time you create an Eclipse project or file – it gets stored in this folder.  You should NEVER modify files in the workspace directly from outside the Eclipse environment.  You can use ONE workspace for all of your coms207 work.  You can create more than one workspace – maybe for outside class work.  3
  • 4. Project  An Eclipse project is basically a folder where all code for a single application is stored. This single application can have many Java programs in it.  You create Eclipse projects INSIDE the workspace. You may be working on several projects – say, a Maze project and a TicTacToe project. You will put all of them in the same workspace.  Important:  Note that Eclipse allows you to create many types of projects: for example: ordinary projects, web projects, java projects, etc .  You will be creating only JAVA projects. When you do that, Eclipse will know what settings to use to compile and run your programs.  4
  • 5. View  When you open Eclipse, it has several different parts each of which show different information or in a different way. Each such part is called an Eclipse view.  There are many many views available and you can select which views you want to open.  You can close by clicking on x next to the name of the view.  Some of the more useful views are the:  console view,  package explorer view,  navigator view, and  editor view.  5
  • 6. Console view  This is a view – that shows your program output. Eclipse also shows errors and warnings here. It looks as shown below… 6
  • 7. Navigator View  This is a view - that shows the folder structure in your project. If you opened the folder using WINDOWS EXPLORER (or Mac Finder), you would see the exact same folder structure.  If you double click on a file, it opens it in a editor.  7
  • 8. Package Explorer View  This is a view that shows Java programs in your workspace in a JAVA-like manner (we will discuss later).  It does NOT show all the folders. Instead, it shows the classes and packages in your project. If you double-click on a class – it opens it in the editor. 8
  • 9. Editor view This view allows you to enter and make changes to your Java programs. You can click on a tab to bring a particular file to the forefront. 9
  • 10. Eclipse Menu  The Eclipse menu allows you to control all operations in Eclipse. Here is a brief description of the main menus.  File menu – create new projects, save projects etc.  Edit and Source menus – helps in editing a program.  Run menu - offers you ways to execute a program.  Window menu – allows customization  Project menu – set project settings.  10
  • 11. Summary  all projects are stored in WORKSPACE.  all code for an application is stored in a PROJECT.  a VIEW is just a part of the entire Eclipse window.  the program output is shown in CONSOLE view  folders and files are shown in NAVIGATOR view  code to be edited is shown in EDITOR view  folders/files shown in Java-like manner in Package Explorer view  Eclipse Menu allows you to control all operations. 11
  • 12. THE END 12