Ticket #1929 (closed planned_task)
ELEMENT_VIEWS_REDESIGN_R0
Reported by: | deni | Owned by: | deni |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | BOOK_VIEW | Version: | 2.0 |
Keywords: | Cc: | deni | |
Category: | unknown | Effort: | |
Importance: | Ticket_group: | ||
Estimated Number of Hours: | 0 | Add Hours to Ticket: | 0 |
Billable?: | yes | Total Hours: | 0 |
Analysis_owners: | deni | Design_owners: | deni |
Imp._owners: | Test_owners: | ||
Analysis_reviewers: | meddle | Changelog: | |
Design_reviewers: | pap, meddle | Imp._reviewers: | meddle |
Test_reviewers: | Analysis_score: | 3 | |
Design_score: | 3.5 | Imp._score: | 3.5 |
Test_score: | 0 |
Description (last modified by deyan) (diff)
Change History
comment:1 Changed 16 years ago by deni
- Owner set to deni
- Status changed from new to s1a_analysis_started
comment:2 Changed 16 years ago by deni
- Status changed from s1a_analysis_started to s1b_analysis_finished
comment:3 Changed 16 years ago by meddle
- Cc deni added
- Status changed from s1b_analysis_finished to s1c_analysis_ok
- Analysis_reviewers set to meddle
- Analysis_score changed from 0 to 3
I think the analysis pass... But the demo is the most important thing! It is a requirement for this task to pass!
3p (10m)
comment:5 Changed 16 years ago by deni
- Status changed from s2a_design_started to s2b_design_finished
comment:6 Changed 16 years ago by deyan
- Description modified (diff)
- Summary changed from ELEMENT_VIEWS_REDESIGN to ELEMENT_VIEWS_REDESIGN_R0
Moving wiki page and renaming ticket
comment:7 Changed 16 years ago by pap
- Status changed from s2b_design_finished to s2c_design_ok
- Design_score changed from 0 to 3.5
- Design_reviewers set to pap. meddle
- TODO(R4)s in FrameView - look at them and fix them
- FrameView.makeContentElement - Consider the state whre a frame has no content (getModel().getResourceKind().equals(FrameR4.KIND) ).
- Be sure to fix the warnings in the classes you edit.
- Use FrameResizeTest to fix frame resizing
- Rewrite the PageWorkAreaTest
- Why don't you put the different AlignElementButtons as static classes in the AlignElementsHud :)
- Write JaavDoc to every new method you write, please.
- Write JavaDoc to the undocumented methods in AppHaloUtil and find a better place for some of them.
- It would be nice to check for null values if you expect them or assert if not (GroupHalosLogic.ON_ENTER_GROUP).
- Write JavaDoc for ScopeRel elements.
- Probably it is better to write several Operations that have different filters instead of one having an instanceof check. (ElementLogic)
- You have repeating bad code ont the halo's compute visible
- Bad code:
List<ElementView> selected = pwa.getSel().getSelected(); return ((selected.size() == 1 && selected.get(0) instanceof FrameView) || selected.size() == 0);
- Better code :
return pwa.getSingleSelected(FrameView.class) != null || pwa.getSel().getSelected() == 0;
- And because you use this check often the best thing is to have method for it, I know that that thing is applied for the page's and frame's common halos.
- Bad code:
- In the annotation's palette use a tracking list to generate your items, not composing, because it's more optimal.
- Don't use " @SuppressWarnings("hiding")". Fix such problems other way.(BookViewOptions)
- Use braces even in single-lined for and if statements. Don't forget that in auto-generated equals method (BookViewOptions).
- Fake JavaDoc in SelectionRel.
- I heard that there is some kind of a convention for logis that states their members should have names starting with "ON_". (ScenePageLogic) - and you have warnings in this file.
- Exception swallowing in BackgroundImageField.ON_IMAGE_SUBMIT - throw a RuntimeException instead. Same with BackgroundPatternField.
- In most cases it is better to delete old code instead of commenting it out.
- Good luck :)
comment:8 Changed 16 years ago by deni
- Status changed from s2c_design_ok to s3a_implementation_started
comment:9 Changed 16 years ago by deni
- Status changed from s3a_implementation_started to s3b_implementation_finished
comment:10 Changed 16 years ago by meddle
- Status changed from s3b_implementation_finished to s3c_implementation_ok
- Imp._score changed from 0 to 3.5
- Imp._reviewers set to meddle
- Notes
- The Shift key is used for selectiong not the Control
- Don't write AutoActions in another anonimous extended classes if the parameters of the actions are in the main class. The sun compilator doesn't like that. Example:
class Some { public void someMethod(0 { final int someParam = some_expression; new Something() { private void methodA() { new AutoAction("Some desc", true) { public void performAuto() { getChanger().setRaw(someKey, someParam); }.register(some_where); } } }; } }
- In the AutoActions why use ResourceChanger variables when getting sub changers instead SubResourceChanger ones.
- I don't know if the selection order must be the order in the group. I think you should keep the Z-order after grouping.
3.5p (70m)
comment:12 Changed 15 years ago by deyan
- Status changed from s3c_implementation_ok to closed
Batch update from file query-10.csv
Note: See
TracTickets for help on using
tickets.