iopenmapcomposition.java

来自「esri的ArcGIS Server超级学习模板程序(for java)」· Java 代码 · 共 41 行

JAVA
41
字号
package com.esri.solutions.jitk.web.tasks.mapcomp;

import java.util.List;

import com.esri.solutions.jitk.personalization.PersonalizationException;
import com.esri.solutions.jitk.personalization.data.IMapComposition;

/**
 * Defines an interface for opening a Map Composition within the map viewer.
 * Custom implementations can then be developed to open a Map Composition.  
 * Instances of this object can be injected into the {@link OpenMapCompositionTask}.
 *  
 */
public interface IOpenMapComposition {

	/**
	 * Opens a Map Composition within a map viewer.  
	 * 
	 * @param mc	Reference to Map Composition to open, cannot be <code>null</code>.
	 * 
	 * @throws PersonalizationException	Thrown if there was some unhandled
	 * 									error regarding Personalization.
	 */
	public void open (IMapComposition mc) throws PersonalizationException;
	
	/**
	 * Returns a list of messages that were generated by performing the open
	 * operation.  If no messages were generated, then this method should
	 * return an empty list.
	 * 
	 * @return List of messages.  <code>null</code> should not be returned.
	 */
	public List<String> getMessages ();
	
	/**
	 * Clears the list of messages that were generated by performing the
	 * open operation.
	 */
	public void clearMessages ();
}

⌨️ 快捷键说明

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