28
1 INF160 IS Development Environments AUBG, COS dept, Fall semester 2011 Reference books: Baltzan Paige, Business Driven Information Systems, McGraw-Hill/Irwin, 3e, 2012. Doar Matthew B., Practical Development Environments, O’Reilly, 2005. Any C++, C#, Java, VBasic book available in AUBG library Course lecturer: Assoc. Prof. Stoyan Bonev, PhD

INF160 IS Development Environments AUBG, COS dept, Fall semester 2011

  • Upload
    damali

  • View
    31

  • Download
    0

Embed Size (px)

DESCRIPTION

- PowerPoint PPT Presentation

Citation preview

Page 1: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

1

INF160IS Development EnvironmentsAUBG, COS dept, Fall semester 2011

Reference books:Baltzan Paige, Business Driven Information Systems, McGraw-Hill/Irwin, 3e, 2012.Doar Matthew B., Practical Development Environments, O’Reilly, 2005.Any C++, C#, Java, VBasic book available in AUBG library

Course lecturer: Assoc. Prof. Stoyan Bonev, PhD

Page 2: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

2

INF160 IS Development Environments AUBG, COS dept, Fall semester 2011

Lecture 06Title:

Dev Env: jGRASP(Extract from Syllabus)

Reference: www.jgrasp.org

Page 3: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

3

Lecture Contents:

jGRASP – introductionjGRASP – functionalityjGRASP – configuration

Page 4: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

4

jGRASP – introduction

J

Page 5: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

5

jGRASP – introductionjGRASP is a lightweight development environment,

implemented in Java, and runs on all platforms with a Java Virtual Machine (Java version 1.5 or higher).

jGRASP produces Control Structure Diagrams (CSDs) for Java, C, C++, Objective-C, Ada, and VHDL; Complexity Profile Graphs (CPGs) for Java and Ada; UML class diagrams for Java;.

jGRASP is developed by the Department of Computer Science and Software Engineering in the Samuel Ginn College of Engineering at Auburn University.

Page 6: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

6

jGRASP – introductionjGRASP is a lightweight development environment, created specifically to

provide automatic generation of software visualizations to improve the comprehensibility of software. jGRASP is implemented in Java, and runs on all platforms with a Java Virtual Machine (Java version 1.5 or higher). jGRASP produces Control Structure Diagrams (CSDs) for Java, C, C++, Objective-C, Ada, and VHDL; Complexity Profile Graphs (CPGs) for Java and Ada; UML class diagrams for Java; and has dynamic object viewers that work in conjunction with an integrated debugger and workbench for Java. The viewers include a data structure identifier mechanism which recognizes objects that represent traditional data structures such as stacks, queues, linked lists, binary trees, and hash tables, and then displays them in an intuitive textbook-like presentation view.

jGRASP is developed by the Department of Computer Science and Software Engineering in the Samuel Ginn College of Engineering at Auburn University.

Page 7: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

7

jGRASP – functionality

J

Page 8: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

8

jGRASP – functionalityJgrasp home page

Intro Videos getting started

Tutorials (pdf)getting started

http://www.jgrasp.org/tutorials187/02_Getting_Started.pdf

PDF file: JGrasp02_Getting_Started.pdf

Page 9: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

9

jGRASP – JGrasp02_Getting_Started.pdf

2.1 Starting jGRASP – page 2-2

jGRASP virtual desktop ( open to see fig 2.1)menu bartool barleft pane – Browse tab, Find tab, Debug tablarge pane – for UML and CSD windowslower pane – Messages tab, run I/O tab

Page 10: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

10

jGRASP – JGrasp02_Getting_Started.pdf

2.2 Quick Start- opening a program, compiling and running – page 2-3Open to see fig 2.2Open to see fig 2.3

File > Open > select a file in a folderBuild > CompileBuild > Run |> Run as Application |> Run as

Applet

Page 11: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

11

jGRASP – JGrasp02_Getting_Started.pdf

2.3 Creating a New File – page 2-5

Open to see fig 2.4

File > New File > Java

File > New File > Oher

Page 12: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

12

jGRASP – JGrasp02_Getting_Started.pdf

Automatically maximized CSD window – page 2-6

Open to see fig 2.5

Settings > Desktop > check box switched on

Page 13: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

13

jGRASP – JGrasp02_Getting_Started.pdf

2.4 Saving a File – page 2-8

After typing Java source, file must save. How?

File > Save | Save As

CTRL + S

To comment: Settings > check box Auto Save

Page 14: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

14

jGRASP – JGrasp02_Getting_Started.pdf

2.5 Building Java programs - Recap – page 2-9

Page 15: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

15

jGRASP – JGrasp02_Getting_Started.pdf

2.6 Interactions - page 2-10

Page 16: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

16

jGRASP – JGrasp02_Getting_Started.pdf

2.7 Generating a Control Structure Diagram CSD - page 2-12

Open to see fig. 2.10

View > Generate CSD

F2

Page 17: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

17

jGRASP – JGrasp02_Getting_Started.pdf

2.7 Removing a Control Structure Diagram CSD - page 2-12

Open to see fig. 2.10

View > Remove CSD

Shift - F2

Page 18: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

18

jGRASP – JGrasp02_Getting_Started.pdf

2.8 Folding a Control Structure Diagram CSD - page 2-14

Open to see fig 2.12

Double click on CSD symbols

View > Fold > options

Page 19: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

19

jGRASP – JGrasp02_Getting_Started.pdf

2.9 Line Numbers - page 2-15

Open to see fig 2.13

View > check box Line Numbers

Page 20: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

20

jGRASP – JGrasp02_Getting_Started.pdf

2.10 Compiling a Program: A Few More Details - page 2-15

When you compile the program, it is automatically saved.

Open to see fig 2.

Settings > check box Auto Save

Page 21: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

21

jGRASP – JGrasp02_Getting_Started.pdf

2.11 Running a Program: Additional Options - page 2-18

Open to see fig 2.16

Run > check box Run in MSDOS Window

Run > Arguments

Page 22: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

22

jGRASP – JGrasp02_Getting_Started.pdf

2.12 Using the Debugger - page 2-19

Page 23: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

23

jGRASP – JGrasp02_Getting_Started.pdf

2.13 Opening a File – Additional Options - page 2-22

Open to see fig 2.21

Open to see fig 2.22

Page 24: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

24

jGRASP – JGrasp02_Getting_Started.pdf

2.14 Closing a File – page 2-24

File > Close |Close All

Open to see fig 2.24

Page 25: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

25

jGRASP – JGrasp02_Getting_Started.pdf

2.15 exiting jGRASP – page 2-25

Page 26: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

26

jGRASP – configuration

J

Page 27: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

27

Exercises/tasks

Run demo programs from \Examples folderJ

Page 28: INF160 IS Development Environments  AUBG, COS dept, Fall semester 2011

28

Thank You For

Your Attention!