This doesn't work for building the MathodToolbar widget.MethodToolbar defaultSpec buildWithSpec#DNU SpecLayout>>buildWithSpecMethodToolbar class>>defaultSpec<spec>^ SpecLayout composednewRow: [ :row |rowadd: #(model browseModel);add: #(model sendersModel);add: #(model implementorsModel);add: #(model versionModel);add: #(model dropListModel) ];yourselfWhat to do?PhilOn Tue, Mar 25, 2014 at 9:51 AM, Benjamin <benjamin.vanryseghem.pharo@gmail.com> wrote:You create your own subclass of AbstractNautilusPlugin in where the display method will look likedisplay^ mySpec buildWithSpecThis should do the trick
BenOn 25 Mar 2014, at 08:41, phil@highoctane.be wrote:I wanted to use a MethodToolbar as part of a Nautilus plugin.Ok, I can use the widget in with an openWithSpec but how can I put this into a widget that Nautilus will accept as a plugin?| b |b := MethodToolbar new.b openWithSpec.b method: <method from plugin...>Phil