1 |
========================================================================== |
========================================================================== |
2 |
PEG 1018: ViewTool (was generalizing VobVanishingClient) |
PEG 1018: ViewTool |
3 |
========================================================================== |
========================================================================== |
4 |
|
|
5 |
:Authors: Asko Soukka, Benja Fallenstein |
:Authors: Asko Soukka, Benja Fallenstein |
7 |
:Last-Modified: $Date$ |
:Last-Modified: $Date$ |
8 |
:Revision: $Revision$ |
:Revision: $Revision$ |
9 |
:Status: Incomplete |
:Status: Incomplete |
10 |
|
:Scope: Minor |
11 |
|
:Type: Feature |
12 |
|
|
13 |
This PEG is about creating a ViewTool. The ViewTool would offer easy-to-use |
This PEG is about creating a ViewTool. The ViewTool would offer easy-to-use |
14 |
interface for prototyping new views - and lowering the treshold of starting |
interface for prototyping new views - and lowering the treshold of starting |
15 |
view development. |
development of new view. |
16 |
|
|
17 |
Motivation |
Motivation |
18 |
---------- |
---------- |
126 |
|
|
127 |
- How cells should be placed through ViewTool? |
- How cells should be placed through ViewTool? |
128 |
|
|
129 |
The drawing box, cell, its 2D coordinates, depth and |
RESOLVED: The drawing box, cell, its 2D coordinates, depth and |
130 |
scale could be passed to ViewTool's place. It will return |
scale could be passed to ViewTool's place. It will return |
131 |
an appropriate coordinate system for placing vob self by |
an appropriate coordinate system for placing vob self by |
132 |
VobScene's put(). |
VobScene's put(). |
133 |
|
|
134 |
|
``int placeCS(Box box, Cell cell, float x, |
135 |
|
float y, float depth, float scale);`` |
136 |
|
|
137 |
|
X and Y are coordinates of origo of the drawn vob. This |
138 |
|
way works with both: views that allow stretchable vobs |
139 |
|
and views that do not. |
140 |
|
|
141 |
- Do we need anymore to get and use Dimension size from VobScene, |
- Do we need anymore to get and use Dimension size from VobScene, |
142 |
when we are using box coordinate systems? |
when we are using box coordinate systems? |
143 |
|
|
144 |
- How connections should be created through ViewTool? |
- How connections should be created through ViewTool? |
145 |
|
|
|
- Do we need rasters in general? |
|
|
|
|
|
- If yes, what rasters should exactly do? |
|
|
|
|
146 |
- How rasters could be used through ViewTool? |
- How rasters could be used through ViewTool? |
147 |
|
|
148 |
- Finally, would using planned methods make e.g. out basic |
- Should basic views be rewritten using ViewTool? |
149 |
views look more clear? |
|
150 |
|
- Is ViewTool only obvious shortcuts to add inside VobCoorder or VobScene? |
151 |
|
|
152 |
Changes |
Changes |
153 |
------- |
------- |
154 |
|
|
155 |
This is currently in very beginning. |
This is currently in its very beginning. |
156 |
|
|
157 |
.. UML:: umltool |
.. UML:: umltool |
158 |
|
|