Exemplo n.º 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);
     }
 }
Exemplo n.º 2
0
 private void onTrackRemoved(ShowPropSubActionPrototype prototype)
 {
     if (editInterface != null)
     {
         editInterface.removeSubInterface(prototype);
     }
 }
Exemplo n.º 3
0
 private void onInstanceFileRemoved(InstanceFileInterface fileInterface)
 {
     if (editInterface != null)
     {
         editInterface.removeSubInterface(fileInterface);
     }
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
     }
 }
Exemplo n.º 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);
 }