41 if ( isset( $args[0] ) && !empty( $args[0] ) ) {
44 $this->cntProcessActions = 3;
48 $this->cntProcessActions = 3;
53 $this->cntProcessActions = 3;
55 elseif ( $args[0] ==
$bearsamppBins->getPostgresql()->getName() ) {
58 $this->cntProcessActions = 3;
63 $this->cntProcessActions = 3;
68 $this->cntProcessActions = 3;
73 $this->cntProcessActions = 3;
78 $this->cntProcessActions = 3;
82 $this->cntProcessActions = 3;
87 $this->cntProcessActions = 3;
90 $bearsamppWinbinder->reset();
93 $this->wbLabelCurrent = $bearsamppWinbinder->createLabel(
99 $this->wbInputPort = $bearsamppWinbinder->createInputText( $this->wbWindow, $this->currentPort, 105, 43, 50,
null, 5, WBC_NUMBER );
101 $this->wbProgressBar = $bearsamppWinbinder->createProgressBar( $this->wbWindow, $this->cntProcessActions + 1, 15, 107, 170 );
105 $bearsamppWinbinder->setHandler( $this->wbWindow, $this,
'processWindow' );
107 $bearsamppWinbinder->mainLoop();
108 $bearsamppWinbinder->reset();
132 $bearsamppWinbinder->incrProgressBar( $this->wbProgressBar );
133 if (
$port == $this->currentPort ) {
135 $bearsamppWinbinder->resetProgressBar( $this->wbProgressBar );
138 $changePort = $this->bin->changePort(
$port,
true, $this->wbProgressBar );
139 if ( $changePort ===
true ) {
140 $this->bin->getService()->restart();
142 $bearsamppWinbinder->messageBoxInfo(
146 $bearsamppWinbinder->destroyWindow( $window );
149 $bearsamppWinbinder->messageBoxError(
153 $bearsamppWinbinder->resetProgressBar( $this->wbProgressBar );
158 $bearsamppWinbinder->destroyWindow( $window );