woproject/projects/wolips/plugins/org.objectstyle.wolips.componenteditor/java/org/objectstyle/wolips/componenteditor/editor ComponentEditor.java,1.8,1.9
| Newsgroups | gmane.comp.web.webobjects.woproject.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/woproject/woproject/projects/wolips/plugins/org.objectstyle.wolips.componenteditor/java/org/objectstyle/wolips/componenteditor/editor
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11581/java/org/objectstyle/wolips/componenteditor/editor
Modified Files:
ComponentEditor.java
Log Message:
tooltip with all files
Index: ComponentEditor.java
===================================================================
RCS file: /cvsroot/woproject/woproject/projects/wolips/plugins/org.objectstyle.wolips.componenteditor/java/org/objectstyle/wolips/componenteditor/editor/ComponentEditor.java,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- ComponentEditor.java 30 Dec 2005 13:03:28 -0000 1.8
+++ ComponentEditor.java 30 Dec 2005 15:44:54 -0000 1.9
@@ -63,6 +63,25 @@
super();
}
+ public String getTitleToolTip() {
+ StringBuffer toolTip = new StringBuffer();
+
+ IEditorInput[] editorInputArray = componentEditorInput.getInput();
+ for (int i = 0; i < editorInputArray.length; i++) {
+ IFile inputFileFromEditor = ResourceUtil.getFile(editorInputArray[i]);
+ if(inputFileFromEditor == null) {
+ continue;
+ }
+ IPath pathFromInputFile = inputFileFromEditor.getFullPath();
+ if(pathFromInputFile == null) {
+ continue;
+ }
+ toolTip.append(pathFromInputFile.toString());
+ toolTip.append("\n");
+ }
+ return toolTip.toString();
+ }
+
public Object getAdapter(Class adapter) {
if (adapter.equals(IGotoMarker.class)) {
return this;
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click