In my own statistics plugin, I want to show a panel that I added but it does not allow to do it.
If you look below or at the attached picture, you will see that viewPanel.show is not allowed to work.
How can I show a panel right after I execute my statistics?
@Override
public void execute(GraphModel graphModel, AttributeModel attributeModel) {
this.attributeModel = attributeModel;
hgraph = graphModel.getHierarchicalUndirectedGraphVisible();
Progress.start(progressTicket);
getPartitionsRecursively(hgraph, attributeModel,"0");
GraphViewPanel viewPanel = new GraphViewPanel();
viewPanel.show();
Progress.finish(progressTicket);
}
How to show a panel after the statistics execute
-
- Posts:51
- Joined:12 Oct 2011 23:01
- Location:Arkansas,USA [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
- mbastian
- Gephi Architect
- Posts:728
- Joined:10 Dec 2009 10:11
- Location:San Francisco, CA [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: How to show a panel after the statistics execute
Follow this tutorial to add a report panel to your stat:
http://wiki.gephi.org/index.php/HowTo_w ... atisticsUI
http://wiki.gephi.org/index.php/HowTo_w ... atisticsUI