Search in sources :

Example 6 with SourcePickerViewWrap

use of com.twinsoft.convertigo.engine.studio.views.sourcepicker.SourcePickerViewWrap in project convertigo by convertigo.

the class ModifyXPathText method getServiceResult.

@Override
protected void getServiceResult(HttpServletRequest request, Document document) throws Exception {
    HttpSession session = request.getSession();
    CheStudio cheStudio = CallAction.getStudio(session);
    if (cheStudio != null) {
        SourcePickerViewWrap spv = cheStudio.getSourcePickerView();
        if (spv != null) {
            String xpath = request.getParameter("xpath").trim();
            spv.modifyXpathText(xpath);
        }
    }
}
Also used : CheStudio(com.twinsoft.convertigo.engine.studio.CheStudio) HttpSession(javax.servlet.http.HttpSession) SourcePickerViewWrap(com.twinsoft.convertigo.engine.studio.views.sourcepicker.SourcePickerViewWrap)

Aggregations

SourcePickerViewWrap (com.twinsoft.convertigo.engine.studio.views.sourcepicker.SourcePickerViewWrap)6 CheStudio (com.twinsoft.convertigo.engine.studio.CheStudio)5 HttpSession (javax.servlet.http.HttpSession)5 DatabaseObject (com.twinsoft.convertigo.beans.core.DatabaseObject)3 Element (org.w3c.dom.Element)3 StepSourceWrap (com.twinsoft.convertigo.engine.studio.dnd.StepSourceWrap)2 XMLVector (com.twinsoft.convertigo.beans.common.XMLVector)1 IStepSourceContainer (com.twinsoft.convertigo.beans.core.IStepSourceContainer)1 Step (com.twinsoft.convertigo.beans.core.Step)1 StepSource (com.twinsoft.convertigo.beans.core.StepSource)1 SetPropertyResponse (com.twinsoft.convertigo.engine.studio.responses.SetPropertyResponse)1 StepSourceEventWrap (com.twinsoft.convertigo.engine.studio.views.projectexplorer.StepSourceEventWrap)1 DatabaseObjectView (com.twinsoft.convertigo.engine.studio.views.projectexplorer.model.DatabaseObjectView)1 WrapDatabaseObject (com.twinsoft.convertigo.engine.studio.views.projectexplorer.model.WrapDatabaseObject)1 Document (org.w3c.dom.Document)1