If you are able to select
File->New Resource, then I am guessing you have written a
Malone bridge and provided a
create() operation for this resource type. Awesome!
Without seeing the internals of your
create() operation, my first guess would be that the operation’s
operateInternal() method is not returning the right thing. As an example, let’s look at the last few lines of
Result result = this->createResult(smtk::operation::Operation::Outcome::SUCCEEDED);
smtk::attribute::ResourceItem::Ptr created = result->findResource("resource");
This code works in tandem with the description code for
<AttDef Type="result(read)" BaseType="result">
<Void Name="allow camera reset" IsEnabledByDefault="true" AdvanceLevel="11"/>
create operation implies (with no documentation yet, sorry!) that the operation will return a resource in its result.
Hope this helps!