Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Servers View

Vlado Pakan edited this page Aug 23, 2013 · 7 revisions

API / Abstract

Implementation

Tests Implementation

Usage

Instantiate Servers View

ServersView serversView = new ServersView();

Open Servers View

serversView.open();

Add server

NewServerWizardDialog wizardDialog = serversView.newServer();
NewServerWizardPage newServerPage = wizardDialog.getFirstPage();
newServerPage.selectType(<pathToServerTypeWithinServerTypeTree>);
newServerPage.setName(<newServerName>);		
wizardDialog.finish();

Get server by name

Server = serversView.getServer(<serverName>);

Get all defined servers

List<Server> servers = serversView.getServers();
Clone this wiki locally