Examples of UDIGConnectionFactoryDescriptor


Examples of org.locationtech.udig.catalog.ui.UDIGConnectionFactoryDescriptor

        }       
        else {
            // ignore generic datastore for now
            if( true ){
                for( Iterator<UDIGConnectionFactoryDescriptor> i= shortlist.iterator(); i.hasNext();){
                    UDIGConnectionFactoryDescriptor d = i.next();
                    String id = d.getId();
                    if( "org.locationtech.udig.catalog.geotools.connection.dataStore".equals(id)){
                        i.remove();
                    }
                }
                if( shortlist.size() == 1 ){
View Full Code Here

Examples of org.locationtech.udig.catalog.ui.UDIGConnectionFactoryDescriptor

    Assertion a1 = new Assertion() {
      @Override
      public void run() {
        IStructuredSelection sselection =
          (IStructuredSelection) page.getViewer().getSelection();
        UDIGConnectionFactoryDescriptor d =
          (UDIGConnectionFactoryDescriptor) sselection.getFirstElement();
         
        fail = !d.getId().equals("org.locationtech.udig.catalog.ui.WMS"); //$NON-NLS-1$
        if (!fail) {
          Button button = DialogDriver.findButton(dialog,IDialogConstants.NEXT_ID);
          fail = !button.isEnabled();
        }
      }
View Full Code Here

Examples of org.locationtech.udig.catalog.ui.UDIGConnectionFactoryDescriptor

  @Before
  public void setUp() throws Exception {
    ArrayList<String> l = new ArrayList<String>();
    l.add("org.locationtech.udig.catalog.tests.ui.dummyPage"); //$NON-NLS-1$
   
    UDIGConnectionFactoryDescriptor d = ConnectionFactoryManager.instance().getConnectionFactoryDescriptors(l).get(0);

    connState = new EndConnectionState(d,true);
    state = new ResourceSelectionState();
    page = new ResourceSelectionPage("foo"); //$NON-NLS-1$
   
View Full Code Here

Examples of org.locationtech.udig.catalog.ui.UDIGConnectionFactoryDescriptor

  @Before
  public void setUp() throws Exception {
    List<String> l = new ArrayList<String>();
    l.add("org.locationtech.udig.catalog.ui.openFileConnection");
   
    UDIGConnectionFactoryDescriptor d = ConnectionFactoryManager.instance().getConnectionFactoryDescriptors(l).get(0);
    state = new EndConnectionState(d,true);
    page = new ConnectionPageDecorator();

    Map<Class<? extends State>, WorkflowWizardPageProvider> map = new HashMap<Class<? extends State>, WorkflowWizardPageProvider>();
    map.put(state.getClass(), new BasicWorkflowWizardPageFactory(page));
View Full Code Here

Examples of org.locationtech.udig.catalog.ui.UDIGConnectionFactoryDescriptor

    private void init( String urlString ) {
        ArrayList<String> l = new ArrayList<String>();
    l.add(urlString);
   
    UDIGConnectionFactoryDescriptor d = ConnectionFactoryManager.instance().getConnectionFactoryDescriptors(l).get(0);
    state = new EndConnectionState(d,true);
    page = new ConnectionPageDecorator();

    Map<Class<? extends State>, WorkflowWizardPageProvider> map = new HashMap<Class<? extends State>, WorkflowWizardPageProvider>();
    map.put(state.getClass(), new BasicWorkflowWizardPageFactory(page));
View Full Code Here

Examples of org.locationtech.udig.catalog.ui.UDIGConnectionFactoryDescriptor

  public void setUp() throws Exception {
 
    ArrayList<String> l = new ArrayList<String>();
    l.add("org.locationtech.udig.catalog.ui.WMS"); //$NON-NLS-1$
   
    UDIGConnectionFactoryDescriptor d = ConnectionFactoryManager.instance().getConnectionFactoryDescriptors(l).get(0);
   
    conn = new EndConnectionState(d,true);
    state = new ResourceSelectionState();
 
    connPage = new ConnectionPageDecorator();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.