Package com.iizigo.ws.editor
Class OAuthBrowserDialog
java.lang.Object
org.eclipse.swt.widgets.Dialog
com.iizigo.ws.editor.OAuthBrowserDialog
public class OAuthBrowserDialog extends org.eclipse.swt.widgets.Dialog
Browser in dialog used to show the OAuth (2) client authentication. This dialog must be created with the constructor, then called with "open()". The "open" method is modal until dialog is closed from the authentication callback or the user. If the user closes the dialog box, the session is disposed of.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorDescriptionOAuthBrowserDialog
(org.eclipse.swt.widgets.Shell parent, IOAuthService service, String url) Create the dialog.Method Summary
Methods inherited from class org.eclipse.swt.widgets.Dialog
checkSubclass, getParent, getStyle, getText, setText
Constructor Details
OAuthBrowserDialog
Create the dialog.- Parameters:
parent
- Parent shell.service
- The service to authenticate.url
- The URL to display.
Method Details
open
public void open()Open the dialog in a modal window.close
public void close()Called when dialog should be closed due to completed or failed authentication.