📄 savemapcompositiontaskinfo.java
字号:
package com.esri.solutions.jitk.web.tasks.mapcomp;
import com.esri.adf.web.data.tasks.TaskActionDescriptor;
import com.esri.adf.web.data.tasks.TaskParamDescriptor;
import com.esri.solutions.jitk.common.resources.TextResources;
import com.esri.solutions.jitk.web.tasks.RenderAwareTaskDescription;
import com.esri.solutions.jitk.web.tasks.RenderControlledTaskInfo;
/**
* Task Info bean for the Save Map Composition task. This Task Info will
* expose the following parameters and actions necessary for the execution
* of the Save Map Composition Task.
*/
public class SaveMapCompositionTaskInfo extends RenderControlledTaskInfo {
/**
* Serial Version UID
*/
private static final long serialVersionUID = 5936450182874430547L;
/**
* Name Parameter. Name inputed by the user.
*/
private TaskParamDescriptor m_nameParam;
/**
* Description Parameter. Description inputed by the user.
*/
private TaskParamDescriptor m_descriptionParam;
/**
* Save to parameter. Output destination inputed by the user.
*/
private TaskParamDescriptor m_savetoParam;
/**
* Save to parameter value. Output destination inputed by the user.
*/
private TaskParamDescriptor m_savetoRepositoryParamValue;
/**
* Save to parameter value. Output destination inputed by the user.
*/
private TaskParamDescriptor m_savetoWMCfileParamValue;
/**
* Describes the Save action.
*/
private TaskActionDescriptor m_saveAction;
/**
* Describes the WebContext Name parameter.
*/
private TaskParamDescriptor m_webCtxNameParam;
/**
* Describes the Required Fields parameter.
*/
private TaskParamDescriptor m_requiredFieldsParam;
/**
* Describes the Preview Message parameter.
*/
private TaskParamDescriptor m_previewMsgParam;
/**
* Describes the Footer Note parameter.
*/
private TaskParamDescriptor m_footerNote;
/**
* Constructs a new <code>SaveMapCompositionTaskInfo</code> object.
*/
public SaveMapCompositionTaskInfo () {
this._taskDescriptor = new RenderAwareTaskDescription(SaveMapCompositionTask.class, "Save Map Composition", TextResources.getResourceString("savemapcomp.ui.window.title"));
m_nameParam = new TaskParamDescriptor(SaveMapCompositionTask.class, "name", TextResources.getResourceString("savemapcomp.ui.label.param.Name"));
m_descriptionParam = new TaskParamDescriptor(SaveMapCompositionTask.class, "description", TextResources.getResourceString("savemapcomp.ui.label.param.Description"));
m_savetoParam = new TaskParamDescriptor(SaveMapCompositionTask.class, "saveto", TextResources.getResourceString("savemapcomp.ui.label.param.SaveTo"));
m_savetoRepositoryParamValue = new TaskParamDescriptor(SaveMapCompositionTask.class, "savetoRepository", TextResources.getResourceString("savemapcomp.ui.label.param.value.repository"));
m_savetoWMCfileParamValue = new TaskParamDescriptor(SaveMapCompositionTask.class, "savetoWMCfile", TextResources.getResourceString("savemapcomp.ui.label.param.value.wmcfile"));
m_webCtxNameParam = new TaskParamDescriptor(SaveMapCompositionTask.class, "webContextName", "webContextName");
m_requiredFieldsParam = new TaskParamDescriptor(SaveMapCompositionTask.class, "requiredFieldsMessage", TextResources.getResourceString("task.ui.message.requiredFields"), null, null);
m_previewMsgParam = new TaskParamDescriptor(SaveMapCompositionTask.class, "previewMessage", TextResources.getResourceString("savemapcomp.ui.msg.Preview"), null, null);
m_footerNote = new TaskParamDescriptor(SaveMapCompositionTask.class, "footerNote", TextResources.getResourceString("savemapcomp.ui.footer.note"), null, null);
this._paramDescriptors = new TaskParamDescriptor[] {m_nameParam, m_descriptionParam,
m_savetoParam, m_savetoRepositoryParamValue, m_savetoWMCfileParamValue,
m_webCtxNameParam, m_requiredFieldsParam, m_previewMsgParam, m_footerNote};
m_saveAction = new TaskActionDescriptor(SaveMapCompositionTask.class, "save", TextResources.getResourceString("savemapcomp.ui.label.action.Save"));
this._actionDescriptors = new TaskActionDescriptor[] { m_saveAction };
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -