http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/doodad/form/button/Button.css ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/doodad/form/button/Button.css b/wave/src/main/resources/org/waveprotocol/wave/client/doodad/form/button/Button.css new file mode 100644 index 0000000..7c13c6e --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/doodad/form/button/Button.css @@ -0,0 +1,73 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + * StyleInjector CSS file for editor.content.Button. + * + * TODO(lars): make the button robust against font size changes + * Author: [email protected] (Lars Rasmussen) + */ + +/* TODO(lars,hearnden) move these rules to central place and use shared class name + for doodads with char-like behaviour (thumbnails, open/close, buttons, etc.) */ + +.button { + display: inline-block; + white-space: normal; + vertical-align: middle; + cursor: pointer; +} + +@if user.agent gecko gecko1_8 { + .button { + position: relative; + } +} + +@if user.agent ie6 { + .button { + display: inline; + position: relative; + zoom: 1; /* Gives the .button element layout, to fix IE positioning bug. */ + } +} + +@if user.agent safari { + .button { + display: inline-table; + position: relative; + } +} + +/* TODO(lars,hearnden) move this to central place and use shared class name + for nested contentEditable regions. */ + +@if user.agent safari gecko1_8 { + /* Turns off ugly highlighting around focused editable regions. */ + .button .w-caption:focus { + outline: 0; + } +} + +/* In display mode make text unselectable */ +/* TODO(lars): can this be made to work in IE? Perhaps by catching a mode change event in code + and setting unselectable="on" thruout the caption dom... */ + +.display .button { + \-moz-user-select: none; + \-khtml-user-select: none; +}
http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/doodad/form/check/CheckBase.css ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/doodad/form/check/CheckBase.css b/wave/src/main/resources/org/waveprotocol/wave/client/doodad/form/check/CheckBase.css new file mode 100644 index 0000000..9c3bf86 --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/doodad/form/check/CheckBase.css @@ -0,0 +1,27 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + * StyleInjector CSS file for client.editor.content.check + * + * Author: [email protected] (Lars Rasmussen) + */ + +.check, .radio { + padding:4px; + cursor: pointer; +} http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/doodad/form/check/Label.css ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/doodad/form/check/Label.css b/wave/src/main/resources/org/waveprotocol/wave/client/doodad/form/check/Label.css new file mode 100644 index 0000000..e170b37 --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/doodad/form/check/Label.css @@ -0,0 +1,24 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + * StyleInjector CSS file for editor.content.check.Label + * + * Author: [email protected] (Lars Rasmussen) + */ + +.label {} http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/doodad/form/input/Input.css ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/doodad/form/input/Input.css b/wave/src/main/resources/org/waveprotocol/wave/client/doodad/form/input/Input.css new file mode 100644 index 0000000..efba555 --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/doodad/form/input/Input.css @@ -0,0 +1,29 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + * StyleInjector CSS file for editor.content.input + * + * Author: [email protected] (Lars Rasmussen) + */ + +.input, .textarea { + display:block; + border:1px solid silver; + padding:4px; + margin:4px 0; +} http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/doodad/form/input/Password.css ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/doodad/form/input/Password.css b/wave/src/main/resources/org/waveprotocol/wave/client/doodad/form/input/Password.css new file mode 100644 index 0000000..bbfe0fb --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/doodad/form/input/Password.css @@ -0,0 +1,29 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + * StyleInjector CSS file for password form element + * + * Author: [email protected] (Marcel Prasetya) + */ +.password { + display:block; + border:1px solid silver; + padding:4px; + margin:4px 0; + width: 99%; +} http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/doodad/selection/CaretMarker.css ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/doodad/selection/CaretMarker.css b/wave/src/main/resources/org/waveprotocol/wave/client/doodad/selection/CaretMarker.css new file mode 100644 index 0000000..87a3f4e --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/doodad/selection/CaretMarker.css @@ -0,0 +1,50 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + * CSS styling for user selections - gives the appearance of a rounded box by + * manually playing with 1px borders. + * author: [email protected] (Daniel Danilatos) +*/ + +.compositionState { + /* Later, use single GWT opacity rule, when available */ + opacity: 0.4; + filter: "alpha(opacity = 40)"; + + /* + * Underline, so it looks like text during composition :) + * Color intentionally unspecified, that's done programmatically . + */ + border-bottom: 2px solid; +} + +.outer { + color: white; + position: relative; + padding-left: 3px; + padding-right: 3px; +} + +.inner { + border: 1px solid; + position: absolute; + top: -1px; + bottom: -1px; + left: 1px; + right: 1px; +} http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/Editor.css ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/Editor.css b/wave/src/main/resources/org/waveprotocol/wave/client/editor/Editor.css new file mode 100644 index 0000000..0e65bbf --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/editor/Editor.css @@ -0,0 +1,114 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + * CSS Stylesheet for editors. + * + * author: [email protected] (David Hearnden) + */ + +@noflip { + /* TODO(kalman/hearnden): Reconcile differences between .editor and .document. */ + + .editor { + position: relative; + line-height: 1.35; /* Makes a default line height for rendered documents. + Looks better than browser default. */ + z-index: 0; /* In some contexts, surrounding elements need to + * specify if they are above or below an editor in a + * stacking context. Conventionally, editors default + * to z-index 0. + */ + text-align: left; /* Default alignment for text users enter without + * specifying an alignment. This is needed so such text + * will have the same alignment for LTR and RTL UIs. + */ + direction: ltr; /* Same logic as text-align above */ + } + + .oldBlipUi.editor { + min-height: 33px; /* Visually constructed to make contributor avatars + * appear centred on 1-line blips. + */ + } + + .newBlipUi.editor { + margin-left: 36px; + margin-top: 4px; + } + + .document { + text-align: left; /* Default alignment for text users enter without + * specifying an alignment. This is needed so such text + * will have the same alignment for LTR and RTL UIs. + */ + direction: ltr; /* Same logic as text-align above */ + } +} + + +.document { + /* Preserve whitespace in documents */ + /* TODO(hearnden,danilatos): This does not work in IE. Investigate */ + white-space: pre-wrap; + /* Not needed for now as we set margin of p to 0 + * margin-bottom: -1.2em; Counter bottom-margin of last p. */ +} + +/* TODO(danilatos): Use a className for title */ +.document p { + /* Note: the bottom-margin of one p will collapse with the top-margin of the + * next p, so that the total margin between them is the maximum of the + * two, not the sum. + */ + /* Consider putting this back when we have separate br + * margin: 0 0 1.2em 0; */ + margin: 0 0 0 0; +} + +@if user.agent safari gecko1_8 { + /* Turns off ugly highlighting around focused editable regions. */ + .document:focus { + outline: 0; + } +} + +/* + * These attributes are required to make a paragraph look like a list-item + * across browsers. + */ +.simulated-li { + display: list-item; + list-style-type: disc; + list-style-position: outside; +} + +.numbered { + list-style-type: decimal; +} + +.bullet-type-0 { + list-style-type: disc; +} + +.bullet-type-1 { + list-style-type: circle; +} + +.bullet-type-2 { + list-style-type: square; +} http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/Editor.gwt.xml ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/Editor.gwt.xml b/wave/src/main/resources/org/waveprotocol/wave/client/editor/Editor.gwt.xml new file mode 100644 index 0000000..24af85f --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/editor/Editor.gwt.xml @@ -0,0 +1,63 @@ +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<module> +<inherits name="com.google.gwt.user.User" /> +<inherits name="org.waveprotocol.wave.client.widget.popup.Popup" />\ +<inherits name="org.waveprotocol.wave.common.logging.Logging" /> +<inherits name="org.waveprotocol.wave.model.Model" /> +<inherits name="org.waveprotocol.wave.client.clipboard.Clipboard" /> +<inherits name="org.waveprotocol.wave.client.common.scrub.Scrub" /> +<inherits name="org.waveprotocol.wave.client.common.util.Util" /> +<inherits name="org.waveprotocol.wave.client.debug.logger.Logger" /> +<inherits name="org.waveprotocol.wave.client.editor.constants.Constants" /> +<inherits name="org.waveprotocol.wave.client.editor.content.paragraph.constants.Constants" /> +<inherits name="org.waveprotocol.wave.client.editor.selection.html.Html" /> +<inherits name="org.waveprotocol.wave.client.scheduler.Scheduler" /> +<inherits name="org.waveprotocol.wave.model.richtext.RichText" /> +<inherits name="com.google.common.collect.Collect"/> +<inherits name="org.waveprotocol.box.stat.Stat" /> + + <source path="" includes="*"/> + <source path="content" includes="*"/> + <source path="content/img"/> + <source path="content/misc"/> + <source path="content/paragraph"/> + <source path="debug"/> + <source path="event"/> + <source path="extract"/> + <source path="gwt"/> + <source path="impl"/> + <source path="keys"/> + <source path="operation"/> + <source path="selection/content"/> + <source path="sugg"/> + <source path="util"/> + <source path="webdriver"/> + + <!-- This linker is required for superdev mode --> + <add-linker name="xsiframe" /> + + <!-- collapse all properties to decrease the amount of time spend compiling --> + <collapse-all-properties /> + +</module> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/constants/Constants.gwt.xml ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/constants/Constants.gwt.xml b/wave/src/main/resources/org/waveprotocol/wave/client/editor/constants/Constants.gwt.xml new file mode 100644 index 0000000..1b37066 --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/editor/constants/Constants.gwt.xml @@ -0,0 +1,25 @@ +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<module><inherits name="com.google.gwt.user.User" /> <source path=""/> + +</module> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/content/Default.css ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/content/Default.css b/wave/src/main/resources/org/waveprotocol/wave/client/editor/content/Default.css new file mode 100644 index 0000000..23bea4b --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/editor/content/Default.css @@ -0,0 +1,31 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + * Default doodad CSS + * + * Author: [email protected] (Daniel Danilatos) + */ + +.unknown { + display: inline-block; + border: 1px solid gray; + background: silver; + font-weight: bold; + padding-left: 1em; + padding-right: 1em; +} http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/content/paragraph/constants/Constants.gwt.xml ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/content/paragraph/constants/Constants.gwt.xml b/wave/src/main/resources/org/waveprotocol/wave/client/editor/content/paragraph/constants/Constants.gwt.xml new file mode 100644 index 0000000..1b37066 --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/editor/content/paragraph/constants/Constants.gwt.xml @@ -0,0 +1,25 @@ +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<module><inherits name="com.google.gwt.user.User" /> <source path=""/> + +</module> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/examples/img/CaptionedImageWidget.ui.xml ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/examples/img/CaptionedImageWidget.ui.xml b/wave/src/main/resources/org/waveprotocol/wave/client/editor/examples/img/CaptionedImageWidget.ui.xml new file mode 100644 index 0000000..32b5c09 --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/editor/examples/img/CaptionedImageWidget.ui.xml @@ -0,0 +1,78 @@ +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<!-- +Bare bones captioned image template. Doesn't look as pretty +as the full-blown ImageThumbnailWidget. + +Author: [email protected] +--> +<ui:UiBinder + xmlns:ui='urn:ui:com.google.gwt.uibinder' + xmlns:gwt='urn:import:com.google.gwt.user.client.ui' + > + + <ui:style> + .top { + margin-left: 2px; + margin-right: 1px; + border-left: 1px solid #ccf; + border-top: 1px solid #ccf; + border-right: 2px solid #88a; + border-bottom: 2px solid #88a; + background: #eee; + padding: 4px; + + /* NOTE(danilatos): More rules are needed to get this to work in IE. See ImageThumbnail */ + display: inline-block; + position: relative; + } + + /* + * For some reason, the programmatic fixing of whitespace doesn't work for + * FF, need to figure out why... + */ + @if user.agent gecko1_8 { + .top { + white-space: normal; + } + } + + /* Apply the style to immediate children, i.e. the caption, not to the container itself. + * This way we don't get ugly artifacts when there is no caption. */ + .container > * { + margin-top: 4px; + border: 1px solid #aac; + border-left: 2px solid #88a; + border-top: 2px solid #88a; + text-align: center; + background: white; + } + </ui:style> + + <gwt:HTMLPanel styleName='{style.top}'> + <gwt:Image ui:field='image'/> + + <!-- Child nodes (i.e. the caption) will go inside this container --> + <div ui:field='container' class='{style.container}'></div> + </gwt:HTMLPanel> +</ui:UiBinder> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/examples/img/TestModule.gwt.xml ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/examples/img/TestModule.gwt.xml b/wave/src/main/resources/org/waveprotocol/wave/client/editor/examples/img/TestModule.gwt.xml new file mode 100644 index 0000000..6335ca9 --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/editor/examples/img/TestModule.gwt.xml @@ -0,0 +1,27 @@ +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<module> +<source path=""/> +<entry-point class="org.waveprotocol.wave.client.editor.examples.img.TestModule" /> +<inherits name="org.waveprotocol.wave.client.editor.harness.EditorHarness" /> +</module> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/extract/Extract.css ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/extract/Extract.css b/wave/src/main/resources/org/waveprotocol/wave/client/editor/extract/Extract.css new file mode 100644 index 0000000..1727ada --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/editor/extract/Extract.css @@ -0,0 +1,39 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + * CSS for things in the extractor package + * + * @author danilatos + */ + +.repaired { + border: 1px solid red; + background-color: #ffc0c0; +} + +.dead { + border: 2px solid red; + background-color: #ffc0c0; + color: #c00; + text-decoration: line-through; +} + +.problem { + background-color: #ccc; + text-decoration: line-through; +} http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/EditorHarness.gwt.xml ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/EditorHarness.gwt.xml b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/EditorHarness.gwt.xml new file mode 100644 index 0000000..97e96c5 --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/EditorHarness.gwt.xml @@ -0,0 +1,48 @@ +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<module> + +<source path=""/> + +<inherits name="com.google.gwt.user.User" /> +<inherits name="org.waveprotocol.wave.client.editor.Editor" /> +<inherits name="org.waveprotocol.wave.client.editor.testtools.TestTools_Gwt" /> + +<!-- TODO(danilatos) Move this into EditorTest.gwt.xml --> +<inherits name="org.waveprotocol.wave.client.doodad.Doodad" /> + +<!-- uncomment these when appropriate for faster compilation --> +<!-- <set-property name="user.agent" value="ie6"/> --> +<!-- <set-property name="user.agent" value="safari"/> --> +<!-- <set-property name="user.agent" value="gecko1_8"/> --> + +<stylesheet src='EditorTest.css'/> + +<set-property name="loglevel" value="debug"/> + +<!-- Uncomment the following to improve debug-ability of CSS: --> +<!-- <set-property name="ResourceBundle.enableInlining" value="false"/> --> +<!-- <set-configuration-property name="CssResource.style" value="pretty"/> --> + + +</module> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/EditorTest.gwt.xml ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/EditorTest.gwt.xml b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/EditorTest.gwt.xml new file mode 100644 index 0000000..89b30e5 --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/EditorTest.gwt.xml @@ -0,0 +1,29 @@ +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<module> + +<entry-point class="org.waveprotocol.wave.client.editor.harness.EditorTestHarness" /> + +<inherits name="org.waveprotocol.wave.client.editor.harness.EditorHarness" /> + +</module> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/EditorTest.css ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/EditorTest.css b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/EditorTest.css new file mode 100644 index 0000000..084a46c --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/EditorTest.css @@ -0,0 +1,190 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ + +/* default font */ +body, td, a, div, textarea, input, pre, h3 { + font-family: arial, sans-serif; + font-size: small; + color: #000000; +} + +a:link{color:#0000cc} +a:visited{color:#551a8b} +img{border:0} +form{margin:0} +td{padding:0} + +.main,body,html { + width: 100%; + height: 100%; + margin: 0; + padding: 0; +} + +.gwt-TabBarItem { + border-top: 2px solid #8af; + border-left: 2px solid #8af; + border-right: 2px solid #8af; + font-weight: bold; + padding: 3px 6px; + margin-right: 1px; + cursor: pointer; +} + +.gwt-TabBarItem-selected { + background-color: #bcf; +} + +.gwt-TabPanelBottom { + border: 2px solid #8af; + padding: 3px 6px; + margin-right: 5px; +} + +table { + border-collapse: collapse; +} + +.editor { + width: 400px; + border: 1px solid silver; + overflow: auto; + margin: 0px 15px 0px 15px; + padding: 0 4px; +} + +.editor.edit { + border: 2px solid blue; +} + +.webkit div.editor:focus { + outline: 0; +} + +#content-box { + margin: 0px; +} + +.editor.edit { + border: 1px solid #27e; +} + +.operation, .content, .html { + margin: 15px 15px 0 15px; + font-family: monospace; +} + +#content1, #content2 { + width:300px; + overflow:hidden; + border:1px dotted silver; +} + +.content { + overflow: auto; + white-space: pre; +} + +.html { + overflow: auto; + white-space: pre; + margin-top:0; +} + +.gwt-Button, .gwt-SuggestBox { + margin: 15px; +} + +.gwt-SuggestBox, .gwt-SuggestBoxPopup { + width:300px; +} + +.gwt-SuggestBoxPopup { + background:white; + border:1px solid blue; +} + +.gwt-SuggestBoxPopup div { + overflow:hidden; +} + +.gwt-SuggestBoxPopup .item-selected { + color:white; + background:highlight; +} + +.gwt-CheckBox { + margin-left:15px; +} + +.redIndicator { + color:red; + font-weight:bold; + margin:0 10px 0 10px; + padding:5px; +} + +#log1 { + height: 500px; + border: 1px solid green; + overflow: auto; + margin:0 10px 0 10px; + padding:5px; +} + +.log .entry { + border-bottom: 1px dotted silver; +} + +.log .module { + font-weight: bold; +} + +.log .error { + color: red; +} + +.log .object { + font-family:monospace; +} + + +/* TODO: factor this out */ + +.editor p { + margin:5px 0; +} + +.webkit table.image-thumbnail { + position:relative; + left:4px; +} + +/* Editor Popup */ + +.editor-popup { + position:absolute; + border: 1px solid silver; + background: white; +} + +.editor-popup div { + text-decoration: none; + cursor: pointer; +} http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-c-2.png ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-c-2.png b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-c-2.png new file mode 100755 index 0000000..8160db8 Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-c-2.png differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-e-2.png ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-e-2.png b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-e-2.png new file mode 100755 index 0000000..923f7a0 Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-e-2.png differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-n-2.png ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-n-2.png b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-n-2.png new file mode 100755 index 0000000..1bce8f1 Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-n-2.png differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-ne-2.png ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-ne-2.png b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-ne-2.png new file mode 100755 index 0000000..4afd8c1 Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-ne-2.png differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-nw-2.png ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-nw-2.png b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-nw-2.png new file mode 100755 index 0000000..48ad356 Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-nw-2.png differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-s-2.png ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-s-2.png b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-s-2.png new file mode 100755 index 0000000..57f6f8a Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-s-2.png differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-se-2.png ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-se-2.png b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-se-2.png new file mode 100755 index 0000000..e7e105d Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-se-2.png differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-sw-2.png ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-sw-2.png b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-sw-2.png new file mode 100755 index 0000000..e66e494 Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-sw-2.png differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-w-2.png ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-w-2.png b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-w-2.png new file mode 100755 index 0000000..2244a0c Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/images/thumb-w-2.png differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/Beautiful+View.jpg ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/Beautiful+View.jpg b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/Beautiful+View.jpg new file mode 100644 index 0000000..31af2be Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/Beautiful+View.jpg differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/Snow.jpg ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/Snow.jpg b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/Snow.jpg new file mode 100644 index 0000000..97d006a Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/Snow.jpg differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/hills-sm.jpg ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/hills-sm.jpg b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/hills-sm.jpg new file mode 100644 index 0000000..a53f745 Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/hills-sm.jpg differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/hills.jpg ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/hills.jpg b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/hills.jpg new file mode 100644 index 0000000..239e65c Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/hills.jpg differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/yosemite-sm.jpg ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/yosemite-sm.jpg b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/yosemite-sm.jpg new file mode 100644 index 0000000..676f83a Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/yosemite-sm.jpg differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/yosemite.jpg ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/yosemite.jpg b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/yosemite.jpg new file mode 100644 index 0000000..de7f680 Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/editor/harness/public/pics/yosemite.jpg differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/impl/DiffManager.css ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/impl/DiffManager.css b/wave/src/main/resources/org/waveprotocol/wave/client/editor/impl/DiffManager.css new file mode 100644 index 0000000..df9ae2a --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/editor/impl/DiffManager.css @@ -0,0 +1,29 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + * @author danilatos + */ + +.insert { + background-color: #ffff00; +} + +.delete { + background-color: #ffd0d0; + text-decoration: line-through; +} http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/selection/html/Html.gwt.xml ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/selection/html/Html.gwt.xml b/wave/src/main/resources/org/waveprotocol/wave/client/editor/selection/html/Html.gwt.xml new file mode 100644 index 0000000..a9c2322 --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/editor/selection/html/Html.gwt.xml @@ -0,0 +1,25 @@ +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<module><inherits name="com.google.gwt.user.User" /><inherits name="org.waveprotocol.wave.client.common.util.Util" /><inherits name="org.waveprotocol.wave.client.debug.logger.Logger" /> <source path=""/> + +</module> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/sugg/Suggestion.css ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/sugg/Suggestion.css b/wave/src/main/resources/org/waveprotocol/wave/client/editor/sugg/Suggestion.css new file mode 100644 index 0000000..7d74b26 --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/editor/sugg/Suggestion.css @@ -0,0 +1,95 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + * CSS for spelly + * + * @author [email protected] + */ + +@url undo undoIcon; +@url hoverUndo hoverUndoIcon; + +a.sugg, a.orig, a.cmd { + display: block; + color: #003ea8; + background-color: white; + cursor: pointer; + padding: 3px 20px 4px 20px; + margin: 0px -2px !important; + text-decoration: none; +} + +/* + * .hover must always be followed by another class name to make sure we don't + * inject a css rule into the parent Css that we've inherited. + */ +.hover a.sugg, .hover a.orig, .hover a.cmd +{ + color: white; + background-color: #4086ff; + text-decoration: none; +} + +.hover a.sugg label, .hover a.orig label +{ + color: #c0d4ff; +} + +.sugg label, .orig label { + margin-right: 5px; + text-decoration: underline; + color: #7295cf; +} + +.sugg span { + font-weight: bold; + text-decoration: none; +} + +.orig span { + font-style: italic; + text-decoration: none; +} + +.orig { + background-image: undo; + background-repeat: no-repeat; + background-position: 5px 50%; +} + +.hover a.orig { + background-image: hoverUndo; + background-repeat: no-repeat; + background-position: 5px 50%; +} + +.cmd span { + margin-left: 12px; + text-decoration: none; +} + +.sep { + width: 100%; + margin-top: 1px; + height: 1px; + border-top: 1px solid #e3e8f2; +} + +.selected { + background: #d0e8ff; +} http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/sugg/icon_undo.png ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/sugg/icon_undo.png b/wave/src/main/resources/org/waveprotocol/wave/client/editor/sugg/icon_undo.png new file mode 100644 index 0000000..bfb8df0 Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/editor/sugg/icon_undo.png differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/sugg/icon_undo_hover.png ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/sugg/icon_undo_hover.png b/wave/src/main/resources/org/waveprotocol/wave/client/editor/sugg/icon_undo_hover.png new file mode 100644 index 0000000..ebcc588 Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/editor/sugg/icon_undo_hover.png differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/testing/Testing.gwt.xml ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/testing/Testing.gwt.xml b/wave/src/main/resources/org/waveprotocol/wave/client/editor/testing/Testing.gwt.xml new file mode 100644 index 0000000..6ad55cc --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/editor/testing/Testing.gwt.xml @@ -0,0 +1,31 @@ +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<module> +<inherits name="com.google.gwt.user.User" /> +<inherits name="org.waveprotocol.wave.client.editor.Editor" /> +<inherits name="org.waveprotocol.wave.client.widget.popup.simple.Simple" /> +<inherits name="org.waveprotocol.wave.model.conversation.Conversation" /> +<inherits name="org.waveprotocol.wave.model.schema.conversation.Conversation" /> +<source path=""/> + +</module> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/testtools/TestTools_Gwt.gwt.xml ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/testtools/TestTools_Gwt.gwt.xml b/wave/src/main/resources/org/waveprotocol/wave/client/editor/testtools/TestTools_Gwt.gwt.xml new file mode 100644 index 0000000..0d75a9b --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/editor/testtools/TestTools_Gwt.gwt.xml @@ -0,0 +1,25 @@ +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<module><inherits name="com.google.gwt.user.User" /><inherits name="org.waveprotocol.wave.model.Model" /> <source path=""/> + +</module> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/editor/toolbar/Toolbar.gwt.xml ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/editor/toolbar/Toolbar.gwt.xml b/wave/src/main/resources/org/waveprotocol/wave/client/editor/toolbar/Toolbar.gwt.xml new file mode 100644 index 0000000..d6eadc9 --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/editor/toolbar/Toolbar.gwt.xml @@ -0,0 +1,31 @@ +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<module> + <inherits name="com.google.gwt.user.User" /> + <inherits name="org.waveprotocol.wave.client.widget.toolbar.Toolbar" /> + <inherits name="org.waveprotocol.wave.client.editor.Editor" /> + <inherits name="org.waveprotocol.wave.client.scheduler.Scheduler" /> + <inherits name="org.waveprotocol.wave.model.Model" /> + + <source path=""/> +</module> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/gadget/Gadget.gwt.xml ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/gadget/Gadget.gwt.xml b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/Gadget.gwt.xml new file mode 100644 index 0000000..f750c4a --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/Gadget.gwt.xml @@ -0,0 +1,38 @@ +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<module> + <inherits name="com.google.gwt.user.User" /> + <inherits name="com.google.gwt.json.JSON" /> + <inherits name="org.waveprotocol.wave.client.account.Account" /> + <inherits name="org.waveprotocol.wave.client.debug.logger.Logger" /> + <inherits name="org.waveprotocol.wave.client.editor.Editor" /> + <inherits name="org.waveprotocol.wave.client.scheduler.Scheduler" /> + <inherits name="org.waveprotocol.wave.client.widget.generic.Generic" /> + <inherits name="org.waveprotocol.wave.client.widget.menu.Menu" /> + <inherits name="org.waveprotocol.wave.model.Model" /> + <inherits name="org.waveprotocol.wave.model.gadget.Gadget" /> + <inherits name="org.waveprotocol.wave.model.schema.supplement.Supplement" /> + <source path="" /> + <source path="renderer" /> + +</module> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/Gadget.css ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/Gadget.css b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/Gadget.css new file mode 100644 index 0000000..0087027 --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/Gadget.css @@ -0,0 +1,157 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + * StyleInjector CSS file for Gadget container. + * Author: [email protected] (Vadim Gerasimov) + */ + +.panel { + position: relative; /* Positioned container */ + zoom: 1; /* Fixes IE positioning bug. */ + overflow: hidden; /* Expand to size of floated contents. */ + font-size: 0pt; + border: none; + clear: left; +} + +.inline { + display: inline-block; + vertical-align: bottom; + width: 100%; +} + +.title { + display: none; +} + +.gadgetFrame { + margin-top: 0px; + margin-bottom: 0px; + font-size: 0pt; + display: block; + position: relative; +} + +.gadgetIframe { + border: 0px solid transparent; +} + +.loadingGadgetFrame { + border: 1px solid #b8c6d9; +} + +.loadedGadgetFrame { + border: 0px solid transparent; +} + +@sprite .loadingGadgetLargeThrobber { + gwt-image: 'loadingGadgetLarge'; + background-color: #e6ebf2; + background-repeat: no-repeat; + line-height: value('loadingGadgetLarge.getHeight', 'px'); + background-position: center center; + display: block; +} + +@sprite .loadingGadgetSmallThrobber { + gwt-image: 'loadingGadgetSmall'; + background-color: #e6ebf2; + background-repeat: no-repeat; + line-height: value('loadingGadgetSmall.getHeight', 'px'); + background-position: center center; + display: block; +} + +@url brokenGadgetUrl brokenGadget; +.brokenGadgetIcon { + background-color: #e6ebf2; + background-image: brokenGadgetUrl; + background-repeat: no-repeat; + background-position: center center; + display: block; +} + +.loadedGadget { + display: block; +} + +.iframeDiv { + position: relative; + left: 0px; + top: 0px; +} + +/* Buttons on each widget. */ +@eval metaButtonTransitionTime RESOURCES.FADE_DELAY_STRING; +@sprite .metaButtons { + position: absolute; + right: 14px; + top: 6px; + z-index: 1; + gwt-image: 'metaMid'; + overflow: visible; /* GWT's sprite rules stick in an overflow:hidden which we don't want. */ + font-size: 0pt; + + /** animate fade-in and fade-out of the meta buttons */ + \-webkit-transition: opacity metaButtonTransitionTime ease-in-out; + \-moz-transition: opacity metaButtonTransitionTime ease-in-out; + transition: opacity metaButtonTransitionTime ease-in-out; +} + +/* + * The left and right + */ + +@eval metaLeftMargin RESOURCES.META_LEFT_WIDTH; +@eval metaRightMargin RESOURCES.META_RIGHT_WIDTH; + +@sprite .metaRight { + gwt-image: 'metaRightImage'; + float: left; + margin-right: metaRightMargin; +} + +@sprite .metaLeft { + gwt-image: 'metaLeftImage'; + float: left; + margin-left: metaLeftMargin; +} + +.metaButtonsPanel { + float: left; +} + +.metaButton { + /* Push the buttons down to align nicely with the mid, right and left background images. */ + margin-top: 3px; + float: left; +} + +.metaButton.disabled { + opacity: 0.5; +} + +@if user.agent ie6 { + .metaButton.disabled { + filter: "alpha(opacity = 50)"; + } +} + +@sprite .more { + gwt-image: 'moreImage'; +} http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/GadgetWidgetUi.ui.xml ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/GadgetWidgetUi.ui.xml b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/GadgetWidgetUi.ui.xml new file mode 100644 index 0000000..e1abc2c --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/GadgetWidgetUi.ui.xml @@ -0,0 +1,71 @@ +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<!-- + UI binder for Gadget Container. + Author: [email protected] (Vadim Gerasimov) +--> +<ui:UiBinder + xmlns:ui='urn:ui:com.google.gwt.uibinder' + xmlns:gwt='urn:import:com.google.gwt.user.client.ui' + xmlns:wb='urn:import:org.waveprotocol.wave.client.widget.common' +> + <ui:with + field='res' + type='org.waveprotocol.wave.client.gadget.renderer.GadgetWidgetUi.Resources' + /> + <wb:ClickableDivPanel + ui:field='enclosingBox' + addStyleNames='{res.css.panel}' + > + <!-- Gadget title label. --> + <gwt:Label ui:field='titleLabel' addStyleNames='{res.css.title}'/> + <wb:ClickableDivPanel + ui:field='gadgetFrame' + addStyleNames='{res.css.gadgetFrame}' + > + <!-- Main gadget iframe. --> + <wb:ClickableDivPanel + ui:field='iframeDiv' + addStyleNames='{res.css.iframeDiv}' + /> + <!-- Mouse-over overlay menu. --> + <wb:ClickableDivPanel + ui:field='metaButtons' + addStyleNames='{res.css.metaButtons}' + > + <wb:ClickableDivPanel + ui:field='metaLeft' + addStyleNames='{res.css.metaLeft}' + /> + <wb:ClickableDivPanel + ui:field='metaButtonsPanel' + addStyleNames='{res.css.metaButtonsPanel}' + /> + <wb:ClickableDivPanel + ui:field='metaRight' + addStyleNames='{res.css.metaRight}' + /> + </wb:ClickableDivPanel> + </wb:ClickableDivPanel> + </wb:ClickableDivPanel> +</ui:UiBinder> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/broken_gadget.png ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/broken_gadget.png b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/broken_gadget.png new file mode 100644 index 0000000..02a4d40 Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/broken_gadget.png differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_left.png ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_left.png b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_left.png new file mode 100644 index 0000000..b7f3c53 Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_left.png differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_left_down.png ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_left_down.png b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_left_down.png new file mode 100644 index 0000000..a4d9400 Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_left_down.png differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_left_hover.png ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_left_hover.png b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_left_hover.png new file mode 100644 index 0000000..73af85f Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_left_hover.png differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_mid.png ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_mid.png b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_mid.png new file mode 100644 index 0000000..0ebe6fa Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_mid.png differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_mid_down.png ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_mid_down.png b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_mid_down.png new file mode 100644 index 0000000..4e45cf3 Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_mid_down.png differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_mid_hover.png ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_mid_hover.png b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_mid_hover.png new file mode 100644 index 0000000..e13922d Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_mid_hover.png differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_more.png ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_more.png b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_more.png new file mode 100644 index 0000000..b25f9d5 Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_more.png differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_right.png ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_right.png b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_right.png new file mode 100644 index 0000000..ca1c5b3 Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_right.png differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_right_down.png ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_right_down.png b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_right_down.png new file mode 100644 index 0000000..50fe4f0 Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_right_down.png differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_right_hover.png ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_right_hover.png b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_right_hover.png new file mode 100644 index 0000000..0ad9304 Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/gadget/renderer/meta_right_hover.png differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/paging/Paging.gwt.xml ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/paging/Paging.gwt.xml b/wave/src/main/resources/org/waveprotocol/wave/client/paging/Paging.gwt.xml new file mode 100644 index 0000000..c7e9cf4 --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/paging/Paging.gwt.xml @@ -0,0 +1,25 @@ +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<module><inherits name="com.google.gwt.user.User" /><inherits name="com.google.common.base.Base" /><inherits name="org.waveprotocol.wave.client.common.util.Util" /> <source path=""/> + +</module> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/render/Render.gwt.xml ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/render/Render.gwt.xml b/wave/src/main/resources/org/waveprotocol/wave/client/render/Render.gwt.xml new file mode 100644 index 0000000..6e2e033 --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/render/Render.gwt.xml @@ -0,0 +1,25 @@ +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<module><inherits name="com.google.gwt.user.User" /><inherits name="com.google.common.base.Base" /><inherits name="org.waveprotocol.wave.client.common.safehtml.SafeHtml" /><inherits name="org.waveprotocol.wave.client.editor.Editor" /><inherits name="org.waveprotocol.wave.client.uibuilder.UiBuilder" /><inherits name="org.waveprotocol.wave.model.conversation.Conversation" /> <source path=""/> + +</module> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/scheduler/Scheduler.gwt.xml ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/scheduler/Scheduler.gwt.xml b/wave/src/main/resources/org/waveprotocol/wave/client/scheduler/Scheduler.gwt.xml new file mode 100644 index 0000000..2d013bd --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/scheduler/Scheduler.gwt.xml @@ -0,0 +1,26 @@ +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<module><inherits name="com.google.gwt.user.User" /><inherits name="org.waveprotocol.wave.client.common.util.Util" /> <source path=""/> + <source path="knobs"/> + +</module> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/scheduler/build.xml ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/scheduler/build.xml b/wave/src/main/resources/org/waveprotocol/wave/client/scheduler/build.xml new file mode 100644 index 0000000..d48e367 --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/scheduler/build.xml @@ -0,0 +1,28 @@ +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> +<project name="client-scheduler"> + <import file="${build.common.path}"/> + <property name="libname" value="client-scheduler"/> + <patternset id="srcs"> + <include name="org/waveprotocol/wave/client/scheduler/**"/> + </patternset> +</project> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/scheduler/knobs/knobs.css ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/scheduler/knobs/knobs.css b/wave/src/main/resources/org/waveprotocol/wave/client/scheduler/knobs/knobs.css new file mode 100644 index 0000000..69adfe1 --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/scheduler/knobs/knobs.css @@ -0,0 +1,83 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * + * CSS Stylesheet for Scheduler Knobs. + * + * author: [email protected] (David Hearnden) + */ + +.knob { + margin: 0.5em; + width: 12em; + float: left; + text-align: center; + position: relative; +} + +.knobLabel { + padding: 0.2em; + display: inline; + cursor: pointer; +} + +/** + * details box is positioned within knob container, and on top of everything + */ +.knobDetails { + position:absolute; + z-index: 1000; + top: 2em; + border: 1px solid black; + background: yellow; + text-align: left; +} + +.knobDetails * { + padding: 2px; +} + +.currentTitle, .oldTitle { + font-weight: bold; + background: black; +} + +.currentTitle { + color: #00e800; +} + +.oldTitle { + color: red; +} + +/* A bright green. */ +.enabled { + background-color: rgb(100,240,50); +} + +/* Disabled is red. */ +.disabled { + background-color: red; +} + +.knobPanel, .knobContainer, .knobContainer>button { + float: left; +} + +.knobContainer>button { + margin: 0.5em; +} http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/scheduler/testing/Testing.gwt.xml ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/scheduler/testing/Testing.gwt.xml b/wave/src/main/resources/org/waveprotocol/wave/client/scheduler/testing/Testing.gwt.xml new file mode 100644 index 0000000..1b37066 --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/scheduler/testing/Testing.gwt.xml @@ -0,0 +1,25 @@ +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<module><inherits name="com.google.gwt.user.User" /> <source path=""/> + +</module> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/scroll/Scroll.gwt.xml ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/scroll/Scroll.gwt.xml b/wave/src/main/resources/org/waveprotocol/wave/client/scroll/Scroll.gwt.xml new file mode 100644 index 0000000..8fd6517 --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/scroll/Scroll.gwt.xml @@ -0,0 +1,29 @@ +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<module> + <inherits name="com.google.common.base.Base" /> + <inherits name="com.google.gwt.user.User" /> + <inherits name="org.waveprotocol.wave.client.common.util.Util" /> + <source path=""/> + +</module> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/testing/UndercurrentHarness.gwt.xml ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/testing/UndercurrentHarness.gwt.xml b/wave/src/main/resources/org/waveprotocol/wave/client/testing/UndercurrentHarness.gwt.xml new file mode 100644 index 0000000..c5d6167 --- /dev/null +++ b/wave/src/main/resources/org/waveprotocol/wave/client/testing/UndercurrentHarness.gwt.xml @@ -0,0 +1,53 @@ +<?xml version='1.0'?> +<!-- + + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. + +--> + +<module rename-to="waveharness"> + <inherits name="com.google.gwt.user.User" /> + <inherits name="org.waveprotocol.wave.client.Client" /> + <inherits name="org.waveprotocol.wave.common.bootstrap.FlagConstants" /> + <inherits name="org.waveprotocol.wave.model.conversation.Conversation" /> + <inherits name="org.waveprotocol.wave.model.conversation.Testing" /> + <inherits name="org.waveprotocol.wave.model.util.Util" /> + <inherits name="com.google.common.collect.Collect"/> + <inherits name="org.waveprotocol.box.stat.Stat" /> + <inherits name='org.waveprotocol.box.webclient.stat.Stat'/> + + <entry-point class="org.waveprotocol.wave.client.testing.UndercurrentHarness" /> + <source path=""/> + + <!-- Those comments beginning with the words "comment" or "Uncomment" have + special meaning to the PRESUBMIT.py script. --> + <!-- comment out the next line to build all client types --> + + <set-property name="loglevel" value="none"/> + <set-property name="compiler.emulatedStack" value="false"/> + + <!-- For make CSS obfuscation more pretty --> + <set-configuration-property name="CssResource.style" value="pretty"/> + + <!-- This linker is required for superdev mode --> + <add-linker name="xsiframe" /> + + <!-- collapse all properties to decrease the amount of time spend compiling --> + <collapse-all-properties /> + +</module> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/603eb520/wave/src/main/resources/org/waveprotocol/wave/client/testing/public/static/images/unknown.jpg ---------------------------------------------------------------------- diff --git a/wave/src/main/resources/org/waveprotocol/wave/client/testing/public/static/images/unknown.jpg b/wave/src/main/resources/org/waveprotocol/wave/client/testing/public/static/images/unknown.jpg new file mode 100644 index 0000000..0f39513 Binary files /dev/null and b/wave/src/main/resources/org/waveprotocol/wave/client/testing/public/static/images/unknown.jpg differ
