Julia Shevchuk - PowerPoint PPT Presentation

1 / 7
About This Presentation
Title:

Julia Shevchuk

Description:

to undo store previous mode and reset -does not make sense to undo. CmdOpenPGML ... clone the current Editor -create new JGraphFrame with cloned Editor ... – PowerPoint PPT presentation

Number of Views:48
Avg rating:3.0/5.0
Slides: 8
Provided by: irinayer
Category:
Tags: cloned | julia | shevchuk

less

Transcript and Presenter's Notes

Title: Julia Shevchuk


1
GROUP 1
  • Julia Shevchuk
  • Albert Urshanskiy
  • Galina Yeremenchuk
  • Brendan Mullins
  • Mike Rivkin

2
COMMANDS
  • CmdSetMode
  • CmdOpenPGML
  • CmdSavePGML
  • CmdSpawn
  • CmdPrint
  • CmdExit
  • CmdCreateNode
  • Already discussed

3
CmdSetMode
  • Cmd that sets the next global editor mode.
  • public void doIt()
  • -create desired mode object
  • -Globals.mode(mode, shouldBeSticky.booleanValue()
    )
  • -to undo store previous mode and reset
  • -does not make sense to undo

4
CmdOpenPGML
  • Cmd to Load a previously saved document document.
  • public void doIt()
  • -get filename and path
  • -create a new Editor
  • -open file
  • -does not make sense to undo

5
CmdSavePGML
  • Cmd to save the current document to a binary file
    using Sun's ObjectSerialization library.
  • public void doIt()
  • -get file name
  • -save file
  • -can not undo

6
CmdSpawn
  • Cmd to open a new editor on the same document as
    in the current editor.
  • public void doIt()
  • -get the current Editor
  • -clone the current Editor
  • -create new JGraphFrame with cloned Editor
  • JGraphFrame-A window that displays a toolbar, a
    connected graph editing pane, and a status bar.
  • -does not make sense to undo

7
CONCLUSION
  • None of the commands except CmdCreateNode make
    sense to undo
Write a Comment
User Comments (0)
About PowerShow.com