WorkspacePanel

Undocumented in source.

Constructors

this
this(string id)
Undocumented in source.

Members

Functions

activate
void activate()
Undocumented in source. Be warned that the author may not have intended to support it.
addProjectItems
void addProjectItems(TreeItem root, ProjectItem items)

Adding elements to the tree

collapseAll
void collapseAll(Action a)
Undocumented in source. Be warned that the author may not have intended to support it.
createBodyWidget
Widget createBodyWidget()
Undocumented in source. Be warned that the author may not have intended to support it.
expandAll
void expandAll(Action a)
Undocumented in source. Be warned that the author may not have intended to support it.
findKeyAction
Action findKeyAction(uint keyCode, uint flags)

map key to action

findSourceFileItem
ProjectSourceFile findSourceFileItem(string filename, bool fullFileName, dstring projectName)
Undocumented in source. Be warned that the author may not have intended to support it.
handleAction
bool handleAction(Action a)

override to handle specific actions

hide
void hide()

hide workspace panel

onCloseButtonClick
bool onCloseButtonClick(Widget source)
Undocumented in source. Be warned that the author may not have intended to support it.
onPopupMenuItem
void onPopupMenuItem(MenuItem item)
Undocumented in source. Be warned that the author may not have intended to support it.
onTreeExpandedStateChange
void onTreeExpandedStateChange(TreeItems source, TreeItem item)
Undocumented in source. Be warned that the author may not have intended to support it.
onTreeItemPopupMenu
MenuItem onTreeItemPopupMenu(TreeItems source, TreeItem selectedItem)
Undocumented in source. Be warned that the author may not have intended to support it.
onTreeItemSelected
void onTreeItemSelected(TreeItems source, TreeItem selectedItem, bool activated)
Undocumented in source. Be warned that the author may not have intended to support it.
readExpandedStateFromWorkspace
void readExpandedStateFromWorkspace()
Undocumented in source. Be warned that the author may not have intended to support it.
reloadItems
void reloadItems()
Undocumented in source. Be warned that the author may not have intended to support it.
restoreItemState
bool restoreItemState(string itemPath)

Is need to expand item?

saveItemState
void saveItemState(string itemPath, bool expanded)

Saving items collapse/expand state

selectItem
bool selectItem(ProjectItem projectItem)
Undocumented in source. Be warned that the author may not have intended to support it.
updateDefault
void updateDefault()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

selectedProjectItem
ProjectItem selectedProjectItem [@property getter]

returns currently selected project item

workspace
Workspace workspace [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
workspace
Workspace workspace [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_filePopupMenu
MenuItem _filePopupMenu;
Undocumented in source.
_folderPopupMenu
MenuItem _folderPopupMenu;
Undocumented in source.
_itemStates
bool[string] _itemStates;
Undocumented in source.
_itemStatesDirty
bool _itemStatesDirty;
Undocumented in source.
_popupMenuSelectedItem
TreeItem _popupMenuSelectedItem;
Undocumented in source.
_popupMenuSelectedItemId
string _popupMenuSelectedItemId;
Undocumented in source.
_projectPopupMenu
MenuItem _projectPopupMenu;
Undocumented in source.
_tree
TreeWidget _tree;
Undocumented in source.
_workspace
Workspace _workspace;
Undocumented in source.
_workspacePopupMenu
MenuItem _workspacePopupMenu;
Undocumented in source.
sourceFileSelectionListener
Signal!SourceFileSelectionHandler sourceFileSelectionListener;

handle source file selection change

workspaceActionListener
Signal!WorkspaceActionHandler workspaceActionListener;
Undocumented in source.

Meta