Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2009-02-20 01:39:47 +0000
committerslewis2009-02-20 01:39:47 +0000
commit3ca8573cb55ee99c346d745fa50840237ef5e921 (patch)
tree513dcc4a8120cd55c701e33e900ae86a240259b0 /providers/bundles/org.eclipse.ecf.provider.irc
parentdbb41716f94fb22b27f52cb66d9aee6ab49273ca (diff)
downloadorg.eclipse.ecf-3ca8573cb55ee99c346d745fa50840237ef5e921.tar.gz
org.eclipse.ecf-3ca8573cb55ee99c346d745fa50840237ef5e921.tar.xz
org.eclipse.ecf-3ca8573cb55ee99c346d745fa50840237ef5e921.zip
Added API to core for bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=249240
Diffstat (limited to 'providers/bundles/org.eclipse.ecf.provider.irc')
-rw-r--r--providers/bundles/org.eclipse.ecf.provider.irc/src/org/eclipse/ecf/internal/provider/irc/container/IRCContainerInstantiator.java17
1 files changed, 11 insertions, 6 deletions
diff --git a/providers/bundles/org.eclipse.ecf.provider.irc/src/org/eclipse/ecf/internal/provider/irc/container/IRCContainerInstantiator.java b/providers/bundles/org.eclipse.ecf.provider.irc/src/org/eclipse/ecf/internal/provider/irc/container/IRCContainerInstantiator.java
index 6810eba89..620e3ebcb 100644
--- a/providers/bundles/org.eclipse.ecf.provider.irc/src/org/eclipse/ecf/internal/provider/irc/container/IRCContainerInstantiator.java
+++ b/providers/bundles/org.eclipse.ecf.provider.irc/src/org/eclipse/ecf/internal/provider/irc/container/IRCContainerInstantiator.java
@@ -10,9 +10,7 @@
*****************************************************************************/
package org.eclipse.ecf.internal.provider.irc.container;
-import org.eclipse.ecf.core.ContainerCreateException;
-import org.eclipse.ecf.core.ContainerTypeDescription;
-import org.eclipse.ecf.core.IContainer;
+import org.eclipse.ecf.core.*;
import org.eclipse.ecf.core.identity.IDCreateException;
import org.eclipse.ecf.core.identity.IDFactory;
import org.eclipse.ecf.core.provider.IContainerInstantiator;
@@ -26,15 +24,18 @@ public class IRCContainerInstantiator implements IContainerInstantiator {
/*
* (non-Javadoc)
*
- * @see org.eclipse.ecf.core.provider.IContainerInstantiator#createInstance(org.eclipse.ecf.core.ContainerTypeDescription,
- * java.lang.Object[])
+ * @see
+ * org.eclipse.ecf.core.provider.IContainerInstantiator#createInstance(org
+ * .eclipse.ecf.core.ContainerTypeDescription, java.lang.Object[])
*/
public IContainer createInstance(ContainerTypeDescription description,
Object[] args) throws ContainerCreateException {
try {
return new IRCRootContainer(IDFactory.getDefault().createGUID());
} catch (IDCreateException e) {
- throw new ContainerCreateException(Messages.IRCContainerInstantiator_Exception_CreateID_Failed, e);
+ throw new ContainerCreateException(
+ Messages.IRCContainerInstantiator_Exception_CreateID_Failed,
+ e);
}
}
@@ -49,4 +50,8 @@ public class IRCContainerInstantiator implements IContainerInstantiator {
ContainerTypeDescription description) {
return new Class[0][0];
}
+
+ public String[] getSupportedIntents(ContainerTypeDescription description) {
+ return null;
+ }
}

Back to the top