From: Nick C. <nic...@ve...> - 2013-01-23 14:46:58
|
Joshua, Would adding a button, slider or whatever to the User Panel work for you? This is certainly easier than trying get access to the toolbar. Right click on the User Panel entry in the scenario tree. Select the class that you've written that implements UserPanelCreator. This interface essentially just returns a JPanel. You could put your button or whatever on that JPanel. Nick On Jan 22, 2013, at 5:11 PM, Joshua A. Horton wrote: > Is there a way to add custom toolbar items (or a custom toolbar) to the > Repast GUI without creating a custom display? I found documentation for > an older version of Repast (3), but the provided example doesn't > translate over. In case it matters, I'm using the ContextBuilder > approach to model initialization. > > Thanks, > Joshua A. Horton > > ------------------------------------------------------------------------------ > Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, > MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current > with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft > MVPs and experts. ON SALE this month only -- learn more at: > http://p.sf.net/sfu/learnnow-d2d > _______________________________________________ > Repast-interest mailing list > Rep...@li... > https://lists.sourceforge.net/lists/listinfo/repast-interest |