Hello,
I am new to Gephi, and I must say I am quite impressed with the project! Anyway, I am trying to create an importer plugin for fun, and I believe the best way to categorize this plugin is as a "spigot importer" (because it will connect to a 3rd party web service).
I have created a new module and made implementations of the SpigotImporterBuilder and SpigotImporter interfaces, as well as the ImporterUI interface. Moreover, I have set the @ServiceProvider annotation on my SpigotImporterBuilder and ImporterUI implementations. However, when launching Gephi, I do not see how to actually run my spigot importer. I guess I was expecting to see a new menu item "File -> Import Spigot", analogous to the "File -> Import Database" menu item, but this does not appear to be the case. How does one run a spigot importer plugin from inside Gephi?
Thanks!
Dan
Note: I am running Gephi revno 1501 from the lp:gephi bazaar branch.
Spigot Importer Plugin
-
- Posts:2
- Joined:28 Jun 2010 00:17 [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: Spigot Importer Plugin
Yeah! Spigot is indeed the good category I think.I am new to Gephi, and I must say I am quite impressed with the project! Anyway, I am trying to create an importer plugin for fun, and I believe the best way to categorize this plugin is as a "spigot importer" (because it will connect to a 3rd party web service).
You did everything right, the menu has been deactivated because I deployed a fast update last week, but now it's back into it. You can either update the trunk to the current revision or do the same operation I did, Right-Click on the Gephi Project -> "Add Existing" and find "DesktopSpigot" directory.I have created a new module and made implementations of the SpigotImporterBuilder and SpigotImporter interfaces, as well as the ImporterUI interface. Moreover, I have set the @ServiceProvider annotation on my SpigotImporterBuilder and ImporterUI implementations. However, when launching Gephi, I do not see how to actually run my spigot importer. I guess I was expecting to see a new menu item "File -> Import Spigot", analogous to the "File -> Import Database" menu item, but this does not appear to be the case. How does one run a spigot importer plugin from inside Gephi?
The Import Spigot should then appear normally, with your plugin their if everything is fine.
Keep us updated if you encounter other problems
-
- Posts:2
- Joined:28 Jun 2010 00:17 [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: Spigot Importer Plugin
Thanks, adding the DesktopSpigot directory to the Gephi project worked for me. I tried updating my bzr checkout of lp:gephi, but it said I was already up to date. No worries though, since the other fix worked.
Thanks again - I'll let you know if I have any other issues!
Dan
Thanks again - I'll let you know if I have any other issues!
Dan