Skip to content

Support ViewPaneContainer in Panel - #87191

Merged
SteVen Batten (sbatten) merged 5 commits into
microsoft:masterfrom
sbatten:outlinePanel
Dec 17, 2019
Merged

SteVen Batten (sbatten) merged 5 commits into
microsoft:masterfrom
sbatten:outlinePanel

Conversation

@sbatten

@sbatten SteVen Batten (sbatten) commented Dec 17, 2019 •

Copy link
Copy Markdown
Member

No description provided.

@sbatten SteVen Batten (sbatten) changed the title Outline panel Support ViewPaneContainer in Panel Dec 17, 2019
Comment thread src/vs/workbench/browser/panel.ts Outdated

export abstract class Panel extends Composite implements IPanel { }

export abstract class PanelV2 extends PaneComposite implements IPanel { }

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about calling this PaneCompositePanel ?


getTitle(): string {
let title = Registry.as<ViewletRegistry>(Extensions.Viewlets).getViewlet(this.getId()).name;
const composite = Registry.as<ViewletRegistry>(ViewletExtensions.Viewlets).getViewlet(this.getId()) || Registry.as<PanelRegistry>(PanelExtensions.Panels).getPanel(this.getId());

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like ViewContainer should support name property. Can you please create a follow up item for this?

@sandy081

Copy link
Copy Markdown
Member

Few comments as mentioned above, otherwise LGTM. Please merge it after above feedback is taken care of.

@sbatten
SteVen Batten (sbatten) merged commit 8eb835c into microsoft:master Dec 17, 2019
@sbatten
SteVen Batten (sbatten) deleted the outlinePanel branch December 17, 2019 16:59
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants