You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ar...@apache.org on 2012/01/27 02:29:58 UTC

svn commit: r1236486 [12/43] - in /incubator/ooo/devtools/netbeansintegration: ./ build/ build/public-package-jars/ javahelp/ javahelp/org/ javahelp/org/openoffice/ javahelp/org/openoffice/extensions/ javahelp/org/openoffice/extensions/docs/ javahelp/o...

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlDescription.html
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlDescription.html?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlDescription.html (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlDescription.html Fri Jan 27 01:29:33 2012
@@ -0,0 +1,5 @@
+<html>
+    <body>
+    Create an empty OpenOffice.org uno-idl file.
+    </body>
+</html>

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlDescription_ja.html
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlDescription_ja.html?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlDescription_ja.html (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlDescription_ja.html Fri Jan 27 01:29:33 2012
@@ -0,0 +1,9 @@
+<html>
+    
+<!-- Inserted by TRADOS: --><META HTTP-EQUIV="content-type" CONTENT="text/html; charset=EUC-JP">
+<body>
+    ¶õ¤Î OpenOffice.org uno-idl ¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ë¡£
+    </body>
+</html>
+
+

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlDescription_pt_BR.html
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlDescription_pt_BR.html?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlDescription_pt_BR.html (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlDescription_pt_BR.html Fri Jan 27 01:29:33 2012
@@ -0,0 +1,5 @@
+<html lang='pt'>
+    <body>
+    Cria um arquivo OpenOffice.org uno-idl vazio.
+    </body>
+</html>

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlDescription_zh_CN.html
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlDescription_zh_CN.html?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlDescription_zh_CN.html (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlDescription_zh_CN.html Fri Jan 27 01:29:33 2012
@@ -0,0 +1,8 @@
+<html lang='zh'>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
+</head>
+<body>
+´´½¨Ò»¸ö¿ÕµÄ OpenOffice.org uno-idl Îļþ¡£
+    </body>
+</html>

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeDataLoader.java
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeDataLoader.java?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeDataLoader.java (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeDataLoader.java Fri Jan 27 01:29:33 2012
@@ -0,0 +1,72 @@
+/*************************************************************************
+ *
+ *  OpenOffice.org - a multi-platform office productivity suite
+ *
+ *  $RCSfile: UnoIdlTypeDataLoader.java,v $
+ *
+ *  $Revision: 1.2 $
+ *
+ *  last change: $Author: sg $ $Date: 2007/05/03 09:51:10 $
+ *
+ *  The Contents of this file are made available subject to
+ *  the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ *    GNU Lesser General Public License Version 2.1
+ *    =============================================
+ *    Copyright 2005 by Sun Microsystems, Inc.
+ *    901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ *    This library is free software; you can redistribute it and/or
+ *    modify it under the terms of the GNU Lesser General Public
+ *    License version 2.1, as published by the Free Software Foundation.
+ *
+ *    This library is distributed in the hope that it will be useful,
+ *    but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *    Lesser General Public License for more details.
+ *
+ *    You should have received a copy of the GNU Lesser General Public
+ *    License along with this library; if not, write to the Free Software
+ *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ *    MA  02111-1307  USA
+ *
+ ************************************************************************/
+
+package org.openoffice.extensions.filetypes.unoidl;
+
+import java.io.IOException;
+import org.openide.filesystems.FileObject;
+import org.openide.loaders.DataObjectExistsException;
+import org.openide.loaders.MultiDataObject;
+import org.openide.loaders.UniFileLoader;
+import org.openide.util.NbBundle;
+
+public class UnoIdlTypeDataLoader extends UniFileLoader {
+    
+    public static final String REQUIRED_MIME = "text/x-uno-idl"; // NOI18N
+    
+    private static final long serialVersionUID = 1L;
+    
+    public UnoIdlTypeDataLoader() {
+        super("org.openoffice.extensions.filetypes.unoidl.UnoIdlTypeDataObject"); // NOI18N
+    }
+    
+    protected String defaultDisplayName() {
+        return NbBundle.getMessage(UnoIdlTypeDataLoader.class, "LBL_UnoIdlType_loader_name"); // NOI18N
+    }
+    
+    protected void initialize() {
+        super.initialize();
+        getExtensions().addMimeType(REQUIRED_MIME);
+    }
+    
+    protected MultiDataObject createMultiObject(FileObject primaryFile) throws DataObjectExistsException, IOException {
+        return new UnoIdlTypeDataObject(primaryFile, this);
+    }
+    
+    protected String actionsContext() {
+        return "Loaders/" + REQUIRED_MIME + "/Actions"; // NOI18N
+    }
+    
+}

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeDataLoaderBeanInfo.java
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeDataLoaderBeanInfo.java?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeDataLoaderBeanInfo.java (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeDataLoaderBeanInfo.java Fri Jan 27 01:29:33 2012
@@ -0,0 +1,63 @@
+/*************************************************************************
+ *
+ *  OpenOffice.org - a multi-platform office productivity suite
+ *
+ *  $RCSfile: UnoIdlTypeDataLoaderBeanInfo.java,v $
+ *
+ *  $Revision: 1.2 $
+ *
+ *  last change: $Author: sg $ $Date: 2009/07/06 14:51:28 $
+ *
+ *  The Contents of this file are made available subject to
+ *  the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ *    GNU Lesser General Public License Version 2.1
+ *    =============================================
+ *    Copyright 2005 by Sun Microsystems, Inc.
+ *    901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ *    This library is free software; you can redistribute it and/or
+ *    modify it under the terms of the GNU Lesser General Public
+ *    License version 2.1, as published by the Free Software Foundation.
+ *
+ *    This library is distributed in the hope that it will be useful,
+ *    but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *    Lesser General Public License for more details.
+ *
+ *    You should have received a copy of the GNU Lesser General Public
+ *    License along with this library; if not, write to the Free Software
+ *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ *    MA  02111-1307  USA
+ *
+ ************************************************************************/
+
+package org.openoffice.extensions.filetypes.unoidl;
+
+import java.awt.Image;
+import java.beans.BeanInfo;
+import java.beans.IntrospectionException;
+import java.beans.Introspector;
+import java.beans.SimpleBeanInfo;
+import org.openide.loaders.UniFileLoader;
+import org.openide.util.ImageUtilities;
+
+public class UnoIdlTypeDataLoaderBeanInfo extends SimpleBeanInfo {
+    
+    public BeanInfo[] getAdditionalBeanInfo() {
+        try {
+            return new BeanInfo[] {Introspector.getBeanInfo(UniFileLoader.class)};
+        } catch (IntrospectionException e) {
+            throw new AssertionError(e);
+        }
+    }
+    
+    public Image getIcon(int type) {
+        if (type == BeanInfo.ICON_COLOR_16x16 || type == BeanInfo.ICON_MONO_16x16) {
+            return ImageUtilities.loadImage(UnoIdlTypeDataNode.IMAGE_ICON_BASE);
+        } else {
+            return null;
+        }
+    }
+}

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeDataNode.java
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeDataNode.java?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeDataNode.java (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeDataNode.java Fri Jan 27 01:29:33 2012
@@ -0,0 +1,62 @@
+/*************************************************************************
+ *
+ *  OpenOffice.org - a multi-platform office productivity suite
+ *
+ *  $RCSfile: UnoIdlTypeDataNode.java,v $
+ *
+ *  $Revision: 1.2 $
+ *
+ *  last change: $Author: sg $ $Date: 2007/05/03 09:51:09 $
+ *
+ *  The Contents of this file are made available subject to
+ *  the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ *    GNU Lesser General Public License Version 2.1
+ *    =============================================
+ *    Copyright 2005 by Sun Microsystems, Inc.
+ *    901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ *    This library is free software; you can redistribute it and/or
+ *    modify it under the terms of the GNU Lesser General Public
+ *    License version 2.1, as published by the Free Software Foundation.
+ *
+ *    This library is distributed in the hope that it will be useful,
+ *    but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *    Lesser General Public License for more details.
+ *
+ *    You should have received a copy of the GNU Lesser General Public
+ *    License along with this library; if not, write to the Free Software
+ *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ *    MA  02111-1307  USA
+ *
+ ************************************************************************/
+
+package org.openoffice.extensions.filetypes.unoidl;
+
+import org.openide.loaders.DataNode;
+import org.openide.nodes.Children;
+
+public class UnoIdlTypeDataNode extends DataNode {
+    
+    public static final String IMAGE_ICON_BASE = "org/openoffice/extensions/filetypes/unoidl/idlfile.png"; // NOI18N
+    
+    public UnoIdlTypeDataNode(UnoIdlTypeDataObject obj) {
+        super(obj, Children.LEAF);
+        setIconBaseWithExtension(IMAGE_ICON_BASE);
+    }
+    
+//    /** Creates a property sheet. */
+//    protected Sheet createSheet() {
+//        Sheet s = super.createSheet();
+//        Sheet.Set ss = s.get(Sheet.PROPERTIES);
+//        if (ss == null) {
+//            ss = Sheet.createPropertiesSet();
+//            s.put(ss);
+//        }
+//        // TODO add some relevant properties: ss.put(...)
+//        return s;
+//    }
+    
+}

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeDataObject.java
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeDataObject.java?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeDataObject.java (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeDataObject.java Fri Jan 27 01:29:33 2012
@@ -0,0 +1,58 @@
+/*************************************************************************
+ *
+ *  OpenOffice.org - a multi-platform office productivity suite
+ *
+ *  $RCSfile: UnoIdlTypeDataObject.java,v $
+ *
+ *  $Revision: 1.1 $
+ *
+ *  last change: $Author: jsc $ $Date: 2006/07/07 14:42:07 $
+ *
+ *  The Contents of this file are made available subject to
+ *  the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ *    GNU Lesser General Public License Version 2.1
+ *    =============================================
+ *    Copyright 2005 by Sun Microsystems, Inc.
+ *    901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ *    This library is free software; you can redistribute it and/or
+ *    modify it under the terms of the GNU Lesser General Public
+ *    License version 2.1, as published by the Free Software Foundation.
+ *
+ *    This library is distributed in the hope that it will be useful,
+ *    but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *    Lesser General Public License for more details.
+ *
+ *    You should have received a copy of the GNU Lesser General Public
+ *    License along with this library; if not, write to the Free Software
+ *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ *    MA  02111-1307  USA
+ *
+ ************************************************************************/
+
+package org.openoffice.extensions.filetypes.unoidl;
+
+import java.io.IOException;
+import org.openide.filesystems.FileObject;
+import org.openide.loaders.DataObjectExistsException;
+import org.openide.loaders.MultiDataObject;
+import org.openide.nodes.CookieSet;
+import org.openide.nodes.Node;
+import org.openide.text.DataEditorSupport;
+
+public class UnoIdlTypeDataObject extends MultiDataObject {
+    
+    public UnoIdlTypeDataObject(FileObject pf, UnoIdlTypeDataLoader loader) throws DataObjectExistsException, IOException {
+        super(pf, loader);
+        CookieSet cookies = getCookieSet();
+        cookies.add((Node.Cookie) DataEditorSupport.create(this, getPrimaryEntry(), cookies));
+    }
+    
+    protected Node createNodeDelegate() {
+        return new UnoIdlTypeDataNode(this);
+    }
+    
+}

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeResolver.xml
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeResolver.xml?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeResolver.xml (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeResolver.xml Fri Jan 27 01:29:33 2012
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE MIME-resolver PUBLIC "-//NetBeans//DTD MIME Resolver 1.0//EN" "http://www.netbeans.org/dtds/mime-resolver-1_0.dtd">
+<MIME-resolver>
+    <file>
+        <ext name="idl"/>
+        <ext name="IDL"/>
+        <ext name="Idl"/>
+        <resolver mime="text/x-uno-idl"/>
+
+    </file>
+</MIME-resolver>

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeTemplate.idl
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeTemplate.idl?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeTemplate.idl (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/UnoIdlTypeTemplate.idl Fri Jan 27 01:29:33 2012
@@ -0,0 +1 @@
+sample content

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/actions/CompileFileAction.java
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/actions/CompileFileAction.java?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/actions/CompileFileAction.java (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/actions/CompileFileAction.java Fri Jan 27 01:29:33 2012
@@ -0,0 +1,160 @@
+/*************************************************************************
+ *
+ *  OpenOffice.org - a multi-platform office productivity suite
+ *
+ *  $RCSfile: CompileFileAction.java,v $
+ *
+ *  $Revision: 1.12 $
+ *
+ *  last change: $Author: sg $ $Date: 2008/07/25 10:37:52 $
+ *
+ *  The Contents of this file are made available subject to
+ *  the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ *    GNU Lesser General Public License Version 2.1
+ *    =============================================
+ *    Copyright 2005 by Sun Microsystems, Inc.
+ *    901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ *    This library is free software; you can redistribute it and/or
+ *    modify it under the terms of the GNU Lesser General Public
+ *    License version 2.1, as published by the Free Software Foundation.
+ *
+ *    This library is distributed in the hope that it will be useful,
+ *    but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *    Lesser General Public License for more details.
+ *
+ *    You should have received a copy of the GNU Lesser General Public
+ *    License along with this library; if not, write to the Free Software
+ *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ *    MA  02111-1307  USA
+ *
+ ************************************************************************/
+
+package org.openoffice.extensions.filetypes.unoidl.actions;
+
+import java.io.File;
+import org.apache.tools.ant.module.api.support.ActionUtils;
+
+import org.netbeans.api.project.FileOwnerQuery;
+import org.openide.filesystems.FileObject;
+import org.openide.filesystems.FileUtil;
+import org.openide.loaders.DataObject;
+import org.openide.nodes.Node;
+import org.openide.util.HelpCtx;
+import org.openide.util.NbBundle;
+import org.openide.util.actions.CookieAction;
+import org.openide.windows.IOProvider;
+import org.openide.windows.InputOutput;
+import org.openide.windows.OutputWriter;
+import org.openoffice.extensions.config.ConfigurationSettings;
+
+import org.openoffice.extensions.filetypes.unoidl.UnoIdlTypeDataObject;
+import java.util.Properties;
+import org.openoffice.extensions.util.LogWriter;
+import org.openoffice.extensions.config.office.PlatformInfo;
+
+//~--- classes ----------------------------------------------------------------
+
+public final class CompileFileAction extends CookieAction {
+    protected boolean asynchronous() {
+        return false;
+    }
+
+    protected Class[] cookieClasses() {
+        return new Class[] { DataObject.class };
+    }
+
+    protected String iconResource() {
+        return "org/openoffice/extensions/filetypes/unoidl/idlfile.png"; // NOI18N
+    }
+
+    protected int mode() {
+        return CookieAction.MODE_ANY;
+    }
+
+    protected void performAction(Node[] activatedNodes) {
+
+        try {
+            Properties props = new Properties();
+
+            // TODO: probably these properties are not necessary because they are already set globally 
+//            props.setProperty("office.home.dir", soPath); // NOI18N
+//            props.setProperty("office.program.dir", soPath + "/" + PlatformInfo.getOfficeProgramDir()); // NOI18N
+//            props.setProperty("oo.sdk.dir", sdkPath); // NOI18N
+
+            for (int i = 0; i < activatedNodes.length; i++) {
+                UnoIdlTypeDataObject d =
+                    (UnoIdlTypeDataObject) activatedNodes[i].getCookie(
+                        UnoIdlTypeDataObject.class);
+                FileObject f          = d.getPrimaryFile();
+                FileObject projectDir =
+                    FileOwnerQuery.getOwner(f).getProjectDirectory();
+                String path = FileUtil.toFile(projectDir).getCanonicalPath();
+                props.setProperty("project.home", path); // NOI18N
+
+                FileObject xmlFile = FileUtil.toFileObject(
+                            new File(path + File.separator
+                                           + "build.xml")); // NOI18N
+
+
+                props.setProperty("compile-file", f.getPath()); // NOI18N
+                ActionUtils.runTarget(xmlFile,
+                                      new String[] { "uno-idl-compile" },
+                                      props); // NOI18N
+
+                // this is the alternative to the previous line
+                //                    DataObject dataObject = DataObject.find(xmlFile);
+                //                    AntTargetExecutor.Env env = new AntTargetExecutor.Env();
+                //                    AntTargetExecutor exec = AntTargetExecutor.createTargetExecutor(env);
+                //                    exec.execute(null, null); 
+            }
+        } catch (Exception e) {    // show exception in output window
+            String tabName = NbBundle.getMessage(UnoIdlTypeDataObject.class,
+                                 "OutputWindowName"); // NOI18N
+            InputOutput io = IOProvider.getDefault().getIO(tabName, false);
+
+            io.select();
+
+            OutputWriter writer = io.getOut();
+
+            try {
+                writer.reset();
+                e.printStackTrace(writer);
+            } catch (java.io.IOException ioe) {
+                LogWriter.getLogWriter().printStackTrace(ioe);
+            }
+
+            writer.close();
+        }
+
+/*        String tabName = NbBundle.getMessage(CompileFileAction.class, "OutputWindowName"); // NOI18N
+
+        InputOutput io = IOProvider.getDefault().getIO(tabName, false);
+        io.select();
+
+        OutputWriter writer = io.getOut();
+        try {
+            writer.reset();
+        }
+        catch (java.io.IOException e) {
+            // ignore; just the output tab is not empty.
+        }
+
+        CompileIdlFile cif = CompileIdlFile.getCompileIdlFileInstance(activatedNodes, writer);
+        cif.start(); */
+    }
+
+    //~--- get methods --------------------------------------------------------
+
+    public HelpCtx getHelpCtx() {
+        return HelpCtx.DEFAULT_HELP;
+    }
+
+    public String getName() {
+        return NbBundle.getMessage(UnoIdlTypeDataObject.class,
+                                   "CTL_CompileFileAction"); // NOI18N
+    }
+}

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/idlfile.png
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/idlfile.png?rev=1236486&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/idlfile.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/language.nbs
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/language.nbs?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/language.nbs (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/unoidl/language.nbs Fri Jan 27 01:29:33 2012
@@ -0,0 +1,97 @@
+# To change this template, choose Tools | Templates
+# and open the template in the editor.
+
+# definition of tokens
+TOKEN:keyword:(
+        # idl file types
+        "constants" | "enum" | "exception" | "interface" | "service" | "struct" | "singleton" |
+        # data types
+        "any" | "boolean" | "byte" | "char" | "double" | "float" | "hyper" | "long" |
+        "sequence" | "short" | "string" | "type" | "void" |
+        # modifiers
+        "const" | "published" | "unsigned" |
+        # namespace
+        "module" |
+        # exceptions
+        "raises" )
+TOKEN:operator:( "{" | "}" | "(" | ")" | "[" | "]" | "<" | ">")
+TOKEN:identifier:( ["a"-"z" "A"-"Z"] ["a"-"z" "A"-"Z" "0"-"9"]* )
+TOKEN:whitespace:( [" " "\t" "\n" "\r"]+ )
+TOKEN:precompile:( ["#"] ["a"-"z"]* )
+TOKEN:text:( ['a'-'z''A'-'Z''0'-'9''_''<''>''/''.'';'':''\"']+ )
+TOKEN:brackets:( "[" - "]" )
+
+TOKEN:line_comment: ( "//"[^"\n""\r"]* )
+TOKEN:comment: ("/*" - "*/")
+
+# parser should ignore whitespaces and comments
+SKIP:whitespace
+SKIP:comment
+SKIP:line_comment
+SKIP:brackets
+
+COLOR:precompile: {
+    foreground_color:"#00AA00";
+    font_type:"bold";
+}
+
+COLOR:comment,line_comment: {
+    foreground_color:"gray";
+}
+
+COLOR:brackets: {
+    foreground_color:"blue";
+}
+
+COLOR:keyword: {
+    foreground_color:"blue";
+    font_type:"bold";
+}
+
+COLOR:number: {
+    foreground_color:"red";
+}
+
+# definition of grammar
+#S = (Specification)*;
+#Specification = PrecompileStatement | Definition;
+#WhileStatement = "while" "(" ConditionalExpression ")" Block;
+#IfStatement = "if" "(" ConditionalExpression ")" Block ["else" Block];
+#Block = "{" (Statement)* "}";
+#ConditionalExpression = <identifier>;
+#ExpressionStatement = <identifier>;
+# | <comment_start> <ptext> <comment_end>;
+#Definition = <keyword>;
+#Identifier = <identifier>;
+#PrecompileStatement = <precompile> | <precompile> <text>;
+
+# code folding
+#FOLD:Block
+
+# navigator support
+#NAVIGATOR:WhileStatement: {
+#    display_name: "$ConditionalExpression$";
+#}
+
+# brace completion
+COMPLETE "{:}"
+COMPLETE "(:)"
+
+# brace matching
+BRACE "{:}"
+BRACE "(:)"
+BRACE "[:]"
+BRACE "<:>"
+
+# indentation support
+#INDENT "{:}"
+#INDENT "(:)"
+#INDENT "\\s*(((if|while)\\s*\\(|else\\s*|else\\s+if\\s*\\(|for\\s*\\(.*\\))[^{;]*)"
+
+
+# code completion
+#COMPLETION:keyword, operator, identifier, whitespace: {
+#    text1:"while";
+#    text2:"if";
+#    text3:"else";
+#}

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/Bundle.properties
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/Bundle.properties?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/Bundle.properties (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/Bundle.properties Fri Jan 27 01:29:33 2012
@@ -0,0 +1,4 @@
+LBL_Xcs_loader_name=XCS Files
+
+Services/MIMEResolver/XcsResolver.xml=XCS Files
+Templates/org-openoffice-extensions/XcsTemplate.xcs=Empty XCS file

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/Bundle_ja.properties
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/Bundle_ja.properties?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/Bundle_ja.properties (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/Bundle_ja.properties Fri Jan 27 01:29:33 2012
@@ -0,0 +1,10 @@
+# LBL_Xcs_loader_name=XCS Files
+LBL_Xcs_loader_name=XCS \u30d5\u30a1\u30a4\u30eb
+
+# Services/MIMEResolver/XcsResolver.xml=XCS Files
+Services/MIMEResolver/XcsResolver.xml=XCS \u30d5\u30a1\u30a4\u30eb
+# Templates/org-openoffice-extensions/XcsTemplate.xcs=Empty XCS file
+Templates/org-openoffice-extensions/XcsTemplate.xcs=\u7a7a\u306e XCS \u30d5\u30a1\u30a4\u30eb
+
+
+

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/Bundle_pt_BR.properties
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/Bundle_pt_BR.properties?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/Bundle_pt_BR.properties (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/Bundle_pt_BR.properties Fri Jan 27 01:29:33 2012
@@ -0,0 +1,4 @@
+LBL_Xcs_loader_name=XCS Files
+
+Services/MIMEResolver/XcsResolver.xml=XCS Files
+Templates/org-openoffice-extensions/XcsTemplate.xcs=Empty XCS file

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/Bundle_zh_CN.properties
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/Bundle_zh_CN.properties?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/Bundle_zh_CN.properties (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/Bundle_zh_CN.properties Fri Jan 27 01:29:33 2012
@@ -0,0 +1,4 @@
+LBL_Xcs_loader_name=XCS \u6587\u4ef6
+
+Services/MIMEResolver/XcsResolver.xml=XCS \u6587\u4ef6
+Templates/org-openoffice-extensions/XcsTemplate.xcs=\u7a7a\u7684 XCS \u6587\u4ef6

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDataLoader.java
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDataLoader.java?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDataLoader.java (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDataLoader.java Fri Jan 27 01:29:33 2012
@@ -0,0 +1,76 @@
+/*************************************************************************
+ *
+ *  OpenOffice.org - a multi-platform office productivity suite
+ *
+ *  $RCSfile: XcsDataLoader.java,v $
+ *
+ *  $Revision: 1.4 $
+ *
+ *  last change: $Author: sg $ $Date: 2008/02/08 10:45:02 $
+ *
+ *  The Contents of this file are made available subject to
+ *  the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ *    GNU Lesser General Public License Version 2.1
+ *    =============================================
+ *    Copyright 2005 by Sun Microsystems, Inc.
+ *    901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ *    This library is free software; you can redistribute it and/or
+ *    modify it under the terms of the GNU Lesser General Public
+ *    License version 2.1, as published by the Free Software Foundation.
+ *
+ *    This library is distributed in the hope that it will be useful,
+ *    but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *    Lesser General Public License for more details.
+ *
+ *    You should have received a copy of the GNU Lesser General Public
+ *    License along with this library; if not, write to the Free Software
+ *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ *    MA  02111-1307  USA
+ *
+ ************************************************************************/
+package org.openoffice.extensions.filetypes.xcs;
+
+import java.io.IOException;
+import org.openide.filesystems.FileObject;
+import org.openide.loaders.DataObjectExistsException;
+import org.openide.loaders.MultiDataObject;
+import org.openide.loaders.UniFileLoader;
+import org.openide.util.NbBundle;
+
+public class XcsDataLoader extends UniFileLoader {
+    
+    public static final String REQUIRED_MIME = "text/xcs+xml"; // NOI18N
+    
+    private static final long serialVersionUID = 1L;
+    
+    public XcsDataLoader() {
+        super("org.openoffice.extensions.filetypes.xcs.XcsDataObject"); // NOI18N
+    }
+    
+    protected String defaultDisplayName() {
+        return NbBundle.getMessage(XcsDataLoader.class, "LBL_Xcs_loader_name"); // NOI18N
+    }
+    
+    protected void initialize() {
+        super.initialize();
+        getExtensions().addMimeType(REQUIRED_MIME);
+    }
+    
+    protected MultiDataObject createMultiObject(FileObject primaryFile) throws DataObjectExistsException, IOException {
+        return new XcsDataObject(primaryFile, this);
+    }
+    
+//    protected MultiDataObject.Entry createPrimaryEntry(
+//            MultiDataObject multiDataObject, FileObject fileObject) {
+//        return new XMLDataLoader.XMLFileEntry (multiDataObject, fileObject); //adds smart templating
+//    }
+    
+    protected String actionsContext() {
+        return "Loaders/" + REQUIRED_MIME + "/Actions"; // NOI18N
+    }
+    
+}

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDataLoaderBeanInfo.java
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDataLoaderBeanInfo.java?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDataLoaderBeanInfo.java (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDataLoaderBeanInfo.java Fri Jan 27 01:29:33 2012
@@ -0,0 +1,64 @@
+/*************************************************************************
+ *
+ *  OpenOffice.org - a multi-platform office productivity suite
+ *
+ *  $RCSfile: XcsDataLoaderBeanInfo.java,v $
+ *
+ *  $Revision: 1.6 $
+ *
+ *  last change: $Author: sg $ $Date: 2009/07/10 08:32:43 $
+ *
+ *  The Contents of this file are made available subject to
+ *  the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ *    GNU Lesser General Public License Version 2.1
+ *    =============================================
+ *    Copyright 2005 by Sun Microsystems, Inc.
+ *    901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ *    This library is free software; you can redistribute it and/or
+ *    modify it under the terms of the GNU Lesser General Public
+ *    License version 2.1, as published by the Free Software Foundation.
+ *
+ *    This library is distributed in the hope that it will be useful,
+ *    but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *    Lesser General Public License for more details.
+ *
+ *    You should have received a copy of the GNU Lesser General Public
+ *    License along with this library; if not, write to the Free Software
+ *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ *    MA  02111-1307  USA
+ *
+ ************************************************************************/
+package org.openoffice.extensions.filetypes.xcs;
+
+import java.awt.Image;
+import java.beans.BeanInfo;
+import java.beans.IntrospectionException;
+import java.beans.Introspector;
+import java.beans.SimpleBeanInfo;
+import org.openide.loaders.UniFileLoader;
+import org.openide.util.ImageUtilities;
+
+public class XcsDataLoaderBeanInfo extends SimpleBeanInfo {
+    
+    public BeanInfo[] getAdditionalBeanInfo() {
+        try {
+            return new BeanInfo[] {Introspector.getBeanInfo(UniFileLoader.class)};
+        } catch (IntrospectionException e) {
+            throw new AssertionError(e);
+        }
+    }
+    
+    public Image getIcon(int type) {
+        if (type == BeanInfo.ICON_COLOR_16x16 || type == BeanInfo.ICON_MONO_16x16) {
+            return ImageUtilities.loadImage(XcsDataNode.IMAGE_ICON_BASE); // NOI18N
+        } else {
+            return null;
+        }
+        
+    } 
+    
+}

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDataNode.java
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDataNode.java?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDataNode.java (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDataNode.java Fri Jan 27 01:29:33 2012
@@ -0,0 +1,61 @@
+/*************************************************************************
+ *
+ *  OpenOffice.org - a multi-platform office productivity suite
+ *
+ *  $RCSfile: XcsDataNode.java,v $
+ *
+ *  $Revision: 1.5 $
+ *
+ *  last change: $Author: sg $ $Date: 2009/01/08 11:15:59 $
+ *
+ *  The Contents of this file are made available subject to
+ *  the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ *    GNU Lesser General Public License Version 2.1
+ *    =============================================
+ *    Copyright 2005 by Sun Microsystems, Inc.
+ *    901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ *    This library is free software; you can redistribute it and/or
+ *    modify it under the terms of the GNU Lesser General Public
+ *    License version 2.1, as published by the Free Software Foundation.
+ *
+ *    This library is distributed in the hope that it will be useful,
+ *    but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *    Lesser General Public License for more details.
+ *
+ *    You should have received a copy of the GNU Lesser General Public
+ *    License along with this library; if not, write to the Free Software
+ *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ *    MA  02111-1307  USA
+ *
+ ************************************************************************/
+package org.openoffice.extensions.filetypes.xcs;
+
+import org.openide.loaders.DataNode;
+import org.openide.nodes.Children;
+
+public class XcsDataNode extends DataNode {
+    
+    protected static final String IMAGE_ICON_BASE = "org/openoffice/extensions/filetypes/xcs/xcsfile.png"; // NOI18N
+    
+    public XcsDataNode(XcsDataObject obj) {
+        super(obj, Children.LEAF);
+        setIconBaseWithExtension(IMAGE_ICON_BASE);
+    }
+    
+//    /** Creates a property sheet. */
+//    protected Sheet createSheet() {
+//        Sheet s = super.createSheet();
+//        Sheet.Set ss = s.get(Sheet.PROPERTIES);
+//        if (ss == null) {
+//            ss = Sheet.createPropertiesSet();
+//            s.put(ss);
+//        }
+//        // TODO add some relevant properties: ss.put(...)
+//        return s;
+//    }
+    
+}

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDataObject.java
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDataObject.java?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDataObject.java (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDataObject.java Fri Jan 27 01:29:33 2012
@@ -0,0 +1,88 @@
+/*************************************************************************
+ *
+ *  OpenOffice.org - a multi-platform office productivity suite
+ *
+ *  $RCSfile: XcsDataObject.java,v $
+ *
+ *  $Revision: 1.4 $
+ *
+ *  last change: $Author: sg $ $Date: 2008/02/08 11:37:54 $
+ *
+ *  The Contents of this file are made available subject to
+ *  the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ *    GNU Lesser General Public License Version 2.1
+ *    =============================================
+ *    Copyright 2005 by Sun Microsystems, Inc.
+ *    901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ *    This library is free software; you can redistribute it and/or
+ *    modify it under the terms of the GNU Lesser General Public
+ *    License version 2.1, as published by the Free Software Foundation.
+ *
+ *    This library is distributed in the hope that it will be useful,
+ *    but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *    Lesser General Public License for more details.
+ *
+ *    You should have received a copy of the GNU Lesser General Public
+ *    License along with this library; if not, write to the Free Software
+ *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ *    MA  02111-1307  USA
+ *
+ ************************************************************************/
+package org.openoffice.extensions.filetypes.xcs;
+
+import java.io.IOException;
+import org.netbeans.spi.xml.cookies.CheckXMLSupport;
+import org.netbeans.spi.xml.cookies.DataObjectAdapters;
+import org.netbeans.spi.xml.cookies.ValidateXMLSupport;
+import org.openide.filesystems.FileObject;
+import org.openide.loaders.DataObjectExistsException;
+import org.openide.loaders.XMLDataObject;
+import org.openide.nodes.CookieSet;
+import org.openide.nodes.Node;
+import org.openide.text.DataEditorSupport;
+import org.xml.sax.InputSource;
+
+public class XcsDataObject extends XMLDataObject {
+    
+//    private transient final DataObjectCookieManager cookieManager;
+//    private transient Synchronizator synchronizator;
+
+    public XcsDataObject(FileObject pf, XcsDataLoader loader) throws DataObjectExistsException, IOException {
+        super(pf, loader);
+        CookieSet cookies = getCookieSet();
+//        cookieManager = new DataObjectCookieManager (this, cookies);
+
+        cookies.add((Node.Cookie) DataEditorSupport.create(this, getPrimaryEntry(), cookies));
+       
+        InputSource is = DataObjectAdapters.inputSource(this);
+        cookies.add(new CheckXMLSupport(is));
+        cookies.add(new ValidateXMLSupport(is));
+       
+        /*
+        // editor support defines MIME type understood by EditorKits registry        
+        TextEditorSupport.TextEditorSupportFactory editorFactory =
+            new TextEditorSupport.TextEditorSupportFactory (
+                this, org.netbeans.modules.xml.core.XMLDataObject.MIME_TYPE);
+        editorFactory.registerCookies (cookies);
+         */
+    }
+    
+    protected Node createNodeDelegate() {
+        return new XcsDataNode(this);
+    }
+    
+//    public Synchronizator getSyncInterface() {
+//         if (synchronizator == null) {
+//            synchronizator = new DataObjectSyncSupport(XcsDataObject.this);
+//        }
+//        return synchronizator;   
+//    }
+//
+//    public DataObjectCookieManager getCookieManager() {
+//        return cookieManager;
+//    }
+}

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDescription.html
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDescription.html?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDescription.html (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDescription.html Fri Jan 27 01:29:33 2012
@@ -0,0 +1,5 @@
+<html>
+    <body>
+    Create an empty xcs file.
+    </body>
+</html>

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDescription_ja.html
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDescription_ja.html?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDescription_ja.html (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDescription_ja.html Fri Jan 27 01:29:33 2012
@@ -0,0 +1,9 @@
+<html>
+    
+<!-- Inserted by TRADOS: --><META HTTP-EQUIV="content-type" CONTENT="text/html; charset=EUC-JP">
+<body>
+    ¶õ¤Î xcs ¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ë¡£
+    </body>
+</html>
+
+

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDescription_pt_BR.html
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDescription_pt_BR.html?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDescription_pt_BR.html (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDescription_pt_BR.html Fri Jan 27 01:29:33 2012
@@ -0,0 +1,5 @@
+<html lang='pt'>
+    <body>
+    Cria um arquivo xcs vazio.
+    </body>
+</html>

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDescription_zh_CN.html
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDescription_zh_CN.html?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDescription_zh_CN.html (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsDescription_zh_CN.html Fri Jan 27 01:29:33 2012
@@ -0,0 +1,8 @@
+<html lang='zh'>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
+</head>
+<body>
+´´½¨Ò»¸ö¿ÕµÄ xcs Îļþ¡£
+    </body>
+</html>

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsResolver.xml
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsResolver.xml?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsResolver.xml (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsResolver.xml Fri Jan 27 01:29:33 2012
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE MIME-resolver PUBLIC "-//NetBeans//DTD MIME Resolver 1.0//EN" "http://www.netbeans.org/dtds/mime-resolver-1_0.dtd">
+<MIME-resolver>
+    <file>
+        <ext name="xcs"/>
+        <resolver mime="text/xcs+xml"/>
+    </file>
+</MIME-resolver>

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsTemplate.xcs
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsTemplate.xcs?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsTemplate.xcs (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcsTemplate.xcs Fri Jan 27 01:29:33 2012
@@ -0,0 +1,3 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<oor:component-schema xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+</oor:component-schema>
\ No newline at end of file

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcuTemplate.xcu
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcuTemplate.xcu?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcuTemplate.xcu (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/XcuTemplate.xcu Fri Jan 27 01:29:33 2012
@@ -0,0 +1,3 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+</oor:component-data>
\ No newline at end of file

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/xcsfile.png
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/xcsfile.png?rev=1236486&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcs/xcsfile.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/Bundle.properties
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/Bundle.properties?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/Bundle.properties (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/Bundle.properties Fri Jan 27 01:29:33 2012
@@ -0,0 +1,4 @@
+LBL_Xcu_loader_name=XCU Files
+
+Services/MIMEResolver/XcuResolver.xml=XCU Files
+Templates/org-openoffice-extensions/XcuTemplate.xcu=Empty XCU file

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/Bundle_ja.properties
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/Bundle_ja.properties?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/Bundle_ja.properties (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/Bundle_ja.properties Fri Jan 27 01:29:33 2012
@@ -0,0 +1,10 @@
+# LBL_Xcu_loader_name=XCU Files
+LBL_Xcu_loader_name=XCU \u30d5\u30a1\u30a4\u30eb
+
+# Services/MIMEResolver/XcuResolver.xml=XCU Files
+Services/MIMEResolver/XcuResolver.xml=XCU \u30d5\u30a1\u30a4\u30eb
+# Templates/org-openoffice-extensions/XcuTemplate.xcu=Empty XCU file
+Templates/org-openoffice-extensions/XcuTemplate.xcu=\u7a7a\u306e XCU \u30d5\u30a1\u30a4\u30eb
+
+
+

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/Bundle_pt_BR.properties
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/Bundle_pt_BR.properties?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/Bundle_pt_BR.properties (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/Bundle_pt_BR.properties Fri Jan 27 01:29:33 2012
@@ -0,0 +1,4 @@
+LBL_Xcu_loader_name=XCU Files
+
+Services/MIMEResolver/XcuResolver.xml=XCU Files
+Templates/org-openoffice-extensions/XcuTemplate.xcu=Empty XCU file

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/Bundle_zh_CN.properties
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/Bundle_zh_CN.properties?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/Bundle_zh_CN.properties (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/Bundle_zh_CN.properties Fri Jan 27 01:29:33 2012
@@ -0,0 +1,4 @@
+LBL_Xcu_loader_name=XCU \u6587\u4ef6
+
+Services/MIMEResolver/XcuResolver.xml=XCU \u6587\u4ef6
+Templates/org-openoffice-extensions/XcuTemplate.xcu=\u7a7a\u7684 XCU \u6587\u4ef6

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDataLoader.java
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDataLoader.java?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDataLoader.java (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDataLoader.java Fri Jan 27 01:29:33 2012
@@ -0,0 +1,75 @@
+/*************************************************************************
+ *
+ *  OpenOffice.org - a multi-platform office productivity suite
+ *
+ *  $RCSfile: XcuDataLoader.java,v $
+ *
+ *  $Revision: 1.6 $
+ *
+ *  last change: $Author: sg $ $Date: 2008/02/08 11:37:54 $
+ *
+ *  The Contents of this file are made available subject to
+ *  the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ *    GNU Lesser General Public License Version 2.1
+ *    =============================================
+ *    Copyright 2005 by Sun Microsystems, Inc.
+ *    901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ *    This library is free software; you can redistribute it and/or
+ *    modify it under the terms of the GNU Lesser General Public
+ *    License version 2.1, as published by the Free Software Foundation.
+ *
+ *    This library is distributed in the hope that it will be useful,
+ *    but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *    Lesser General Public License for more details.
+ *
+ *    You should have received a copy of the GNU Lesser General Public
+ *    License along with this library; if not, write to the Free Software
+ *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ *    MA  02111-1307  USA
+ *
+ ************************************************************************/
+package org.openoffice.extensions.filetypes.xcu;
+
+import java.io.IOException;
+import org.openide.filesystems.FileObject;
+import org.openide.loaders.DataObjectExistsException;
+import org.openide.loaders.MultiDataObject;
+import org.openide.loaders.UniFileLoader;
+import org.openide.util.NbBundle;
+
+public class XcuDataLoader extends UniFileLoader {
+    
+    public static final String REQUIRED_MIME = "text/xcu+xml"; // NOI18N
+    
+    private static final long serialVersionUID = 1L;
+    
+    public XcuDataLoader() {
+        super("org.openoffice.extensions.filetypes.xcu.XcuDataObject"); // NOI18N
+    }
+    
+    protected String defaultDisplayName() {
+        return NbBundle.getMessage(XcuDataLoader.class, "LBL_Xcu_loader_name"); // NOI18N
+    }
+    
+    protected void initialize() {
+        super.initialize();
+        getExtensions().addMimeType(REQUIRED_MIME);
+    }
+    
+    protected MultiDataObject createMultiObject(FileObject primaryFile) throws DataObjectExistsException, IOException {
+        return new XcuDataObject(primaryFile, this);
+    }
+
+//    protected MultiDataObject.Entry createPrimaryEntry(
+//            MultiDataObject multiDataObject, FileObject fileObject) {
+//        return new XMLDataLoader.XMLFileEntry (multiDataObject, fileObject); //adds smart templating
+//    }
+    
+    protected String actionsContext() {
+        return "Loaders/" + REQUIRED_MIME + "/Actions"; // NOI18N
+    }
+}

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDataLoaderBeanInfo.java
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDataLoaderBeanInfo.java?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDataLoaderBeanInfo.java (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDataLoaderBeanInfo.java Fri Jan 27 01:29:33 2012
@@ -0,0 +1,64 @@
+/*************************************************************************
+ *
+ *  OpenOffice.org - a multi-platform office productivity suite
+ *
+ *  $RCSfile: XcuDataLoaderBeanInfo.java,v $
+ *
+ *  $Revision: 1.5 $
+ *
+ *  last change: $Author: sg $ $Date: 2009/07/10 08:32:43 $
+ *
+ *  The Contents of this file are made available subject to
+ *  the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ *    GNU Lesser General Public License Version 2.1
+ *    =============================================
+ *    Copyright 2005 by Sun Microsystems, Inc.
+ *    901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ *    This library is free software; you can redistribute it and/or
+ *    modify it under the terms of the GNU Lesser General Public
+ *    License version 2.1, as published by the Free Software Foundation.
+ *
+ *    This library is distributed in the hope that it will be useful,
+ *    but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *    Lesser General Public License for more details.
+ *
+ *    You should have received a copy of the GNU Lesser General Public
+ *    License along with this library; if not, write to the Free Software
+ *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ *    MA  02111-1307  USA
+ *
+ ************************************************************************/
+package org.openoffice.extensions.filetypes.xcu;
+
+import java.awt.Image;
+import java.beans.BeanInfo;
+import java.beans.IntrospectionException;
+import java.beans.Introspector;
+import java.beans.SimpleBeanInfo;
+import org.openide.loaders.UniFileLoader;
+import org.openide.util.ImageUtilities;
+
+public class XcuDataLoaderBeanInfo extends SimpleBeanInfo {
+    
+    public BeanInfo[] getAdditionalBeanInfo() {
+        try {
+            return new BeanInfo[] {Introspector.getBeanInfo(UniFileLoader.class)};
+        } catch (IntrospectionException e) {
+            throw new AssertionError(e);
+        }
+    }
+    
+    public Image getIcon(int type) {
+        if (type == BeanInfo.ICON_COLOR_16x16 || type == BeanInfo.ICON_MONO_16x16) {
+            return ImageUtilities.loadImage(XcuDataNode.IMAGE_ICON_BASE); // NOI18N
+        } else {
+            return null;
+        }
+        
+    } 
+    
+}

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDataNode.java
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDataNode.java?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDataNode.java (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDataNode.java Fri Jan 27 01:29:33 2012
@@ -0,0 +1,61 @@
+/*************************************************************************
+ *
+ *  OpenOffice.org - a multi-platform office productivity suite
+ *
+ *  $RCSfile: XcuDataNode.java,v $
+ *
+ *  $Revision: 1.4 $
+ *
+ *  last change: $Author: sg $ $Date: 2009/01/08 11:15:59 $
+ *
+ *  The Contents of this file are made available subject to
+ *  the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ *    GNU Lesser General Public License Version 2.1
+ *    =============================================
+ *    Copyright 2005 by Sun Microsystems, Inc.
+ *    901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ *    This library is free software; you can redistribute it and/or
+ *    modify it under the terms of the GNU Lesser General Public
+ *    License version 2.1, as published by the Free Software Foundation.
+ *
+ *    This library is distributed in the hope that it will be useful,
+ *    but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *    Lesser General Public License for more details.
+ *
+ *    You should have received a copy of the GNU Lesser General Public
+ *    License along with this library; if not, write to the Free Software
+ *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ *    MA  02111-1307  USA
+ *
+ ************************************************************************/
+package org.openoffice.extensions.filetypes.xcu;
+
+import org.openide.loaders.DataNode;
+import org.openide.nodes.Children;
+
+public class XcuDataNode extends DataNode {
+    
+    protected static final String IMAGE_ICON_BASE = "org/openoffice/extensions/filetypes/xcu/xcufile.png"; // NOI18N
+    
+    public XcuDataNode(XcuDataObject obj) {
+        super(obj, Children.LEAF);
+        setIconBaseWithExtension(IMAGE_ICON_BASE);
+    }
+    
+//    /** Creates a property sheet. */
+//    protected Sheet createSheet() {
+//        Sheet s = super.createSheet();
+//        Sheet.Set ss = s.get(Sheet.PROPERTIES);
+//        if (ss == null) {
+//            ss = Sheet.createPropertiesSet();
+//            s.put(ss);
+//        }
+//        // TODO add some relevant properties: ss.put(...)
+//        return s;
+//    }
+    
+}

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDataObject.java
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDataObject.java?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDataObject.java (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDataObject.java Fri Jan 27 01:29:33 2012
@@ -0,0 +1,88 @@
+/*************************************************************************
+ *
+ *  OpenOffice.org - a multi-platform office productivity suite
+ *
+ *  $RCSfile: XcuDataObject.java,v $
+ *
+ *  $Revision: 1.4 $
+ *
+ *  last change: $Author: sg $ $Date: 2008/02/08 11:37:54 $
+ *
+ *  The Contents of this file are made available subject to
+ *  the terms of GNU Lesser General Public License Version 2.1.
+ *
+ *
+ *    GNU Lesser General Public License Version 2.1
+ *    =============================================
+ *    Copyright 2005 by Sun Microsystems, Inc.
+ *    901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ *    This library is free software; you can redistribute it and/or
+ *    modify it under the terms of the GNU Lesser General Public
+ *    License version 2.1, as published by the Free Software Foundation.
+ *
+ *    This library is distributed in the hope that it will be useful,
+ *    but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ *    Lesser General Public License for more details.
+ *
+ *    You should have received a copy of the GNU Lesser General Public
+ *    License along with this library; if not, write to the Free Software
+ *    Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ *    MA  02111-1307  USA
+ *
+ ************************************************************************/
+package org.openoffice.extensions.filetypes.xcu;
+
+import java.io.IOException;
+import org.netbeans.spi.xml.cookies.CheckXMLSupport;
+import org.netbeans.spi.xml.cookies.DataObjectAdapters;
+import org.netbeans.spi.xml.cookies.ValidateXMLSupport;
+import org.openide.filesystems.FileObject;
+import org.openide.loaders.DataObjectExistsException;
+import org.openide.loaders.XMLDataObject;
+import org.openide.nodes.CookieSet;
+import org.openide.nodes.Node;
+import org.openide.text.DataEditorSupport;
+import org.xml.sax.InputSource;
+
+public class XcuDataObject extends XMLDataObject {
+
+//    private transient final DataObjectCookieManager cookieManager;
+//    private transient Synchronizator synchronizator;
+
+    public XcuDataObject(FileObject pf, XcuDataLoader loader) throws DataObjectExistsException, IOException {
+        super(pf, loader);
+        CookieSet cookies = getCookieSet();
+//        cookieManager = new DataObjectCookieManager (this, cookies);
+
+        cookies.add((Node.Cookie) DataEditorSupport.create(this, getPrimaryEntry(), cookies));
+       
+        InputSource is = DataObjectAdapters.inputSource(this);
+        cookies.add(new CheckXMLSupport(is));
+        cookies.add(new ValidateXMLSupport(is));
+       
+        /*
+        // editor support defines MIME type understood by EditorKits registry        
+        TextEditorSupport.TextEditorSupportFactory editorFactory =
+            new TextEditorSupport.TextEditorSupportFactory (
+                this, org.netbeans.modules.xml.core.XMLDataObject.MIME_TYPE);
+        editorFactory.registerCookies (cookies);
+         */
+    }
+    
+    protected Node createNodeDelegate() {
+        return new XcuDataNode(this);
+    }
+
+//    public Synchronizator getSyncInterface() {
+//         if (synchronizator == null) {
+//            synchronizator = new DataObjectSyncSupport(XcuDataObject.this);
+//        }
+//        return synchronizator;   
+//    }
+//
+//    public DataObjectCookieManager getCookieManager() {
+//        return cookieManager;
+//    }
+}

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDescription.html
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDescription.html?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDescription.html (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDescription.html Fri Jan 27 01:29:33 2012
@@ -0,0 +1,5 @@
+<html>
+    <body>
+    Create an empty xcu file.
+    </body>
+</html>

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDescription_ja.html
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDescription_ja.html?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDescription_ja.html (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDescription_ja.html Fri Jan 27 01:29:33 2012
@@ -0,0 +1,9 @@
+<html>
+    
+<!-- Inserted by TRADOS: --><META HTTP-EQUIV="content-type" CONTENT="text/html; charset=EUC-JP">
+<body>
+    ¶õ¤Î xcu ¥Õ¥¡¥¤¥ë¤òºîÀ®¤¹¤ë¡£
+    </body>
+</html>
+
+

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDescription_pt_BR.html
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDescription_pt_BR.html?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDescription_pt_BR.html (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDescription_pt_BR.html Fri Jan 27 01:29:33 2012
@@ -0,0 +1,5 @@
+<html lang='pt'>
+    <body>
+    Cria um arquivo xcu vazio.
+    </body>
+</html>

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDescription_zh_CN.html
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDescription_zh_CN.html?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDescription_zh_CN.html (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuDescription_zh_CN.html Fri Jan 27 01:29:33 2012
@@ -0,0 +1,8 @@
+<html lang='zh'>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=gb2312"/>
+</head>
+<body>
+´´½¨Ò»¸ö¿ÕµÄ xcu Îļþ¡£
+    </body>
+</html>

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuResolver.xml
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuResolver.xml?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuResolver.xml (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuResolver.xml Fri Jan 27 01:29:33 2012
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE MIME-resolver PUBLIC "-//NetBeans//DTD MIME Resolver 1.0//EN" "http://www.netbeans.org/dtds/mime-resolver-1_0.dtd">
+<MIME-resolver>
+    <file>
+        <ext name="xcu"/>
+        <resolver mime="text/xcu+xml"/>
+    </file>
+</MIME-resolver>

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuTemplate.xcu
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuTemplate.xcu?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuTemplate.xcu (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/XcuTemplate.xcu Fri Jan 27 01:29:33 2012
@@ -0,0 +1,3 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<oor:component-data xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema">
+</oor:component-data>
\ No newline at end of file

Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/xcufile.png
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/xcufile.png?rev=1236486&view=auto
==============================================================================
Binary file - no diff available.

Propchange: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/filetypes/xcu/xcufile.png
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream