use of com.cubrid.cubridmanager.ui.host.action.ConfEditInput in project cubrid-manager by CUBRID.
the class EditBrokerConfigEditor method init.
/**
* @see com.cubrid.common.ui.spi.part.CubridEditorPart#init(org.eclipse.ui.IEditorSite,
* org.eclipse.ui.IEditorInput)
* @param site the editor site
* @param input the editor input
* @exception PartInitException if this editor was not initialized
* successfully
*/
public void init(IEditorSite site, IEditorInput input) throws PartInitException {
super.init(site, input);
if (input instanceof ConfEditInput) {
editorInput = (ConfEditInput) input;
ServerInfo serverInfo = editorInput.getServerInfo();
contents = ConfigParaHelp.performGetBrokerConf(serverInfo);
}
}
use of com.cubrid.cubridmanager.ui.host.action.ConfEditInput in project cubrid-manager by CUBRID.
the class EditCmConfigEditor method init.
/**
* @see com.cubrid.common.ui.spi.part.CubridEditorPart#init(org.eclipse.ui.IEditorSite,
* org.eclipse.ui.IEditorInput)
* @param site the editor site
* @param input the editor input
* @exception PartInitException if this editor was not initialized
* successfully
*/
public void init(IEditorSite site, IEditorInput input) throws PartInitException {
super.init(site, input);
if (input instanceof ConfEditInput) {
editorInput = (ConfEditInput) input;
ServerInfo serverInfo = editorInput.getServerInfo();
contents = ConfigParaHelp.performGetCmConf(serverInfo);
}
}
use of com.cubrid.cubridmanager.ui.host.action.ConfEditInput in project cubrid-manager by CUBRID.
the class EditCubridConfigEditor method init.
/**
* @see com.cubrid.common.ui.spi.part.CubridEditorPart#init(org.eclipse.ui.IEditorSite,
* org.eclipse.ui.IEditorInput)
* @param site the editor site
* @param input the editor input
* @exception PartInitException if this editor was not initialized
* successfully
*/
public void init(IEditorSite site, IEditorInput input) throws PartInitException {
super.init(site, input);
if (input instanceof ConfEditInput) {
editorInput = (ConfEditInput) input;
ServerInfo serverInfo = editorInput.getServerInfo();
contents = ConfigParaHelp.performGetCubridConf(serverInfo);
}
}
use of com.cubrid.cubridmanager.ui.host.action.ConfEditInput in project cubrid-manager by CUBRID.
the class EditHAConfigEditor method init.
/**
* @see com.cubrid.common.ui.spi.part.CubridEditorPart#init(org.eclipse.ui.IEditorSite,
* org.eclipse.ui.IEditorInput)
* @param site the editor site
* @param input the editor input
* @exception PartInitException if this editor was not initialized
* successfully
*/
public void init(IEditorSite site, IEditorInput input) throws PartInitException {
super.init(site, input);
if (input instanceof ConfEditInput) {
editorInput = (ConfEditInput) input;
ServerInfo serverInfo = editorInput.getServerInfo();
contents = ConfigParaHelp.performGetHAConf(serverInfo);
}
}
use of com.cubrid.cubridmanager.ui.host.action.ConfEditInput in project cubrid-manager by CUBRID.
the class EditConfigEditor method init.
/**
* @see com.cubrid.common.ui.spi.part.CubridEditorPart#init(org.eclipse.ui.IEditorSite,
* org.eclipse.ui.IEditorInput)
* @param site the editor site
* @param input the editor input
* @exception PartInitException if this editor was not initialized
* successfully
*/
public void init(IEditorSite site, IEditorInput input) throws PartInitException {
if (input instanceof ConfEditInput) {
setSite(site);
setInput(input);
ConfEditInput editInput = (ConfEditInput) input;
String title = this.getPartName();
String partName = title + " - " + input.getName() + "@" + editInput.getServerName() + ":" + editInput.getServerPort();
this.setTitleToolTip(partName);
this.setPartName(partName);
}
}
Aggregations