first checkin: 'refactoring Diagram Designer'
experimenting with event handlers and default decorator

-adding secondary decorator: CircleDecorator (draws a circle shape)
-experimenting with default events (mouseenter, mouseleave)
introducing decorator inheritance

DecoratorBase <-- DefaultDecorator <-- CircleDecorator
selecting items

- multipe selection by single click and CTRL or META key
- TODO: rubberband selection fix needed
- item CTRL / META key deseceltion not yet implemented
refactoring

- refactored calling of decorator methods
- show connectors only in non ReadOnly mode and when single selection is
on
implement getBoundingBox method to measure item dimension
detach/attach connector DOM elements instead of hide/show only
rename ._DOMBase to .$_DOMBase so it reflects it is a jQuery object
rename ._DOMBase to .$_DOMBase so it reflects it is a jQuery object
adding DEBUG extensions to DesignerCanvas

- add DesignerCanvas.DEBUG.js and apply these debug extensions in DEBUG
mode
- add autoupdater feature (sort of visual test to help implement /
optimize the DesignerItem <--> Decorator cooperation when first adding
the item to the canvas and when updating its content)
DECORATORS beta commit

- experimenting with decorator and UI optimization
- add / update decorator of an item
update
mering branch 'DEVELOP-R' into 'MASTER'
remove invalid content from default template file
bugfix
2phase decorator creation

1st phase: must generate a minimal displayable content
RETURN TRUE if no additional work is needed (decorator was able to fully
paint itself, no need to initiate data pull from server)
RETURN FALSE if additional data is needed and the decorator has to query
the server asyncronously
started implementing connection

plus debug mode additions to test
refactoring decorator handling

- controller downloads all the required decorators when it processes the
events
- when creating / updating the item the DecoratorClass is already there
and passed alon to the view (or null and the Canvas will fill in the
default decorator for tiself...)
more refactoring of totally sync decorator behaviour
implementing item / connection remove

adding more debug functions