[Logo] Mango Community
  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Addding new multistate image sets  XML
Forum Index » User help
Author Message
speake

Initiate

Joined: 29/03/2007 06:09:00
Messages: 4
Location: Melbourne, Australia
Offline

Hi,

Is there any easy way to add custom multistate image sets for the graphical views? If not perhaps you could provide a few words to point me in right direction in the code?

Stew.
mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1502
Offline

Hi Stew,

Currently image sets are defined in the class com.serotonin.mango.view.ImageSetLoader. By adding a new entry here and putting your images into the /images directory, they should become available. The class should be easy to recompile since it only depends on java.util.* classes.

Eventually we want to make this simpler by, say, loading xml definition files, but this hasn't been worked out yet.

Best regards,
Matthew Lohbihler
clark

Initiate

Joined: 26/03/2007 20:40:04
Messages: 5
Location: USA
Offline

Hi M@

Under the data_sources.shtm page:

How does on delete data sources that are no longer required? There does not appear to be a way to do this.

You can enable or disable them but cannot delete them.

Is this available or planned for a future release?

Thanks, Clark


mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1502
Offline

Hi Clark,

Yes, the next version (0.8.0 scheduled for release this month) will include a number of enhancements and upgrades, including the ability to delete data points and data sources.

Best regards,
Matthew Lohbihler
knigjes

Initiate

Joined: 11/02/2008 19:05:26
Messages: 13
Offline

(maybe this should be in Wish List)
a simple script for adding multistate image sets would greatly improve the product.
while I might be able to hack my way through the programming, I'm not excited about navigating a Java Development Environment and recompiling just to add a picture set.
Mango has a nice GUI interface, and I see on the java.net page that expanding it's icon set is one of your goals. An easier "add set" with some instructions (naming convention etc.) would allow this development to be delegated (esp. if there was a repository we could use to share).

You've got a good thing going here
mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1502
Offline

Check out the main help documentation. Near the bottom is a section called "Graphics" that describes how to easily add new image sets to Mango. Some of the posts here were made obsolete by this new functionality.

Best regards,
Matthew Lohbihler
knigjes

Initiate

Joined: 11/02/2008 19:05:26
Messages: 13
Offline

I followed the guidance from the main Help documentation...
This allowed me to add a set of multi-state images that work fine for a Numeric Datatype, when I set the datatype in "Point Properties" to Multistate, then proceed to edit Graphical Views, it won't offer me any options other than "Basic"
Am I doing something wrong?
mlohbihler

Master
[Avatar]

Joined: 01/03/2007 22:48:52
Messages: 1502
Offline

No, you're not doing anything wrong. There are image renderers for graphical views for numeric and binary, but for multistate there is only the basic renderer. We will add a such a thing for the next release.

Best regards,
Matthew Lohbihler
 
Forum Index » User help
Go to:   
Powered by JForum 2.1.9 © JForum Team