| com.nodelab.action | ![]() |
com.nodelab.0.10034
Instance of Type
Inheriting from Action
| Type data | Value |
| org.uninode.Type.displayPattern | a {att:org.uninode.Node.type} |
| org.uninode.Listable.resources | Reference[org.uninode.Listable.resources] of com.nodelab.action.PortfolioDisplay |
| Attribute summary | Defined in | Uninode® Id | Properties | Default | |
| Reference[org.uninode.Listable.resources] | resources | Listable | org.uninode.0.2001 | type | |
| String | toString This is the display string. | Node | org.uninode.0.102 | ||
| Type | type The type of an object determines the behaviour and attributes of the object. | Node | org.uninode.0.101 | ||
| String | uri | Node | org.uninode.0.103 | ||
| Method summary | Defined in | Overrides | Properties | |
| void | activate | Listable | ||
| void | designEditor(WidgetWorkspace ws) | Listable | ||
| String | resourceString | Listable | introspection | |
| 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();
}
*/
|