Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2012-11-10 00:49:02 -0500
committerEike Stepper2012-11-10 00:49:02 -0500
commit7e57678609d5119439add77696687381fc1c4fdb (patch)
tree7a22c0dd9305270dda845cf25c03d5f75e94bedc
parent05c2fcbedf7db5415d90a494ed053076345e96ab (diff)
downloadcdo-7e57678609d5119439add77696687381fc1c4fdb.tar.gz
cdo-7e57678609d5119439add77696687381fc1c4fdb.tar.xz
cdo-7e57678609d5119439add77696687381fc1c4fdb.zip
[393911] Create a complete offline and fail-over example suite
https://bugs.eclipse.org/bugs/show_bug.cgi?id=393911
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.client.offline/icons/CloneRepository.gifbin0 -> 338 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.client.offline/plugin.xml5
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.client.offline/src/org/eclipse/emf/cdo/examples/client/offline/nodes/NodeType.java2
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/icons/CloneRepository.gifbin0 -> 338 bytes
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/client2-repo1/node.properties1
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/client3-failover/node.properties1
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/client4-failover/node.properties1
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/failover-participant1/node.properties1
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/failover-participant2/node.properties1
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/plugin.xml5
-rw-r--r--plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/src/org/eclipse/emf/cdo/examples/client/offline/nodes/NodeType.java2
11 files changed, 17 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.examples.client.offline/icons/CloneRepository.gif b/plugins/org.eclipse.emf.cdo.examples.client.offline/icons/CloneRepository.gif
new file mode 100644
index 0000000000..06107a889a
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.examples.client.offline/icons/CloneRepository.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.examples.client.offline/plugin.xml b/plugins/org.eclipse.emf.cdo.examples.client.offline/plugin.xml
index fd19181fb4..fbfca537a4 100644
--- a/plugins/org.eclipse.emf.cdo.examples.client.offline/plugin.xml
+++ b/plugins/org.eclipse.emf.cdo.examples.client.offline/plugin.xml
@@ -47,22 +47,27 @@
point="org.eclipse.ui.views">
<view
class="org.eclipse.emf.cdo.examples.client.offline.ClientView"
+ icon="icons/Client.gif"
id="org.eclipse.emf.cdo.examples.client.offline.ClientView"
name="Client"/>
<view
class="org.eclipse.emf.cdo.examples.client.offline.CloneRepositoryView"
+ icon="icons/CloneRepository.gif"
id="org.eclipse.emf.cdo.examples.client.offline.CloneRepositoryView"
name="Clone Repository"/>
<view
class="org.eclipse.emf.cdo.examples.client.offline.NormalRepositoryView"
+ icon="icons/NormalRepository.gif"
id="org.eclipse.emf.cdo.examples.client.offline.NormalRepositoryView"
name="Normal Repository"/>
<view
class="org.eclipse.emf.cdo.examples.client.offline.FailoverRepositoryView"
+ icon="icons/FailoverRepository.gif"
id="org.eclipse.emf.cdo.examples.client.offline.FailoverRepositoryView"
name="Failover Repository"/>
<view
class="org.eclipse.emf.cdo.examples.client.offline.FailoverMonitorView"
+ icon="icons/FailoverMonitor.gif"
id="org.eclipse.emf.cdo.examples.client.offline.FailoverMonitorView"
name="Failover Monitor"/>
</extension>
diff --git a/plugins/org.eclipse.emf.cdo.examples.client.offline/src/org/eclipse/emf/cdo/examples/client/offline/nodes/NodeType.java b/plugins/org.eclipse.emf.cdo.examples.client.offline/src/org/eclipse/emf/cdo/examples/client/offline/nodes/NodeType.java
index b23b9433b3..702755151f 100644
--- a/plugins/org.eclipse.emf.cdo.examples.client.offline/src/org/eclipse/emf/cdo/examples/client/offline/nodes/NodeType.java
+++ b/plugins/org.eclipse.emf.cdo.examples.client.offline/src/org/eclipse/emf/cdo/examples/client/offline/nodes/NodeType.java
@@ -674,7 +674,7 @@ public abstract class NodeType extends SetContainer<Node> implements IElement
public void configureWindow(IWorkbenchWindowConfigurer configurer)
{
super.configureWindow(configurer);
- configurer.setInitialSize(new Point(600, 500));
+ configurer.setInitialSize(new Point(500, 350));
}
public void setConnectedToNetwork(Node node, boolean on)
diff --git a/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/icons/CloneRepository.gif b/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/icons/CloneRepository.gif
new file mode 100644
index 0000000000..06107a889a
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/icons/CloneRepository.gif
Binary files differ
diff --git a/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/client2-repo1/node.properties b/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/client2-repo1/node.properties
index a42d031a19..a116466bcf 100644
--- a/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/client2-repo1/node.properties
+++ b/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/client2-repo1/node.properties
@@ -3,3 +3,4 @@
Name=client2-repo1
Type=Client
Server=repo1
+BrowserPort=7779
diff --git a/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/client3-failover/node.properties b/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/client3-failover/node.properties
index 9cb0d45592..47e41c3de0 100644
--- a/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/client3-failover/node.properties
+++ b/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/client3-failover/node.properties
@@ -3,3 +3,4 @@
Name=client3-failover
Type=Client
Server=failover-group1
+BrowserPort=7780
diff --git a/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/client4-failover/node.properties b/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/client4-failover/node.properties
index e1758eadf7..061fa087ba 100644
--- a/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/client4-failover/node.properties
+++ b/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/client4-failover/node.properties
@@ -3,3 +3,4 @@
Name=client4-failover
Type=Client
Server=failover-group1
+BrowserPort=7781
diff --git a/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/failover-participant1/node.properties b/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/failover-participant1/node.properties
index c146957c70..bf007a3845 100644
--- a/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/failover-participant1/node.properties
+++ b/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/failover-participant1/node.properties
@@ -4,3 +4,4 @@ Name=failover-participant1
Type=FailoverRepository
Monitor=failover-group1
Port=2041
+BrowserPort=7782
diff --git a/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/failover-participant2/node.properties b/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/failover-participant2/node.properties
index dcd21c2f49..75edaa1951 100644
--- a/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/failover-participant2/node.properties
+++ b/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/nodes/failover-participant2/node.properties
@@ -4,3 +4,4 @@ Name=failover-participant2
Type=FailoverRepository
Monitor=failover-group1
Port=2042
+BrowserPort=7783
diff --git a/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/plugin.xml b/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/plugin.xml
index fd19181fb4..fbfca537a4 100644
--- a/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/plugin.xml
+++ b/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/plugin.xml
@@ -47,22 +47,27 @@
point="org.eclipse.ui.views">
<view
class="org.eclipse.emf.cdo.examples.client.offline.ClientView"
+ icon="icons/Client.gif"
id="org.eclipse.emf.cdo.examples.client.offline.ClientView"
name="Client"/>
<view
class="org.eclipse.emf.cdo.examples.client.offline.CloneRepositoryView"
+ icon="icons/CloneRepository.gif"
id="org.eclipse.emf.cdo.examples.client.offline.CloneRepositoryView"
name="Clone Repository"/>
<view
class="org.eclipse.emf.cdo.examples.client.offline.NormalRepositoryView"
+ icon="icons/NormalRepository.gif"
id="org.eclipse.emf.cdo.examples.client.offline.NormalRepositoryView"
name="Normal Repository"/>
<view
class="org.eclipse.emf.cdo.examples.client.offline.FailoverRepositoryView"
+ icon="icons/FailoverRepository.gif"
id="org.eclipse.emf.cdo.examples.client.offline.FailoverRepositoryView"
name="Failover Repository"/>
<view
class="org.eclipse.emf.cdo.examples.client.offline.FailoverMonitorView"
+ icon="icons/FailoverMonitor.gif"
id="org.eclipse.emf.cdo.examples.client.offline.FailoverMonitorView"
name="Failover Monitor"/>
</extension>
diff --git a/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/src/org/eclipse/emf/cdo/examples/client/offline/nodes/NodeType.java b/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/src/org/eclipse/emf/cdo/examples/client/offline/nodes/NodeType.java
index b23b9433b3..702755151f 100644
--- a/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/src/org/eclipse/emf/cdo/examples/client/offline/nodes/NodeType.java
+++ b/plugins/org.eclipse.emf.cdo.examples.installer/examples/org.eclipse.emf.cdo.examples.client.offline/src/org/eclipse/emf/cdo/examples/client/offline/nodes/NodeType.java
@@ -674,7 +674,7 @@ public abstract class NodeType extends SetContainer<Node> implements IElement
public void configureWindow(IWorkbenchWindowConfigurer configurer)
{
super.configureWindow(configurer);
- configurer.setInitialSize(new Point(600, 500));
+ configurer.setInitialSize(new Point(500, 350));
}
public void setConnectedToNetwork(Node node, boolean on)

Back to the top