@Override
	public void onUpdatePath(@Nonnull PathNode<?> path) {
		// Update if class has changed.
		if (path instanceof FilePathNode filePath) {
			this.path = filePath;
			pathUpdateListeners.forEach(listener -> listener.accept(filePath));

			// Initialize UI if it has not been done yet.
			if (!hasDisplay())
				generateDisplay();

			// Notify children of change.
			getNavigableChildren().forEach(child -> {
				if (child instanceof UpdatableNavigable updatable)
					updatable.onUpdatePath(path);
			});
		}
	}
Common outline for displaying {@link FileInfo} content.

@author Matt Coley
@see TextFilePane
@see BinaryXmlFilePane
@see ImageFilePane
@see AudioFilePane
@see VideoFilePane
recaf-ui/src/main/java/software/coley/recaf/ui/pane/editing/FilePane.java