Hi,I want to find the shapes of all nodes in a network, here is the code I wrote:public class MenuAction extends AbstractCyAction {private CyAppAdapter adapter;public MenuAction(CyAppAdapter adapter) {super("Save node color and shape", adapter.getCyApplicationManager(),"network", adapter.getCyNetworkViewManager());this.adapter = adapter;setPreferredMenu("Layout");}
@Overridepublic void actionPerformed(ActionEvent e) {CyApplicationManager manager = adapter.getCyApplicationManager();CyNetworkView networkView = manager.getCurrentNetworkView();NodeShape shape;for (View<? extends CyIdentifiable> nodeView : networkView.getAllViews())shape = nodeView.getVisualProperty(BasicVisualLexicon.NODE_SHAPE);}}However, this code always throws "java.Lang.NoClassDefFoundError: org/cytoscape/view/presentation/property/values/NodeShape" exception in thread "AWT-EventQueue-0" what am I doing wrong here?Thank you,Khaled--
You received this message because you are subscribed to the Google Groups "cytoscape-helpdesk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-helpd...@googlegroups.com.
To post to this group, send email to cytoscape...@googlegroups.com.
Visit this group at http://groups.google.com/group/cytoscape-helpdesk?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
To unsubscribe from this group and stop receiving emails from it, send an email to cytoscape-helpdesk+unsub...@googlegroups.com.