port from perforce
This commit is contained in:
20
intromat/Intromat/Interfaces/IExpressionEditor.cs
Normal file
20
intromat/Intromat/Interfaces/IExpressionEditor.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using Intromat.Nodes.Code;
|
||||
using Intromat.ViewModels;
|
||||
|
||||
namespace Intromat.Interfaces
|
||||
{
|
||||
public interface IExpressionEditor
|
||||
{
|
||||
ERelativeSource RelativeSource
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
bool HasParentSource { get; }
|
||||
|
||||
bool HasInputSource { get; }
|
||||
|
||||
CodeGenPortViewModel CodeGenPort { get; }
|
||||
}
|
||||
}
|
||||
24
intromat/Intromat/Interfaces/IFile.cs
Normal file
24
intromat/Intromat/Interfaces/IFile.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using Intromat.ViewModels;
|
||||
|
||||
namespace Intromat.Interfaces
|
||||
{
|
||||
public interface IFile
|
||||
{
|
||||
bool IsDirty
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
|
||||
string FullPath
|
||||
{
|
||||
get;
|
||||
}
|
||||
|
||||
string Name
|
||||
{
|
||||
get;
|
||||
set;
|
||||
}
|
||||
}
|
||||
}
|
||||
7
intromat/Intromat/Interfaces/IPipeline.cs
Normal file
7
intromat/Intromat/Interfaces/IPipeline.cs
Normal file
@@ -0,0 +1,7 @@
|
||||
namespace Intromat.Interfaces
|
||||
{
|
||||
public interface IPipeline
|
||||
{
|
||||
void Apply();
|
||||
}
|
||||
}
|
||||
15
intromat/Intromat/Interfaces/IRefreshProperties.cs
Normal file
15
intromat/Intromat/Interfaces/IRefreshProperties.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using DynamicData;
|
||||
|
||||
namespace Intromat.Interfaces
|
||||
{
|
||||
public interface IRefreshProperties
|
||||
{
|
||||
IObservableList<PropertyDescriptor>? PropertyDescriptors { get; }
|
||||
}
|
||||
}
|
||||
9
intromat/Intromat/Interfaces/ITreeItem.cs
Normal file
9
intromat/Intromat/Interfaces/ITreeItem.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace Intromat.Interfaces
|
||||
{
|
||||
public interface ITreeItem
|
||||
{
|
||||
string Name { get; }
|
||||
bool IsExpanded { get; set; }
|
||||
bool IsSelected { get; set; }
|
||||
}
|
||||
}
|
||||
9
intromat/Intromat/Interfaces/IUndoItem.cs
Normal file
9
intromat/Intromat/Interfaces/IUndoItem.cs
Normal file
@@ -0,0 +1,9 @@
|
||||
namespace Intromat.Interfaces
|
||||
{
|
||||
public interface IUndoItem
|
||||
{
|
||||
void Redo();
|
||||
void Undo();
|
||||
IFile File { get; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user