customcontrolseditingeditormenu.java.svn-base

来自「aresde 空间数据开发 例子」· SVN-BASE 代码 · 共 75 行

SVN-BASE
75
字号
package test;

import java.io.IOException;
import java.net.UnknownHostException;

import com.esri.arcgis.controls.ControlsEditingEditorMenu;
import com.esri.arcgis.interop.AutomationException;
import com.esri.arcgis.interop.Dispatch;
import com.esri.arcgis.systemUI.IItemDef;
import com.esri.arcgis.systemUI.IMenuDef;

public class CustomControlsEditingEditorMenu extends ControlsEditingEditorMenu{
	
	private String caption = "";
	
	public CustomControlsEditingEditorMenu() throws IOException, UnknownHostException {
		super();
	}

	@Override
	public boolean equals(Object o) {
		return super.equals(o);
	}
	

	@Override
	public IMenuDef getAsIMenuDef() {
		return super.getAsIMenuDef();
	}

	@Override
	public String getCaption() throws IOException, AutomationException {
		return this.caption;
	}
	
	public void setCaption(String caption){
		this.caption = caption;
	}
	
	public String getToolTip(){
		return "sdfsdf";
	}
	
	@Override
	public int getItemCount() throws IOException, AutomationException {
		return super.getItemCount();
	}

	@Override
	public void getItemInfo(int pos, IItemDef itemDef) throws IOException, AutomationException {
		super.getItemInfo(pos, itemDef);
	}

	@Override
	public Dispatch getJintegraDispatch() {
		return super.getJintegraDispatch();
	}

	@Override
	public String getName() throws IOException, AutomationException {
		return super.getName();
	}

	@Override
	public int hashCode() {
		return super.hashCode();
	}

	@Override
	public void release() {
		super.release();
	}

}

⌨️ 快捷键说明

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