• R/O
  • SSH
  • HTTPS

propedit: 提交


Commit MetaInfo

修订版185 (tree)
时间2009-05-23 12:29:59
作者chomakichi

Log Message

ホバーなどでのプロパティの検索時の処理を変更

更改概述

差异

--- trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/jdt/proposal/PropertiesCompletionProposalComputer.java (revision 184)
+++ trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/jdt/proposal/PropertiesCompletionProposalComputer.java (revision 185)
@@ -1,34 +1,21 @@
11 package jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.jdt.proposal;
22
3-import java.io.IOException;
4-import java.lang.reflect.InvocationTargetException;
53 import java.util.ArrayList;
64 import java.util.Collections;
5+import java.util.Enumeration;
76 import java.util.Iterator;
87 import java.util.List;
9-import java.util.Properties;
108
11-import jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.PropertiesEditorPlugin;
129 import jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.resources.Messages;
13-import jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.util.PropertiesFileUtil;
10+import jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.util.ProjectProperties;
1411
15-import org.eclipse.core.resources.IFile;
1612 import org.eclipse.core.resources.IProject;
17-import org.eclipse.core.runtime.CoreException;
18-import org.eclipse.core.runtime.ILog;
19-import org.eclipse.core.runtime.IPath;
2013 import org.eclipse.core.runtime.IProgressMonitor;
21-import org.eclipse.core.runtime.IStatus;
22-import org.eclipse.core.runtime.Status;
2314 import org.eclipse.jdt.core.IJavaProject;
24-import org.eclipse.jdt.core.JavaModelException;
2515 import org.eclipse.jdt.ui.text.java.ContentAssistInvocationContext;
2616 import org.eclipse.jdt.ui.text.java.IJavaCompletionProposalComputer;
2717 import org.eclipse.jdt.ui.text.java.JavaContentAssistInvocationContext;
28-import org.eclipse.jface.dialogs.ProgressMonitorDialog;
29-import org.eclipse.jface.operation.IRunnableWithProgress;
3018 import org.eclipse.jface.text.contentassist.CompletionProposal;
31-import org.eclipse.swt.widgets.Shell;
3219
3320 public class PropertiesCompletionProposalComputer implements
3421 IJavaCompletionProposalComputer {
@@ -42,76 +29,11 @@
4229 JavaContentAssistInvocationContext jContext = (JavaContentAssistInvocationContext)context;
4330 IJavaProject jProject = jContext.getProject();
4431 IProject project = jProject.getProject();
45-
46- IPath outputPath = null;
47- try {
48- outputPath = jProject.getOutputLocation();
49- } catch (JavaModelException e) {
50- IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, 0, e.getMessage(), e);
51- ILog log = PropertiesEditorPlugin.getDefault().getLog();
52- log.log(status);
53- }
5432
55- class GetPropertyFiles implements IRunnableWithProgress {
56-
57- private IFile[] files = null;
58- private IProject project = null;
59- private IPath excludePath = null;
60-
61- public GetPropertyFiles(IProject project, IPath excludePath) {
62- this.project = project;
63- this.excludePath = excludePath;
64- }
65-
66- public void run(IProgressMonitor monitor)
67- throws InvocationTargetException, InterruptedException {
68- monitor.setTaskName(Messages.getString("eclipse.propertieseditor.PropertiesCompletionProposalComputer.0")); //$NON-NLS-1$
69- files = PropertiesFileUtil.findFileExt(project, excludePath, "properties"); //$NON-NLS-1$
70- monitor.done();
71- }
72-
73- public IFile[] getResult() {
74- return this.files;
75- }
76-
77- }
78-
79- Shell shell = PropertiesEditorPlugin.getDefault().getWorkbench().getActiveWorkbenchWindow().getShell();
80- ProgressMonitorDialog dialog = new ProgressMonitorDialog(shell);
81- GetPropertyFiles getPropFiles = new GetPropertyFiles(project, outputPath);
82- try {
83- dialog.run(true, false, getPropFiles);
84- } catch (InvocationTargetException e) {
85- IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, 0, e.getMessage(), e);
86- ILog log = PropertiesEditorPlugin.getDefault().getLog();
87- log.log(status);
88- } catch (InterruptedException e) {
89- }
90- IFile[] pFiles = getPropFiles.getResult();
91-
33+ Enumeration enu = ProjectProperties.getInstance().getProperty(project).keys();
9234 List keyList = new ArrayList();
93- for (int i = 0; i < pFiles.length; i++) {
94- Properties prop = new Properties();
95- try {
96- prop.load(pFiles[i].getContents());
97- } catch (IOException e) {
98- IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, 0, e.getMessage(), e);
99- ILog log = PropertiesEditorPlugin.getDefault().getLog();
100- log.log(status);
101- } catch (CoreException e) {
102- IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, 0, e.getMessage(), e);
103- ILog log = PropertiesEditorPlugin.getDefault().getLog();
104- log.log(status);
105- }
106- Iterator ite = prop.keySet().iterator();
107- while (ite.hasNext()) {
108- String key = (String)ite.next();
109- if (keyList.contains(key)) {
110- continue;
111- } else {
112- keyList.addAll(prop.keySet());
113- }
114- }
35+ while (enu.hasMoreElements()) {
36+ keyList.add(enu.nextElement());
11537 }
11638
11739 String source = context.getDocument().get();
@@ -142,7 +64,6 @@
14264
14365 public List computeContextInformation(ContentAssistInvocationContext arg0,
14466 IProgressMonitor arg1) {
145- // TODO Auto-generated method stub
14667 return null;
14768 }
14869
--- trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/jdt/hover/PropertiesHover.java (revision 184)
+++ trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/jdt/hover/PropertiesHover.java (revision 185)
@@ -3,37 +3,46 @@
33 */
44 package jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.jdt.hover;
55
6-import java.io.IOException;
7-import java.util.Enumeration;
6+import java.util.Iterator;
7+import java.util.Map;
88 import java.util.Properties;
99
1010 import jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.PropertiesEditorPlugin;
1111 import jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.resources.Messages;
12-import jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.util.PropertiesFileUtil;
12+import jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.util.ProjectProperties;
1313
1414 import org.eclipse.core.resources.IFile;
1515 import org.eclipse.core.resources.IProject;
16-import org.eclipse.core.runtime.CoreException;
1716 import org.eclipse.core.runtime.ILog;
18-import org.eclipse.core.runtime.IPath;
1917 import org.eclipse.core.runtime.IStatus;
2018 import org.eclipse.core.runtime.Status;
21-import org.eclipse.jdt.core.IJavaProject;
22-import org.eclipse.jdt.core.JavaCore;
23-import org.eclipse.jdt.core.JavaModelException;
2419 import org.eclipse.jdt.ui.text.java.hover.IJavaEditorTextHover;
2520 import org.eclipse.jface.text.BadLocationException;
21+import org.eclipse.jface.text.DefaultInformationControl;
2622 import org.eclipse.jface.text.IDocument;
23+import org.eclipse.jface.text.IInformationControl;
24+import org.eclipse.jface.text.IInformationControlCreator;
2725 import org.eclipse.jface.text.IRegion;
26+import org.eclipse.jface.text.ITextHoverExtension;
2827 import org.eclipse.jface.text.ITextViewer;
28+import org.eclipse.swt.widgets.Shell;
2929 import org.eclipse.ui.IEditorInput;
3030 import org.eclipse.ui.IEditorPart;
3131 import org.eclipse.ui.IFileEditorInput;
32+import org.eclipse.ui.editors.text.EditorsUI;
3233
3334 /**
3435 *
3536 */
36-public class PropertiesHover implements IJavaEditorTextHover {
37+/**
38+ * @author miyazaki
39+ *
40+ */
41+/**
42+ * @author miyazaki
43+ *
44+ */
45+public class PropertiesHover implements IJavaEditorTextHover, ITextHoverExtension {
3746
3847 private IEditorPart editorPart;
3948
@@ -110,7 +119,7 @@
110119 return getPropertyValue(key);
111120
112121 } catch (BadLocationException e) {
113- IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, 0, e.getMessage(), e);
122+ IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
114123 ILog log = PropertiesEditorPlugin.getDefault().getLog();
115124 log.log(status);
116125 return null;
@@ -128,54 +137,25 @@
128137
129138 IFileEditorInput fEditorInput = (IFileEditorInput)editorInput;
130139 IProject project = fEditorInput.getFile().getProject();
131- IJavaProject jProject = JavaCore.create(project);
132-
133- IPath outputPath = null;
134- try {
135- outputPath = jProject.getOutputLocation();
136- } catch (JavaModelException e) {
137- IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, 0, e.getMessage(), e);
138- ILog log = PropertiesEditorPlugin.getDefault().getLog();
139- log.log(status);
140- }
141140
142- IFile[] pFiles = PropertiesFileUtil.findFileExt(project, outputPath, "properties"); //$NON-NLS-1$
141+ Map propertyMap = ProjectProperties.getInstance().getProperty(project, targetKey);
143142
144- Properties list = new Properties();
145- for (int i = 0; i < pFiles.length; i++) {
146- Properties prop = new Properties();
147- try {
148- prop.load(pFiles[i].getContents());
149- } catch (IOException e) {
150- IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, 0, e.getMessage(), e);
151- ILog log = PropertiesEditorPlugin.getDefault().getLog();
152- log.log(status);
153- } catch (CoreException e) {
154- IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, 0, e.getMessage(), e);
155- ILog log = PropertiesEditorPlugin.getDefault().getLog();
156- log.log(status);
157- }
158-
159- if (prop.containsKey(targetKey)) {
160- list.put(pFiles[i].getFullPath().toPortableString(), prop.getProperty(targetKey));
161- }
162- }
163-
164- if (list.isEmpty()) {
143+ if (propertyMap.isEmpty()) {
165144 return null;
166145 }
167146
168- Enumeration enu = list.keys();
147+ Iterator ite = propertyMap.keySet().iterator();
169148 StringBuffer buf = new StringBuffer();
170- buf.append("&lt;").append(Messages.getString("eclipse.propertieseditor.hover.key")).append(":").append(targetKey).append("&gt;<br/>"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
171- while (enu.hasMoreElements()) {
172- String path = (String)enu.nextElement();
173- String value = (String)list.get(path);
149+ buf.append("<code>").append(Messages.getString("eclipse.propertieseditor.hover.key")).append(":").append(targetKey).append("</code><br/>"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
150+ while (ite.hasNext()) {
151+ IFile file = (IFile)ite.next();
152+ String path = (String)file.getFullPath().toPortableString();
153+ String value = (String)((Properties)propertyMap.get(file)).getProperty(targetKey);
174154 value = value.replaceAll("\r\n", "<br/>"); //$NON-NLS-1$ //$NON-NLS-2$
175155 value = value.replaceAll("\n", "<br/>"); //$NON-NLS-1$ //$NON-NLS-2$
176156 value = value.replaceAll("\r", "<br/>"); //$NON-NLS-1$ //$NON-NLS-2$
177- buf.append("&lt;").append(Messages.getString("eclipse.propertieseditor.hover.file")).append(":").append(path).append("&gt;<br/>"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
178- buf.append(value);
157+ buf.append("&lt;").append(Messages.getString("eclipse.propertieseditor.hover.file")).append(":").append(path).append("&gt;<br/>"); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
158+ buf.append("<b><code>").append(value).append("</code></b>"); //$NON-NLS-1$ //$NON-NLS-2$
179159 buf.append("<br/>"); //$NON-NLS-1$
180160 }
181161 return buf.toString();
@@ -191,4 +171,15 @@
191171 return null;
192172 }
193173
174+ /**
175+ * @see org.eclipse.jface.text.ITextHoverExtension#getHoverControlCreator()
176+ */
177+ public IInformationControlCreator getHoverControlCreator() {
178+ return new IInformationControlCreator() {
179+ public IInformationControl createInformationControl(Shell parent) {
180+ return new DefaultInformationControl(parent, EditorsUI.getTooltipAffordanceString());
181+ }
182+ };
183+ }
184+
194185 }
--- trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/startup/Startup.java (nonexistent)
+++ trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/startup/Startup.java (revision 185)
@@ -0,0 +1,128 @@
1+/**
2+ *
3+ */
4+package jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.startup;
5+
6+import java.util.Iterator;
7+
8+import jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.PropertiesEditorPlugin;
9+import jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.util.ProjectProperties;
10+import jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.util.ResourceChange;
11+import jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.util.ResourceChangeList;
12+
13+import org.eclipse.core.resources.IFile;
14+import org.eclipse.core.resources.IProject;
15+import org.eclipse.core.resources.IResourceChangeEvent;
16+import org.eclipse.core.resources.IResourceChangeListener;
17+import org.eclipse.core.resources.IResourceDelta;
18+import org.eclipse.core.resources.IWorkspace;
19+import org.eclipse.core.runtime.IPath;
20+import org.eclipse.jdt.core.IJavaProject;
21+import org.eclipse.jdt.core.JavaCore;
22+import org.eclipse.jdt.core.JavaModelException;
23+import org.eclipse.ui.IStartup;
24+
25+/**
26+ *
27+ */
28+public class Startup implements IStartup {
29+
30+ /**
31+ * @see org.eclipse.ui.IStartup#earlyStartup()
32+ */
33+ public void earlyStartup() {
34+ IWorkspace workspace = PropertiesEditorPlugin.getWorkspace();
35+ ProjectProperties.getInstance().loadAllProperty(workspace);
36+ workspace.addResourceChangeListener(new IResourceChangeListener() {
37+ public void resourceChanged(IResourceChangeEvent event) {
38+ ProjectProperties pp = ProjectProperties.getInstance();
39+
40+ IResourceDelta delta = event.getDelta();
41+
42+ ResourceChangeList rcs = getEventType(delta);
43+ if (rcs.size() == 0) {
44+ return;
45+ }
46+ Iterator ite = rcs.iterator();
47+ while (ite.hasNext()) {
48+ ResourceChange rc = (ResourceChange)ite.next();
49+ switch (rc.getType()) {
50+ case ResourceChange.PROJECT_ADD:
51+ pp.loadProjectProperties(rc.getProject());
52+ break;
53+ case ResourceChange.PROJECT_DELETE:
54+ pp.deleteProjectProperties(rc.getProject());
55+ break;
56+ case ResourceChange.PROJECT_MOVE_TO:
57+ pp.loadProjectProperties(rc.getProject());
58+ break;
59+ case ResourceChange.PROJECT_MOVE_FROM:
60+ pp.deleteProjectProperties(rc.getProject());
61+ break;
62+ case ResourceChange.PROJECT_OPEN:
63+ pp.loadProjectProperties(rc.getProject());
64+ break;
65+ case ResourceChange.PROJECT_CLOSE:
66+ pp.deleteProjectProperties(rc.getProject());
67+ break;
68+ case ResourceChange.PROPERTIES_CHANGE:
69+ pp.loadProjectProperties(rc.getProject());
70+ break;
71+ }
72+ }
73+ }
74+
75+ private ResourceChangeList getEventType(IResourceDelta delta) {
76+ ResourceChangeList resourceChangeList = new ResourceChangeList();
77+
78+ if (delta == null) return resourceChangeList;
79+
80+ int kind = delta.getKind();
81+ int flags = delta.getFlags();
82+ if (kind == IResourceDelta.CHANGED
83+ && ((flags & IResourceDelta.OPEN) != 0)) {
84+ IProject project = (IProject)delta.getResource();
85+ if (project.isOpen()) {
86+ resourceChangeList.add(new ResourceChange(ResourceChange.PROJECT_OPEN, project));
87+ } else {
88+ resourceChangeList.add(new ResourceChange(ResourceChange.PROJECT_CLOSE, project));
89+ }
90+ } else if (delta.getResource() instanceof IProject) {
91+ IProject project = (IProject)delta.getResource();
92+ if (kind == IResourceDelta.ADDED) {
93+ resourceChangeList.add(new ResourceChange(ResourceChange.PROJECT_ADD, project));
94+ } else if (kind == IResourceDelta.REMOVED) {
95+ resourceChangeList.add(new ResourceChange(ResourceChange.PROJECT_DELETE, project));
96+ } else if (kind == IResourceDelta.MOVED_TO) {
97+ resourceChangeList.add(new ResourceChange(ResourceChange.PROJECT_MOVE_TO, project));
98+ } else if (kind == IResourceDelta.MOVED_FROM) {
99+ resourceChangeList.add(new ResourceChange(ResourceChange.PROJECT_MOVE_FROM, project));
100+ }
101+ } else if (delta.getResource() instanceof IFile) {
102+ IFile file = (IFile)delta.getResource();
103+ String ext = file.getFileExtension();
104+ if (ext != null && ext.equals("properties")) { //$NON-NLS-1$
105+ IJavaProject jProject = JavaCore.create(file.getProject());
106+ IPath outputPath = null;
107+ try {
108+ outputPath = jProject.getOutputLocation();
109+ } catch (JavaModelException e) {
110+ }
111+ if (outputPath == null || outputPath.matchingFirstSegments(file.getFullPath()) != outputPath.segmentCount()) {
112+ resourceChangeList.add(new ResourceChange(ResourceChange.PROPERTIES_CHANGE, delta.getResource().getProject()));
113+ }
114+ }
115+ }
116+
117+ IResourceDelta[] deltas = delta.getAffectedChildren();
118+ for (int i = 0; i < deltas.length; i++) {
119+ ResourceChangeList rcs = getEventType(deltas[i]);
120+ resourceChangeList.addAll(rcs);
121+ }
122+ return resourceChangeList;
123+ }
124+
125+ });
126+ }
127+
128+}
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
--- trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/checker/CheckAndMarkDuplicateKey.java (revision 184)
+++ trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/checker/CheckAndMarkDuplicateKey.java (revision 185)
@@ -15,6 +15,7 @@
1515 import org.eclipse.core.resources.IMarker;
1616 import org.eclipse.core.resources.IResource;
1717 import org.eclipse.core.runtime.CoreException;
18+import org.eclipse.core.runtime.ILog;
1819 import org.eclipse.core.runtime.IStatus;
1920 import org.eclipse.core.runtime.Status;
2021 import org.eclipse.ui.IFileEditorInput;
@@ -32,8 +33,10 @@
3233 throw e;
3334 } catch (Exception e) {
3435 e.printStackTrace();
35- IStatus s = new Status(IStatus.ERROR, PlatformUI.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
36- throw new CoreException(s);
36+ IStatus status = new Status(IStatus.ERROR, PlatformUI.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
37+ ILog log = PropertiesEditorPlugin.getDefault().getLog();
38+ log.log(status);
39+ throw new CoreException(status);
3740 }
3841 }
3942
@@ -164,8 +167,10 @@
164167 }
165168 }
166169 } catch (IOException e) {
167- IStatus s = new Status(IStatus.ERROR, PlatformUI.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
168- throw new CoreException(s);
170+ IStatus status = new Status(IStatus.ERROR, PlatformUI.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
171+ ILog log = PropertiesEditorPlugin.getDefault().getLog();
172+ log.log(status);
173+ throw new CoreException(status);
169174 } finally {
170175 try {
171176 if (reader != null) {
--- trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/checker/CheckAndMarkResourceVisitor.java (revision 184)
+++ trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/checker/CheckAndMarkResourceVisitor.java (revision 185)
@@ -4,10 +4,13 @@
44 import java.io.ByteArrayOutputStream;
55 import java.io.IOException;
66
7+import jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.PropertiesEditorPlugin;
8+
79 import org.eclipse.core.resources.IFile;
810 import org.eclipse.core.resources.IResource;
911 import org.eclipse.core.resources.IResourceVisitor;
1012 import org.eclipse.core.runtime.CoreException;
13+import org.eclipse.core.runtime.ILog;
1114 import org.eclipse.core.runtime.IStatus;
1215 import org.eclipse.core.runtime.Status;
1316 import org.eclipse.ui.PlatformUI;
@@ -38,8 +41,10 @@
3841 out.write(tmp, 0, readCnt);
3942 }
4043 } catch (IOException e) {
41- IStatus s = new Status(IStatus.ERROR, PlatformUI.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
42- throw new CoreException(s);
44+ IStatus status = new Status(IStatus.ERROR, PlatformUI.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
45+ ILog log = PropertiesEditorPlugin.getDefault().getLog();
46+ log.log(status);
47+ throw new CoreException(status);
4348 }
4449 camd.checkAndMarkDuplicateKeyInString(out.toString(), resource);
4550 }
--- trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/property/PropertiesProperty.java (revision 184)
+++ trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/property/PropertiesProperty.java (revision 185)
@@ -147,7 +147,7 @@
147147 notAllConvert = project.getPersistentProperty(new QualifiedName(PropertiesEditorPlugin.PLUGIN_ID, P_NOT_ALL_CONVERT));
148148 notConvertComment = project.getPersistentProperty(new QualifiedName(PropertiesEditorPlugin.PLUGIN_ID, P_NOT_CONVERT_COMMENT));
149149 } catch (CoreException e) {
150- IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, 0, e.getMessage(), e);
150+ IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
151151 ILog log = PropertiesEditorPlugin.getDefault().getLog();
152152 log.log(status);
153153 ErrorDialog.openError(null, Messages.getString("eclipse.propertieseditor.property.error_title"), Messages.getString("eclipse.propertieseditor.property.get.settings.error"), status); //$NON-NLS-1$ //$NON-NLS-2$
@@ -226,7 +226,7 @@
226226 project.setPersistentProperty(new QualifiedName(PropertiesEditorPlugin.PLUGIN_ID, P_NOT_ALL_CONVERT), Boolean.toString(notAllConvertCheckBox.getSelection()));
227227 project.setPersistentProperty(new QualifiedName(PropertiesEditorPlugin.PLUGIN_ID, P_NOT_CONVERT_COMMENT), Boolean.toString(notConvertCommentCheckBox.getSelection()));
228228 } catch (CoreException e) {
229- IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, 0, e.getMessage(), e);
229+ IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
230230 ILog log = PropertiesEditorPlugin.getDefault().getLog();
231231 log.log(status);
232232 ErrorDialog.openError(getShell(), Messages.getString("eclipse.propertieseditor.property.error_title"), Messages.getString("eclipse.propertieseditor.property.save.settings.error"), status); //$NON-NLS-1$ //$NON-NLS-2$
--- trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/property/PropertyUtil.java (revision 184)
+++ trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/property/PropertyUtil.java (revision 185)
@@ -20,7 +20,7 @@
2020 org = project.getPersistentProperty(new QualifiedName(PropertiesEditorPlugin.PLUGIN_ID, PropertiesProperty.P_ORIGINAL_SETTINGS));
2121 commentChar = project.getPersistentProperty(new QualifiedName(PropertiesEditorPlugin.PLUGIN_ID, PropertiesProperty.P_COMMENT_CHARACTER));
2222 } catch (CoreException e) {
23- IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, 0, e.getMessage(), e);
23+ IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
2424 ILog log = PropertiesEditorPlugin.getDefault().getLog();
2525 log.log(status);
2626 ErrorDialog.openError(null, Messages.getString("eclipse.propertieseditor.property.error_title"), Messages.getString("eclipse.propertieseditor.property.get.settings.error"), status); //$NON-NLS-1$ //$NON-NLS-2$
@@ -44,7 +44,7 @@
4444 org = project.getPersistentProperty(new QualifiedName(PropertiesEditorPlugin.PLUGIN_ID, PropertiesProperty.P_ORIGINAL_SETTINGS));
4545 notAllConvert = project.getPersistentProperty(new QualifiedName(PropertiesEditorPlugin.PLUGIN_ID, PropertiesProperty.P_NOT_ALL_CONVERT));
4646 } catch (CoreException e) {
47- IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, 0, e.getMessage(), e);
47+ IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
4848 ILog log = PropertiesEditorPlugin.getDefault().getLog();
4949 log.log(status);
5050 ErrorDialog.openError(null, Messages.getString("eclipse.propertieseditor.property.error_title"), Messages.getString("eclipse.propertieseditor.property.get.settings.error"), status); //$NON-NLS-1$ //$NON-NLS-2$
@@ -99,7 +99,7 @@
9999 org = project.getPersistentProperty(new QualifiedName(PropertiesEditorPlugin.PLUGIN_ID, PropertiesProperty.P_ORIGINAL_SETTINGS));
100100 charcase = project.getPersistentProperty(new QualifiedName(PropertiesEditorPlugin.PLUGIN_ID, PropertiesProperty.P_CONVERT_CHAR_CASE));
101101 } catch (CoreException e) {
102- IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, 0, e.getMessage(), e);
102+ IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
103103 ILog log = PropertiesEditorPlugin.getDefault().getLog();
104104 log.log(status);
105105 ErrorDialog.openError(null, Messages.getString("eclipse.propertieseditor.property.error_title"), Messages.getString("eclipse.propertieseditor.property.get.settings.error"), status); //$NON-NLS-1$ //$NON-NLS-2$
--- trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/editors/PropertiesEditor.java (revision 184)
+++ trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/editors/PropertiesEditor.java (revision 185)
@@ -97,8 +97,6 @@
9797
9898 //turn projection mode on
9999 viewer.doOperation(ProjectionViewer.TOGGLE);
100-
101- getSite().setSelectionProvider(viewer);
102100
103101 annotationModel = viewer
104102 .getProjectionAnnotationModel();
--- trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/editors/PropertiesConfiguration.java (revision 184)
+++ trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/editors/PropertiesConfiguration.java (revision 185)
@@ -141,7 +141,7 @@
141141 results.add(detector);
142142 }
143143 } catch(CoreException e) {
144- IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, 0, e.getMessage(), e);
144+ IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
145145 ILog log = PropertiesEditorPlugin.getDefault().getLog();
146146 log.log(status);
147147 }
--- trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/editors/PropertiesDocumentProvider.java (revision 184)
+++ trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/editors/PropertiesDocumentProvider.java (revision 185)
@@ -73,7 +73,7 @@
7373 try {
7474 document.set(EncodeChanger.unicodeEsc2Unicode(document.get()));
7575 } catch (Exception e) {
76- IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, 0, e.getMessage(), e);
76+ IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
7777 ILog log = PropertiesEditorPlugin.getDefault().getLog();
7878 log.log(status);
7979 ErrorDialog.openError(null, Messages.getString("eclipse.propertieseditor.convert.error"), Messages.getString("eclipse.propertieseditor.property.get.settings.error"), status); //$NON-NLS-1$ //$NON-NLS-2$
@@ -109,7 +109,7 @@
109109 try {
110110 listener.beforeUnicodeConvertAtSavingDocument(monitor, element, document, overwrite);
111111 } catch(Exception e) {
112- IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, 0, e.getMessage(), e);
112+ IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
113113 ILog log = PropertiesEditorPlugin.getDefault().getLog();
114114 log.log(status);
115115 }
@@ -127,7 +127,7 @@
127127 uniEscStr = EncodeChanger.unicode2UnicodeEscWithoutComment(document.get(), EncodeChanger.LOWERCASE);
128128 }
129129 } catch (Exception e) {
130- IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, 0, e.getMessage(), e);
130+ IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
131131 ILog log = PropertiesEditorPlugin.getDefault().getLog();
132132 log.log(status);
133133 ErrorDialog.openError(null, Messages.getString("eclipse.propertieseditor.convert.error"), Messages.getString("eclipse.propertieseditor.property.get.settings.error"), status); //$NON-NLS-1$ //$NON-NLS-2$
@@ -140,7 +140,7 @@
140140 uniEscStr = EncodeChanger.unicode2UnicodeEsc(document.get(), EncodeChanger.LOWERCASE);
141141 }
142142 } catch (Exception e) {
143- IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, 0, e.getMessage(), e);
143+ IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
144144 ILog log = PropertiesEditorPlugin.getDefault().getLog();
145145 log.log(status);
146146 ErrorDialog.openError(null, Messages.getString("eclipse.propertieseditor.convert.error"), Messages.getString("eclipse.propertieseditor.property.get.settings.error"), status); //$NON-NLS-1$ //$NON-NLS-2$
@@ -153,7 +153,7 @@
153153 try {
154154 listener.afterUnicodeConvertAtSavingDocument(monitor, element, document, overwrite);
155155 } catch(Exception e) {
156- IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, 0, e.getMessage(), e);
156+ IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
157157 ILog log = PropertiesEditorPlugin.getDefault().getLog();
158158 log.log(status);
159159 }
--- trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/action/ShowUnicodeEscAction.java (revision 184)
+++ trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/action/ShowUnicodeEscAction.java (revision 185)
@@ -90,7 +90,7 @@
9090 text.setText(EncodeChanger.unicode2UnicodeEscWithoutComment(editorText, EncodeChanger.LOWERCASE));
9191 }
9292 } catch (Exception e) {
93- IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, 0, e.getMessage(), e);
93+ IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
9494 ILog log = PropertiesEditorPlugin.getDefault().getLog();
9595 log.log(status);
9696 ErrorDialog.openError(null, Messages.getString("eclipse.propertieseditor.convert.error"), Messages.getString("eclipse.propertieseditor.property.get.settings.error"), status); //$NON-NLS-1$ //$NON-NLS-2$
@@ -103,7 +103,7 @@
103103 text.setText(EncodeChanger.unicode2UnicodeEsc(editorText, EncodeChanger.LOWERCASE));
104104 }
105105 } catch (Exception e) {
106- IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, 0, e.getMessage(), e);
106+ IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
107107 ILog log = PropertiesEditorPlugin.getDefault().getLog();
108108 log.log(status);
109109 ErrorDialog.openError(null, Messages.getString("eclipse.propertieseditor.convert.error"), Messages.getString("eclipse.propertieseditor.property.get.settings.error"), status); //$NON-NLS-1$ //$NON-NLS-2$
--- trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/util/ProjectProperties.java (nonexistent)
+++ trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/util/ProjectProperties.java (revision 185)
@@ -0,0 +1,127 @@
1+/**
2+ *
3+ */
4+package jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.util;
5+
6+import java.io.IOException;
7+import java.util.HashMap;
8+import java.util.Iterator;
9+import java.util.Map;
10+import java.util.Properties;
11+
12+import jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.PropertiesEditorPlugin;
13+
14+import org.eclipse.core.resources.IFile;
15+import org.eclipse.core.resources.IProject;
16+import org.eclipse.core.resources.IWorkspace;
17+import org.eclipse.core.runtime.CoreException;
18+import org.eclipse.core.runtime.ILog;
19+import org.eclipse.core.runtime.IPath;
20+import org.eclipse.core.runtime.IStatus;
21+import org.eclipse.core.runtime.Status;
22+import org.eclipse.jdt.core.IJavaProject;
23+import org.eclipse.jdt.core.JavaCore;
24+import org.eclipse.jdt.core.JavaModelException;
25+
26+/**
27+ *
28+ */
29+public class ProjectProperties {
30+
31+ private static ProjectProperties instance = null;
32+
33+ private Map propertyMap = new HashMap();
34+
35+ private ProjectProperties() {
36+ }
37+
38+ public static ProjectProperties getInstance() {
39+ if (ProjectProperties.instance == null) {
40+ ProjectProperties.instance = new ProjectProperties();
41+ }
42+ return ProjectProperties.instance;
43+ }
44+
45+ public void loadAllProperty(IWorkspace workspace) {
46+ IProject[] projects = workspace.getRoot().getProjects();
47+ for (int i = 0; i < projects.length; i++) {
48+ IProject project = projects[i];
49+ if (project.isOpen()) {
50+ loadProjectProperties(project);
51+ }
52+ }
53+ }
54+
55+ public void deleteProjectProperties(IProject project) {
56+ log("properties removing '" + project.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$
57+ this.propertyMap.remove(project);
58+ }
59+
60+ /**
61+ * @param project
62+ */
63+ public void loadProjectProperties(IProject project) {
64+ log("properties loading '" + project.getName() + "'"); //$NON-NLS-1$ //$NON-NLS-2$
65+ if (!project.isOpen()) {
66+ this.propertyMap.remove(project);
67+ return;
68+ }
69+ IJavaProject jProject = JavaCore.create(project);
70+ IPath outputPath = null;
71+ try {
72+ outputPath = jProject.getOutputLocation();
73+ } catch (JavaModelException e) {
74+ }
75+ IFile[] pFiles = PropertiesFileUtil.findFileExt(project, outputPath, "properties"); //$NON-NLS-1$
76+ Map list = new HashMap();
77+ for (int j = 0; j < pFiles.length; j++) {
78+ Properties prop = new Properties();
79+ try {
80+ prop.load(pFiles[j].getContents());
81+ } catch (IOException e) {
82+ IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
83+ ILog log = PropertiesEditorPlugin.getDefault().getLog();
84+ log.log(status);
85+ } catch (CoreException e) {
86+ IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
87+ ILog log = PropertiesEditorPlugin.getDefault().getLog();
88+ log.log(status);
89+ }
90+ list.put(pFiles[j], prop);
91+ }
92+ propertyMap.put(project, list);
93+ }
94+
95+ public Properties getProperty(IProject project) {
96+ Properties prop = new Properties();
97+ Map properties = (Map)propertyMap.get(project);
98+ Iterator ite = properties.keySet().iterator();
99+ while (ite.hasNext()) {
100+ IFile file = (IFile)ite.next();
101+ Properties p = (Properties)properties.get(file);
102+ prop.putAll(p);
103+ }
104+ return prop;
105+ }
106+
107+ public Map getProperty(IProject project, String key) {
108+ Map list = new HashMap();
109+ Map properties = (Map)propertyMap.get(project);
110+ Iterator ite = properties.keySet().iterator();
111+ while (ite.hasNext()) {
112+ IFile file = (IFile)ite.next();
113+ Properties p = (Properties)properties.get(file);
114+ if (p.containsKey(key)) {
115+ list.put(file, p);
116+ }
117+ }
118+ return list;
119+ }
120+
121+ private void log(String msg) {
122+ IStatus status = new Status(IStatus.INFO, PropertiesEditorPlugin.PLUGIN_ID, msg);
123+ ILog log = PropertiesEditorPlugin.getDefault().getLog();
124+ log.log(status);
125+ }
126+
127+}
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
--- trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/util/ResourceChangeList.java (nonexistent)
+++ trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/util/ResourceChangeList.java (revision 185)
@@ -0,0 +1,66 @@
1+/**
2+ *
3+ */
4+package jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.util;
5+
6+import java.util.ArrayList;
7+import java.util.Iterator;
8+import java.util.List;
9+
10+
11+/**
12+ *
13+ */
14+public class ResourceChangeList {
15+
16+ private List list = new ArrayList();
17+
18+ public void add(ResourceChange rc) {
19+ boolean addDoneFlg = false;
20+ Iterator ite = list.iterator();
21+ List newList = new ArrayList();
22+ while (ite.hasNext()) {
23+ ResourceChange rcInList = (ResourceChange)ite.next();
24+ if (rc.getType() == ResourceChange.PROPERTIES_CHANGE) {
25+ if (rcInList.getProject().getFullPath().toPortableString().equals(rc.getProject().getFullPath().toPortableString())) {
26+ newList.add(rcInList);
27+ addDoneFlg = true;
28+ continue;
29+ }
30+ } else {
31+ if (rcInList.getProject().getFullPath().toPortableString().equals(rc.getProject().getFullPath().toPortableString())) {
32+ if (rcInList.getType() == ResourceChange.PROPERTIES_CHANGE) {
33+ newList.remove(rcInList);
34+ newList.add(rc);
35+ addDoneFlg = true;
36+ continue;
37+ } else {
38+ newList.add(rcInList);
39+ addDoneFlg = true;
40+ continue;
41+ }
42+ }
43+ }
44+ newList.add(rcInList);
45+ }
46+ if (!addDoneFlg) newList.add(rc);
47+ list = newList;
48+ }
49+
50+ public void addAll(ResourceChangeList list) {
51+ Iterator ite = list.iterator();
52+ while (ite.hasNext()) {
53+ ResourceChange rc = (ResourceChange)ite.next();
54+ add(rc);
55+ }
56+ }
57+
58+ public Iterator iterator() {
59+ return list.iterator();
60+ }
61+
62+ public int size() {
63+ return list.size();
64+ }
65+
66+}
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
--- trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/util/PropertiesFileUtil.java (revision 184)
+++ trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/util/PropertiesFileUtil.java (revision 185)
@@ -21,7 +21,7 @@
2121 try {
2222 list = container.members();
2323 } catch (CoreException e) {
24- IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, 0, e.getMessage(), e);
24+ IStatus status = new Status(IStatus.ERROR, PropertiesEditorPlugin.PLUGIN_ID, IStatus.OK, e.getMessage(), e);
2525 ILog log = PropertiesEditorPlugin.getDefault().getLog();
2626 log.log(status);
2727 return new IFile[0];
@@ -36,7 +36,7 @@
3636 fileList.add((IFile)list[i]);
3737 }
3838 } else if (list[i] instanceof IContainer) {
39- if (excludePath.matchingFirstSegments(list[i].getFullPath()) == excludePath.segmentCount()) {
39+ if (excludePath != null && excludePath.matchingFirstSegments(list[i].getFullPath()) == excludePath.segmentCount()) {
4040 continue;
4141 }
4242 IFile[] files = findFileExt((IContainer)list[i], excludePath, extension);
--- trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/util/ResourceChange.java (nonexistent)
+++ trunk/PropertiesEditor/src/jp/gr/java_conf/ussiy/app/propedit/eclipse/plugin/util/ResourceChange.java (revision 185)
@@ -0,0 +1,45 @@
1+/**
2+ *
3+ */
4+package jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.util;
5+
6+import org.eclipse.core.resources.IProject;
7+
8+/**
9+ *
10+ */
11+public class ResourceChange {
12+
13+ public static final int PROJECT_CLOSE = 1;
14+ public static final int PROJECT_OPEN = 2;
15+ public static final int PROJECT_ADD = 3;
16+ public static final int PROJECT_DELETE = 4;
17+ public static final int PROJECT_MOVE_TO = 5;
18+ public static final int PROJECT_MOVE_FROM = 6;
19+
20+ public static final int PROPERTIES_CHANGE = 15;
21+
22+ private int type = 0;
23+
24+ private IProject project = null;
25+
26+ public ResourceChange(int type, IProject project) {
27+ this.type = type;
28+ this.project = project;
29+ }
30+
31+ /**
32+ * @return the type
33+ */
34+ public int getType() {
35+ return type;
36+ }
37+
38+ /**
39+ * @return the resource
40+ */
41+ public IProject getProject() {
42+ return project;
43+ }
44+
45+}
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
--- trunk/PropertiesEditor/plugin.xml (revision 184)
+++ trunk/PropertiesEditor/plugin.xml (revision 185)
@@ -1,6 +1,6 @@
11 <?xml version="1.0" encoding="UTF-8"?>
22 <?eclipse version="3.0"?>
3-<plugin>
3+<plugin>
44
55 <extension-point id="listeners" name="Extension Unicode Convert" schema="schema/listeners.exsd"/>
66 <extension-point id="hyperlinkdetectors" name="Extension Hyperlink Detector" schema="schema/hyperlinkdetectors.exsd"/>
@@ -25,8 +25,7 @@
2525 <page
2626 name="%propertiesEditorPreferencePageName"
2727 class="jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.preference.PropertiesPreference"
28- id="jp.gr.java_conf.ussiy.app.propedit.preference.PropertiesPreference"
29- objectClass="org.eclipse.core.resources.IProject"/>
28+ id="jp.gr.java_conf.ussiy.app.propedit.preference.PropertiesPreference"/>
3029 <page
3130 class="jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.preference.PropertiesEditorPreference"
3231 category="jp.gr.java_conf.ussiy.app.propedit.preference.PropertiesPreference"
@@ -236,5 +235,9 @@
236235 description="%hoverDescription"
237236 activate="true"/>
238237 </extension>
238+ <extension
239+ point="org.eclipse.ui.startup">
240+ <startup class="jp.gr.java_conf.ussiy.app.propedit.eclipse.plugin.startup.Startup"/>
241+ </extension>
239242
240243 </plugin>
Show on old repository browser