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

📄 iresourcecontextmenuitem.java

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

import com.esri.adf.web.data.GISResource;

/**
 * Defines an interface for a specialized Context Menu Item that 
 * is tied to a {@link GISResource} within the Table Of Contents.
 * This interface inherits operations from the {@link IContextMenuItem}
 * interface and adds an additional operation to allow the implementation
 * to decide whether the Context Menu Item should be displayed for the
 * {@link GISResource}.
 *
 */
public interface IResourceContextMenuItem extends IContextMenuItem {
	
	/**
	 * Indicates if this Context Menu Item should be displayed for
	 * the specified {@link GISResource}.  Implementations are to
	 * provide the logic for deciding if the Context Menu Item
	 * should be displayed for the {@link GISResource}.  If <code>
	 * true</code> is returned, then this Context Menu Item 
	 * should be displayed for the GIS Resource, otherwise the
	 * Context Menu Item should not be displayed.
	 * 
	 * @param resource		Reference to {@link GISResource}.
	 * @return Flag indicating if the Context Menu Item should be
	 * 			displayed for the specified {@link GISResource}.
	 */
	public boolean shouldDisplay (GISResource resource);
}

⌨️ 快捷键说明

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