swing插件 jigloo_464.zip 最新版

时间:2016-01-26 08:46:42
【文件属性】:
文件名称:swing插件 jigloo_464.zip 最新版
文件大小:13.01MB
文件格式:ZIP
更新时间:2016-01-26 08:46:42
swing插件 jigloo最新版 Java 图形界面 swing插件 jigloo_464.zip 最新版 Java 图形界面 在myeclipse10加入此插件 说到插件,myeclipse自8.X开始,插件安装就变得巨难用,通常最好还是用离线安装,在线安装很可能出问题,下面仅以SVN安装为例,其他诸如ADT15,Aptana等都可采用 1.首先下载SVN包:svn-1.6 2.解压SVN包,然后找到其中的两个文件夹:features 和 plugins 3.随意建一个文件夹(位置和名称自己定就好了,我的是E:\myEclipsePlugin\jigloo),然后把第二步的解压好的features 和 plugins放到这个文件夹下 4.找到myeclipse的安装目录,下面有一个configuration\org.eclipse.equinox.simpleconfigurator\bundles.info 文件。现在需要做的就是在该文件内添加的东西 5.添加的内容用下面的类生成: Java代码 import java.io.File; import java.util.ArrayList; import java.util.List; /** * MyEclipse9 插件配置代码生成器 */ public class PluginConfigCreator { public PluginConfigCreator() { } public void print(String path) { List list = getFileList(path); if (list == null) { return; } int length = list.size(); for (int i = 0; i < length; i++) { String result = ""; String thePath = getFormatPath(getString(list.get(i))); File file = new File(thePath); if (file.isDirectory()) { String fileName = file.getName(); if (fileName.indexOf("_") < 0) { print(thePath); continue; } String[] filenames = fileName.split("_"); String filename1 = filenames[0]; String filename2 = filenames[1]; result = filename1 + "," + filename2 + ",file:/" + path + "/" + fileName + "\\,4,false"; System.out.println(result); } else if (file.isFile()) { String fileName = file.getName(); if (fileName.indexOf("_") < 0) { continue; } int last = fileName.lastIndexOf("_");// 最后一个下划线的位置 String filename1 = fileName.substring(0, last); String filename2 = fileName.substring(last + 1, fileName .length() - 4); result = filename1 + "," + filename2 + ",file:/" + path + "/" + fileName + ",4,false"; System.out.println(result); } } } public List getFileList(String path) { path = getFormatPath(path); path = path + "/"; File filePath = new File(path); if (!filePath.isDirectory()) { return null; } String[] filelist = filePath.list(); List filelistFilter = new ArrayList(); for (int i = 0; i < filelist.length; i++) { String tempfilename = getFormatPath(path + filelist[i]); filelistFilter.add(tempfilename); } return filelistFilter; } public String getString(Object object) { if (object == null) { return ""; } return String.valueOf(object); } public String getFormatPath(String path) { path = path.replaceAll("\\\\", "/"); path = path.replaceAll("//", "/"); return path; } public static void main(String[] args) { /*你的SVN的features 和 plugins复制后放的目录*/ String plugin = "F:\\MyEclipse10.0\\myEclipsePlugin\\jigloo"; new PluginConfigCreator().print(plugin); } } 6.把以上生成的字符串(一大堆)添加到第四步bundles.info文件的后面,然后重启myeclipse即可。

网友评论

  • 不能用,不显示
  • 还行吧,现在都不怎么用这个了,有点落后
  • 试试。。。。。。。。。。
  • 经常用,但是貌似现在windows bulider更好一些
  • 不错不错不错
  • 我怎么用不了啊
  • 很好的资源,已配置好
  • 用了这个插件确实很方便啊,集成到eclipse与myeclipse上使用都没问题
  • 还行吧,我还没配置好
  • 非常好用的!
  • 我安装到我的eclipse中,很好用,非常感谢
  • mars的版本好像不能用……
  • 谢谢 很有帮助
  • 挺不错的插件,谢谢楼主分享
  • 很好用哦。。。。。。。。。。
  • 我的eclipse是luna版本的,不能用
  • 不错的资源
  • 很好 很好使用
  • 我的MyEclipse10可以使用
  • 很好,很实用
  • 可以用,不错~
  • 新版eclipse用不了,老版eclipse就可以用
  • 对于swing的来说是个不错的插件了
  • 非常感谢,无私分享资源值得提倡。该插件很好用,值得信赖。
  • 很好用 良心插件
  • 不错,可以使用
  • 挺不错的,资源很好
  • 终于能够可视化编程了。。。。
  • 不错,非常好用
  • 很好,可以使用