Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkgilmer2005-02-07 15:58:31 +0000
committerkgilmer2005-02-07 15:58:31 +0000
commit34a366b6f53204a830cff2c496ced6ec7daefabc (patch)
treea1647a31d1c012fad311cb0e17db437dd1a75b11
parentae09b1cbbd7d2d235bbb8fcead5bf8aac2bec4eb (diff)
downloadorg.eclipse.ecf-34a366b6f53204a830cff2c496ced6ec7daefabc.tar.gz
org.eclipse.ecf-34a366b6f53204a830cff2c496ced6ec7daefabc.tar.xz
org.eclipse.ecf-34a366b6f53204a830cff2c496ced6ec7daefabc.zip
Added more built-in decorations for chat.
-rw-r--r--examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ClientPlugin.java5
-rw-r--r--examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ClientPluginConstants.java4
2 files changed, 9 insertions, 0 deletions
diff --git a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ClientPlugin.java b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ClientPlugin.java
index a832e5eac..d7c5cd818 100644
--- a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ClientPlugin.java
+++ b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ClientPlugin.java
@@ -91,6 +91,11 @@ public class ClientPlugin extends AbstractUIPlugin implements ClientPluginConsta
registry.put(ClientPluginConstants.DECORATION_USER, PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJ_FILE));
registry.put(ClientPluginConstants.DECORATION_TIME, PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_TOOL_FORWARD));
registry.put(ClientPluginConstants.DECORATION_TASK, PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJ_FOLDER));
+
+ registry.put(ClientPluginConstants.DECORATION_SEND , PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_TOOL_UNDO));
+ registry.put(ClientPluginConstants.DECORATION_RECEIVE , PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_TOOL_REDO));
+ registry.put(ClientPluginConstants.DECORATION_PRIVATE , PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJS_WARN_TSK));
+ registry.put(ClientPluginConstants.DECORATION_SYSTEM_MESSAGE , PlatformUI.getWorkbench().getSharedImages().getImage(ISharedImages.IMG_OBJS_INFO_TSK));
return registry;
}
/**
diff --git a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ClientPluginConstants.java b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ClientPluginConstants.java
index feb31f721..2e28f8974 100644
--- a/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ClientPluginConstants.java
+++ b/examples/bundles/org.eclipse.ecf.example.collab/src/org/eclipse/ecf/example/collab/ClientPluginConstants.java
@@ -22,5 +22,9 @@ public interface ClientPluginConstants {
public static final String DECORATION_USER = "user";
public static final String DECORATION_TIME = "time";
public static final String DECORATION_TASK = "task";
+ public static final String DECORATION_SEND = "send";
+ public static final String DECORATION_RECEIVE = "receive";
+ public static final String DECORATION_PRIVATE = "private";
+ public static final String DECORATION_SYSTEM_MESSAGE = "system message";
}

Back to the top