Project

General

Profile

Actions

Bug #2314

closed

composites show up as classes not instances

Added by Chad Berkley over 18 years ago. Updated over 18 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
Category:
core
Target version:
Start date:
12/09/2005
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
2314

Description

when you drag a composite to the canvas, a purple box shows up surrounding the
actor indicating that the actor is a class that needs to be instantiated. This
is happening because when the actor is added to the library dynamically, the
moml parser is serializing the actor as a class instead of an entity. Even
though the composite is, in fact, a class (in the moml def), it should be
declared as an entity in the actor library if you want it to show up as an
instance on the canvas. I can't figure out how to convince the moml parser to
create an entity instead of a class. I've written to pthackers and kepler-dev
about this. hopefully someone will have an idea.

Actions #1

Updated by Chad Berkley over 18 years ago

i fixed this thanks to edward's comments about using the instantiate() method.

Actions #2

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 2314

Actions

Also available in: Atom PDF