Java 类org.eclipse.gef.tools.SelectionTool 实例源码

项目:gef-gwt    文件:SelectionToolEntry.java   
/**
 * Constructor for SelectionToolEntry.
 * 
 * @param label
 *            the label
 * @param shortDesc
 *            the description
 */
public SelectionToolEntry(String label, String shortDesc) {
    super(label, shortDesc, SharedImages.DESC_SELECTION_TOOL_16,
            SharedImages.DESC_SELECTION_TOOL_24, SelectionTool.class);
    if (label == null || label.length() == 0)
        setLabel(GEFMessages.SelectionTool_Label);
    setUserModificationPermission(PERMISSION_NO_MODIFICATION);
}