package help; import org.eclipse.ui.plugin.*; import org.eclipse.jface.resource.ImageDescriptor; import org.osgi.framework.BundleContext; /** * The main plugin class to be used in the desktop. */ public class HelpPlugin extends AbstractUIPlugin { //The shared instance. private static HelpPlugin plugin; /** * The constructor. */ public HelpPlugin() { ...
by star_xing_0 - Java文档中心 - 2006-06-06 22:04:36 阅读(1116) 回复(0)
版本Version: Mars.1 Release (4.5.1) 自己设置了Alt+/ 但是输入sysout等无法自动补齐 我记得以前是可以的啊 另外还总报错 Code recommenders cannot download its model repository index. 求解,多谢
显示中文会变成乱码解决方案:Windows- >Pereferences- >General->Workspace- >Text File Encoding 选项下选择other,然后输入"GBK"即可 当然你系统安装了东亚字体的支持才行,控制面板-区域选项里安装。 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/4251/showart_1659825.html
1 从 http://dev.mysql.com/doc/ 下载 eclipse Doc plugin 目前支持4.1,5.0,5.1版本的英文帮助,中文帮助还不支持。 我下载的是5.1版本的 2 解开后把整个com.mysql.refman_5.1.en目录放到eclipse的plugin目录。在eclipse的帮助中就看到mysql的帮助了 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/11566/showart_150726.html
1 建个目录: bdsc.java.doc 2 plugin.xml: 3 toc.xml:(java doc的路径你要改) 4 将这目录copy到eclipse的plugins下 5.使用help ==> help contents 本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/29515/showart_254524.html
eclipse3.0.1 tomcat5.5.9 我点运行tomcat时出现以下错误,但点restart tomcat时就能启动tomcat 2006-7-13 15:50:37 org.apache.catalina.connector.Connector pause 严重: Protocol handler pause failed java.lang.NullPointerException at org.apache.jk.server.JkMain.pause(JkMain.java:675) at org.apache.jk.server.JkCoyoteHandler.pause(JkCoyoteHandler.java:209) at org.apache.catalina.connector.Connector...
我用的是SWT中的Label或Text等,最多显示1000多字,再多了程序就死了 我的代码: org.eclipse.swt.widgets.Text fText = getWidgetFactory().createText(parent, “”, SWT.MULTI | SWT.READ_ONLY | SWT.WRAP); int style = GridData.FILL_HORIZONTAL; gd = new GridData(style); gd.widthHint = 50; fText.setLayoutData(gd); fText.setText(text); //text长度为8000
本帖最后由 renxiao2003 于 2010-02-11 09:21 编辑 和原来的版本有所不同,现在的位置在窗口(Windows)->首先项(Preferences),在弹出窗口中选择常规(General)->编辑器(Editor)->文本编辑器(Text Editor)中选择显示行号(Show line numbers)就可以了。
import java.io.ByteArrayOutputStream; import java.io.File; import java.io.OutputStream; import java.util.HashMap; import java.util.List; import javax.servlet.ServletContext; import org.apache.struts2.ServletActionContext; import org.eclipse.birt.core.framework.IPlatformContext; import org.eclipse.birt.core.framework.Platform; import org.eclipse.birt.core.framework.PlatformServletContext; impor...