Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » how to set the icon of rap action
how to set the icon of rap action [message #988954] Tue, 04 December 2012 03:50 Go to next message
ocean xue is currently offline ocean xueFriend
Messages: 107
Registered: November 2011
Senior Member
How to set the icon of rap action, not throws unexpected "Graphic is diposed" 500 exception?
Re: how to set the icon of rap action [message #989005 is a reply to message #988954] Tue, 04 December 2012 09:40 Go to previous messageGo to next message
Elvis Dominguez is currently offline Elvis DominguezFriend
Messages: 52
Registered: July 2009
Location: Switzerland
Member
On Mon, 03 Dec 2012 22:50:04 -0500, ocean xue wrote:

> How to set the icon of rap action, not throws unexpected "Graphic is
> diposed" 500 exception?

Use an Extension point (org.eclipse.rap.ui.branding)
here you can define page title, icon and body.html

hth elvisd
Re: how to set the icon of rap action [message #989394 is a reply to message #989005] Thu, 06 December 2012 03:48 Go to previous message
ocean xue is currently offline ocean xueFriend
Messages: 107
Registered: November 2011
Senior Member
Method [setImageDescriptor()] of how to set the icon?

public OP001AddAction() {
setId("OP001AddAction");
setText("add");
setToolTipText("add");
setImageDescriptor();
}

thanks

Previous Topic:Space characters missing in table items in IE 9
Next Topic:Throws unexpected "Graphic is diposed" exception
Goto Forum:
  


Current Time: Sun Nov 23 11:25:54 GMT 2014

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

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