Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 62829 Details for
Bug 180796
[BB] Improve quality of bulletin board API
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
[patch]
Patch: some API naming and JavaDoc improvements
clipboard15045.txt (text/plain), 45.13 KB, created by
Erkki Lindpere
on 2007-04-03 16:38:03 EDT
(
hide
)
Description:
Patch: some API naming and JavaDoc improvements
Filename:
MIME Type:
Creator:
Erkki Lindpere
Created:
2007-04-03 16:38:03 EDT
Size:
45.13 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.ecf.bulletinboard >Index: src/org/eclipse/ecf/bulletinboard/IMessageBase.java >=================================================================== >RCS file: src/org/eclipse/ecf/bulletinboard/IMessageBase.java >diff -N src/org/eclipse/ecf/bulletinboard/IMessageBase.java >--- src/org/eclipse/ecf/bulletinboard/IMessageBase.java 27 Feb 2007 17:39:25 -0000 1.1 >+++ /dev/null 1 Jan 1970 00:00:00 -0000 >@@ -1,82 +0,0 @@ >-/******************************************************************************* >- * Copyright (c) 2005, 2006 Erkki Lindpere and others. >- * All rights reserved. This program and the accompanying materials >- * are made available under the terms of the Eclipse Public License v1.0 >- * which accompanies this distribution, and is available at >- * http://www.eclipse.org/legal/epl-v10.html >- * >- * Contributors: >- * Erkki Lindpere - initial API and implementation >- *******************************************************************************/ >-package org.eclipse.ecf.bulletinboard; >- >-import java.util.Date; >- >-/** >- * This interface contains accessors for properties common to Private and Thread >- * Messages. >- * >- * @author Erkki >- */ >-public interface IMessageBase extends IBBObject { >- /** >- * Returns the moment in time when this message was posted. >- * >- * TODO Design timezone handling. >- * >- * @return >- */ >- public Date getTimePosted(); >- >- /** >- * Sets the name (title) of the message. >- * >- * @param name >- * the name to set >- * @throws IllegalWriteException >- * if the message is read-only >- */ >- public void setName(String name) throws IllegalWriteException; >- >- /** >- * Returns the contents of the message. >- * >- * @return contents >- */ >- public String getMessage(); >- >- /** >- * Sets the contents of the message. >- * >- * @param message >- * the contents to set >- * @throws IllegalWriteException >- * if the message is read-only >- */ >- public void setMessage(String message) throws IllegalWriteException; >- >- /** >- * Returns the author (sender) of the message. >- * >- * @return author >- */ >- public IMember getFrom(); >- >- /** >- * Returns the message that this one is a reply to or null if it's not a >- * reply. >- * >- * @return the message that this is a reply to >- */ >- public IMessageBase getReplyTo(); >- >- /** >- * Sets this message as a reply to another message. >- * >- * @param message >- * the message that this will be set as a reply to. >- * @throws IllegalWriteException >- * if the message is read-only >- */ >- public void setReplyTo(IMessageBase message) throws IllegalWriteException; >-} >Index: src/org/eclipse/ecf/bulletinboard/BBException.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.bulletinboard/src/org/eclipse/ecf/bulletinboard/BBException.java,v >retrieving revision 1.2 >diff -u -r1.2 BBException.java >--- src/org/eclipse/ecf/bulletinboard/BBException.java 31 Mar 2007 21:18:59 -0000 1.2 >+++ src/org/eclipse/ecf/bulletinboard/BBException.java 3 Apr 2007 20:32:08 -0000 >@@ -10,6 +10,7 @@ > *******************************************************************************/ > package org.eclipse.ecf.bulletinboard; > >+import org.eclipse.core.runtime.IStatus; > import org.eclipse.ecf.core.util.ECFException; > > /** >@@ -35,4 +36,8 @@ > public BBException(Throwable cause) { > super(cause); > } >+ >+ public BBException(IStatus status) { >+ super(status); >+ } > } >Index: src/org/eclipse/ecf/bulletinboard/IForum.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.bulletinboard/src/org/eclipse/ecf/bulletinboard/IForum.java,v >retrieving revision 1.1 >diff -u -r1.1 IForum.java >--- src/org/eclipse/ecf/bulletinboard/IForum.java 27 Feb 2007 17:39:25 -0000 1.1 >+++ src/org/eclipse/ecf/bulletinboard/IForum.java 3 Apr 2007 20:32:08 -0000 >@@ -14,14 +14,28 @@ > import java.util.List; > > /** >- * This interface models a forum or a forum category. >+ * This is an interface for forums and forum categories. > * > * Some bulletin boards support flexible forum structures, including forums > * inside other forums; some support forum categories that can contain forums, > * but no forums inside other forums. Implementations should model categories as >- * forums that do not have the HOLDS_FORUMS type. >+ * forums that have the HOLDS_FORUMS type, but not the HOLDS_THREADS type. > * >- * Two different forum instances representing the same forum must be equal. >+ * <pre> >+ * Flexible structure: >+ * Top Level Forum 1 - HOLDS_FORUMS | HOLDS_THREADS >+ * Sub Forum 2 - HOLDS_FORUMS | HOLDS_THREADS >+ * Sub Sub Forum 3 - HOLDS_FORUMS | HOLDS_THREADS >+ * Sub Forum 4 - HOLDS_FORUMS | HOLDS_THREADS >+ * >+ * Fixed structure: >+ * Category 1 - HOLDS_FORUMS >+ * Forum 1 - HOLDS_THREADS >+ * Category 2 - HOLDS_FORUMS >+ * Forum 2 - HOLDS_THREADS >+ * </pre> >+ * >+ * Two different IForum instances representing the same forum must be equal. > * > * @author Erkki > */ >@@ -32,7 +46,7 @@ > public static final int HOLDS_FORUMS = 1; > > /** >- * This forum can contain messages. >+ * This forum can contain message threads. > */ > public static final int HOLDS_THREADS = 2; > >@@ -56,7 +70,7 @@ > * > * @return the parent of this forum or null > */ >- public IForum getParentForum(); >+ public IForum getParent(); > > /** > * Returns the subforums of this forum or an empty list if there are none. >Index: src/org/eclipse/ecf/bulletinboard/IPrivateMessage.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.bulletinboard/src/org/eclipse/ecf/bulletinboard/IPrivateMessage.java,v >retrieving revision 1.1 >diff -u -r1.1 IPrivateMessage.java >--- src/org/eclipse/ecf/bulletinboard/IPrivateMessage.java 27 Feb 2007 17:39:25 -0000 1.1 >+++ src/org/eclipse/ecf/bulletinboard/IPrivateMessage.java 3 Apr 2007 20:32:08 -0000 >@@ -20,7 +20,7 @@ > * > * @author Erkki > */ >-public interface IPrivateMessage extends IMessageBase { >+public interface IPrivateMessage extends IBBMessage { > > /** > * Returns the recipients of this message. >Index: src/org/eclipse/ecf/bulletinboard/IThreadMessage.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.bulletinboard/src/org/eclipse/ecf/bulletinboard/IThreadMessage.java,v >retrieving revision 1.1 >diff -u -r1.1 IThreadMessage.java >--- src/org/eclipse/ecf/bulletinboard/IThreadMessage.java 27 Feb 2007 17:39:25 -0000 1.1 >+++ src/org/eclipse/ecf/bulletinboard/IThreadMessage.java 3 Apr 2007 20:32:08 -0000 >@@ -18,7 +18,7 @@ > * > * @author Erkki > */ >-public interface IThreadMessage extends IMessageBase { >+public interface IThreadMessage extends IBBMessage { > /** > * Returns the thread that this message belongs to or null if it's unknown. > * >Index: src/org/eclipse/ecf/bulletinboard/IBBMessage.java >=================================================================== >RCS file: src/org/eclipse/ecf/bulletinboard/IBBMessage.java >diff -N src/org/eclipse/ecf/bulletinboard/IBBMessage.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/ecf/bulletinboard/IBBMessage.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,84 @@ >+/******************************************************************************* >+ * Copyright (c) 2005, 2006 Erkki Lindpere and others. >+ * All rights reserved. This program and the accompanying materials >+ * are made available under the terms of the Eclipse Public License v1.0 >+ * which accompanies this distribution, and is available at >+ * http://www.eclipse.org/legal/epl-v10.html >+ * >+ * Contributors: >+ * Erkki Lindpere - initial API and implementation >+ *******************************************************************************/ >+package org.eclipse.ecf.bulletinboard; >+ >+import java.util.Date; >+ >+/** >+ * This is a super interface for all bulletin board messages and contains >+ * accessors for properties common to both private and thread messages. >+ * >+ * @see IThreadMessage, IPrivateMessage >+ * >+ * @author Erkki >+ */ >+public interface IBBMessage extends IBBObject { >+ /** >+ * Returns the author (sender) of the message. >+ * >+ * @return author >+ */ >+ public IMember getFrom(); >+ >+ /** >+ * Returns the moment in time when this message was posted. >+ * >+ * TODO Design timezone handling. >+ * >+ * @return >+ */ >+ public Date getTimePosted(); >+ >+ /** >+ * Sets the name (title) of the message. >+ * >+ * @param name >+ * the name to set >+ * @throws IllegalWriteException >+ * if the message is read-only >+ */ >+ public void setName(String name) throws IllegalWriteException; >+ >+ /** >+ * Returns the contents of the message. >+ * >+ * @return contents >+ */ >+ public String getBody(); >+ >+ /** >+ * Sets the contents of the message. >+ * >+ * @param message >+ * the contents to set >+ * @throws IllegalWriteException >+ * if the message is read-only >+ */ >+ public void setBody(String message) throws IllegalWriteException; >+ >+ /** >+ * Returns the message that this one is a reply to or null if it's not a >+ * reply. >+ * >+ * @return the message that this is a reply to >+ */ >+ public IBBMessage getReplyTo(); >+ >+ /** >+ * Sets this message as a reply to another message. >+ * >+ * @param message >+ * the message that this will be set as a reply to. >+ * @throws IllegalWriteException >+ * if the message is read-only >+ */ >+ public void setReplyTo(IBBMessage message) throws IllegalWriteException; >+} >#P org.eclipse.ecf.provider.phpbb >Index: src/org/eclipse/ecf/internal/provider/phpbb/ThreadMessage.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.provider.phpbb/src/org/eclipse/ecf/internal/provider/phpbb/ThreadMessage.java,v >retrieving revision 1.1 >diff -u -r1.1 ThreadMessage.java >--- src/org/eclipse/ecf/internal/provider/phpbb/ThreadMessage.java 27 Feb 2007 17:43:32 -0000 1.1 >+++ src/org/eclipse/ecf/internal/provider/phpbb/ThreadMessage.java 3 Apr 2007 20:32:11 -0000 >@@ -13,7 +13,7 @@ > import java.util.Date; > > import org.eclipse.ecf.bulletinboard.IMember; >-import org.eclipse.ecf.bulletinboard.IMessageBase; >+import org.eclipse.ecf.bulletinboard.IBBMessage; > import org.eclipse.ecf.bulletinboard.IThread; > import org.eclipse.ecf.bulletinboard.IThreadMessage; > import org.eclipse.ecf.bulletinboard.IllegalWriteException; >@@ -49,7 +49,7 @@ > return -1; > } > >- public String getMessage() { >+ public String getBody() { > return message; > } > >@@ -57,12 +57,12 @@ > return author; > } > >- public IMessageBase getReplyTo() { >+ public IBBMessage getReplyTo() { > // TODO Implement reply relationships > return null; > } > >- public void setReplyTo(IMessageBase message) throws IllegalWriteException { >+ public void setReplyTo(IBBMessage message) throws IllegalWriteException { > // TODO Auto-generated method stub > } > >@@ -89,7 +89,7 @@ > this.name = name; > } > >- public void setMessage(String message) throws IllegalWriteException { >+ public void setBody(String message) throws IllegalWriteException { > if ((mode & READ_ONLY) == READ_ONLY) { > throw new IllegalWriteException(E_READ_ONLY); > } >Index: src/org/eclipse/ecf/internal/provider/phpbb/PHPBBParser.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.provider.phpbb/src/org/eclipse/ecf/internal/provider/phpbb/PHPBBParser.java,v >retrieving revision 1.1 >diff -u -r1.1 PHPBBParser.java >--- src/org/eclipse/ecf/internal/provider/phpbb/PHPBBParser.java 27 Feb 2007 17:43:32 -0000 1.1 >+++ src/org/eclipse/ecf/internal/provider/phpbb/PHPBBParser.java 3 Apr 2007 20:32:11 -0000 >@@ -64,8 +64,8 @@ > > public static final Pattern PAT_FORUM_OR_CATEGORY = Pattern > .compile("(?:" >- + "<span class=\"forumlink\"> <a href=\"viewforum.php\\?f=([0-9]+)(?:.*)\" class=\"forumlink\">(.*)</a><br />" >- + "(?:\\s*)</span> <span class=\"genmed\">(?s)(.*?)</span>" >+ + "<span class=\"forumlink\">(?:\\s*)<a href=\"viewforum.php\\?f=([0-9]+)(?:.*)\" class=\"forumlink\">(.*)</a><br />" >+ + "(?:\\s*)</span>(?:\\s*)<span class=\"gen(?:med|small)\">(?s)(.*?)</span>" > + ")|(?:" > + "<a href=\"index.php\\?c=([0-9]+)(?:.*)\" class=\"cattitle\">(.*)</a>" > + ")"); >@@ -136,7 +136,7 @@ > .defaultCustom( > Pattern > .compile( >- "<a href=\"viewtopic.php\\?t=([0-9]+)(?:.*?)\" class=\"topictitle\">(.*)</a>(?:.*?)<span class=\"name\">(.+?)</span>", >+ "<a href=\"viewtopic.php\\?t=([0-9]+?)(?:.*?)\" class=\"topictitle\">(.+?)</a>(?:.*?)<span class=\"name\">(.+?)</span>", > Pattern.DOTALL), new String[] { "id", > "name", "authorInfo" }); > } >Index: src/org/eclipse/ecf/internal/provider/phpbb/PHPBB.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.provider.phpbb/src/org/eclipse/ecf/internal/provider/phpbb/PHPBB.java,v >retrieving revision 1.1 >diff -u -r1.1 PHPBB.java >--- src/org/eclipse/ecf/internal/provider/phpbb/PHPBB.java 27 Feb 2007 17:43:32 -0000 1.1 >+++ src/org/eclipse/ecf/internal/provider/phpbb/PHPBB.java 3 Apr 2007 20:32:10 -0000 >@@ -91,7 +91,7 @@ > public List<IForum> getTopLevelForums() { > List<IForum> topForums = new ArrayList<IForum>(); > for (IForum forum : getForums()) { >- if (forum.getParentForum() == null) { >+ if (forum.getParent() == null) { > topForums.add(forum); > } > } >Index: src/org/eclipse/ecf/internal/provider/phpbb/Thread.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.provider.phpbb/src/org/eclipse/ecf/internal/provider/phpbb/Thread.java,v >retrieving revision 1.1 >diff -u -r1.1 Thread.java >--- src/org/eclipse/ecf/internal/provider/phpbb/Thread.java 27 Feb 2007 17:43:32 -0000 1.1 >+++ src/org/eclipse/ecf/internal/provider/phpbb/Thread.java 3 Apr 2007 20:32:11 -0000 >@@ -133,7 +133,7 @@ > "posting.php"); > NameValuePair[] params = new NameValuePair[] { > new NameValuePair("subject", msg.getName()), >- new NameValuePair("message", msg.getMessage()), >+ new NameValuePair("message", msg.getBody()), > new NameValuePair("t", String.valueOf(id.getLongValue())), > new NameValuePair("mode", "reply"), > // checkbox : disabled new NameValuePair("disable_smilies", >Index: src/org/eclipse/ecf/internal/provider/phpbb/Forum.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.provider.phpbb/src/org/eclipse/ecf/internal/provider/phpbb/Forum.java,v >retrieving revision 1.1 >diff -u -r1.1 Forum.java >--- src/org/eclipse/ecf/internal/provider/phpbb/Forum.java 27 Feb 2007 17:43:32 -0000 1.1 >+++ src/org/eclipse/ecf/internal/provider/phpbb/Forum.java 3 Apr 2007 20:32:10 -0000 >@@ -69,7 +69,7 @@ > return IForum.HOLDS_THREADS; > } > >- public IForum getParentForum() { >+ public IForum getParent() { > return parent; > } > >@@ -123,7 +123,7 @@ > new NameValuePair("subject", thread.getPrePostMessage() > .getName()), > new NameValuePair("message", thread.getPrePostMessage() >- .getMessage()), >+ .getBody()), > new NameValuePair("f", String.valueOf(id.getLongValue())), > new NameValuePair("mode", "newtopic"), > // checkbox : disabled new NameValuePair("disable_smilies", >Index: src/org/eclipse/ecf/internal/provider/phpbb/GuestFactory.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.provider.phpbb/src/org/eclipse/ecf/internal/provider/phpbb/GuestFactory.java,v >retrieving revision 1.1 >diff -u -r1.1 GuestFactory.java >--- src/org/eclipse/ecf/internal/provider/phpbb/GuestFactory.java 27 Feb 2007 17:43:32 -0000 1.1 >+++ src/org/eclipse/ecf/internal/provider/phpbb/GuestFactory.java 3 Apr 2007 20:32:10 -0000 >@@ -10,6 +10,7 @@ > *******************************************************************************/ > package org.eclipse.ecf.internal.provider.phpbb; > >+import java.io.UnsupportedEncodingException; > import java.net.URI; > import java.net.URISyntaxException; > import java.net.URL; >@@ -39,6 +40,8 @@ > return new GuestID((PHPBBNamespace) namespace, baseURL, longValue); > } catch (URISyntaxException e) { > throw new IDCreateException(e); >+ } catch (UnsupportedEncodingException e) { >+ throw new IDCreateException(e); > } > } > >Index: src/org/eclipse/ecf/internal/provider/phpbb/identity/GuestID.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.provider.phpbb/src/org/eclipse/ecf/internal/provider/phpbb/identity/GuestID.java,v >retrieving revision 1.1 >diff -u -r1.1 GuestID.java >--- src/org/eclipse/ecf/internal/provider/phpbb/identity/GuestID.java 27 Feb 2007 17:43:32 -0000 1.1 >+++ src/org/eclipse/ecf/internal/provider/phpbb/identity/GuestID.java 3 Apr 2007 20:32:11 -0000 >@@ -10,9 +10,11 @@ > *******************************************************************************/ > package org.eclipse.ecf.internal.provider.phpbb.identity; > >+import java.io.UnsupportedEncodingException; > import java.net.URI; > import java.net.URISyntaxException; > import java.net.URL; >+import java.net.URLEncoder; > > import org.eclipse.ecf.internal.bulletinboard.commons.util.IDUtil; > >@@ -25,9 +27,10 @@ > } > > public GuestID(PHPBBNamespace namespace, URL baseURL, String name) >- throws URISyntaxException { >+ throws URISyntaxException, UnsupportedEncodingException { > super(namespace, IDUtil.composeURI(baseURL, >- "profile.php?mode=viewprofile&u=0#" + name)); >+ "profile.php?mode=viewprofile&u=0#" >+ + URLEncoder.encode(name, "UTF-8"))); > } > > public long getLongValue() { >#P org.eclipse.ecf.examples.bbreader >Index: plugin.xml >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.examples.bbreader/plugin.xml,v >retrieving revision 1.1 >diff -u -r1.1 plugin.xml >--- plugin.xml 27 Feb 2007 17:41:58 -0000 1.1 >+++ plugin.xml 3 Apr 2007 20:32:12 -0000 >@@ -129,7 +129,7 @@ > <objectContribution > adaptable="false" > id="org.eclipse.ecf.examples.bbreader.objectContribution2" >- objectClass="org.eclipse.ecf.examples.bbreader.model.IURLProvider"> >+ objectClass="org.eclipse.ecf.examples.bbreader.model.IURIProvider"> > <action > class="org.eclipse.ecf.examples.bbreader.actions.OpenInBrowserAction" > id="org.eclipse.ecf.examples.bbreader.action1" >Index: BB Explorer.launch >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.examples.bbreader/BB Explorer.launch,v >retrieving revision 1.1 >diff -u -r1.1 BB Explorer.launch >--- BB Explorer.launch 27 Feb 2007 17:41:58 -0000 1.1 >+++ BB Explorer.launch 3 Apr 2007 20:32:12 -0000 >@@ -6,22 +6,22 @@ > <booleanAttribute key="useProduct" value="false"/> > <stringAttribute key="deselected_workspace_plugins" value="org.tigris.bbapi.core,org.tigris.bbapi.example.reader,org.tigris.bbapi.googlegroups,org.tigris.bbapi.phpbb,org.tigris.bbapi.commons,org.tigris.bbapi.vbulletin,org.tigris.bbapi.phpbb.test,org.tigris.bbapi.vbulletin.test"/> > <booleanAttribute key="tracing" value="false"/> >-<stringAttribute key="selected_target_plugins" value="com.ibm.icu,org.apache.commons_logging,org.apache.jakarta_log4j,org.eclipse.core.commands,org.eclipse.core.contenttype,org.eclipse.core.expressions,org.eclipse.core.jobs,org.eclipse.core.runtime,org.eclipse.core.runtime.compatibility.auth,org.eclipse.core.runtime.compatibility.registry,org.eclipse.equinox.common,org.eclipse.equinox.preferences,org.eclipse.equinox.registry,org.eclipse.help,org.eclipse.jface,org.eclipse.osgi,org.eclipse.swt,org.eclipse.swt.win32.win32.x86,org.eclipse.ui,org.eclipse.ui.browser,org.eclipse.ui.forms,org.eclipse.ui.navigator,org.eclipse.ui.workbench"/> >+<stringAttribute key="selected_target_plugins" value="com.ibm.icu,org.eclipse.core.commands,org.eclipse.core.contenttype,org.eclipse.core.databinding,org.eclipse.core.expressions,org.eclipse.core.jobs,org.eclipse.core.runtime,org.eclipse.core.runtime.compatibility.auth,org.eclipse.core.runtime.compatibility.registry,org.eclipse.equinox.app,org.eclipse.equinox.common,org.eclipse.equinox.preferences,org.eclipse.equinox.registry,org.eclipse.help,org.eclipse.jface,org.eclipse.jface.databinding,org.eclipse.osgi,org.eclipse.osgi.services,org.eclipse.swt,org.eclipse.swt.win32.win32.x86,org.eclipse.ui,org.eclipse.ui.browser,org.eclipse.ui.forms,org.eclipse.ui.navigator,org.eclipse.ui.workbench"/> > <booleanAttribute key="automaticValidate" value="false"/> > <booleanAttribute key="automaticAdd" value="false"/> > <stringAttribute key="checked" value="[NONE]"/> > <stringAttribute key="location" value="${workspace_loc}/../runtime-New_configuration"/> >-<stringAttribute key="selected_workspace_plugins" value="org.eclipse.ecf.provider.nntp,org.eclipse.ecf.bulletinboard.commons,org.eclipse.ecf.bulletinboard,org.eclipse.ecf.provider.phpbb,org.apache.oro,org.eclipse.ecf.provider.vbulletin,org.eclipse.ecf.identity,org.eclipse.ecf.examples.bbreader,org.eclipse.mylar.context.core,org.apache.commons.httpclient,org.apache.commons.net,org.eclipse.ecf"/> >-<stringAttribute key="configLocation" value=""/> >+<stringAttribute key="selected_workspace_plugins" value="org.eclipse.ecf.provider.nntp,org.eclipse.ecf.provider.vbulletin,org.eclipse.ecf.identity,org.eclipse.ecf.examples.bbreader,org.eclipse.ecf.bulletinboard.commons,org.eclipse.mylar,org.eclipse.ecf.bulletinboard,org.apache.oro,org.apache.commons.net,org.eclipse.ecf.provider.phpbb,org.eclipse.ecf"/> > <stringAttribute key="application" value="org.eclipse.ecf.examples.bbreader.bbReader"/> >+<stringAttribute key="configLocation" value=""/> > <booleanAttribute key="clearws" value="false"/> >-<stringAttribute key="pde.version" value="3.2a"/> >+<stringAttribute key="pde.version" value="3.3"/> > <stringAttribute key="templateConfig" value="${target_home}\configuration\config.ini"/> > <booleanAttribute key="default" value="false"/> > <booleanAttribute key="clearConfig" value="false"/> > <booleanAttribute key="org.eclipse.debug.core.appendEnvironmentVariables" value="true"/> >-<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/> > <booleanAttribute key="useDefaultConfigArea" value="true"/> >+<stringAttribute key="org.eclipse.jdt.launching.SOURCE_PATH_PROVIDER" value="org.eclipse.pde.ui.workbenchClasspathProvider"/> > <booleanAttribute key="useDefaultConfig" value="true"/> > <booleanAttribute key="askclear" value="true"/> > <booleanAttribute key="includeOptional" value="true"/> >Index: src/org/eclipse/ecf/examples/bbreader/navigator/Group.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.examples.bbreader/src/org/eclipse/ecf/examples/bbreader/navigator/Group.java,v >retrieving revision 1.1 >diff -u -r1.1 Group.java >--- src/org/eclipse/ecf/examples/bbreader/navigator/Group.java 27 Feb 2007 17:41:57 -0000 1.1 >+++ src/org/eclipse/ecf/examples/bbreader/navigator/Group.java 3 Apr 2007 20:32:15 -0000 >@@ -3,8 +3,8 @@ > */ > package org.eclipse.ecf.examples.bbreader.navigator; > >-import java.net.MalformedURLException; >-import java.net.URL; >+import java.net.URI; >+import java.net.URISyntaxException; > import java.util.ArrayList; > import java.util.List; > >@@ -12,10 +12,10 @@ > import org.eclipse.ecf.bulletinboard.IMemberGroup; > import org.eclipse.ecf.examples.bbreader.Activator; > import org.eclipse.ecf.examples.bbreader.model.ITreeNode; >-import org.eclipse.ecf.examples.bbreader.model.IURLProvider; >+import org.eclipse.ecf.examples.bbreader.model.IURIProvider; > import org.eclipse.swt.graphics.Image; > >-public final class Group implements ITreeNode, IURLProvider { >+public final class Group implements ITreeNode, IURIProvider { > private final ITreeNode parent; > > private final IMemberGroup group; >@@ -55,10 +55,10 @@ > return parent; > } > >- public URL getURL() { >+ public URI getURI() { > try { >- return new URL(group.getID().toExternalForm()); >- } catch (MalformedURLException e) { >+ return new URI(group.getID().toExternalForm()); >+ } catch (URISyntaxException e) { > // TODO Auto-generated catch block > e.printStackTrace(); > } >Index: src/org/eclipse/ecf/examples/bbreader/navigator/ThreadMessage.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.examples.bbreader/src/org/eclipse/ecf/examples/bbreader/navigator/ThreadMessage.java,v >retrieving revision 1.1 >diff -u -r1.1 ThreadMessage.java >--- src/org/eclipse/ecf/examples/bbreader/navigator/ThreadMessage.java 27 Feb 2007 17:41:57 -0000 1.1 >+++ src/org/eclipse/ecf/examples/bbreader/navigator/ThreadMessage.java 3 Apr 2007 20:32:15 -0000 >@@ -3,18 +3,18 @@ > */ > package org.eclipse.ecf.examples.bbreader.navigator; > >-import java.net.MalformedURLException; >-import java.net.URL; >+import java.net.URI; >+import java.net.URISyntaxException; > import java.util.List; > > import org.eclipse.ecf.bulletinboard.IThreadMessage; > import org.eclipse.ecf.examples.bbreader.Activator; > import org.eclipse.ecf.examples.bbreader.model.ITreeNode; >-import org.eclipse.ecf.examples.bbreader.model.IURLProvider; >+import org.eclipse.ecf.examples.bbreader.model.IURIProvider; > import org.eclipse.ecf.internal.bulletinboard.commons.util.StringUtil; > import org.eclipse.swt.graphics.Image; > >-public final class ThreadMessage implements ITreeNode, IURLProvider { >+public final class ThreadMessage implements ITreeNode, IURIProvider { > private final ITreeNode parent; > > private final IThreadMessage msg; >@@ -57,10 +57,10 @@ > return parent; > } > >- public URL getURL() { >+ public URI getURI() { > try { >- return new URL(msg.getID().toExternalForm()); >- } catch (MalformedURLException e) { >+ return new URI(msg.getID().toExternalForm()); >+ } catch (URISyntaxException e) { > // TODO Auto-generated catch block > e.printStackTrace(); > } >Index: src/org/eclipse/ecf/examples/bbreader/navigator/BBRoot.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.examples.bbreader/src/org/eclipse/ecf/examples/bbreader/navigator/BBRoot.java,v >retrieving revision 1.1 >diff -u -r1.1 BBRoot.java >--- src/org/eclipse/ecf/examples/bbreader/navigator/BBRoot.java 27 Feb 2007 17:41:57 -0000 1.1 >+++ src/org/eclipse/ecf/examples/bbreader/navigator/BBRoot.java 3 Apr 2007 20:32:13 -0000 >@@ -148,7 +148,7 @@ > BulletinBoard bb = (BulletinBoard) elem; > IMemento child = memento.createChild(BB_ELEM); > child.putString(TYPE_ELEM, bb.getContainerName()); >- child.putString(URL_ELEM, bb.getURL().toString()); >+ child.putString(URL_ELEM, bb.getURI().toString()); > if (bb.getCredentials() != null) { > child.putString(USERNAME_ELEM, bb.getCredentials() > .getUsername()); >Index: src/org/eclipse/ecf/examples/bbreader/navigator/Forum.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.examples.bbreader/src/org/eclipse/ecf/examples/bbreader/navigator/Forum.java,v >retrieving revision 1.1 >diff -u -r1.1 Forum.java >--- src/org/eclipse/ecf/examples/bbreader/navigator/Forum.java 27 Feb 2007 17:41:57 -0000 1.1 >+++ src/org/eclipse/ecf/examples/bbreader/navigator/Forum.java 3 Apr 2007 20:32:13 -0000 >@@ -3,8 +3,8 @@ > */ > package org.eclipse.ecf.examples.bbreader.navigator; > >-import java.net.MalformedURLException; >-import java.net.URL; >+import java.net.URI; >+import java.net.URISyntaxException; > import java.util.ArrayList; > import java.util.List; > >@@ -12,10 +12,10 @@ > import org.eclipse.ecf.bulletinboard.IThread; > import org.eclipse.ecf.examples.bbreader.Activator; > import org.eclipse.ecf.examples.bbreader.model.ITreeNode; >-import org.eclipse.ecf.examples.bbreader.model.IURLProvider; >+import org.eclipse.ecf.examples.bbreader.model.IURIProvider; > import org.eclipse.swt.graphics.Image; > >-public final class Forum implements ITreeNode, IURLProvider { >+public final class Forum implements ITreeNode, IURIProvider { > private final ITreeNode parent; > > private final IForum forum; >@@ -68,10 +68,10 @@ > * > * @see org.eclipse.ecf.examples.bbreader.navigator.IURLProvider#getURL() > */ >- public URL getURL() { >+ public URI getURI() { > try { >- return new URL(forum.getID().toExternalForm()); >- } catch (MalformedURLException e) { >+ return new URI(forum.getID().toExternalForm()); >+ } catch (URISyntaxException e) { > // TODO Auto-generated catch block > e.printStackTrace(); > } >Index: src/org/eclipse/ecf/examples/bbreader/navigator/BulletinBoard.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.examples.bbreader/src/org/eclipse/ecf/examples/bbreader/navigator/BulletinBoard.java,v >retrieving revision 1.1 >diff -u -r1.1 BulletinBoard.java >--- src/org/eclipse/ecf/examples/bbreader/navigator/BulletinBoard.java 27 Feb 2007 17:41:57 -0000 1.1 >+++ src/org/eclipse/ecf/examples/bbreader/navigator/BulletinBoard.java 3 Apr 2007 20:32:13 -0000 >@@ -3,8 +3,8 @@ > */ > package org.eclipse.ecf.examples.bbreader.navigator; > >-import java.net.MalformedURLException; >-import java.net.URL; >+import java.net.URI; >+import java.net.URISyntaxException; > import java.util.Arrays; > import java.util.Collections; > import java.util.List; >@@ -21,10 +21,10 @@ > import org.eclipse.ecf.examples.bbreader.Activator; > import org.eclipse.ecf.examples.bbreader.jobs.ContainerConnectJob; > import org.eclipse.ecf.examples.bbreader.model.ITreeNode; >-import org.eclipse.ecf.examples.bbreader.model.IURLProvider; >+import org.eclipse.ecf.examples.bbreader.model.IURIProvider; > import org.eclipse.swt.graphics.Image; > >-public final class BulletinBoard implements ITreeNode, IURLProvider, IAdaptable { >+public final class BulletinBoard implements ITreeNode, IURIProvider, IAdaptable { > private final ITreeNode parent; > > private IContainer container; >@@ -91,10 +91,10 @@ > return containerName; > } > >- public URL getURL() { >+ public URI getURI() { > try { >- return new URL(id.toExternalForm()); >- } catch (MalformedURLException e) { >+ return new URI(id.toExternalForm()); >+ } catch (URISyntaxException e) { > // TODO Auto-generated catch block > e.printStackTrace(); > } >Index: src/org/eclipse/ecf/examples/bbreader/navigator/ForumThread.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.examples.bbreader/src/org/eclipse/ecf/examples/bbreader/navigator/ForumThread.java,v >retrieving revision 1.1 >diff -u -r1.1 ForumThread.java >--- src/org/eclipse/ecf/examples/bbreader/navigator/ForumThread.java 27 Feb 2007 17:41:57 -0000 1.1 >+++ src/org/eclipse/ecf/examples/bbreader/navigator/ForumThread.java 3 Apr 2007 20:32:15 -0000 >@@ -3,8 +3,8 @@ > */ > package org.eclipse.ecf.examples.bbreader.navigator; > >-import java.net.MalformedURLException; >-import java.net.URL; >+import java.net.URI; >+import java.net.URISyntaxException; > import java.util.ArrayList; > import java.util.List; > >@@ -13,10 +13,10 @@ > import org.eclipse.ecf.bulletinboard.IThreadMessage; > import org.eclipse.ecf.examples.bbreader.Activator; > import org.eclipse.ecf.examples.bbreader.model.ITreeNode; >-import org.eclipse.ecf.examples.bbreader.model.IURLProvider; >+import org.eclipse.ecf.examples.bbreader.model.IURIProvider; > import org.eclipse.swt.graphics.Image; > >-public final class ForumThread implements ITreeNode, IURLProvider { >+public final class ForumThread implements ITreeNode, IURIProvider { > private final ITreeNode parent; > > private final IThread thread; >@@ -67,10 +67,10 @@ > return thread; > } > >- public URL getURL() { >+ public URI getURI() { > try { >- return new URL(thread.getID().toExternalForm()); >- } catch (MalformedURLException e) { >+ return new URI(thread.getID().toExternalForm()); >+ } catch (URISyntaxException e) { > // TODO Auto-generated catch block > e.printStackTrace(); > } >Index: src/org/eclipse/ecf/examples/bbreader/navigator/Member.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.examples.bbreader/src/org/eclipse/ecf/examples/bbreader/navigator/Member.java,v >retrieving revision 1.1 >diff -u -r1.1 Member.java >--- src/org/eclipse/ecf/examples/bbreader/navigator/Member.java 27 Feb 2007 17:41:57 -0000 1.1 >+++ src/org/eclipse/ecf/examples/bbreader/navigator/Member.java 3 Apr 2007 20:32:15 -0000 >@@ -3,17 +3,17 @@ > */ > package org.eclipse.ecf.examples.bbreader.navigator; > >-import java.net.MalformedURLException; >-import java.net.URL; >+import java.net.URI; >+import java.net.URISyntaxException; > import java.util.List; > > import org.eclipse.ecf.bulletinboard.IMember; > import org.eclipse.ecf.examples.bbreader.Activator; > import org.eclipse.ecf.examples.bbreader.model.ITreeNode; >-import org.eclipse.ecf.examples.bbreader.model.IURLProvider; >+import org.eclipse.ecf.examples.bbreader.model.IURIProvider; > import org.eclipse.swt.graphics.Image; > >-public final class Member implements ITreeNode, IURLProvider { >+public final class Member implements ITreeNode, IURIProvider { > private final ITreeNode parent; > > private final IMember member; >@@ -43,10 +43,10 @@ > return parent; > } > >- public URL getURL() { >+ public URI getURI() { > try { >- return new URL(member.getID().toExternalForm()); >- } catch (MalformedURLException e) { >+ return new URI(member.getID().toExternalForm()); >+ } catch (URISyntaxException e) { > // TODO Auto-generated catch block > e.printStackTrace(); > } >Index: src/org/eclipse/ecf/examples/bbreader/editors/MessageEditor.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.examples.bbreader/src/org/eclipse/ecf/examples/bbreader/editors/MessageEditor.java,v >retrieving revision 1.1 >diff -u -r1.1 MessageEditor.java >--- src/org/eclipse/ecf/examples/bbreader/editors/MessageEditor.java 27 Feb 2007 17:41:57 -0000 1.1 >+++ src/org/eclipse/ecf/examples/bbreader/editors/MessageEditor.java 3 Apr 2007 20:32:13 -0000 >@@ -136,7 +136,7 @@ > DateFormat.SHORT); > postDate.setText(fmt.format(d)); > } >- styledText.setText(msg.getMessage()); >+ styledText.setText(msg.getBody()); > } > > @Override >Index: src/org/eclipse/ecf/examples/bbreader/editors/MessageEditorInput.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.examples.bbreader/src/org/eclipse/ecf/examples/bbreader/editors/MessageEditorInput.java,v >retrieving revision 1.1 >diff -u -r1.1 MessageEditorInput.java >--- src/org/eclipse/ecf/examples/bbreader/editors/MessageEditorInput.java 27 Feb 2007 17:41:57 -0000 1.1 >+++ src/org/eclipse/ecf/examples/bbreader/editors/MessageEditorInput.java 3 Apr 2007 20:32:13 -0000 >@@ -36,7 +36,7 @@ > } > > public String getToolTipText() { >- return msg.getMessage(); >+ return msg.getBody(); > } > > public Object getAdapter(Class adapter) { >Index: src/org/eclipse/ecf/examples/bbreader/model/IURLProvider.java >=================================================================== >RCS file: src/org/eclipse/ecf/examples/bbreader/model/IURLProvider.java >diff -N src/org/eclipse/ecf/examples/bbreader/model/IURLProvider.java >--- src/org/eclipse/ecf/examples/bbreader/model/IURLProvider.java 27 Feb 2007 17:41:58 -0000 1.1 >+++ /dev/null 1 Jan 1970 00:00:00 -0000 >@@ -1,9 +0,0 @@ >-package org.eclipse.ecf.examples.bbreader.model; >- >-import java.net.URL; >- >-public interface IURLProvider { >- >- public URL getURL(); >- >-} >\ No newline at end of file >Index: src/org/eclipse/ecf/examples/bbreader/actions/OpenInBrowserAction.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.examples.bbreader/src/org/eclipse/ecf/examples/bbreader/actions/OpenInBrowserAction.java,v >retrieving revision 1.1 >diff -u -r1.1 OpenInBrowserAction.java >--- src/org/eclipse/ecf/examples/bbreader/actions/OpenInBrowserAction.java 27 Feb 2007 17:41:58 -0000 1.1 >+++ src/org/eclipse/ecf/examples/bbreader/actions/OpenInBrowserAction.java 3 Apr 2007 20:32:13 -0000 >@@ -1,9 +1,10 @@ > package org.eclipse.ecf.examples.bbreader.actions; > >+import java.net.MalformedURLException; > import java.util.ArrayList; > import java.util.Iterator; > >-import org.eclipse.ecf.examples.bbreader.model.IURLProvider; >+import org.eclipse.ecf.examples.bbreader.model.IURIProvider; > import org.eclipse.jface.action.IAction; > import org.eclipse.jface.viewers.ISelection; > import org.eclipse.jface.viewers.StructuredSelection; >@@ -14,7 +15,7 @@ > > public class OpenInBrowserAction implements IObjectActionDelegate { > >- private ArrayList<IURLProvider> urlProviders; >+ private ArrayList<IURIProvider> urlProviders; > > private IWorkbenchPart targetPart; > >@@ -28,10 +29,15 @@ > > public void run(IAction action) { > try { >- for (IURLProvider urlProv : urlProviders) { >+ for (IURIProvider urlProv : urlProviders) { > IWebBrowser browser = targetPart.getSite().getWorkbenchWindow() > .getWorkbench().getBrowserSupport().createBrowser(null); >- browser.openURL(urlProv.getURL()); >+ try { >+ browser.openURL(urlProv.getURI().toURL()); >+ } catch (MalformedURLException e) { >+ // TODO Auto-generated catch block >+ e.printStackTrace(); >+ } > } > } catch (PartInitException e) { > // TODO Auto-generated catch block >@@ -41,13 +47,13 @@ > > @SuppressWarnings("unchecked") > public void selectionChanged(IAction action, ISelection selection) { >- urlProviders = new ArrayList<IURLProvider>(); >+ urlProviders = new ArrayList<IURIProvider>(); > if (selection instanceof StructuredSelection) { > StructuredSelection sel = (StructuredSelection) selection; > for (Iterator<Object> iter = sel.iterator(); iter.hasNext();) { > Object obj = iter.next(); >- if (obj instanceof IURLProvider) { >- urlProviders.add((IURLProvider) obj); >+ if (obj instanceof IURIProvider) { >+ urlProviders.add((IURIProvider) obj); > } > } > } >Index: src/org/eclipse/ecf/examples/bbreader/views/MessageView.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.examples.bbreader/src/org/eclipse/ecf/examples/bbreader/views/MessageView.java,v >retrieving revision 1.1 >diff -u -r1.1 MessageView.java >--- src/org/eclipse/ecf/examples/bbreader/views/MessageView.java 27 Feb 2007 17:41:58 -0000 1.1 >+++ src/org/eclipse/ecf/examples/bbreader/views/MessageView.java 3 Apr 2007 20:32:15 -0000 >@@ -115,7 +115,7 @@ > DateFormat.SHORT); > postDate.setText(fmt.format(d)); > } >- styledText.setText(msg.getMessage()); >+ styledText.setText(msg.getBody()); > } > > public void selectionChanged(IWorkbenchPart part, ISelection selection) { >Index: src/org/eclipse/ecf/examples/bbreader/model/IURIProvider.java >=================================================================== >RCS file: src/org/eclipse/ecf/examples/bbreader/model/IURIProvider.java >diff -N src/org/eclipse/ecf/examples/bbreader/model/IURIProvider.java >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ src/org/eclipse/ecf/examples/bbreader/model/IURIProvider.java 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,9 @@ >+package org.eclipse.ecf.examples.bbreader.model; >+ >+import java.net.URI; >+ >+public interface IURIProvider { >+ >+ public URI getURI(); >+ >+} >Index: .settings/org.eclipse.mylar.tasklist.prefs >=================================================================== >RCS file: .settings/org.eclipse.mylar.tasklist.prefs >diff -N .settings/org.eclipse.mylar.tasklist.prefs >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ .settings/org.eclipse.mylar.tasklist.prefs 1 Jan 1970 00:00:00 -0000 >@@ -0,0 +1,4 @@ >+#Mon Apr 02 22:29:36 EEST 2007 >+eclipse.preferences.version=1 >+project.repository.kind=bugzilla >+project.repository.url=https\://bugs.eclipse.org/bugs >#P org.eclipse.ecf.provider.vbulletin >Index: src/org/eclipse/ecf/internal/provider/vbulletin/Thread.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.provider.vbulletin/src/org/eclipse/ecf/internal/provider/vbulletin/Thread.java,v >retrieving revision 1.1 >diff -u -r1.1 Thread.java >--- src/org/eclipse/ecf/internal/provider/vbulletin/Thread.java 27 Feb 2007 17:44:52 -0000 1.1 >+++ src/org/eclipse/ecf/internal/provider/vbulletin/Thread.java 3 Apr 2007 20:32:23 -0000 >@@ -144,7 +144,7 @@ > request.addParameters(params); > params = new NameValuePair[] { > new NameValuePair("title", message.getName()), >- new NameValuePair("message", msg.getMessage()), >+ new NameValuePair("message", msg.getBody()), > new NameValuePair("iconid", "0"), new NameValuePair("s", ""), > new NameValuePair("do", "postreply"), > new NameValuePair("t", String.valueOf(id.getLongValue())) }; >Index: src/org/eclipse/ecf/internal/provider/vbulletin/ThreadMessage.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.provider.vbulletin/src/org/eclipse/ecf/internal/provider/vbulletin/ThreadMessage.java,v >retrieving revision 1.1 >diff -u -r1.1 ThreadMessage.java >--- src/org/eclipse/ecf/internal/provider/vbulletin/ThreadMessage.java 27 Feb 2007 17:44:52 -0000 1.1 >+++ src/org/eclipse/ecf/internal/provider/vbulletin/ThreadMessage.java 3 Apr 2007 20:32:23 -0000 >@@ -15,7 +15,7 @@ > import java.util.Date; > > import org.eclipse.ecf.bulletinboard.IMember; >-import org.eclipse.ecf.bulletinboard.IMessageBase; >+import org.eclipse.ecf.bulletinboard.IBBMessage; > import org.eclipse.ecf.bulletinboard.IThread; > import org.eclipse.ecf.bulletinboard.IThreadMessage; > import org.eclipse.ecf.bulletinboard.IllegalWriteException; >@@ -53,7 +53,7 @@ > return number; > } > >- public String getMessage() { >+ public String getBody() { > return message; > } > >@@ -61,12 +61,12 @@ > return author; > } > >- public IMessageBase getReplyTo() { >+ public IBBMessage getReplyTo() { > // TODO Implement reply relationships > return null; > } > >- public void setReplyTo(IMessageBase message) throws IllegalWriteException { >+ public void setReplyTo(IBBMessage message) throws IllegalWriteException { > // TODO Auto-generated method stub > } > >@@ -102,7 +102,7 @@ > this.name = name; > } > >- public void setMessage(String message) throws IllegalWriteException { >+ public void setBody(String message) throws IllegalWriteException { > if ((mode & READ_ONLY) == READ_ONLY) { > throw new IllegalWriteException(E_READ_ONLY); > } >Index: src/org/eclipse/ecf/internal/provider/vbulletin/VBulletin.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.provider.vbulletin/src/org/eclipse/ecf/internal/provider/vbulletin/VBulletin.java,v >retrieving revision 1.1 >diff -u -r1.1 VBulletin.java >--- src/org/eclipse/ecf/internal/provider/vbulletin/VBulletin.java 27 Feb 2007 17:44:52 -0000 1.1 >+++ src/org/eclipse/ecf/internal/provider/vbulletin/VBulletin.java 3 Apr 2007 20:32:23 -0000 >@@ -107,7 +107,7 @@ > public List<IForum> getTopLevelForums() throws BBException { > List<IForum> topForums = new ArrayList<IForum>(); > for (IForum forum : getForums()) { >- if (forum.getParentForum() == null) { >+ if (forum.getParent() == null) { > topForums.add(forum); > } > } >Index: src/org/eclipse/ecf/internal/provider/vbulletin/Forum.java >=================================================================== >RCS file: /cvsroot/technology/org.eclipse.ecf/incubation/plugins/org.eclipse.ecf.provider.vbulletin/src/org/eclipse/ecf/internal/provider/vbulletin/Forum.java,v >retrieving revision 1.1 >diff -u -r1.1 Forum.java >--- src/org/eclipse/ecf/internal/provider/vbulletin/Forum.java 27 Feb 2007 17:44:52 -0000 1.1 >+++ src/org/eclipse/ecf/internal/provider/vbulletin/Forum.java 3 Apr 2007 20:32:23 -0000 >@@ -64,7 +64,7 @@ > return IForum.HOLDS_THREADS | IForum.HOLDS_FORUMS; > } > >- public IForum getParentForum() { >+ public IForum getParent() { > return parent; > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 180796
: 62829 |
63118
|
63119