using System;
using System.Collections.Generic;
namespace Core.Common.Gui
{
///
/// Handles all common high-level commands in the graphical user interface invoked via menu / toolbar.
///
public interface IGuiCommandHandler
{
///
/// Presents the user with a dialog to choose an editor for the selected dataitem
///
void OpenSelectViewDialog();
void OpenViewForSelection();
void OpenView(object dataObject);
void RemoveAllViewsForItem(object dataObject);
///
///
///
/// true if there is a default view for the current selection
bool CanOpenViewFor(object obj);
///
///
/// true if there are more supported views for the current selection
bool CanOpenSelectViewDialog();
///
/// Activates the propertyGrid toolbox
///
///
void ShowPropertiesFor(object obj);
///
/// Indicates if there is a property view object for the current .
///
///
/// true if a property view is defined, false otherwise.
bool CanShowPropertiesFor(object obj);
object GetDataOfActiveView();
void OpenLogFileExternal();
}
}