using System.Windows;
namespace SHJX.Service.WorkFlowEdit
{
public interface IDiagramController
{
///
/// Is called when user move/resize an item
///
/// Selected items
/// New item bounds
void UpdateItemsBounds(DiagramItem[] items, Rect[] bounds);
///
/// Is called when user create a link between items
///
/// the state of the link before user action
/// Link in the current state
void UpdateLink(LinkInfo initialState, ILink link);
void ExecuteCommand(System.Windows.Input.ICommand command, object parameter);
bool CanExecuteCommand(System.Windows.Input.ICommand command, object parameter);
}
}