use of com.google.security.zynamics.binnavi.Gui.MainWindow.ProjectTree.Nodes.Views.Project.CProjectViewsContainerNode in project binnavi by google.
the class CProjectNode method createChildren.
/**
* Creates the child nodes of project nodes. One child node is added for each address space found
* in the project.
*/
@Override
protected void createChildren() {
if (m_project.isLoaded()) {
for (final INaviAddressSpace addressSpace : m_project.getContent().getAddressSpaces()) {
add(new CAddressSpaceNode(getProjectTree(), this, m_database, m_project, addressSpace, m_container));
}
add(new CProjectViewsContainerNode(getProjectTree(), m_project, m_container));
add(new CTracesNode(getProjectTree(), m_container));
}
}
use of com.google.security.zynamics.binnavi.Gui.MainWindow.ProjectTree.Nodes.Views.Project.CProjectViewsContainerNode in project binnavi by google.
the class CViewsToProjectHandler method drop.
@SuppressWarnings("unchecked")
@Override
public void drop(final DefaultMutableTreeNode parentNode, final Object data) {
final CProjectViewsContainerNode projectNode = (CProjectViewsContainerNode) parentNode;
final INaviProject project = projectNode.getObject();
final List<INaviView> views = (List<INaviView>) data;
for (final INaviView view : views) {
CProjectFunctions.copyView(m_parent, project, view);
}
}
Aggregations