Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » Re: Dialog with Icon
Re: Dialog with Icon [message #719032] Thu, 25 August 2011 20:56 Go to next message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Josh,
maybe you post your message in a wrong newsgroup. This is a newsgroup
for Rich Ajax Platform (RAP) related questions.
Best,
Ivan

On 8/25/2011 11:44 PM, Josh wrote:
> Hi,
>
> I am still seeing this issue using
> org.eclipse.jface_3.6.0.I20100601-0800.jar
>
> Here is what I am doing...
>
> public class TestDialog extends MessageDialog { public static
> boolean open(final Shell shell, final String title, final Image image) {
> final String[] dialogButtonLabels = new String[] {
> IDialogConstants.YES_LABEL, IDialogConstants.NO_LABEL };
> final TestDialog = new TestDialog(shell, title, image,
> "close?", MessageDialog.QUESTION, dialogButtonLabels, 1);
> return dialog.open() == 0;
> }
>
> private class TestDialog(final Shell parentShell, final String
> dialogTitle, final Image dialogTitleImage,
> final String dialogMessage, final int dialogImageType,
> final String[] dialogButtonLabels,
> final int defaultIndex) {
> super(parentShell, dialogTitle, dialogTitleImage,
> dialogMessage, dialogImageType, dialogButtonLabels,
> defaultIndex);
> setShellStyle(SWT.TITLE | SWT.APPLICATION_MODAL | SWT.BORDER);
> dialog.open(); }
> }
> If I add SWT.CLOSE to the setShellStyle my title image will appear.
> I am running Windows 7
> Is there something I am missing?
>
> Thanks, Josh
>
>
>
>
Re: Dialog with Icon [message #719040 is a reply to message #719032] Thu, 25 August 2011 21:34 Go to previous messageGo to next message
Josh Davis is currently offline Josh DavisFriend
Messages: 20
Registered: August 2011
Junior Member
Did I?
I thought the original post dealt with jface dialogs?
I am using RCP and not RAP.
Are there different versions of jface for RCP and RAP?


Re: Dialog with Icon [message #719118 is a reply to message #719040] Fri, 26 August 2011 06:35 Go to previous message
Ivan Furnadjiev is currently offline Ivan FurnadjievFriend
Messages: 2426
Registered: July 2009
Location: Sofia, Bulgaria
Senior Member
Hi Joch,
the version of JFace used in RAP is slightly modified version of the
original RCP version.
Best,
Ivan

On 8/26/2011 12:34 AM, Josh wrote:
> Did I?
> I thought the original post dealt with jface dialogs?
> I am using RCP and not RAP.
> Are there different versions of jface for RCP and RAP?
>
>
>
Previous Topic:Request Failed: HTTP Status Code: 12002
Next Topic:jface ViewerFilter
Goto Forum:
  


Current Time: Thu Apr 25 20:08:57 GMT 2024

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

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

Back to the top