ok - i've found a solution to my own question and it's pretty straight forward:

private void changeColor(String type){


            FeatureProperty fp
= Config.getPropertyScheme().getFeatureProperty(type);//e.g. type =exon:Genscan
            Color newColor=Color.GREEN;
            if (newColor != null) {
              fp.setColour(newColor);
            }
        
        }

Just a heads up that the link to the FAQ is also broken from the Apollo pages.


On 18 Feb 2010, at 12:31, Jonathan Warren wrote:

Hi Ed

Thanks for the reply.
I've done some work on a new DAS adapter. Is there a way to programmatically set the FeatureProperty color from my Adapter?

On 5 Feb 2010, at 21:30, Ed Lee wrote:

Hi Jonathan,

The broken link has been fixed.  You can access the cookbook at:

http://apollo.berkeleybop.org/current/dataadapter_cookbook.html

Note that the cookbook isn't completely exhaustive, but it's a very
good starting point.

Cheers,
Ed

On Fri, 5 Feb 2010, Jonathan Warren wrote:

> Hi
>
> From the apollo web pages userguide the link to the adapter cookbook don't
> seem to work.
> I've found a version here
> 
http://genome.jouy.inra.fr/doc/genome/edition/apollo-1.5.1/dataadapter_cookbook.html
>
> Can someone point me at the latest version if there is one?
>
> Thanks
>
>
> Jonathan Warren
> Senior Developer and DAS coordinator
> [email protected]
>
>
>
>
>
>
>
>
> --
> The Wellcome Trust Sanger Institute is operated by Genome ResearchLimited, a > charity registered in England with number 1021457 and acompany registered in > England with number 2742969, whose registeredoffice is 215 Euston Road,
> London, NW1 2BE._______________________________________________
> apollo mailing list
> [email protected]
> http://mail.fruitfly.org/mailman/listinfo/apollo
>


Jonathan Warren
Senior Developer and DAS coordinator
[email protected]
Ext: 2314
Telephone: 01223 492314






-- The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE. _______________________________________________
apollo mailing list
[email protected]
http://mail.fruitfly.org/mailman/listinfo/apollo

Jonathan Warren
Senior Developer and DAS coordinator
[email protected]
Ext: 2314
Telephone: 01223 492314








--
The Wellcome Trust Sanger Institute is operated by Genome Research Limited, a charity registered in England with number 1021457 and a company registered in England with number 2742969, whose registered office is 215 Euston Road, London, NW1 2BE.
_______________________________________________
apollo mailing list
[email protected]
http://mail.fruitfly.org/mailman/listinfo/apollo

Reply via email to