Exemple #1
0
 /// <summary>
 /// Remove a MovableObjectDefinition.
 /// </summary>
 /// <param name="definition">The definition to remove.</param>
 public void removeMovableObjectDefinition(MovableObjectDefinition definition)
 {
     movableObjects.Remove(definition.Name);
     if (editInterface != null)
     {
         editInterface.removeSubInterface(definition);
     }
 }
Exemple #2
0
 private void onTrackRemoved(ShowPropSubActionPrototype prototype)
 {
     if (editInterface != null)
     {
         editInterface.removeSubInterface(prototype);
     }
 }
Exemple #3
0
 private void onInstanceFileRemoved(InstanceFileInterface fileInterface)
 {
     if (editInterface != null)
     {
         editInterface.removeSubInterface(fileInterface);
     }
 }
Exemple #4
0
 /// <summary>
 /// Remove a SimElementManagerDefinition.
 /// </summary>
 /// <param name="def">The definition to remove.</param>
 public void removeSimElementManagerDefinition(SimElementManagerDefinition def)
 {
     elementManagers.Remove(def);
     if (editInterface != null)
     {
         simElementEditor.removeSubInterface(def);
     }
 }
Exemple #5
0
 /// <summary>
 /// Remove a SimSubSceneDefinition.
 /// </summary>
 /// <param name="def">The definition to remove.</param>
 public void removeSimSubSceneDefinition(SimSubSceneDefinition def)
 {
     subSceneDefinitions.Remove(def.Name);
     def.setScene(null);
     if (editInterface != null)
     {
         subScenes.removeSubInterface(def);
     }
 }
Exemple #6
0
 /// <summary>
 /// Remove a SimElementDefinition.
 /// </summary>
 /// <param name="definition">The definition to remove.</param>
 public void removeElement(SimElementDefinition definition)
 {
     definition.setSimObjectDefinition(null);
     definitions.Remove(definition);
     if (editInterface != null)
     {
         editInterface.removeSubInterface(definition);
     }
 }
 public void preActionRemoved(TimelineInstantAction action)
 {
     editInterface.removeSubInterface(action);
 }