Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » How I can Add a component in VE toolbar
How I can Add a component in VE toolbar [message #615315] Tue, 05 June 2007 10:28
Eclipse User
Originally posted by: sheejo.gmail.com

Hi
I am very new to Visual Editor. Please help me to solve this problem. How I can Add my own component in VE toolbar.

Sample code:
public class MyLabel extends JLabel
{

public static final Color TITLE_COLOR = Color.black ;

public MyLabel()
{
setForeground ( TITLE_COLOR ) ;
setBackground ( new Color ( 204, 204, 204 ) ) ;
setHorizontalTextPosition (javax.swing.SwingConstants.RIGHT ) ;
}
}

Please help me to add this component in VE toolbar like other component likes JLabel, JTextField etc.

Thanks in Advanvce

Regards
Sheejo
Previous Topic:Visual Editor Bug - Creating a View with Scrolled Form + Sections
Next Topic:After Installation: Plugin org.eclipse.ui is required. Must be added as a dependent plugin.
Goto Forum:
  


Current Time: Thu Apr 17 17:42:50 EDT 2014

Powered by FUDForum. Page generated in 0.01672 seconds