Copied the implementation of GUI from Gephi Timeline module.