Class MicrosoftTranslatorPreferencePage

java.lang.Object
org.eclipse.jface.dialogs.DialogPage
org.eclipse.jface.preference.PreferencePage
com.e1c.langtool.ui.external.AbstractTranslationPreferencePage
com.e1c.langtool.microsoft.ui.MicrosoftTranslatorPreferencePage
All Implemented Interfaces:
org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.preference.IPreferencePage, org.eclipse.ui.IWorkbenchPreferencePage

public class MicrosoftTranslatorPreferencePage extends AbstractTranslationPreferencePage implements org.eclipse.ui.IWorkbenchPreferencePage
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected org.eclipse.swt.widgets.Text
     
    static final String
     

    Fields inherited from class com.e1c.langtool.ui.external.AbstractTranslationPreferencePage

    isApiKeyValueChanged

    Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider

    ERROR, INFORMATION, NONE, WARNING
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    Checks an access key for validity.
    protected void
    createAccessKeyGroup(org.eclipse.swt.widgets.Composite parent)
    Creates a group that contains components to work with access (API) key.
    protected org.eclipse.swt.events.SelectionListener
    Creates a selection listener to handle clicks by link to get API key.
    protected String
    Returns inputed API key to check if it valid in AbstractTranslationPreferencePage.checkAccessKey(String).
    void
    init(org.eclipse.ui.IWorkbench workbench)
     
    protected void
    Initialize values from preference storo to UI elements.
    protected void
     
    boolean
     
    protected void
    Reload a view that associated with this preference page.
    protected void
    Store values into preference store on apply or OK buttons.

    Methods inherited from class org.eclipse.jface.preference.PreferencePage

    applyData, applyDialogFont, computeSize, contributeButtons, createControl, createDescriptionLabel, createNoteComposite, doComputeSize, getApplyButton, getContainer, getDefaultsButton, getPreferenceStore, isValid, noDefaultAndApplyButton, noDefaultButton, okToLeave, performApply, performCancel, performHelp, setContainer, setErrorMessage, setMessage, setPreferenceStore, setSize, setTitle, setValid, toString, updateApplyButton

    Methods inherited from class org.eclipse.jface.dialogs.DialogPage

    convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, dispose, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getImage, getMessage, getMessageType, getShell, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, setButtonLayoutData, setControl, setDescription, setImageDescriptor, setMessage, setVisible

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage

    createControl, dispose, getControl, getDescription, getErrorMessage, getImage, getMessage, getTitle, performHelp, setDescription, setImageDescriptor, setTitle, setVisible

    Methods inherited from interface org.eclipse.jface.preference.IPreferencePage

    computeSize, isValid, okToLeave, performCancel, setContainer, setSize