Class ImportPage

  • All Implemented Interfaces:
    org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage

    public class ImportPage
    extends WSPage
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static java.lang.String DESCRIPTION  
      protected boolean isMerge  
      private static java.lang.String TITLE  
      • Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider

        ERROR, INFORMATION, NONE, WARNING
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected ImportPage​(java.lang.String pageName)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected org.eclipse.jface.viewers.IStructuredContentProvider createContentProvider()  
      void createControl​(org.eclipse.swt.widgets.Composite parent)  
      boolean finish()  
      private void importSelectedSets()  
      private void mergeWorkingSets​(org.eclipse.ui.IWorkingSet oldWorkingSet, org.eclipse.ui.IWorkingSet newWorkingSet)  
      private java.lang.String readSets()  
      private static void removeNonExistingChildren​(org.eclipse.ui.IWorkingSet workingSet)  
      protected org.eclipse.ui.IWorkingSet restoreWorkingSet​(org.eclipse.ui.IMemento memento)  
      protected void selectionChanged()  
      void setInitialSelection​(org.eclipse.jface.viewers.IStructuredSelection selection)  
      protected boolean validateInput()  
      • Methods inherited from class org.eclipse.jface.wizard.WizardPage

        canFlipToNextPage, getContainer, getDialogSettings, getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isCurrentPage, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
      • Methods inherited from class org.eclipse.jface.dialogs.DialogPage

        convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, getControl, getDescription, getDialogFontName, getErrorMessage, getFont, getMessage, getMessageType, getTitle, getToolTipText, initializeDialogUnits, isControlCreated, performHelp, setButtonLayoutData, setControl, 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

        getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp, setVisible
    • Constructor Detail

      • ImportPage

        protected ImportPage​(java.lang.String pageName)
    • Method Detail

      • createControl

        public void createControl​(org.eclipse.swt.widgets.Composite parent)
        Specified by:
        createControl in interface org.eclipse.jface.dialogs.IDialogPage
        Overrides:
        createControl in class WSPage
      • readSets

        private java.lang.String readSets()
      • restoreWorkingSet

        protected org.eclipse.ui.IWorkingSet restoreWorkingSet​(org.eclipse.ui.IMemento memento)
      • finish

        public boolean finish()
      • importSelectedSets

        private void importSelectedSets()
      • removeNonExistingChildren

        private static void removeNonExistingChildren​(org.eclipse.ui.IWorkingSet workingSet)
      • createContentProvider

        protected org.eclipse.jface.viewers.IStructuredContentProvider createContentProvider()
        Specified by:
        createContentProvider in class WSPage
      • setInitialSelection

        public void setInitialSelection​(org.eclipse.jface.viewers.IStructuredSelection selection)
      • mergeWorkingSets

        private void mergeWorkingSets​(org.eclipse.ui.IWorkingSet oldWorkingSet,
                                      org.eclipse.ui.IWorkingSet newWorkingSet)