44 postConstruct ,
55} from "@theia/core/shared/inversify" ;
66
7- import { Signal } from "@phosphor /signaling" ;
7+ import { Signal } from "@lumino /signaling" ;
88import {
99 TabBar ,
1010 Widget ,
@@ -15,32 +15,32 @@ import {
1515 DockLayout ,
1616 BoxLayout ,
1717 FocusTracker ,
18- } from "@phosphor /widgets" ;
18+ } from "@lumino /widgets" ;
1919import {
2020 empty ,
2121 toArray ,
2222 ArrayExt ,
23- IIterator ,
23+ // IIterator,
2424 find ,
25- iter ,
26- } from "@phosphor /algorithm" ;
25+ // iter,
26+ } from "@lumino /algorithm" ;
2727import {
2828 Message ,
2929 MessageLoop ,
3030 ConflatableMessage
31- } from "@phosphor /messaging" ;
31+ } from "@lumino /messaging" ;
3232import {
3333 Drag , IDragEvent
34- } from '@phosphor /dragdrop' ;
34+ } from '@lumino /dragdrop' ;
3535import {
3636 MimeData
37- } from '@phosphor /coreutils' ;
37+ } from '@lumino /coreutils' ;
3838import {
3939 ElementExt
40- } from '@phosphor /domutils' ;
40+ } from '@lumino /domutils' ;
4141import {
4242 IDisposable
43- } from '@phosphor /disposable' ;
43+ } from '@lumino /disposable' ;
4444
4545import {
4646 MessageService ,
@@ -56,10 +56,10 @@ import {
5656 TheiaDockPanel ,
5757 BOTTOM_AREA_ID ,
5858 MAIN_AREA_ID ,
59- MAXIMIZED_CLASS ,
59+ // MAXIMIZED_CLASS,
6060} from "@theia/core/lib/browser/shell/theia-dock-panel" ;
6161import { FrontendApplicationStateService } from "@theia/core/lib/browser/frontend-application-state" ;
62- import { CorePreferences } from "@theia/core/lib/browser /core-preferences" ;
62+ import { CorePreferences } from "@theia/core/lib/common /core-preferences" ;
6363
6464import { crdebug } from "./cr-logger" ;
6565import { CodeRibbonTheiaPatch } from "./cr-patch" ;
@@ -1014,13 +1014,13 @@ export class CodeRibbonTheiaRibbonPanel extends BoxPanel implements EventListene
10141014 // features that DockPanel has, and they're expected by Theia
10151015
10161016 // @ts -expect-error TS2425: Class defines instance member property 'widgets', but extended class defines it as instance member function.
1017- override widgets ( ) : IIterator < Widget > {
1017+ override widgets ( ) : Iterator < Widget > {
10181018 // TODO iterate widgets in order of ribbon layout from within strips
10191019 // return (this.layout as CodeRibbonTheiaRibbonLayout).widgets;
1020- return iter ( this . contentful_widgets ) ;
1020+ return this . contentful_widgets . values ( ) ;
10211021 }
10221022
1023- tabBars ( ) : IIterator < TabBar < Widget > > {
1023+ tabBars ( ) : IterableIterator < TabBar < Widget > > {
10241024 // TODO removal of tabBars
10251025 // return this._root ? this._root.iterTabBars() : empty<TabBar<Widget>>();
10261026 return empty < TabBar < Widget > > ( ) ;
@@ -1363,7 +1363,7 @@ export class CodeRibbonTheiaRibbonPanel extends BoxPanel implements EventListene
13631363 UnsafeWidgetUtilities . detach ( this ) ;
13641364 }
13651365 maximizedElement . style . display = "block" ;
1366- this . addClass ( MAXIMIZED_CLASS ) ;
1366+ // this.addClass(MAXIMIZED_CLASS); // TODO is this still needed?
13671367 const preference = this . preferences ?. get ( "window.menuBarVisibility" ) ;
13681368 if ( ! this . isElectron ( ) && preference === "visible" ) {
13691369 this . addClass ( VISIBLE_MENU_MAXIMIZED_CLASS ) ;
@@ -1374,7 +1374,7 @@ export class CodeRibbonTheiaRibbonPanel extends BoxPanel implements EventListene
13741374 this . toDisposeOnToggleMaximized . push (
13751375 Disposable . create ( ( ) => {
13761376 maximizedElement . style . display = "none" ;
1377- this . removeClass ( MAXIMIZED_CLASS ) ;
1377+ // this.removeClass(MAXIMIZED_CLASS); // TODO is this still needed?
13781378 this . onDidToggleMaximizedEmitter . fire ( this ) ;
13791379 if ( ! this . isElectron ( ) ) {
13801380 this . removeClass ( VISIBLE_MENU_MAXIMIZED_CLASS ) ;
0 commit comments