akipta / freedomotic

Automatically exported from code.google.com/p/freedomotic
Other
0 stars 0 forks source link

Frontend plugjn: Tolbox of objects on design mode #126

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What is the aim of the feature?
Allow the designers to easily add objects to the environment

Why you are requesting it?
When the enviroment has no data is very tedious to create objects from scratch 
so if the frontend could expose a Toolbox of objects class (retreived from the 
plugins installed), the user could add objects to the environment just drag and 
drop from the toolbox to the "rooms".
Specifically: 

-The toolbox should be showed when the environment is on design mode.
-The toolbox should list the current allowed objects to be used on the 
environment using the current object plugins loaded
-The toolbox should allow to drag&drop an object from the toolbox to the 
environment.
  When the uses starts a drag on an object it should show the drag action
  Then the action should allow to drop over any site of the environment
  When the user drops the object it should show a object parameters form
  The object parameter form must automatically fill the x,y position using the drop position
  The object parameter form must automatically fill the room data using the drop position
  The object parameter form must automatically fill the object type using the object class from the toolbox
  The object parameter form must automatically fill the object name with a string that is unique on the environment to avoid duplicates.
  It should allow to fill all relevant data
  It should allow to save the object verifying the duplicate name.
-The toolbox should list the objects grouped by the plugins on which they belong

How much you feel this feature will be useful for the project? (0-min,
10-max)
10

Original issue reported on code.google.com by gabriel....@gmail.com on 30 Mar 2012 at 10:49

GoogleCodeExporter commented 9 years ago
A similar feature is already implemented in recent versions. To add an object 
click the combobox on the top of plugins list form, choose "object", then right 
click on an object to add it in the environment map. Now you can disable 
Environment->lock objects position to move the object with drag and drop. The 
object data are already filled and saved on exit.

NOTE: the add may not work for all objects because not all of them have an 
example xml defined in data/example folder of the related object plugin. This 
must be fixed.

Original comment by enrico.n...@gmail.com on 12 Apr 2012 at 7:19

GoogleCodeExporter commented 9 years ago

Original comment by enrico.n...@gmail.com on 12 Apr 2012 at 7:19