com.nodelab.action

Type PortfolioDisplay

com.nodelab.0.10034
Instance of Type
Inheriting from Action

Type dataValue
org.uninode.Type.displayPatterna {att:org.uninode.Node.type}
org.uninode.Listable.resourcesReference[org.uninode.Listable.resources] of com.nodelab.action.PortfolioDisplay

Attribute summaryDefined inUninode® IdPropertiesDefault
Reference[org.uninode.Listable.resources]resourcesListableorg.uninode.0.2001type
StringtoString
This is the display string.
Nodeorg.uninode.0.102
Typetype
The type of an object determines the behaviour and attributes of the object.
Nodeorg.uninode.0.101
StringuriNodeorg.uninode.0.103

Method summaryDefined inOverridesProperties
voidactivateListable
voiddesignEditor(WidgetWorkspace ws)Listable
StringresourceStringListableintrospection

Script summary
com.nodelab.0.10372
/*
constructor() {
  Action:();
}
class Boolean isResourceOf(Listable node, Symbol aspect) {
  if (aspect == #actions) return true;
  false;
}
class String resourceLabel() {
  "display possessions";
}
Void action(Mixable mix) {
  Portfolio pf = Portfolio{mix};
  Gig gig = new Gig(ViewDiagramStandard);
  gig.addSource(pf);
  pf.possessions.do(Void(Possession pos) {
    gig.addSource(pos.quantity);
  });
/*
  Part part = gig.addSource(src);
  part.setColor(Color.blue);
  ConditionHistory cond = 
    ConditionHistory{gig.view.conditionType(ConditionHistory)};
  cond.setFrom(Time.now.addDays(-20));
  cond.setResolution(#hour);
//  gig.activate();
}
*/