??xml version="1.0" encoding="utf-8" standalone="yes"?>一区二区三区视频国产日韩,992tv在线成人免费观看,国产精品国产一区二区http://www.aygfsteel.com/stamp/archive/2005/09/23/13861.htmlstampstampFri, 23 Sep 2005 12:57:00 GMThttp://www.aygfsteel.com/stamp/archive/2005/09/23/13861.htmlhttp://www.aygfsteel.com/stamp/comments/13861.htmlhttp://www.aygfsteel.com/stamp/archive/2005/09/23/13861.html#Feedback0http://www.aygfsteel.com/stamp/comments/commentRss/13861.htmlhttp://www.aygfsteel.com/stamp/services/trackbacks/13861.html 在进行文本编辑器的开发时候,l常会遇到对相关内容的提C,可以通过如下代码实现SourceViewerConfiguration?BR>public IContentAssistant getContentAssistant(ISourceViewer sourceViewer)
{
ContentAssistant assistant = new ContentAssistant();
assistant.setContentAssistProcessor (new XMLCompletionProcessor (), XMLPartitionScanner.XML_TAG);
assistant.enableAutoActivation(true);
assistant.setAutoActivationDelay(250);
assistant.setProposalPopupOrientation(IContentAssistant.PROPOSAL_OVERLAY);
assistant.setProposalSelectorBackground(ColorManager.background);
assistant.setProposalSelectorForeground(ColorManager.foreground);
return assistant;
}
其中XMLCompletionProcessor 主要实现IContentAssistProcessor接口Q内容辅助主要实现接口中?BR>public ICompletionProposal[] computeCompletionProposals(ITextViewer viewer, int documentOffset)
{
for (int i = 0; i < 5;i++)
{
result[i] = new CompletionProposal("bbb", documentOffset, 0, 3, null,
"aaa",null, "");
}
return result;
}
此时会在辅助框中出现5个aaa,当确定后Q补充到文本~辑器的相应位置是bbb,具体参数的说明请见API说明?/P>
]]>- xml~辑?/title>http://www.aygfsteel.com/stamp/archive/2005/09/19/13446.htmlstampstampMon, 19 Sep 2005 11:56:00 GMThttp://www.aygfsteel.com/stamp/archive/2005/09/19/13446.htmlhttp://www.aygfsteel.com/stamp/comments/13446.htmlhttp://www.aygfsteel.com/stamp/archive/2005/09/19/13446.html#Feedback1http://www.aygfsteel.com/stamp/comments/commentRss/13446.htmlhttp://www.aygfsteel.com/stamp/services/trackbacks/13446.html

]]> - eclipse的linkhttp://www.aygfsteel.com/stamp/archive/2005/09/09/12593.htmlstampstampFri, 09 Sep 2005 12:28:00 GMThttp://www.aygfsteel.com/stamp/archive/2005/09/09/12593.htmlhttp://www.aygfsteel.com/stamp/comments/12593.htmlhttp://www.aygfsteel.com/stamp/archive/2005/09/09/12593.html#Feedback0http://www.aygfsteel.com/stamp/comments/commentRss/12593.htmlhttp://www.aygfsteel.com/stamp/services/trackbacks/12593.htmlEclipse插g使用links目录的用法:
假设把插件安装在d:\myplugin目录中,则myplugin的目录结构一定要是这LQ?BR> d:\myplugin\eclipse\plugins\插g ?d:\myplugin\eclipse\features\插g
例如安装EclipseME插g到d:\myplugin目录中,则目录结构d:\myplugin\eclipse\plugins\eclipseme_0.4.5?BR> 再假设eclipse安装在d:\eclipse目录中,则在eclipse目录中创建名UCؓlinks的目录,在links目录中徏立一个link文gQ比如myplugin.linkQ该文g内容为path=d:\myplugin?BR> 启动eclipseQ插件即安装上了Q如果想暂时不启动插Ӟ只需把myplugin.link文g删除卛_?BR>补充说明Q?BR> 1. 插g可以分别安装在多个自定义的目录中?BR> 2. 一个自定义目录可以安装多个插g?BR> 3. link文g的文件名及扩展名可以取Q意名Uͼ比如myplugin.txtQgoodplugin都可以?BR> 4. link文g可以有多行path=插g目录Q对应多个自定义插g目录Q每一行的path参数都将生效?BR> 5. 在links目录也可以有多个link文gQ每个link文g中的path参数都将生效?BR> 6. 插g目录可以使用相对路径Q如果我们把myplugin目录创徏在eclipse安装目录中,如上例中的d:\eclipse目录中,则只需讄path=myplugin卛_

]]>- nature和builder的添?/title>http://www.aygfsteel.com/stamp/archive/2005/09/06/12249.htmlstampstampTue, 06 Sep 2005 11:48:00 GMThttp://www.aygfsteel.com/stamp/archive/2005/09/06/12249.htmlhttp://www.aygfsteel.com/stamp/comments/12249.htmlhttp://www.aygfsteel.com/stamp/archive/2005/09/06/12249.html#Feedback2http://www.aygfsteel.com/stamp/comments/commentRss/12249.htmlhttp://www.aygfsteel.com/stamp/services/trackbacks/12249.html<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.pde.SchemaBuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
builder主要在项目构建时使用Qnature主要用来区分目Q项目的图标主要q一个natures来决定,在plugin.xml文g对org.eclipse.core.resources.natures和org.eclipse.core.resources.builders扩展点进行扩展后Q可以通过如下Ҏnatured到项目中Q?buildercM实现,api查看IProjectDescriptionQ?BR> private static boolean addNature(IProject prj) throws Exception {
IProjectDescription description = prj.getDescription();
String onatures[] = description.getNatureIds();
String[] natures = new String[onatures.length + 1];
natures[0] = "cn.aaa.bbb.natures"; //Ҏplugin.xml文g配置军_
System.arraycopy(onatures, 0, natures, 1, onatures.length);
description.setNatureIds(natures);
prj.setDescription(description, null);
return true;
}
]]> - 目属性图?/title>http://www.aygfsteel.com/stamp/archive/2005/09/02/11850.htmlstampstampFri, 02 Sep 2005 13:09:00 GMThttp://www.aygfsteel.com/stamp/archive/2005/09/02/11850.htmlhttp://www.aygfsteel.com/stamp/comments/11850.htmlhttp://www.aygfsteel.com/stamp/archive/2005/09/02/11850.html#Feedback0http://www.aygfsteel.com/stamp/comments/commentRss/11850.htmlhttp://www.aygfsteel.com/stamp/services/trackbacks/11850.html<extension point="org.eclipse.ui.projectNatureImages">
<image
id="com.aaa.bbb"
natureId="com.aaa.bbb.nature"
icon="icons/nature.gif">
</image>
</extension>
其中natureId是项目具有的属?img src ="http://www.aygfsteel.com/stamp/aggbug/11850.html" width = "1" height = "1" />
]]> - 资源侦听http://www.aygfsteel.com/stamp/archive/2005/08/30/11585.htmlstampstampTue, 30 Aug 2005 12:13:00 GMThttp://www.aygfsteel.com/stamp/archive/2005/08/30/11585.htmlhttp://www.aygfsteel.com/stamp/comments/11585.htmlhttp://www.aygfsteel.com/stamp/archive/2005/08/30/11585.html#Feedback0http://www.aygfsteel.com/stamp/comments/commentRss/11585.htmlhttp://www.aygfsteel.com/stamp/services/trackbacks/11585.html

]]> - eclipse随想http://www.aygfsteel.com/stamp/archive/2005/08/29/11499.htmlstampstampMon, 29 Aug 2005 14:10:00 GMThttp://www.aygfsteel.com/stamp/archive/2005/08/29/11499.htmlhttp://www.aygfsteel.com/stamp/comments/11499.htmlhttp://www.aygfsteel.com/stamp/archive/2005/08/29/11499.html#Feedback1http://www.aygfsteel.com/stamp/comments/commentRss/11499.htmlhttp://www.aygfsteel.com/stamp/services/trackbacks/11499.html
]]>
վ֩ģ壺
|
̫|
|
ʡ|
|
|
|
|
ʡ|
ﶫ|
|
Ͼ|
̨ǰ|
|
|
|
ɽ|
ī|
֬|
ɰ|
Ӷ|
â|
|
|
|
|
|
|
|
|
Һ|
|
Զ|
|
β|
|
|
|
Ȫ|
˫|
|