[kune-commits] r995 - in trunk: doc src/main/java/org/ourproject/kune/workspace/client/editor/insert src/main/java/org/ourproject/kune/workspace/client/options

vjrj vjrj at ourproject.org
Mon Dec 15 13:26:48 CET 2008


Author: vjrj
Date: 2008-12-15 13:26:44 +0100 (Mon, 15 Dec 2008)
New Revision: 995

Modified:
   trunk/doc/kune-dic-08.odp
   trunk/doc/kune-dic-08.pdf
   trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insert/TextEditorInsertElementPanel.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/options/AbstractOptionsPanel.java
   trunk/src/main/java/org/ourproject/kune/workspace/client/options/EntityOptionsPanel.java
Log:
Incomplete - task New Link/Image insert dialog in editor

Dec-08 presentation updated


Modified: trunk/doc/kune-dic-08.odp
===================================================================
(Binary files differ)

Modified: trunk/doc/kune-dic-08.pdf
===================================================================
(Binary files differ)

Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insert/TextEditorInsertElementPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insert/TextEditorInsertElementPanel.java	2008-12-15 00:59:28 UTC (rev 994)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/editor/insert/TextEditorInsertElementPanel.java	2008-12-15 12:26:44 UTC (rev 995)
@@ -16,7 +16,7 @@
     public TextEditorInsertElementPanel(final TextEditorInsertElementPresenter presenter, final WorkspaceSkeleton ws,
             Images images, I18nTranslationService i18n, final TextEditorInsertElementGroup textEditorInsertElementGroup) {
         super(TEXT_EDT_INSERT_DIALOG, i18n.tWithNT("Insert an element",
-                "Option in a text editor to insert links and other elements"), 380, 170, 380, 170, images,
+                "Option in a text editor to insert links and other elements"), 380, 170, 380, 170, true, images,
                 TEXT_EDT_INSERT_DIALOG_ERROR_ID);
         // super.setIconCls("k-options-icon");
         this.textEditorInsertElementGroup = textEditorInsertElementGroup;

Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/AbstractOptionsPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/AbstractOptionsPanel.java	2008-12-15 00:59:28 UTC (rev 994)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/AbstractOptionsPanel.java	2008-12-15 12:26:44 UTC (rev 995)
@@ -28,15 +28,17 @@
     private String iconCls;
     private final String dialogId;
     private Listener0 onHideListener;
+    private final boolean modal;
 
     public AbstractOptionsPanel(String dialogId, String title, int width, int height, int minWidth, int minHeight,
-            Images images, String errorLabelId) {
+            boolean modal, Images images, String errorLabelId) {
         this.dialogId = dialogId;
         this.title = title;
         this.width = width;
         this.height = height;
         this.minWidth = minWidth;
         this.minHeight = minHeight;
+        this.modal = modal;
         this.images = images;
         this.errorLabelId = errorLabelId;
     }
@@ -134,7 +136,7 @@
     }
 
     private void createDialog() {
-        dialog = new BasicDialog(dialogId, title, false, true, width, height, minWidth, minHeight);
+        dialog = new BasicDialog(dialogId, title, modal, true, width, height, minWidth, minHeight);
         messageErrorBar = new MessageToolbar(images, errorLabelId);
         dialog.setBottomToolbar(messageErrorBar.getToolbar());
         tabPanel = new TabPanel();

Modified: trunk/src/main/java/org/ourproject/kune/workspace/client/options/EntityOptionsPanel.java
===================================================================
--- trunk/src/main/java/org/ourproject/kune/workspace/client/options/EntityOptionsPanel.java	2008-12-15 00:59:28 UTC (rev 994)
+++ trunk/src/main/java/org/ourproject/kune/workspace/client/options/EntityOptionsPanel.java	2008-12-15 12:26:44 UTC (rev 995)
@@ -31,7 +31,7 @@
 
     public EntityOptionsPanel(final EntityOptions presenter, final EntityHeader entityHeader,
             I18nTranslationService i18n, Images images, EntityOptionsGroup entityOptionsGroup) {
-        super(ENTITY_OP_PANEL_ID, "", 400, 250, 400, 250, images, GROUP_OPTIONS_ERROR_ID);
+        super(ENTITY_OP_PANEL_ID, "", 400, 250, 400, 250, false, images, GROUP_OPTIONS_ERROR_ID);
         this.entityHeader = entityHeader;
         this.i18n = i18n;
         this.images = images;




More information about the kune-commits mailing list