Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 357922 - Improve Tutorial with theory behind of styles and new create-"plain"-methods
Summary: Improve Tutorial with theory behind of styles and new create-"plain"-methods
Status: CLOSED FIXED
Alias: None
Product: Graphiti
Classification: Modeling
Component: Core (show other bugs)
Version: 0.8.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: 0.9.0   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard: Juno M5 Theme_round_offs
Keywords:
Depends on: 352542
Blocks:
  Show dependency tree
 
Reported: 2011-09-16 07:12 EDT by Juergen Pasch CLA
Modified: 2012-06-29 04:16 EDT (History)
1 user (show)

See Also:
michael.wenz: documentation+
juergen.pasch: juno+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Juergen Pasch CLA 2011-09-16 07:12:25 EDT
The current chapter in the tutorial about styles has following weaknesses:
- it is not mentioned that both graphical algorithms and styles have default values
- the style E-CLASS is parent of style ECLASS-TEXT, but ECLASS-TEXT cannot overwrite values of E-CLASS because styles existing values cannot be "overwritten"
- setLineWidth(2) has no effect, because LineWidth has a default value of 1 in the ga
- setFilled(true) on the ga text has no effect, because the text has it as default

Most of the issues are caused by the change from MOIN to EMF as modeling technology.

The new version of the styles chapter should cover following points:
- theory behind styles, defaults, create- and plain create methods,
- be a standalone chapter and excluded as a step in the tutorial
- a consistent and free of contradictions implementation
Comment 1 Juergen Pasch CLA 2011-09-16 07:17:52 EDT
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=352542
Comment 2 Juergen Pasch CLA 2011-12-20 09:00:19 EST
The chapter "Using Styles" is improved the coding is adjusted accordingly in all chapters concerning graphics algorithms and Styles. A new chapter "Default Attribute Values of Graphics Algorithms" is introduced.
Comment 3 Michael Wenz CLA 2012-04-11 10:49:05 EDT
Bookkeeping: Set target release
Comment 4 Michael Wenz CLA 2012-06-29 04:16:34 EDT
Part of Graphiti 0.9.0 (Eclipse Juno)