I've made a similar change.
You can report issues in the XECLIPSE jira project
Ludovic
2013/8/16 Valdis Vītoliņš <valdis.vitolins(a)odo.lv>
I've used an older version and found that all
Class Sheets have the same
name in project tree list, because their actual title is just
"$doc.title"
Therefore I changed code for labels:
diff --git
a/plugins/org.xwiki.eclipse.ui/src/main/java/org/xwiki/eclipse/ui/adapters/XWikiEclipsePageSummar
index 42bdf83..5a74e7a 100644
---
a/plugins/org.xwiki.eclipse.ui/src/main/java/org/xwiki/eclipse/ui/adapters/XWikiEclipsePageSummaryAdapte
+++
b/plugins/org.xwiki.eclipse.ui/src/main/java/org/xwiki/eclipse/ui/adapters/XWikiEclipsePageSummaryAdapte
@@ -93,10 +93,8 @@ public String getLabel(Object object)
if (object instanceof XWikiEclipsePageSummary) {
XWikiEclipsePageSummary pageSummary =
(XWikiEclipsePageSummary) object;
- String title = pageSummary.getTitle();
- if (title == null) {
- title = pageSummary.getId();
- }
+ String title = pageSummary.getId();
+ title = title.substring(title.lastIndexOf('.')+1)+":
"+pageSummary.getTitle();
return title + (pageSummary.getLanguage().equals("") ?
"" :
"[" + pageSummary.getLanguage() + "
}
Valdis
Hi,
We've never released XEclipse 1.2 (it is stil RC1) and we never release
XEclipse 2.0 which uses the REST api to connect to XWiki.
Additionally to the REST work, a few bugs have been fixed and the
following
changes have been implemented:
- syntax coloring refactoring to support more langues (xwiki syntax,
velocity and groovy)
- code folding implementation for xwiki macros and velocity
- indentation for velocity (macro, foreach, if blocks)
I propose to release this work as XEclipse 2.0M1 in order to have
developers start using it and provide feedback.
In the mean time it would be nice to wire the auto-completion feature
(developped in 1.2 but outdates in terms of APIs) to the server
auto-completion module implemented by Vincent and Edy.
Here is my +1 for an immediate release
Ludovic
_______________________________________________
devs mailing list
devs(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/devs