Rename ItemView
to Item
This commit is contained in:
parent
aced1e2315
commit
0efce8f70a
11 changed files with 122 additions and 135 deletions
|
@ -25,7 +25,7 @@ use std::{
|
|||
sync::Arc,
|
||||
};
|
||||
use util::TryFutureExt;
|
||||
use workspace::{ItemNavHistory, ItemViewHandle as _, Settings, Workspace};
|
||||
use workspace::{ItemHandle as _, ItemNavHistory, Settings, Workspace};
|
||||
|
||||
action!(Deploy);
|
||||
|
||||
|
@ -438,7 +438,7 @@ impl ProjectDiagnosticsEditor {
|
|||
}
|
||||
}
|
||||
|
||||
impl workspace::ItemView for ProjectDiagnosticsEditor {
|
||||
impl workspace::Item for ProjectDiagnosticsEditor {
|
||||
fn tab_content(&self, style: &theme::Tab, cx: &AppContext) -> ElementBox {
|
||||
render_summary(
|
||||
&self.summary,
|
||||
|
|
|
@ -71,7 +71,7 @@ impl View for DiagnosticSummary {
|
|||
impl StatusItemView for DiagnosticSummary {
|
||||
fn set_active_pane_item(
|
||||
&mut self,
|
||||
_: Option<&dyn workspace::ItemViewHandle>,
|
||||
_: Option<&dyn workspace::ItemHandle>,
|
||||
_: &mut ViewContext<Self>,
|
||||
) {
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue