Changes

Jump to: navigation, search

Teams Winter 2011/team2/lab3

1,175 bytes added, 08:51, 21 March 2011
no edit summary
*You should see this window pop-up
[[File:FWindowpop3T2.png]]
*Now click on "File" within the menu bar and click "Exit", this will close the program based on the small application we created for that command.*Another way of creating commands and classes on the fly is is by doing it through the manifest file. Lets do this other method for our print weather command. Follow the same directions previously of creating a command and enter the following information within the "Extension Element Details" view.[[File:CommT2.png]]*Now click on the "defaultHandler" link, this should pop up java class creation wizard.[[File:Comm2T2.png]]*Once the "New Java Class" Window is active click on highlighted button below.[[File:NjwinT2.png]]*This should pop up another window containing every package (including default and empty) available within the project. Double-click "ecl.team2.lab3.commands", this should enter automatically to the text box that dictates where you want the class to be stored.[[File:Njwin2T2.png]]*After completing the previous step, you will be back on the previous window (New Java Class). Since we require this java class to be used for a command, we must have this class inherit from the AbstractHandler class.
1
edit

Navigation menu