Fall2005.CSCI380EclipseIntro History

Hide minor edits - Show changes to output

Changed lines 18-35 from:
# See Cristobal Baray's intro on %newwin%[[http://cristobal.baray.com/indiana/projects/mvc.html | the model-view-controller (MVC) design pattern]]. Here is a summary:

## '''Model''': The core of the application. This maintains the state and data that the application represents. When significant changes occur in the '''model''', it updates all of its '''views'''
*** If '''model''' is active, it should run in a separate thread (see Heart.java).
*** If '''model''' is passive, it should call @@updateObservers()@@ within each set (transformer) method.

## '''Controller''': The user interface presented to the user to manipulate the application.
*** The '''model''' object should be passed as parameter to the '''controller's''' constructor.
*** The '''controller''', within its event handlers, should call '''model's''' set methods.


## '''View''': The user interface which displays information about the '''model''' to the user. Any object that needs information about the '''model''' needs to be a registered '''view''' with the '''model'''.
*** The '''model''' object should be passed as parameter to the '''view's''' constructor.
*** The '''view''' constructor should register itself (@@this@@) as an observer by calling the '''model's''' @@addObserver()@@ method.
*** The '''view''' should define @@update()@@
**** This method will be called by '''model''' anytime the '''model's''' state has changed.
**** Thus, this method should update the output '''view''' widgets accordingly
.
to:
# See Cristobal Baray's intro on %newwin%[[http://cristobal.baray.com/indiana/projects/mvc.html | the model-view-controller (MVC) design pattern]]. Here is a [[Fall2005/CSCI380MVCIntro | summary]].
Changed lines 38-40 from:
See Sun's %newwin%[[http://java.sun.com/docs/books/tutorial/uiswing/ | Swing Tutorial]].

# Sample
code:
to:
# Explore the %newwin%[[http://java.sun.com/docs/books/tutorial/uiswing/components/components.html |Visual Index to the Swing Components]].

# See Sun's %newwin%[[http://java.sun.com/docs/books/tutorial/uiswing/ | Swing Tutorial]]. In particular, browse sample
code:
Changed lines 48-53 from:
# %newwin%[[http://java.sun.com/docs/books/tutorial/uiswing/components/components.html |Visual Index to the Swing Components]]. Also see [[http://java.sun.com/docs/books/tutorial/uiswing/components/componentlist.html | How to Use Swing Components]].

# %newwin%[[http://java.sun.com/docs/books/tutorial/uiswing/components/toplevel.html | How to Use Containers]]

# %newwin%[[http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html | How to Use Menus]]
to:
# [[http://java.sun.com/docs/books/tutorial/uiswing/components/componentlist.html | How to Use Swing Components]]. In particular, see
## %newwin%[[http://java.sun.com/docs/books/tutorial/uiswing/components/toplevel.html | How to Use Containers]]
## %newwin%[[http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html | How to Use Menus]]
Changed lines 1-2 from:
!!Eclipse Intro
to:
!! Intro to Eclipse and Java Swing
Changed lines 7-9 from:
# Install [[http://www.eclipse.org/downloads/index.php | Eclipse]].

# Install the [[http://www.eclipse.org/vep/ |Visual Editor]] plug-in. \\
to:
# Install %newwin%[[http://www.eclipse.org/downloads/index.php | Eclipse]].

# Install the %newwin%[[http://www.eclipse.org/vep/ |Visual Editor]] plug-in. \\
Changed lines 12-13 from:
# Do this to [[http://dev.eclipse.org/viewcvs/indextools.cgi/*checkout*/vep-home/WebContent/docs/testcases/smoketest2/Attic/smoketest2.htm?rev=HEAD&search=None&hideattic=1&content-type=text/html |test your installation]].
to:
# Do this to %newwin%[[http://dev.eclipse.org/viewcvs/indextools.cgi/*checkout*/vep-home/WebContent/docs/testcases/smoketest2/Attic/smoketest2.htm?rev=HEAD&search=None&hideattic=1&content-type=text/html |test your installation]].
Changed lines 16-19 from:
# See Michael Wainer's [[http://www.cs.siu.edu/~wainer/484S05/visEdit/eclipseVisEdiTutorial.html | Building a Simple GUI with Eclipse's Visual Editor]] and Swing. In particular, work through this [[http://www.cs.siu.edu/~wainer/484S05/visEdit/eclipseVE.pdf | handout]].

# See Cristobal Baray's intro on [[http://cristobal.baray.com/indiana/projects/mvc.html | the model-view-controller (MVC) design pattern]]. Here is a summary:
to:
# See Michael Wainer's %newwin%[[http://www.cs.siu.edu/~wainer/484S05/visEdit/eclipseVisEdiTutorial.html | Building a Simple GUI with Eclipse's Visual Editor]] and Swing. In particular, work through this %newwin%[[http://www.cs.siu.edu/~wainer/484S05/visEdit/eclipseVE.pdf | handout]].

# See Cristobal Baray's intro on %newwin%[[http://cristobal.baray.com/indiana/projects/mvc.html | the model-view-controller (MVC) design pattern]]. Here is a summary:
Changed lines 38-39 from:
See Sun's [[http://java.sun.com/docs/books/tutorial/uiswing/ | Swing Tutorial]].
to:
See Sun's %newwin%[[http://java.sun.com/docs/books/tutorial/uiswing/ | Swing Tutorial]].
Changed lines 41-54 from:
## [[http://java.sun.com/docs/books/tutorial/uiswing/learn/example1.html |Example One: Your First Swing Program]] [-(basic code)-]
## [[http://java.sun.com/docs/books/tutorial/uiswing/learn/example2.html | Example Two: SwingApplication]] [-(adding components)-]
## [[http://java.sun.com/docs/books/tutorial/uiswing/learn/example3.html | Example Three: CelsiusConverter]] [-(handling events)-]
## [[http://java.sun.com/docs/books/tutorial/uiswing/learn/example4.html | Example Four: An Improved CelsiusConverter]] [-(adding icons to buttons)-]
## [[http://java.sun.com/docs/books/tutorial/uiswing/learn/example5.html | Example Five: LunarPhases]] [-(layout managers)-]
## [[http://java.sun.com/docs/books/tutorial/uiswing/learn/example6.html | Example Six: VoteDialog]] [-(dialog boxes)-]

# [[http://java.sun.com/docs/books/tutorial/uiswing/components/components.html |Visual Index to the Swing Components]]. Also see [[http://java.sun.com/docs/books/tutorial/uiswing/components/componentlist.html | How to Use Swing Components]].

# [[http://java.sun.com/docs/books/tutorial/uiswing/components/toplevel.html | How to Use Containers]]

# [[http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html | How to Use Menus]]

# [[http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html | A Visual Guide to Layout Managers]]
to:
## %newwin%[[http://java.sun.com/docs/books/tutorial/uiswing/learn/example1.html |Example One: Your First Swing Program]] [-(basic code)-]
## %newwin%[[http://java.sun.com/docs/books/tutorial/uiswing/learn/example2.html | Example Two: SwingApplication]] [-(adding components)-]
## %newwin%[[http://java.sun.com/docs/books/tutorial/uiswing/learn/example3.html | Example Three: CelsiusConverter]] [-(handling events)-]
## %newwin%[[http://java.sun.com/docs/books/tutorial/uiswing/learn/example4.html | Example Four: An Improved CelsiusConverter]] [-(adding icons to buttons)-]
## %newwin%[[http://java.sun.com/docs/books/tutorial/uiswing/learn/example5.html | Example Five: LunarPhases]] [-(layout managers)-]
## %newwin%[[http://java.sun.com/docs/books/tutorial/uiswing/learn/example6.html | Example Six: VoteDialog]] [-(dialog boxes)-]

# %newwin%[[http://java.sun.com/docs/books/tutorial/uiswing/components/components.html |Visual Index to the Swing Components]]. Also see [[http://java.sun.com/docs/books/tutorial/uiswing/components/componentlist.html | How to Use Swing Components]].

# %newwin%[[http://java.sun.com/docs/books/tutorial/uiswing/components/toplevel.html | How to Use Containers]]

# %newwin%[[http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html | How to Use Menus]]

# %newwin%[[http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html | A Visual Guide to Layout Managers]]
Changed lines 16-17 from:
# See Michael Wainer's [[http://www.cs.siu.edu/~wainer/484S05/visEdit/eclipseVisEdiTutorial.html | Building a Simple GUI with Eclipse's Visual Editor]] and Swing.
to:
# See Michael Wainer's [[http://www.cs.siu.edu/~wainer/484S05/visEdit/eclipseVisEdiTutorial.html | Building a Simple GUI with Eclipse's Visual Editor]] and Swing. In particular, work through this [[http://www.cs.siu.edu/~wainer/484S05/visEdit/eclipseVE.pdf | handout]].
Changed lines 18-19 from:
# See Cristobal Baray's intro on [[http://cristobal.baray.com/indiana/projects/mvc.html | the model-view-controller (MVC) design pattern]].
to:
# See Cristobal Baray's intro on [[http://cristobal.baray.com/indiana/projects/mvc.html | the model-view-controller (MVC) design pattern]]. Here is a summary:

## '''Model''': The core of the application. This maintains the state and data that the application represents. When significant changes occur in the '''model''', it updates all of its '''views'''
*** If '''model''' is active, it should run in a separate thread (see Heart.java).
*** If '''model''' is passive, it should call @@updateObservers()@@ within each set (transformer) method.

## '''Controller''': The user interface presented to the user to manipulate the application.
*** The '''model''' object should be passed as parameter to the '''controller's''' constructor.
*** The '''controller''', within its event handlers, should call '''model's''' set methods.


## '''View''': The user interface which displays information about the '''model''' to the user. Any object that needs information about the '''model''' needs to be a registered '''view''' with the '''model'''.
*** The '''model''' object should be passed as parameter to the '''view's''' constructor.
*** The '''view''' constructor should register itself (@@this@@) as an observer by calling the '''model's''' @@addObserver()@@ method.
*** The '''view''' should define @@update()@@
**** This method will be called by '''model''' anytime the '''model's''' state has changed.
**** Thus, this method should update the output '''view''' widgets accordingly
.
Deleted lines 15-16:
# See IBM's article on [[http://www-128.ibm.com/developerworks/opensource/library/os-ecvisual/ | Building GUIs with the Eclipse Visual Editor]] and Swing.
Changed lines 24-26 from:
# See Sun's [[http://java.sun.com/docs/books/tutorial/uiswing/ | Swing Tutorial]]. In particular, see:
to:
See Sun's [[http://java.sun.com/docs/books/tutorial/uiswing/ | Swing Tutorial]].

# Sample code
:
Changed lines 34-40 from:
## [[http://java.sun.com/docs/books/tutorial/uiswing/components/components.html |Visual Index to the Swing Components]]. Also see [[http://java.sun.com/docs/books/tutorial/uiswing/components/componentlist.html | How to Use Swing Components]].

## [[http://java.sun.com/docs/books/tutorial/uiswing/components/toplevel.html | How to Use Containers]]

## [[http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html | How to Use Menus]]

## [[http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html | A Visual Guide to Layout Managers]]
to:
# [[http://java.sun.com/docs/books/tutorial/uiswing/components/components.html |Visual Index to the Swing Components]]. Also see [[http://java.sun.com/docs/books/tutorial/uiswing/components/componentlist.html | How to Use Swing Components]].

# [[http://java.sun.com/docs/books/tutorial/uiswing/components/toplevel.html | How to Use Containers]]

# [[http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html | How to Use Menus]]

# [[http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html | A Visual Guide to Layout Managers]]
Changed lines 3-4 from:
This contains some tutorials and example programs that will help you get started with Eclipse and the Standard Widget Toolkit (SWT).
to:
This contains some tutorials and example programs that will help you get started with Eclipse and Java Swing.

!!! Installation
Changed lines 12-13 from:
# Perform the following to [[http://dev.eclipse.org/viewcvs/indextools.cgi/*checkout*/vep-home/WebContent/docs/testcases/smoketest2/Attic/smoketest2.htm?rev=HEAD&search=None&hideattic=1&content-type=text/html |test your installation]]. Also see [[http://www-128.ibm.com/developerworks/opensource/library/os-ecvisual/ | Building GUIs with the Eclipse Visual Editor]].
to:
# Do this to [[http://dev.eclipse.org/viewcvs/indextools.cgi/*checkout*/vep-home/WebContent/docs/testcases/smoketest2/Attic/smoketest2.htm?rev=HEAD&search=None&hideattic=1&content-type=text/html |test your installation]].

!!! GUI Development Tutorials

# See IBM's article on
[[http://www-128.ibm.com/developerworks/opensource/library/os-ecvisual/ | Building GUIs with the Eclipse Visual Editor]] and Swing.

# See Michael Wainer's [[http://www.cs.siu.edu/~wainer/484S05/visEdit/eclipseVisEdiTutorial.html | Building a Simple GUI with Eclipse's Visual Editor]] and Swing.

# See Cristobal Baray's intro on [[http://cristobal.baray.com/indiana/projects/mvc.html | the model-view-controller (MVC) design pattern]].

!!! Swing ADT References
Changed lines 38-42 from:
## [[http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html | A Visual Guide to Layout Managers]]

# See Michael Wainer's [[http://www.cs.siu.edu/~wainer/484S05/visEdit/eclipseVisEdiTutorial.html | Building a Simple GUI with Eclipse's Visual Editor]].
# See Cristobal Baray's intro on [[http://cristobal.baray.com/indiana/projects/mvc.html | the model-view-controller (MVC) design pattern]].
to:
## [[http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html | A Visual Guide to Layout Managers]]
Changed lines 10-13 from:
# Perform the following to [[http://dev.eclipse.org/viewcvs/indextools.cgi/*checkout*/vep-home/WebContent/docs/testcases/smoketest2/Attic/smoketest2.htm?rev=HEAD&search=None&hideattic=1&content-type=text/html |test your installation]].

# See article on
[[http://www-128.ibm.com/developerworks/opensource/library/os-ecvisual/ | Building GUIs with the Eclipse Visual Editor]].
to:
# Perform the following to [[http://dev.eclipse.org/viewcvs/indextools.cgi/*checkout*/vep-home/WebContent/docs/testcases/smoketest2/Attic/smoketest2.htm?rev=HEAD&search=None&hideattic=1&content-type=text/html |test your installation]]. Also see [[http://www-128.ibm.com/developerworks/opensource/library/os-ecvisual/ | Building GUIs with the Eclipse Visual Editor]].
Changed lines 28-30 from:
to:
# See Michael Wainer's [[http://www.cs.siu.edu/~wainer/484S05/visEdit/eclipseVisEdiTutorial.html | Building a Simple GUI with Eclipse's Visual Editor]].
# See Cristobal Baray's intro on [[http://cristobal.baray.com/indiana/projects/mvc.html | the model-view-controller (MVC) design pattern]].
Added line 23:
Added line 25:
Added line 27:
Changed line 22 from:
## [[http://java.sun.com/docs/books/tutorial/uiswing/components/components.html |Visual Index to the Swing Components]]
to:
## [[http://java.sun.com/docs/books/tutorial/uiswing/components/components.html |Visual Index to the Swing Components]]. Also see [[http://java.sun.com/docs/books/tutorial/uiswing/components/componentlist.html | How to Use Swing Components]].
Changed lines 23-24 from:
## [[http://java.sun.com/docs/books/tutorial/uiswing/components/toplevel.html | Using Containers]]
to:
## [[http://java.sun.com/docs/books/tutorial/uiswing/components/toplevel.html | How to Use Containers]]
## [[http://java.sun.com/docs/books/tutorial/uiswing/components/menu.html | How to Use Menus
]]
Added line 23:
## [[http://java.sun.com/docs/books/tutorial/uiswing/components/toplevel.html | Using Containers]]
Added line 22:
## [[http://java.sun.com/docs/books/tutorial/uiswing/components/components.html |Visual Index to the Swing Components]]
Changed lines 25-27 from:
# Explore the [[http://java.sun.com/docs/books/tutorial/uiswing/components/components.html |Visual Index to the Swing Components]].
to:
Changed lines 23-24 from:
##
to:
Added lines 22-24:
## [[http://java.sun.com/docs/books/tutorial/uiswing/layout/visual.html | A Visual Guide to Layout Managers]]
##
Changed lines 19-20 from:
to:
## [[http://java.sun.com/docs/books/tutorial/uiswing/learn/example5.html | Example Five: LunarPhases]] [-(layout managers)-]
## [[http://java.sun.com/docs/books/tutorial/uiswing/learn/example6.html | Example Six: VoteDialog]] [-(dialog boxes)-]
Changed lines 15-18 from:
## [[http://java.sun.com/docs/books/tutorial/uiswing/learn/example1.html |Example One: Your First Swing Program]]
## [[http://java.sun.com/docs/books/tutorial/uiswing/learn/example2.html | Example Two: SwingApplication]]
to:
## [[http://java.sun.com/docs/books/tutorial/uiswing/learn/example1.html |Example One: Your First Swing Program]] [-(basic code)-]
##
[[http://java.sun.com/docs/books/tutorial/uiswing/learn/example2.html | Example Two: SwingApplication]] [-(adding components)-]
## [[http://java.sun.com/docs/books/tutorial/uiswing/learn/example3.html | Example Three: CelsiusConverter]] [-(handling events)-]
## [[http://java.sun.com/docs/books/tutorial/uiswing/learn/example4.html | Example Four: An Improved CelsiusConverter]] [-(adding icons to buttons)-
]
Added lines 14-18:
# See Sun's [[http://java.sun.com/docs/books/tutorial/uiswing/ | Swing Tutorial]]. In particular, see:
## [[http://java.sun.com/docs/books/tutorial/uiswing/learn/example1.html |Example One: Your First Swing Program]]
## [[http://java.sun.com/docs/books/tutorial/uiswing/learn/example2.html | Example Two: SwingApplication]]
Added lines 12-13:
# See article on [[http://www-128.ibm.com/developerworks/opensource/library/os-ecvisual/ | Building GUIs with the Eclipse Visual Editor]].
Changed lines 12-14 from:
to:
# Explore the [[http://java.sun.com/docs/books/tutorial/uiswing/components/components.html |Visual Index to the Swing Components]].
Changed lines 7-9 from:
# Install the [[http://www.eclipse.org/vep/ |Visual Editor plug-in]]. \\
[-(Note that this requires installation of the EMF and GEF plug-ins -- follow directions on the download page.)-]
to:
# Install the [[http://www.eclipse.org/vep/ |Visual Editor]] plug-in. \\
[-(Note that this requires installation of the EMF and GEF plug-ins - follow directions on the download page.)-]
Changed lines 7-8 from:
# Install the [[http://www.eclipse.org/vep/ |Visual Editor plug-in]]. [-(Note that this requires installation of the EMF and GEF plug-ins -- follow directions in the download page.)-]
to:
# Install the [[http://www.eclipse.org/vep/ |Visual Editor plug-in]]. \\
[-(Note that this requires installation of the EMF and GEF plug-ins -- follow directions on the download page.)-]
Changed lines 7-8 from:
# Install the [[http://www.eclipse.org/vep/ |Visual Editor plug-in]].
to:
# Install the [[http://www.eclipse.org/vep/ |Visual Editor plug-in]]. [-(Note that this requires installation of the EMF and GEF plug-ins -- follow directions in the download page.)-]
Added lines 1-11:
!!Eclipse Intro

This contains some tutorials and example programs that will help you get started with Eclipse and the Standard Widget Toolkit (SWT).

# Install [[http://www.eclipse.org/downloads/index.php | Eclipse]].

# Install the [[http://www.eclipse.org/vep/ |Visual Editor plug-in]].

# Perform the following to [[http://dev.eclipse.org/viewcvs/indextools.cgi/*checkout*/vep-home/WebContent/docs/testcases/smoketest2/Attic/smoketest2.htm?rev=HEAD&search=None&hideattic=1&content-type=text/html |test your installation]].