⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 icontextmenuitemtask.java

📁 esri的ArcGIS Server超级学习模板程序(for java)
💻 JAVA
字号:
package com.esri.solutions.jitk.common.contextmenus;

/**
 * Defines an interface that a Task can implement in order to be
 * launched from a Context Menu Item within the Table Of Contents.
 * The Task must expose its Task ID that must match the ID given to the
 * task in the JSP page.  Also, the Task must have a reference to the
 * Context Menu Item Task Manager which is responsible for opening the
 * Task UI in the viewer.
 */
public interface IContextMenuItemTask extends IContextMenuItem {
	
	/**
	 * Returns the ID of the Task.  The ID is needed by the
	 * Context Menu Item Task Manager in order to open the correct
	 * Task UI in the viewer. The returned ID must match the ID
	 * given to the Task in the JSP page.  <code>null</code> should
	 * never be returned from this method.
	 * 
	 * @return  ID of the Task.
	 */
	public String getTaskId ();
	
	/**
	 * Sets the Context Menu Item Task Manager object within the Task
	 * object.  The Context Menu Item Task Manager is responsible
	 * for opening the Task UI in the viewer.  The reference to the
	 * Context Menu Item Task Manager may be set via a bean framework
	 * such as Java Server Faces or Spring.  The reference can also
	 * be set programmatically.
	 * 
	 * @param mgr	Reference to Context Menu Item Task Manager.
	 */
	public void setContextMenuItemTaskManager (ContextMenuItemTaskManager mgr);
	
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -