Add object into the workspace, from a non-plugin method
  • JBuijsJBuijs
    Posts: 389
    Part of a conversation between Andrea Burattin and Boudewijn van Dongen in which Andrea asked:

    When I visualize the collection of logs I need to add a button for
    "exporting" a log from the collection to the workspace. I have a
    reference to the UIPluginContext but I have not succeeded in adding an
    AuthoredType object into the workspace.
    Joos Buijs
    Forum Admin
  • JBuijsJBuijs
    Posts: 389
    To which Boudewijn replied:

    If you use the addProvidedObject method in the provided object manager, you can add objects to the workspace. They are however not marked as favorite by default. You can do so, by asking for the resource corresponding to the object after you added it to the workspace.
    Joos Buijs
    Forum Admin

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion