C# Class Oglr.Core.Model

Inheritance: IModel
Afficher le fichier Open project: SteveDunn/oglr

Méthodes publiques

Méthode Description
AddCustomProperty ( ITreeItem treeItem, CustomProperty newCustomProperty ) : void
AddEditor ( ItemEditor editor ) : void
AddEditorToSelection ( ItemEditor editor ) : void
AddNewLayer ( LayerEditor layer ) : void
AlignHorizontally ( ) : void
AlignRotation ( ) : void
AlignScale ( ) : void
AlignVertically ( ) : void
AttachBehaviour ( ITreeItem target, IBehaviour behaviour ) : void
CopySelectedItemsToLayer ( LayerEditor layer ) : void
CreateNewLevel ( ) : void
DeleteLayer ( LayerEditor layer ) : void
DeleteSelectedItems ( ) : void
DeserialiseLevel ( System.Xml.Linq.XElement xml ) : void
DuplicateLayer ( LayerEditor layer ) : void
LoadLevel ( LevelEditor level ) : void
Model ( IMemento memento ) : System
MoveEditorDown ( ItemEditor editor ) : void
MoveEditorUp ( ItemEditor i ) : void
MoveItemToLayer ( ItemEditor itemToMove, LayerEditor layer, ItemEditor itemToMoveNewItemUnder ) : void
MoveLayerDown ( LayerEditor layer ) : void
MoveLayerUp ( LayerEditor layer ) : void
MoveSelectedItemsToLayer ( LayerEditor chosenLayer ) : void
NotifyChanged ( IEnumerable items ) : void
NotifyChanged ( ItemEditor item ) : void
RemoveCustomPropertyItem ( ITreeItem item, DictionaryPropertyDescriptor propertyDescriptor ) : void
RenameItem ( ITreeItem treeItem, string newName ) : void
SaveLevel ( string filename ) : void
SelectBehaviour ( ITreeItem behaviour ) : void
SelectEditor ( ItemEditor editor ) : void
SelectEditors ( SelectedEditors itemEditors ) : void
SelectEverythingInSelectedLayer ( ) : void
SelectLayer ( LayerEditor layer ) : void
SelectLevel ( ) : void
ToggleSelectionOnItem ( ItemEditor item ) : void

Private Methods

Méthode Description
clearSelectedEditors ( ) : void
setActiveLayerIfItsDifferent ( LayerEditor layer ) : void
tryFire ( Func func, IEnumerable items ) : void
tryFire ( Func func, ITreeItem item ) : void

Method Details

AddCustomProperty() public méthode

public AddCustomProperty ( ITreeItem treeItem, CustomProperty newCustomProperty ) : void
treeItem ITreeItem
newCustomProperty Oglr.InGame.CustomProperty
Résultat void

AddEditor() public méthode

public AddEditor ( ItemEditor editor ) : void
editor ItemEditor
Résultat void

AddEditorToSelection() public méthode

public AddEditorToSelection ( ItemEditor editor ) : void
editor ItemEditor
Résultat void

AddNewLayer() public méthode

public AddNewLayer ( LayerEditor layer ) : void
layer LayerEditor
Résultat void

AlignHorizontally() public méthode

public AlignHorizontally ( ) : void
Résultat void

AlignRotation() public méthode

public AlignRotation ( ) : void
Résultat void

AlignScale() public méthode

public AlignScale ( ) : void
Résultat void

AlignVertically() public méthode

public AlignVertically ( ) : void
Résultat void

AttachBehaviour() public méthode

public AttachBehaviour ( ITreeItem target, IBehaviour behaviour ) : void
target ITreeItem
behaviour IBehaviour
Résultat void

CopySelectedItemsToLayer() public méthode

public CopySelectedItemsToLayer ( LayerEditor layer ) : void
layer LayerEditor
Résultat void

CreateNewLevel() public méthode

public CreateNewLevel ( ) : void
Résultat void

DeleteLayer() public méthode

public DeleteLayer ( LayerEditor layer ) : void
layer LayerEditor
Résultat void

DeleteSelectedItems() public méthode

public DeleteSelectedItems ( ) : void
Résultat void

DeserialiseLevel() public méthode

public DeserialiseLevel ( System.Xml.Linq.XElement xml ) : void
xml System.Xml.Linq.XElement
Résultat void

DuplicateLayer() public méthode

public DuplicateLayer ( LayerEditor layer ) : void
layer LayerEditor
Résultat void

LoadLevel() public méthode

public LoadLevel ( LevelEditor level ) : void
level LevelEditor
Résultat void

Model() public méthode

public Model ( IMemento memento ) : System
memento IMemento
Résultat System

MoveEditorDown() public méthode

public MoveEditorDown ( ItemEditor editor ) : void
editor ItemEditor
Résultat void

MoveEditorUp() public méthode

public MoveEditorUp ( ItemEditor i ) : void
i ItemEditor
Résultat void

MoveItemToLayer() public méthode

public MoveItemToLayer ( ItemEditor itemToMove, LayerEditor layer, ItemEditor itemToMoveNewItemUnder ) : void
itemToMove ItemEditor
layer LayerEditor
itemToMoveNewItemUnder ItemEditor
Résultat void

MoveLayerDown() public méthode

public MoveLayerDown ( LayerEditor layer ) : void
layer LayerEditor
Résultat void

MoveLayerUp() public méthode

public MoveLayerUp ( LayerEditor layer ) : void
layer LayerEditor
Résultat void

MoveSelectedItemsToLayer() public méthode

public MoveSelectedItemsToLayer ( LayerEditor chosenLayer ) : void
chosenLayer LayerEditor
Résultat void

NotifyChanged() public méthode

public NotifyChanged ( IEnumerable items ) : void
items IEnumerable
Résultat void

NotifyChanged() public méthode

public NotifyChanged ( ItemEditor item ) : void
item ItemEditor
Résultat void

RemoveCustomPropertyItem() public méthode

public RemoveCustomPropertyItem ( ITreeItem item, DictionaryPropertyDescriptor propertyDescriptor ) : void
item ITreeItem
propertyDescriptor DictionaryPropertyDescriptor
Résultat void

RenameItem() public méthode

public RenameItem ( ITreeItem treeItem, string newName ) : void
treeItem ITreeItem
newName string
Résultat void

SaveLevel() public méthode

public SaveLevel ( string filename ) : void
filename string
Résultat void

SelectBehaviour() public méthode

public SelectBehaviour ( ITreeItem behaviour ) : void
behaviour ITreeItem
Résultat void

SelectEditor() public méthode

public SelectEditor ( ItemEditor editor ) : void
editor ItemEditor
Résultat void

SelectEditors() public méthode

public SelectEditors ( SelectedEditors itemEditors ) : void
itemEditors SelectedEditors
Résultat void

SelectEverythingInSelectedLayer() public méthode

public SelectEverythingInSelectedLayer ( ) : void
Résultat void

SelectLayer() public méthode

public SelectLayer ( LayerEditor layer ) : void
layer LayerEditor
Résultat void

SelectLevel() public méthode

public SelectLevel ( ) : void
Résultat void

ToggleSelectionOnItem() public méthode

public ToggleSelectionOnItem ( ItemEditor item ) : void
item ItemEditor
Résultat void