Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 155132

Summary: [Cheat Sheet Authoring] New simple cheat sheet model
Product: [Eclipse Project] PDE Reporter: Mike Pawlowski <mike.pawlowski>
Component: UIAssignee: Mike Pawlowski <mike.pawlowski>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: wassim.melhem
Version: 3.3   
Target Milestone: 3.3 M2   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 146988    

Description Mike Pawlowski CLA 2006-08-24 18:28:33 EDT
Create a new simple cheat sheet editing model.

Functionality required by Bug # 146988
Comment 1 Mike Pawlowski CLA 2006-08-29 10:16:19 EDT
Work Done:

* Designed in-memory model representation of simple cheat sheet

  -> 17 new complete interfaces
  
  -> 14 new skeleton underlying model implementation classes
  
     - Implemented XML serialization methods for simple cheat sheets,
       simple cheat sheet intros, and simple cheat sheet items
       
     - Implemented simple cheat sheet model factory
  
* Temporarily disabled composite cheat sheet radio button in new cheat sheet
  wizard
  
* Created new simple cheat sheet creation operation

  -> Executed on completion of the new cheat sheet wizard

  -> Utilize new model to build a basic valid simple cheat sheet in memory
     and serialize it to an XML representation in order to serve as the 
     initial basis for editing
     
Patch applied to HEAD in CVS

TODO:

* Finish underlying model implementation classes

Comment 2 Mike Pawlowski CLA 2006-08-30 14:17:50 EDT
Patch applied to HEAD in CVS

Work Done:

* Updated XMLPrintHandler to print comments and text with proper indent

* Created new model interface / class for 'description' elements

* Added type identifiers to all underlying model implementation classes

  -> To avoid using instanceof
  
* Completed underlying model implementation for the following classes:

  -> cheat sheet
  
     - Re-implemented XML serialization method using XMLPrintHandler
     - Implemented XML parsing method
  
  -> item

     - Re-implemented XML serialization method using XMLPrintHandler
     - Implemented XML parsing method
  
  -> intro

     - Re-implemented XML serialization method using XMLPrintHandler
     - Implemented XML parsing method
  
  -> description

     - Implemented XML serialization method
     - Implemented XML parsing method
  
  -> onCompletion

     - Implemented XML serialization method
     - Implemented XML parsing method
  
  -> command

     - Implemented XML serialization method
     - Implemented XML parsing method
  
  -> subitem

     - Implemented XML serialization method
     - Implemented XML parsing method
  
TODO:

* Completed underlying model implementation for the following classes:

  -> action
  -> conditional-subitem
  -> repeated-subitem
  -> perform-when
  
Comment 3 Mike Pawlowski CLA 2006-09-19 14:17:29 EDT
Patch released to HEAD in CVS

Work Done:

* Completed underlying model implementation for the following:
  -> action, conditional-subitem, repeated-subitem, perform-when
  -> implemented associated XML parsing and serialization methods for each

* Created a new action:  Remove run object action

* Updated UI to display conditional-subitem, repeated-subitem, perform-when
  -> still not supported by editor
  -> however allow editor user to remove them via context-menu, button and
     global action