Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [gef-dev] Nodes

Thanks!
My problem is resolved with 
==>NodeFigure extends org.eclipse.draw2d.Panel

I´m using FlowPage e TextFlow together
It´s OK!


--- Åá  ÌÎ <peit@xxxxxxxxxxx> escreveu:

> Hi,Petterson Henrique de Andrade
> 
>    public class NodeFigure extends RectangleFigure {
> 
>     private String name;
>     private RectangleFigure rectangleFigure;
>     private Label label;
> 
>     public NodeFigure() {
>         this.rectangleFigure = new
> RectangleFigure();
>         this.label = new Label();
>        
>
this.label.setForegroundColor(ColorConstants.yellow);
>         this.add(label);
>         this.setOpaque(true);
>        
> this.setBackgroundColor(ColorConstants.blue);
>        
>     }
>      
>       . 
>       .
>       .
> }
> ¡¡¡¡
> Do you design like this?  This works very well.
> 
> 
> 
> ======== 2005-11-05 02:17:06 ÄúÔÚÀ´ÐÅÖÐдµÀ£º
> ========
> 
> Hi all!
> 
> I have one problem with nodes.
> I need set color in the node.
> 
> setBackGroundColor(ColorConstants.black);  isn´t ok!
> 
> what i do?
> 
> 
> Yahoo! Acesso Grátis: Internet rápida e grátis.
> Instale o discador agora! 
> 
> = = = = = = = = = = = = = = = = = = = = = = 
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÖÂ
> Àñ£¡
> 
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡Åá ÌÎ
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡peit@xxxxxxxxxxx
> ¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡2005-11-05
> > _______________________________________________
> gef-dev mailing list
> gef-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/gef-dev
> 



	



	
		
_______________________________________________________ 
Yahoo! Acesso Grátis: Internet rápida e grátis. 
Instale o discador agora!
http://br.acesso.yahoo.com/



Back to the top