summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2007-02-26 04:53:21 (EST)
committerEike Stepper2007-02-26 04:53:21 (EST)
commit403aa39e4e300d9e6c6c0d8b6b53d0da02d48252 (patch)
tree40563977a4ce45dc292bf5181942ba102bb81d68
parent45e23f2a19f4b16014a7ea72aae2c221b42b99c8 (diff)
downloadcdo-403aa39e4e300d9e6c6c0d8b6b53d0da02d48252.zip
cdo-403aa39e4e300d9e6c6c0d8b6b53d0da02d48252.tar.gz
cdo-403aa39e4e300d9e6c6c0d8b6b53d0da02d48252.tar.bz2
*** empty log message ***
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/.cvsignore1
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/acceptor.gif (renamed from plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/acceptor.gif)bin376 -> 376 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/adapter.gif (renamed from plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/adapter.gif)bin196 -> 196 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/channel.gif (renamed from plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/channel.gif)bin198 -> 198 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/connector.gif (renamed from plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/connector.gif)bin202 -> 202 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/.cvsignore1
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Kopie von deadlock_ovr.gifbin0 -> 115 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Kopie von doc_co.gifbin0 -> 112 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Kopie von file_obj.gifbin0 -> 561 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Kopie von pagedmedia_props.gifbin0 -> 597 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Kopie von read_obj.gifbin0 -> 157 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Resource.gifbin0 -> 354 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/ResourceSet.gifbin0 -> 582 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/deadlock_ovr.gifbin0 -> 115 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/doc_co.gifbin0 -> 112 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/file_obj.gifbin0 -> 561 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/pagedmedia_props.gifbin0 -> 597 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/read_obj.gifbin0 -> 157 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/readwrite_obj.gifbin0 -> 247 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/resource_persp.gifbin0 -> 583 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/searchhit_obj.gifbin0 -> 152 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/textpane_obj.gifbin0 -> 607 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/write_obj.gifbin0 -> 210 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/factory.gif (renamed from plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/factory.gif)bin211 -> 211 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/folder.gif (renamed from plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/folder.gif)bin219 -> 219 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/.cvsignore1
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/channel.gifbin0 -> 198 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/history_view.gifbin0 -> 564 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/launch_publish.gifbin0 -> 1027 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/properties.gifbin0 -> 325 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/repo_rep.gifbin0 -> 588 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/repository_rep.gifbin0 -> 545 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/server_explorer.gif (renamed from plugins/org.eclipse.emf.cdo.ui/icons/full/view16/server_explorer.gif)bin359 -> 359 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/time/.cvsignore1
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/time/app_obj.gifbin0 -> 591 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/time/apply.gifbin0 -> 235 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/time/config_obj.gifbin0 -> 368 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/time/history_working_set_obj.gifbin0 -> 594 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/time/launch_profile.gifbin0 -> 560 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/time/profile_on_server.gifbin0 -> 1031 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/time/resource_obj.gifbin0 -> 535 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons.sample/time/synch_co.gifbin0 -> 165 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons/.cvsignore1
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons/H.gifbin101 -> 0 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons/call_hierarchy.gifbin209 -> 0 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons/full/.cvsignore1
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons/full/etool16/.cvsignore1
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/.cvsignore1
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/cdo_session.gifbin0 -> 359 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons/full/view16/.cvsignore1
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons/full/view16/cdo_sessions.gifbin0 -> 359 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons/p2pconn_obj.gifbin141 -> 0 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/icons/sample.gifbin983 -> 0 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/plugin.xml2
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/views/CDOSessionsView.java20
-rw-r--r--plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/views/StructuredView.java38
56 files changed, 40 insertions, 29 deletions
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/.cvsignore b/plugins/org.eclipse.emf.cdo.ui/icons.sample/.cvsignore
new file mode 100644
index 0000000..085e8ba
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/.cvsignore
@@ -0,0 +1 @@
+Thumbs.db
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/acceptor.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/acceptor.gif
index a830867..a830867 100644
--- a/plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/acceptor.gif
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/acceptor.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/adapter.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/adapter.gif
index e8c1e6f..e8c1e6f 100644
--- a/plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/adapter.gif
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/adapter.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/channel.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/channel.gif
index df67abd..df67abd 100644
--- a/plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/channel.gif
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/channel.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/connector.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/connector.gif
index 3b3ad7c..3b3ad7c 100644
--- a/plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/connector.gif
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/connector.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/.cvsignore b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/.cvsignore
new file mode 100644
index 0000000..085e8ba
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/.cvsignore
@@ -0,0 +1 @@
+Thumbs.db
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Kopie von deadlock_ovr.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Kopie von deadlock_ovr.gif
new file mode 100644
index 0000000..4499ad0
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Kopie von deadlock_ovr.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Kopie von doc_co.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Kopie von doc_co.gif
new file mode 100644
index 0000000..05ef403
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Kopie von doc_co.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Kopie von file_obj.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Kopie von file_obj.gif
new file mode 100644
index 0000000..061161a
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Kopie von file_obj.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Kopie von pagedmedia_props.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Kopie von pagedmedia_props.gif
new file mode 100644
index 0000000..6b635b0
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Kopie von pagedmedia_props.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Kopie von read_obj.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Kopie von read_obj.gif
new file mode 100644
index 0000000..c876ebd
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Kopie von read_obj.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Resource.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Resource.gif
new file mode 100644
index 0000000..b226e41
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/Resource.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/ResourceSet.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/ResourceSet.gif
new file mode 100644
index 0000000..2e4de3d
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/ResourceSet.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/deadlock_ovr.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/deadlock_ovr.gif
new file mode 100644
index 0000000..4499ad0
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/deadlock_ovr.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/doc_co.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/doc_co.gif
new file mode 100644
index 0000000..05ef403
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/doc_co.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/file_obj.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/file_obj.gif
new file mode 100644
index 0000000..061161a
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/file_obj.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/pagedmedia_props.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/pagedmedia_props.gif
new file mode 100644
index 0000000..6b635b0
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/pagedmedia_props.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/read_obj.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/read_obj.gif
new file mode 100644
index 0000000..c876ebd
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/read_obj.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/readwrite_obj.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/readwrite_obj.gif
new file mode 100644
index 0000000..b11bfe2
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/readwrite_obj.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/resource_persp.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/resource_persp.gif
new file mode 100644
index 0000000..2a3eb91
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/resource_persp.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/searchhit_obj.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/searchhit_obj.gif
new file mode 100644
index 0000000..ead314f
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/searchhit_obj.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/textpane_obj.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/textpane_obj.gif
new file mode 100644
index 0000000..c77fa13
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/textpane_obj.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/write_obj.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/write_obj.gif
new file mode 100644
index 0000000..feb8e94
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/edit/write_obj.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/factory.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/factory.gif
index 955d5e8..955d5e8 100644
--- a/plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/factory.gif
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/factory.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/folder.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/folder.gif
index 42e027c..42e027c 100644
--- a/plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/folder.gif
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/folder.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/.cvsignore b/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/.cvsignore
new file mode 100644
index 0000000..085e8ba
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/.cvsignore
@@ -0,0 +1 @@
+Thumbs.db
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/channel.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/channel.gif
new file mode 100644
index 0000000..df67abd
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/channel.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/history_view.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/history_view.gif
new file mode 100644
index 0000000..c5f904a
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/history_view.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/launch_publish.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/launch_publish.gif
new file mode 100644
index 0000000..87827af
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/launch_publish.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/properties.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/properties.gif
new file mode 100644
index 0000000..b2361a3
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/properties.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/repo_rep.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/repo_rep.gif
new file mode 100644
index 0000000..c13bea1
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/repo_rep.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/repository_rep.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/repository_rep.gif
new file mode 100644
index 0000000..0470e15
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/repository_rep.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons/full/view16/server_explorer.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/server_explorer.gif
index 7ef3c2c..7ef3c2c 100644
--- a/plugins/org.eclipse.emf.cdo.ui/icons/full/view16/server_explorer.gif
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/repo/server_explorer.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/.cvsignore b/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/.cvsignore
new file mode 100644
index 0000000..085e8ba
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/.cvsignore
@@ -0,0 +1 @@
+Thumbs.db
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/app_obj.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/app_obj.gif
new file mode 100644
index 0000000..753cad7
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/app_obj.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/apply.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/apply.gif
new file mode 100644
index 0000000..136235e
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/apply.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/config_obj.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/config_obj.gif
new file mode 100644
index 0000000..c984fba
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/config_obj.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/history_working_set_obj.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/history_working_set_obj.gif
new file mode 100644
index 0000000..4fc84e4
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/history_working_set_obj.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/launch_profile.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/launch_profile.gif
new file mode 100644
index 0000000..89c3340
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/launch_profile.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/profile_on_server.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/profile_on_server.gif
new file mode 100644
index 0000000..aca9522
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/profile_on_server.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/resource_obj.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/resource_obj.gif
new file mode 100644
index 0000000..3bd4e36
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/resource_obj.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/synch_co.gif b/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/synch_co.gif
new file mode 100644
index 0000000..5893bda
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons.sample/time/synch_co.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons/.cvsignore b/plugins/org.eclipse.emf.cdo.ui/icons/.cvsignore
new file mode 100644
index 0000000..085e8ba
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons/.cvsignore
@@ -0,0 +1 @@
+Thumbs.db
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons/H.gif b/plugins/org.eclipse.emf.cdo.ui/icons/H.gif
deleted file mode 100644
index 5d86350..0000000
--- a/plugins/org.eclipse.emf.cdo.ui/icons/H.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons/call_hierarchy.gif b/plugins/org.eclipse.emf.cdo.ui/icons/call_hierarchy.gif
deleted file mode 100644
index 7c7dca8..0000000
--- a/plugins/org.eclipse.emf.cdo.ui/icons/call_hierarchy.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons/full/.cvsignore b/plugins/org.eclipse.emf.cdo.ui/icons/full/.cvsignore
new file mode 100644
index 0000000..085e8ba
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons/full/.cvsignore
@@ -0,0 +1 @@
+Thumbs.db
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons/full/etool16/.cvsignore b/plugins/org.eclipse.emf.cdo.ui/icons/full/etool16/.cvsignore
new file mode 100644
index 0000000..085e8ba
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons/full/etool16/.cvsignore
@@ -0,0 +1 @@
+Thumbs.db
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/.cvsignore b/plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/.cvsignore
new file mode 100644
index 0000000..085e8ba
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/.cvsignore
@@ -0,0 +1 @@
+Thumbs.db
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/cdo_session.gif b/plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/cdo_session.gif
new file mode 100644
index 0000000..672ae6e
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons/full/obj16/cdo_session.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons/full/view16/.cvsignore b/plugins/org.eclipse.emf.cdo.ui/icons/full/view16/.cvsignore
new file mode 100644
index 0000000..085e8ba
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons/full/view16/.cvsignore
@@ -0,0 +1 @@
+Thumbs.db
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons/full/view16/cdo_sessions.gif b/plugins/org.eclipse.emf.cdo.ui/icons/full/view16/cdo_sessions.gif
new file mode 100644
index 0000000..672ae6e
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.ui/icons/full/view16/cdo_sessions.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons/p2pconn_obj.gif b/plugins/org.eclipse.emf.cdo.ui/icons/p2pconn_obj.gif
deleted file mode 100644
index 405fda6..0000000
--- a/plugins/org.eclipse.emf.cdo.ui/icons/p2pconn_obj.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/icons/sample.gif b/plugins/org.eclipse.emf.cdo.ui/icons/sample.gif
deleted file mode 100644
index 34fb3c9..0000000
--- a/plugins/org.eclipse.emf.cdo.ui/icons/sample.gif
+++ /dev/null
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.ui/plugin.xml b/plugins/org.eclipse.emf.cdo.ui/plugin.xml
index ee28879..2a7768f 100644
--- a/plugins/org.eclipse.emf.cdo.ui/plugin.xml
+++ b/plugins/org.eclipse.emf.cdo.ui/plugin.xml
@@ -12,7 +12,7 @@
<view
category="org.eclipse.emf.cdo.ui"
class="org.eclipse.emf.cdo.internal.ui.views.CDOSessionsView"
- icon="icons/sample.gif"
+ icon="icons/full/view16/cdo_sessions.gif"
id="org.eclipse.emf.cdo.ui.CDOSessionsView"
name="CDO Sessions">
</view>
diff --git a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/views/CDOSessionsView.java b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/views/CDOSessionsView.java
index 312d7d2..de608d4 100644
--- a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/views/CDOSessionsView.java
+++ b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/views/CDOSessionsView.java
@@ -47,7 +47,6 @@ public class CDOSessionsView extends StructuredView
viewer = new TreeViewer(parent, (SWT.MULTI | SWT.H_SCROLL | SWT.V_SCROLL));
viewer.getControl().setLayoutData(new GridData(GridData.FILL_BOTH));
- // drillDownAdapter = new DrillDownAdapter(viewer);
viewer.setContentProvider(ITEM_PROVIDER);
viewer.setLabelProvider(ITEM_PROVIDER);
viewer.setSorter(new CDOSessionsNameSorter());
@@ -91,6 +90,20 @@ public class CDOSessionsView extends StructuredView
super.fillLocalToolBar(manager);
}
+ @Override
+ protected void onDoubleClick(Object selectedElement)
+ {
+ if (selectedElement instanceof CDOSession && !viewer.isExpandable(selectedElement))
+ {
+ attachAdapterAction.setSession((CDOSession)selectedElement);
+ attachAdapterAction.run();
+ }
+ else
+ {
+ super.onDoubleClick(selectedElement);
+ }
+ }
+
/**
* @author Eike Stepper
*/
@@ -137,6 +150,11 @@ public class CDOSessionsView extends StructuredView
ISharedImages.IMG_TOOL_NEW_WIZARD));
}
+ public AttachAdapterAction(boolean readOnly)
+ {
+ this();
+ }
+
public CDOSession getSession()
{
return session;
diff --git a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/views/StructuredView.java b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/views/StructuredView.java
index ec6d429..7c5071c 100644
--- a/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/views/StructuredView.java
+++ b/plugins/org.eclipse.emf.cdo.ui/src/org/eclipse/emf/cdo/internal/ui/views/StructuredView.java
@@ -1,6 +1,5 @@
package org.eclipse.emf.cdo.internal.ui.views;
-import org.eclipse.jface.action.Action;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.action.IContributionItem;
import org.eclipse.jface.action.IContributionManager;
@@ -13,7 +12,6 @@ import org.eclipse.jface.dialogs.InputDialog;
import org.eclipse.jface.dialogs.MessageDialog;
import org.eclipse.jface.viewers.DoubleClickEvent;
import org.eclipse.jface.viewers.IDoubleClickListener;
-import org.eclipse.jface.viewers.ISelection;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.viewers.StructuredViewer;
import org.eclipse.jface.viewers.TreeViewer;
@@ -26,7 +24,6 @@ import org.eclipse.ui.part.ViewPart;
public abstract class StructuredView extends ViewPart
{
- private Action doubleClickAction = createDoubleClickAction();
public StructuredView()
{
@@ -53,11 +50,6 @@ public abstract class StructuredView extends ViewPart
protected abstract void doCreatePartControl(Composite parent);
- protected Action createDoubleClickAction()
- {
- return new DoubleClickAction();
- }
-
protected void fillLocalPullDown(IMenuManager manager)
{
}
@@ -71,6 +63,16 @@ public abstract class StructuredView extends ViewPart
manager.add(new Separator(IWorkbenchActionConstants.MB_ADDITIONS));
}
+ protected void onDoubleClick(Object selectedElement)
+ {
+ StructuredViewer viewer = getCurrentViewer();
+ if (viewer instanceof TreeViewer)
+ {
+ TreeViewer treeViewer = (TreeViewer)viewer;
+ treeViewer.setExpandedState(selectedElement, !treeViewer.getExpandedState(selectedElement));
+ }
+ }
+
protected void addContribution(IContributionManager manager, IContributionItem item)
{
if (manager != null && item != null)
@@ -148,26 +150,8 @@ public abstract class StructuredView extends ViewPart
{
public void doubleClick(DoubleClickEvent event)
{
- doubleClickAction.run();
+ onDoubleClick(((IStructuredSelection)event.getSelection()).getFirstElement());
}
});
}
-
- /**
- * @author Eike Stepper
- */
- private final class DoubleClickAction extends Action
- {
- public void run()
- {
- StructuredViewer viewer = getCurrentViewer();
- if (viewer instanceof TreeViewer)
- {
- TreeViewer treeViewer = (TreeViewer)viewer;
- ISelection selection = viewer.getSelection();
- Object obj = ((IStructuredSelection)selection).getFirstElement();
- treeViewer.setExpandedState(obj, !treeViewer.getExpandedState(obj));
- }
- }
- }
} \ No newline at end of file