Skip to main content


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 14:28
Eclipse UserFriend
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: Fri Apr 26 08:03:00 GMT 2024

Powered by FUDForum. Page generated in 0.03194 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top