diff --git a/Assets/SEE/Controls/Actions/LiveDocumentationAction.cs b/Assets/SEE/Controls/Actions/LiveDocumentationAction.cs
index bdf417b250..df102250cb 100644
--- a/Assets/SEE/Controls/Actions/LiveDocumentationAction.cs
+++ b/Assets/SEE/Controls/Actions/LiveDocumentationAction.cs
@@ -133,7 +133,7 @@ public override bool Update()
documentationWindow.Title += $" ({selectedFile})";
}
- documentationWindow.ClassName = documentationWindow.Title;
+ documentationWindow.SourceName = documentationWindow.Title;
documentationWindow.NodeOfClass = selectedNode.Value;
// Try initialise the FileParser
diff --git a/Assets/SEE/Game/UI/LiveDocumentation/LiveDocumentationWindow.cs b/Assets/SEE/Game/UI/LiveDocumentation/LiveDocumentationWindow.cs
index a6b656782d..9187371cea 100644
--- a/Assets/SEE/Game/UI/LiveDocumentation/LiveDocumentationWindow.cs
+++ b/Assets/SEE/Game/UI/LiveDocumentation/LiveDocumentationWindow.cs
@@ -57,9 +57,9 @@ public class LiveDocumentationWindow : BaseWindow
private LiveDocumentationWindowType DocumentationWindowType { get; set; }
///
- /// The name of the class
+ /// The name of the node which should be analysed
///
- public string ClassName { get; set; }
+ public string SourceName { get; set; }
///
/// A list of all imported namespaces/packages
@@ -108,7 +108,7 @@ public LiveDocumentationValues(string title, Node node, LiveDocumentationWindowT
/// Returns true when all fields are set. Otherwise false
private bool CheckNecessaryFields()
{
- return ClassName != null && NodeOfClass != null;
+ return SourceName != null && NodeOfClass != null;
}
///
@@ -175,7 +175,7 @@ private void OnClickClassMember(ClassMember cm)
newWin.Title += $" ({selectedFile})";
}
- newWin.ClassName = newWin.Title;
+ newWin.SourceName = newWin.Title;
newWin.NodeOfClass = method;
newWin.DocumentationWindowType = LiveDocumentationWindowType.METHOD;
newWin.ImportedNamespaces = ImportedNamespaces;
@@ -231,7 +231,7 @@ protected override void StartDesktop()
// Setting the classname.
- ClassNameField.text = ClassName;
+ ClassNameField.text = SourceName;
// Try setting the actual documentation
// If the class has no documentation
@@ -387,7 +387,7 @@ private void OnLinkClicked(string linkPath)
newWin.Title += $" ({selectedFile})";
}
- newWin.ClassName = newWin.Title;
+ newWin.SourceName = newWin.Title;
newWin.NodeOfClass = nodeOfLink;
LiveDocumentationBuffer buffer = new LiveDocumentationBuffer();
FileParser parser = new FileParser(nodeOfLink.AbsolutePlatformPath());