JBIDE-18462 HTML5 Palette: Use text labels instead of images

Done
On 10/06/2014 12:04 PM, Alexey Kazakov wrote:
>
> In 
> plugins/org.jboss.tools.jst.web.ui/src/org/jboss/tools/jst/web/ui/palette/model/PaletteItem.java:
>
> > @@ -69,4 +72,21 @@ public boolean getReformat() {
> >  	public Tool createTool() {
> >  		return null;
> >  	}
> > +	
> > +	public String getKeywordsAsString(){
> > +		if(keywords == null){
> > +			List<String> list = PaletteInsertManager.getInstance().getKeyWords(xobject.getPath());
> > +			
> > +			keywords = "";
> > +			
> > +			if(list != null){
> > +				for(String word : list){
> > +					keywords += word + " ";
>
> Use StringBuilder instead.
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/jbosstools/jbosstools-jst/pull/398/files#r18477818>.
>
> {"@context":"http://schema.org","@type":"EmailMessage","description":"View 
> this Pull Request on 
> GitHub","action":{"@type":"ViewAction","url":"https://github.com/jbosstools/jbosstools-jst/pull/398/files#r18477818","name":"View 
> Pull Request"}}