Opened 10 years ago

Closed 9 years ago

Last modified 9 years ago

#972 closed feature request (done)

Enhance ViewHost and adapt MainForm

Reported by: mkommend Owned by: mkommend
Priority: medium Milestone: HeuristicLab 3.3.0
Component: MainForm.WindowsForms Version: 3.3.0
Keywords: Cc:

Description (last modified by mkommend)

It should be possible in the MainForm to specify if a newly created view is shown with a view host or in a normal form. Additionally the ViewHost should cache the created views, react properly on Content changes and provide a drag operation on the ViewHost icon.

Change History (43)

comment:1 Changed 10 years ago by mkommend

  • Description modified (diff)
  • Status changed from new to assigned

comment:2 Changed 10 years ago by mkommend

added caching in ViewHost r3388

comment:3 Changed 10 years ago by mkommend

enhanced caching of views in ViewHost and adapted MainFormManager to use IContentView r3389

comment:4 Changed 10 years ago by mkommend

added drag and drop in ViewHost r3391

comment:5 Changed 10 years ago by mkommend

corrected designer file of ViewHost r3392

comment:6 Changed 10 years ago by mkommend

adapted mainforms to have a ShowInViewHost property r3394

comment:7 Changed 10 years ago by mkommend

renamed MainForm.ShowViewsInViewHost and removed ShowInViewHost from ViewAttribute r3395

comment:8 Changed 10 years ago by swagner

Temporarily set ShowViewsInViewHost of OptimizerMainForm to false in r3397 due to cross-thread exceptions.

comment:9 Changed 10 years ago by swagner

Set ShowViewsInViewHost back to true again in r3399.

comment:10 Changed 10 years ago by mkommend

enhanced viewHost (forwarding of view events, activeView property,...) r3403

comment:11 Changed 10 years ago by mkommend

fixed bug in MainForm r3421

comment:12 Changed 10 years ago by swagner

Corrected tool tip text of views label in r3434.

comment:13 Changed 10 years ago by gkronber

Added invoke-required check in ViewContextMenuStrip with r3464

comment:14 Changed 10 years ago by mkommend

adapted ViewHost to ContentChanged mechanism r3466

comment:15 Changed 10 years ago by mkommend

corrected bug in ViewHost; viewPanel was not set visible again r3471

comment:16 Changed 10 years ago by mkommend

fired MainForm.Changed event if a contained view changed r3488

comment:17 Changed 10 years ago by mkommend

corrected small bug fixes in ViewHost r3497

comment:18 Changed 9 years ago by mkommend

changed logic of showing new views r3557

comment:19 Changed 9 years ago by mkommend

removed ctors with contents in all views r3566

comment:20 Changed 9 years ago by mkommend

added Sidebar class and adapted Clipboard and OperatorSidebar r3571

comment:21 Changed 9 years ago by swagner

Fixed exception in CloseAllMenuItem and corrected default enabled state of CloseMenuItem and CloseAllMenuItem in r3576.

comment:22 Changed 9 years ago by mkommend

added collapsed property for Sidebar class r3644

comment:23 Changed 9 years ago by mkommend

added checks of viewpanel size in ViewHost r3646

comment:24 Changed 9 years ago by mkommend

corrected resizing behavior in ViewHost r3655

comment:25 Changed 9 years ago by mkommend

corrected ViewHost designer file r3657

comment:26 Changed 9 years ago by mkommend

corrected opening of views from the ViewHost r3670

comment:27 Changed 9 years ago by mkommend

corrected collection views and ViewHost r3709

comment:28 Changed 9 years ago by mkommend

added Suspend- and ResumeRepaint calls in View and ContentView r3727

comment:29 Changed 9 years ago by mkommend

added additional default view check when the content is changed r3730

comment:30 Changed 9 years ago by mkommend

corrected issue in ViewHost r3805

comment:31 Changed 9 years ago by mkommend

corrected critical bug in ViewHost r3863

comment:32 Changed 9 years ago by mkommend

corrected critical bug (r3863) in release tag r3866

comment:33 Changed 9 years ago by mkommend

changed check if ContentView can show the new Content in the setter - if the ContentAttribute is not present the check is omitted r3915

comment:34 Changed 9 years ago by mkommend

added bug fixes to avoid CreateWindowHandle exceptions r3918

comment:35 Changed 9 years ago by mkommend

added dispose call before removing views from the view collection r3924

comment:36 Changed 9 years ago by mkommend

  • refactored ViewHost and various views to use fewer nested controls
  • added UnitTests for ContentViews to ensure proper using of the ContentAttribute
  • fixed some views which could not handle null as Content

r4011

comment:37 Changed 9 years ago by mkommend

fixed bug concerning invisible views in viewhost r4083

comment:38 Changed 9 years ago by mkommend

added possibility to clear the cached views in the ViewHost r4084

comment:39 Changed 9 years ago by swagner

Fixed minor bugs of r4084 in r4097.

comment:40 Changed 9 years ago by mkommend

Improved ViewHost r4103.

comment:41 Changed 9 years ago by mkommend

  • Resolution set to fixed
  • Status changed from assigned to closed
  • Version changed from 3.2 to 3.3.0

The main development on the ViewHost and the MainForm is finished. From now on every feature or bug must be reported on an own ticket.

comment:42 Changed 9 years ago by swagner

  • Milestone changed from Iteration 4 to Current

Milestone Iteration 4 deleted

comment:11 Changed 9 years ago by swagner

  • Milestone changed from Current to HeuristicLab 3.3.0

Milestone Current deleted

Note: See TracTickets for help on using tickets.