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 [24/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/projecttemplates/calcaddin/datamodel/node/AddInNode.java
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/datamodel/node/AddInNode.java?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/datamodel/node/AddInNode.java (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/datamodel/node/AddInNode.java Fri Jan 27 01:29:33 2012
@@ -0,0 +1,189 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: AddInNode.java,v $
+ *
+ * $Revision: 1.9 $
+ *
+ * last change: $Author: sg $ $Date: 2009/07/10 08:32:42 $
+ *
+ * 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.projecttemplates.calcaddin.datamodel.node;
+
+import java.awt.Image;
+import java.beans.PropertyChangeEvent;
+import java.beans.PropertyChangeListener;
+import javax.swing.Action;
+import org.openide.nodes.AbstractNode;
+import org.openide.nodes.Children;
+import org.openide.nodes.Node;
+import org.openide.nodes.Node.Property;
+import org.openide.nodes.Sheet;
+import org.openide.util.ImageUtilities;
+import org.openide.util.lookup.Lookups;
+import org.openoffice.extensions.projecttemplates.calcaddin.AddinActions;
+import org.openoffice.extensions.util.datamodel.Function;
+import org.openoffice.extensions.util.datamodel.actions.BaseAction;
+import org.openoffice.extensions.util.datamodel.properties.LocalizedOpenOfficeOrgProperty;
+import org.openoffice.extensions.util.datamodel.NbNodeObject;
+import org.openoffice.extensions.util.datamodel.PropertyContainer;
+
+/**
+ *
+ * @author sg128468
+ */
+public class AddInNode extends AbstractNode implements PropertyChangeListener {
+
+ Action[] actions;
+
+ // node has subnodes
+ public static final String NODE_ICON =
+ "org/openoffice/extensions/projecttemplates/calcaddin/icons/method.png"; // NOI18N
+ public static final String PARAMETER_ICON =
+ "org/openoffice/extensions/projecttemplates/calcaddin/icons/parameter.png"; // NOI18N
+ public static final String SIMPLE_ICON =
+ "org/openoffice/extensions/projecttemplates/calcaddin/icons/name.png"; // NOI18N
+ public static final String DESC_ICON =
+ "org/openoffice/extensions/projecttemplates/calcaddin/icons/description.png"; // NOI18N
+
+ public AddInNode(NbNodeObject obj, Children children) {
+ super (children, Lookups.singleton(obj));
+ if (obj.hasActions(NbNodeObject.ADDIN_TYPE)) {
+ actions = obj.getActions(false);
+ }
+ }
+
+ public AddInNode() {
+ super (new AddInChildren());
+ setDisplayName ("Root"); // NOI18N
+ }
+
+ public Image getIcon (int type) {
+ String icon = SIMPLE_ICON;
+ Object o = this.getLookup().lookup(NbNodeObject.class);
+ if (o instanceof PropertyContainer) {
+ if (o instanceof Function) {
+ icon = NODE_ICON;
+ }
+ else {
+ icon = PARAMETER_ICON;
+ }
+ }
+ if (o instanceof LocalizedOpenOfficeOrgProperty) {
+ icon = DESC_ICON;
+ }
+ return ImageUtilities.loadImage(icon);
+ }
+
+ public String getDisplayName() {
+ NbNodeObject object = (NbNodeObject)getLookup().lookup(NbNodeObject.class);
+ String displayName = object.getDisplayName();
+ if (displayName.equals(super.getDisplayName())) {
+ return displayName;
+ }
+ setDisplayName(displayName);
+ return displayName;
+ }
+
+ public Image getOpenedIcon (int type) {
+ return getIcon(type);
+ }
+
+ public Action[] getActions(boolean context) {
+ if (actions == null)
+ return super.getActions(context);
+ return actions;
+ }
+
+ /**
+ * set AddinActions into the actions of this node, the AddinActions
+ * are used to perform the actions available in the context menu of the node
+ */
+ public void setActions(AddinActions addinActions) {
+ if (actions != null) {
+ NbNodeObject o = (NbNodeObject)this.getLookup().lookup(NbNodeObject.class);
+ // if the object should have actions for this type,
+ // give to it the base action class to wrap
+ if (o.hasActions(NbNodeObject.ADDIN_TYPE)) {
+ // rename setActions to something less confusing?
+ o.setActions((BaseAction)addinActions);
+ }
+ }
+ Children c = this.getChildren();
+ Node[] subnodes = c.getNodes();
+ for (int i=0; i<subnodes.length; i++)
+ ((AddInNode)subnodes[i]).setActions(addinActions);
+ }
+
+ protected Sheet createSheet() {
+ Sheet sheet = Sheet.createDefault();
+ NbNodeObject object = (NbNodeObject)getLookup().lookup(NbNodeObject.class);
+ // create the properties in the object and let the object set them
+ object.createProperties(sheet, this);
+ return sheet;
+ }
+
+ public void propertyChange(PropertyChangeEvent evt) {
+ this.fireCookieChange();
+ this.fireDisplayNameChange("o", "n"); // NOI18N
+ if (this.getParentNode() != null) {
+ ((PropertyChangeListener)this.getParentNode()).propertyChange(evt);
+ }
+ }
+
+ public void triggerChangeEvent() {
+ this.fireCookieChange();
+ this.fireDisplayNameChange("o", "n"); // NOI18N
+ }
+
+ public void triggerLanguageChange() {
+ NbNodeObject object = (NbNodeObject)getLookup().lookup(NbNodeObject.class);
+ // create the properties in the object and let the object set them
+ // this triggers the update of the property sheet
+ Sheet newSheet = this.getSheet();
+ Property[] newSet = object.createProperties(newSheet, this);
+ this.setSheet(newSheet);
+
+// fire property changes did not work: properties were not updated.
+// PropertySet[] propset = this.getPropertySets();
+// this.firePropertySetsChange(propset, null);
+// for(int i=0; i<propset.length; i++) {
+// Property[] prop = propset[i].getProperties();
+// LogWriter.getLogWriter().log(LogWriter.LEVEL_INFO, " " + propset[i].getDisplayName()); // NOI18N
+// for (int j=0; j<prop.length; j++) {
+// LogWriter.getLogWriter().log(LogWriter.LEVEL_INFO, " " + prop[j].getDisplayName()); // NOI18N
+// this.firePropertyChange(prop[j].getDisplayName(), null, ""); // NOI18N
+// }
+// }
+// }
+
+ Node[] subnodes = this.getChildren().getNodes();
+ for (int i=0; i<subnodes.length; i++)
+ ((AddInNode)subnodes[i]).triggerLanguageChange();
+ }
+}
Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/datamodel/node/AddInPropertyEditor.java
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/datamodel/node/AddInPropertyEditor.java?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/datamodel/node/AddInPropertyEditor.java (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/datamodel/node/AddInPropertyEditor.java Fri Jan 27 01:29:33 2012
@@ -0,0 +1,107 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: AddInPropertyEditor.java,v $
+ *
+ * $Revision: 1.3 $
+ *
+ * last change: $Author: sg $ $Date: 2007/05/03 09:53:51 $
+ *
+ * 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.projecttemplates.calcaddin.datamodel.node;
+
+import java.beans.FeatureDescriptor;
+import java.beans.PropertyEditorSupport;
+import org.openide.explorer.propertysheet.ExPropertyEditor;
+import org.openide.explorer.propertysheet.PropertyEnv;
+import org.openide.nodes.Node;
+
+/**
+ *
+ * @author sg128468
+ */
+public class AddInPropertyEditor extends PropertyEditorSupport implements ExPropertyEditor {
+
+ private static final String[] paramTags = new String[] {
+ "int", "double", "string", "int[][]", "double[][]", "String[][]",
+ "Object[][]", "Object", "XCellRange", "XPropertySet", "Object[]",
+ }; // NOI18N
+
+ private static final String[] returnTags = new String[] {
+ "int", "double", "String", "int[][]", "double[][]", "String[][]",
+ "Object[][]", "XVolatileResult", "Object",
+ }; // NOI18N
+
+ private static final String[] categoryTags = new String[] {
+ "Add-In",
+ "Database", "Date&Time", "Financial", "Information", "Logical",
+ "Mathematical", "Matrix", "Statistical", "Spreadsheet", "Text",
+ }; // NOI18N
+
+ private String[] actualTags;
+ public static final int CATEGORY_EDITOR = 0;
+ public static final int PARAMETER_EDITOR = 1;
+ public static final int RETURN_TYPE_EDITOR = 2;
+
+ private PropertyEnv propertyEnv;
+
+ /**
+ * Creates a new instance of AddInPropertyEditor
+ */
+ public AddInPropertyEditor(int editorType) {
+ switch(editorType) {
+ case CATEGORY_EDITOR:
+ actualTags = categoryTags;
+ break;
+ case PARAMETER_EDITOR:
+ actualTags = paramTags;
+ break;
+ case RETURN_TYPE_EDITOR:
+ actualTags = returnTags;
+ break;
+ default:
+ actualTags = new String[] {"unkown editor"}; // NOI18N
+ }
+ }
+
+ public String[] getTags() {
+ return actualTags;
+ }
+
+ public String getAsText() {
+ return (String)getValue();
+ }
+
+ public void setAsText(String text) {
+ setValue(text);
+ }
+
+ public void attachEnv(PropertyEnv propertyEnv) {
+ this.propertyEnv = propertyEnv;
+ }
+}
Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/datamodel/node/AddInTreeCreator.java
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/datamodel/node/AddInTreeCreator.java?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/datamodel/node/AddInTreeCreator.java (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/datamodel/node/AddInTreeCreator.java Fri Jan 27 01:29:33 2012
@@ -0,0 +1,61 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: AddInTreeCreator.java,v $
+ *
+ * $Revision: 1.4 $
+ *
+ * last change: $Author: sg $ $Date: 2006/12/07 16:35:29 $
+ *
+ * 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.projecttemplates.calcaddin.datamodel.node;
+
+import org.openoffice.extensions.projecttemplates.calcaddin.datamodel.AddIn;
+import org.openoffice.extensions.util.datamodel.Function;
+import org.openoffice.extensions.util.datamodel.NbNodeObject;
+import org.openoffice.extensions.util.datamodel.Parameter;
+
+/**
+ *
+ * @author sg128468
+ */
+public class AddInTreeCreator {
+
+ /**
+ * Creates a new instance of AddInTreeCreator
+ */
+ private AddInTreeCreator() {
+ }
+
+ public static AddInNode createInitialFunctionTree() {
+ AddIn addin = new AddIn();
+ addin.addFunction();
+ AddInNode rootNode = new AddInNode(addin, new AddInChildren());
+ return rootNode;
+ }
+}
Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/icons/description.png
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/icons/description.png?rev=1236486&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/icons/description.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/icons/method.png
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/icons/method.png?rev=1236486&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/icons/method.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/icons/name.png
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/icons/name.png?rev=1236486&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/icons/name.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/icons/netbeans.png
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/icons/netbeans.png?rev=1236486&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/icons/netbeans.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/icons/parameter.png
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/icons/parameter.png?rev=1236486&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/icons/parameter.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/icons/type.png
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/icons/type.png?rev=1236486&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/calcaddin/icons/type.png
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/Bundle.properties
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/Bundle.properties?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/Bundle.properties (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/Bundle.properties Fri Jan 27 01:29:33 2012
@@ -0,0 +1,181 @@
+Templates/Project/org-openoffice-extensions/ComponentProject=OpenOffice.org Component
+
+#ComponentPanel1
+LBL_ProjectName=Project &Name:
+LBL_ServiceName=&Class Name:
+LBL_Package=&Package:
+LBL_ProjectLocation=Project &Location:
+LBL_ProjectFolder=Project &Folder:
+LBL_CreatedFiles=Created Files:
+LBL_ButtonBrowse=Br&owse...
+CB_Backward_Compatibility=Create &backward compatible Component
+LBL_FileChooser_Title=Select Project Location
+LBL_Error_ProjectNameNotValid=Project Name is not a valid folder name.
+LBL_Error_ProjectFolderNotValid=Project Folder is not a valid path.
+LBL_Error_CreateProjectFolderNot=Project Folder cannot be created.
+LBL_Error_ProjectFolderNotEmpty=Project Folder already exists and is not empty.
+LBL_Error_MandatoryService=There has to be at least one implemented service with at least one valid interface.
+
+# tooltips
+TF_ProjectName_Tooltip=The name of the newly created project (also used as project folder name)
+TF_ClassName_Tooltip=The name of the main implementation class
+TF_PackageName_Tooltip=The Java package name
+TF_ProjectLocation_Tooltip=The path to the directory where the project will be created
+TF_ProjectFolder_Tooltip=The final destination folder of the new project
+BUTTON_Browse_Tooltip=Select a folder where the project will be created
+
+#NewTypeBrowserDialog
+LBL_TypeBrowser_Title=Select a new Data type
+
+#NewTemplateTypes
+LBL_TemplateTypes_Title=Select a Template type
+
+#EnumDataTypeDialog
+LBL_Button_AddEnum=&Add Enum
+LBL_ButtonDelete=&Delete
+
+#StructDataTypeDialog
+LBL_Button_AddType=&Add Type
+
+#ComponentPanel2
+LBL_CreateProjectStep=Name and Location
+LBL_IdlFiles=Define Service
+LBL_ButtonAddType=&Add Service/Interface...
+LBL_ServicesAndInterfaces=Implemented Services/Interfaces
+LBL_OwnDataTypes=Own Defined Data Types
+LBL_ButtonDeleteSelected=&Delete Selected
+LBL_ButtonDeleteSelected2=Delete &Selected
+LBL_ButtonDefineType=Define &New Data Type...
+LBL_ButtonEdit=&Edit...
+LBL_Show=Display Type
+#tooltips
+Button_AddServiceInterface_Tooltip=Add a new service or interface to the implementation
+Button_DeleteServiceInterface_Tooltip=Delete the selected service or interface (only from the implementation)
+Button_DefineDataType_Tooltip=Define a new data type
+Button_DeletDataType_Tooltip=Delete the selected own designed data type
+Button_EditDataType_Tooltip=Edit the selelected data type
+
+#ComponentCustomTypeEditor
+LBL_DisplayType=Display &Type
+LST_TypeList=All Interfaces Structs
+LBL_optionalCheckBox=&optional
+LBL_ambiguousCheckBox=&ambiguous
+LBL_defaultedCheckBox=&defaulted
+
+#ComponentRootNode
+LBL_Implement=Implement
+
+LBL_DataType=
+
+LBL_ButtonNewFunction=
+
+# templates
+# NOI18N
+InterfaceTemplate=\
+/*\
+\n * $!XMultiInheritanceInterface!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!XMultiInheritanceInterface!__\
+\n#define __$!PackageNameUnderscore!_$!XMultiInheritanceInterface!__\
+\n$!Import!\
+\n$!PackageNameModule!\
+\n interface $!XMultiInheritanceInterface! {\n\
+\n $!Import2!\
+\n $!Methods!\
+\n };\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+# a template for idl services
+# NOI18N
+ServiceTemplate=\
+/*\
+\n * $!Service!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!Service!__\
+\n#define __$!PackageNameUnderscore!_$!Service!__\
+\n$!Import!\
+\n$!CR!$!PackageNameModule!\
+\n service $!Service! : $!XMultiInheritanceInterface!;\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+# NOI18N
+EnumerationTemplate=\
+/*\
+\n * $!EnumName!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!EnumName!__\
+\n#define __$!PackageNameUnderscore!_$!EnumName!__\
+\n$!CR!$!PackageNameModule!\
+\n enum $!EnumName! {\n\
+\n $!Enums!\
+\n };\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+# NOI18N
+StructTemplate=\
+/*\
+\n * $!StructName!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!StructName!__\
+\n#define __$!PackageNameUnderscore!_$!StructName!__\
+\n$!CR!$!PackageNameModule!\
+\n struct $!StructName! {\n\
+\n $!Structs!\
+\n };\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+# NOI18N
+PolyStructTemplate=\
+/*\
+\n * $!PolyStructName!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!PolyStructName!__\
+\n#define __$!PackageNameUnderscore!_$!PolyStructName!__\
+\n$!Import!\
+\n$!CR!$!PackageNameModule!\
+\n struct $!PolyStructNameTemplate! {\n\
+\n $!Templates!\
+\n $!Properties!\
+\n };\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+# NOI18N
+ExceptionTemplate=\
+/*\
+\n * $!ExceptionName!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!ExceptionName!__\
+\n#define __$!PackageNameUnderscore!_$!ExceptionName!__\
+\n$!Import!\
+\n$!CR!$!PackageNameModule!\
+\n exception $!ExceptionName! :\
+\n $!ParentExceptionName!\
+\n {\
+\n };\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+
Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/Bundle_ja.properties
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/Bundle_ja.properties?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/Bundle_ja.properties (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/Bundle_ja.properties Fri Jan 27 01:29:33 2012
@@ -0,0 +1,333 @@
+# Templates/Project/org-openoffice-extensions/ComponentProject=OpenOffice.org Component
+Templates/Project/org-openoffice-extensions/ComponentProject=OpenOffice.org \u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8
+
+#ComponentPanel1
+# LBL_ProjectName=Project &Name:
+LBL_ProjectName=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d(&N):
+# LBL_ServiceName=&Class Name:
+LBL_ServiceName=\u30af\u30e9\u30b9\u540d(&C):
+# LBL_Package=&Package:
+LBL_Package=\u30d1\u30c3\u30b1\u30fc\u30b8(&P):
+# LBL_ProjectLocation=Project &Location:
+LBL_ProjectLocation=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u5834\u6240(&L):
+# LBL_ProjectFolder=Project &Folder:
+LBL_ProjectFolder=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a9\u30eb\u30c0(&F):
+# LBL_CreatedFiles=Created Files:
+LBL_CreatedFiles=\u4f5c\u6210\u3055\u308c\u308b\u30d5\u30a1\u30a4\u30eb:
+# LBL_ButtonBrowse=Br&owse...
+LBL_ButtonBrowse=\u53c2\u7167(&O)...
+# CB_Backward_Compatibility=Create &backward compatible Component
+CB_Backward_Compatibility=\u4e0b\u4f4d\u4e92\u63db\u6027\u306e\u3042\u308b\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f5c\u6210(&B)
+# LBL_FileChooser_Title=Select Project Location
+LBL_FileChooser_Title=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u5834\u6240\u3092\u9078\u629e
+# LBL_Error_ProjectNameNotValid=Project Name is not a valid folder name.
+LBL_Error_ProjectNameNotValid=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u304c\u6709\u52b9\u306a\u30d5\u30a9\u30eb\u30c0\u540d\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002
+# LBL_Error_ProjectFolderNotValid=Project Folder is not a valid path.
+LBL_Error_ProjectFolderNotValid=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a9\u30eb\u30c0\u304c\u4e0d\u6b63\u306a\u30d1\u30b9\u3067\u3059\u3002
+# LBL_Error_CreateProjectFolderNot=Project Folder cannot be created.
+LBL_Error_CreateProjectFolderNot=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a9\u30eb\u30c0\u3092\u4f5c\u6210\u3067\u304d\u307e\u305b\u3093\u3002
+# LBL_Error_ProjectFolderNotEmpty=Project Folder already exists and is not empty.
+LBL_Error_ProjectFolderNotEmpty=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a9\u30eb\u30c0\u306f\u3059\u3067\u306b\u5b58\u5728\u3057\u3001\u7a7a\u3067\u306f\u3042\u308a\u307e\u305b\u3093\u3002
+# LBL_Error_MandatoryService=There has to be at least one implemented service with at least one valid interface.
+LBL_Error_MandatoryService=\u5c11\u306a\u304f\u3068\u3082 1 \u3064\u306e\u6709\u52b9\u306a\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u3092\u6301\u3064\u30011 \u3064\u4ee5\u4e0a\u306e\u5b9f\u88c5\u30b5\u30fc\u30d3\u30b9\u304c\u5fc5\u8981\u3067\u3059\u3002
+
+# tooltips
+# TF_ProjectName_Tooltip=The name of the newly created project (also used as project folder name)
+TF_ProjectName_Tooltip=\u65b0\u3057\u304f\u4f5c\u6210\u3057\u305f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u540d\u524d (\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u30d5\u30a9\u30eb\u30c0\u540d\u3068\u3057\u3066\u3082\u4f7f\u7528)
+# TF_ClassName_Tooltip=The name of the main implementation class
+TF_ClassName_Tooltip=\u4e3b\u5b9f\u88c5\u30af\u30e9\u30b9\u306e\u540d\u524d
+# TF_PackageName_Tooltip=The Java package name
+TF_PackageName_Tooltip=Java \u30d1\u30c3\u30b1\u30fc\u30b8\u540d
+# TF_ProjectLocation_Tooltip=The path to the directory where the project will be created
+TF_ProjectLocation_Tooltip=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u4f5c\u6210\u3055\u308c\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3078\u306e\u30d1\u30b9
+# TF_ProjectFolder_Tooltip=The final destination folder of the new project
+TF_ProjectFolder_Tooltip=\u65b0\u898f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u6700\u7d42\u7684\u306a\u5c55\u958b\u5148\u30d5\u30a9\u30eb\u30c0
+# BUTTON_Browse_Tooltip=Select a folder where the project will be created
+BUTTON_Browse_Tooltip=\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u304c\u4f5c\u6210\u3055\u308c\u308b\u30d5\u30a9\u30eb\u30c0\u3092\u9078\u629e
+
+#NewTypeBrowserDialog
+# LBL_TypeBrowser_Title=Select a new Data type
+LBL_TypeBrowser_Title=\u65b0\u898f\u30c7\u30fc\u30bf\u578b\u3092\u9078\u629e
+
+#NewTemplateTypes
+# LBL_TemplateTypes_Title=Select a Template type
+LBL_TemplateTypes_Title=\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u578b\u3092\u9078\u629e
+
+#EnumDataTypeDialog
+# LBL_Button_AddEnum=&Add Enum
+LBL_Button_AddEnum=\u5217\u6319\u3092\u8ffd\u52a0(&A)
+# LBL_ButtonDelete=&Delete
+LBL_ButtonDelete=\u524a\u9664(&D)
+
+#StructDataTypeDialog
+# LBL_Button_AddType=&Add Type
+LBL_Button_AddType=\u578b\u3092\u8ffd\u52a0(&A)
+
+#ComponentPanel2
+# LBL_CreateProjectStep=Name and Location
+LBL_CreateProjectStep=\u540d\u524d\u3068\u5834\u6240
+# LBL_IdlFiles=Define Service
+LBL_IdlFiles=\u30b5\u30fc\u30d3\u30b9\u3092\u5b9a\u7fa9
+# LBL_ButtonAddType=&Add Service/Interface...
+LBL_ButtonAddType=\u30b5\u30fc\u30d3\u30b9/\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u3092\u8ffd\u52a0(&A)...
+# LBL_ServicesAndInterfaces=Implemented Services/Interfaces
+LBL_ServicesAndInterfaces=\u5b9f\u88c5\u3055\u308c\u3066\u3044\u308b\u30b5\u30fc\u30d3\u30b9/\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9
+# LBL_OwnDataTypes=Own Defined Data Types
+LBL_OwnDataTypes=\u72ec\u81ea\u306b\u5b9a\u7fa9\u3057\u305f\u30c7\u30fc\u30bf\u578b
+# LBL_ButtonDeleteSelected=&Delete Selected
+LBL_ButtonDeleteSelected=\u9078\u629e\u3092\u524a\u9664(&D)
+# LBL_ButtonDeleteSelected2=Delete &Selected
+LBL_ButtonDeleteSelected2=\u9078\u629e\u3092\u524a\u9664(&S)
+# LBL_ButtonDefineType=Define &New Data Type...
+LBL_ButtonDefineType=\u65b0\u898f\u30c7\u30fc\u30bf\u578b\u3092\u5b9a\u7fa9(&N)...
+# LBL_ButtonEdit=&Edit...
+LBL_ButtonEdit=\u7de8\u96c6(&E)...
+# LBL_Show=Display Type
+LBL_Show=\u578b\u3092\u8868\u793a
+#tooltips
+# Button_AddServiceInterface_Tooltip=Add a new service or interface to the implementation
+Button_AddServiceInterface_Tooltip=\u5b9f\u88c5\u306b\u65b0\u898f\u30b5\u30fc\u30d3\u30b9\u307e\u305f\u306f\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u3092\u8ffd\u52a0
+# Button_DeleteServiceInterface_Tooltip=Delete the selected service or interface (only from the implementation)
+Button_DeleteServiceInterface_Tooltip=\u9078\u629e\u3057\u305f\u30b5\u30fc\u30d3\u30b9\u307e\u305f\u306f\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u3092\u524a\u9664 (\u5b9f\u88c5\u304b\u3089\u306e\u307f)
+# Button_DefineDataType_Tooltip=Define a new data type
+Button_DefineDataType_Tooltip=\u65b0\u898f\u30c7\u30fc\u30bf\u578b\u3092\u5b9a\u7fa9
+# Button_DeletDataType_Tooltip=Delete the selected own designed data type
+Button_DeletDataType_Tooltip=\u9078\u629e\u3057\u305f\u72ec\u81ea\u8a2d\u8a08\u306e\u30c7\u30fc\u30bf\u578b\u3092\u524a\u9664
+# Button_EditDataType_Tooltip=Edit the selelected data type
+Button_EditDataType_Tooltip=\u9078\u629e\u3057\u305f\u30c7\u30fc\u30bf\u578b\u3092\u7de8\u96c6
+
+#ComponentCustomTypeEditor
+# LBL_DisplayType=Display &Type
+LBL_DisplayType=\u578b\u3092\u8868\u793a(&T)
+# LST_TypeList=All Interfaces Structs
+LST_TypeList=\u3059\u3079\u3066\u306e\u30a4\u30f3\u30bf\u30d5\u30a7\u30fc\u30b9\u69cb\u9020
+# LBL_optionalCheckBox=&optional
+LBL_optionalCheckBox=\u30aa\u30d7\u30b7\u30e7\u30f3(&O)
+# LBL_ambiguousCheckBox=&ambiguous
+LBL_ambiguousCheckBox=\u3042\u3044\u307e\u3044(&A)
+# LBL_defaultedCheckBox=&defaulted
+LBL_defaultedCheckBox=\u30c7\u30d5\u30a9\u30eb\u30c8(&D)
+
+#ComponentRootNode
+# LBL_Implement=Implement
+LBL_Implement=\u5b9f\u88c5
+
+# LBL_DataType=
+LBL_DataType=
+
+# LBL_ButtonNewFunction=
+LBL_ButtonNewFunction=
+
+# templates
+# NOI18N
+# InterfaceTemplate=\
+# /*\
+# \n * $!XMultiInheritanceInterface!.idl\
+# \n *\
+# \n * Created on $!TimeStamp!\
+# \n *\
+# \n */\
+# \n$!CR!#ifndef __$!PackageNameUnderscore!_$!XMultiInheritanceInterface!__\
+# \n#define __$!PackageNameUnderscore!_$!XMultiInheritanceInterface!__\
+# \n$!Import!\
+# \n$!PackageNameModule!\
+# \n interface $!XMultiInheritanceInterface! {\n\
+# \n $!Import2!\
+# \n $!Methods!\
+# \n };\
+# \n$!CloseModule!\
+# \n$!CR!#endif
+
+InterfaceTemplate=\
+/*\
+\n * $!XMultiInheritanceInterface!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!XMultiInheritanceInterface!__\
+\n#define __$!PackageNameUnderscore!_$!XMultiInheritanceInterface!__\
+\n$!Import!\
+\n$!PackageNameModule!\
+\n interface $!XMultiInheritanceInterface! {\n\
+\n $!Import2!\
+\n $!Methods!\
+\n };\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+# a template for idl services
+# NOI18N
+# ServiceTemplate=\
+# /*\
+# \n * $!Service!.idl\
+# \n *\
+# \n * Created on $!TimeStamp!\
+# \n *\
+# \n */\
+# \n$!CR!#ifndef __$!PackageNameUnderscore!_$!Service!__\
+# \n#define __$!PackageNameUnderscore!_$!Service!__\
+# \n$!Import!\
+# \n$!CR!$!PackageNameModule!\
+# \n service $!Service! : $!XMultiInheritanceInterface!;\
+# \n$!CloseModule!\
+# \n$!CR!#endif
+
+ServiceTemplate=\
+/*\
+\n * $!Service!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!Service!__\
+\n#define __$!PackageNameUnderscore!_$!Service!__\
+\n$!Import!\
+\n$!CR!$!PackageNameModule!\
+\n service $!Service! : $!XMultiInheritanceInterface!;\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+# NOI18N
+# EnumerationTemplate=\
+# /*\
+# \n * $!EnumName!.idl\
+# \n *\
+# \n * Created on $!TimeStamp!\
+# \n *\
+# \n */\
+# \n$!CR!#ifndef __$!PackageNameUnderscore!_$!EnumName!__\
+# \n#define __$!PackageNameUnderscore!_$!EnumName!__\
+# \n$!CR!$!PackageNameModule!\
+# \n enum $!EnumName! {\n\
+# \n $!Enums!\
+# \n };\
+# \n$!CloseModule!\
+# \n$!CR!#endif
+
+EnumerationTemplate=\
+/*\
+\n * $!EnumName!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!EnumName!__\
+\n#define __$!PackageNameUnderscore!_$!EnumName!__\
+\n$!CR!$!PackageNameModule!\
+\n enum $!EnumName! {\n\
+\n $!Enums!\
+\n };\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+# NOI18N
+# StructTemplate=\
+# /*\
+# \n * $!StructName!.idl\
+# \n *\
+# \n * Created on $!TimeStamp!\
+# \n *\
+# \n */\
+# \n$!CR!#ifndef __$!PackageNameUnderscore!_$!StructName!__\
+# \n#define __$!PackageNameUnderscore!_$!StructName!__\
+# \n$!CR!$!PackageNameModule!\
+# \n struct $!StructName! {\n\
+# \n $!Structs!\
+# \n };\
+# \n$!CloseModule!\
+# \n$!CR!#endif
+
+StructTemplate=\
+/*\
+\n * $!StructName!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!StructName!__\
+\n#define __$!PackageNameUnderscore!_$!StructName!__\
+\n$!CR!$!PackageNameModule!\
+\n struct $!StructName! {\n\
+\n $!Structs!\
+\n };\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+# NOI18N
+# PolyStructTemplate=\
+# /*\
+# \n * $!PolyStructName!.idl\
+# \n *\
+# \n * Created on $!TimeStamp!\
+# \n *\
+# \n */\
+# \n$!CR!#ifndef __$!PackageNameUnderscore!_$!PolyStructName!__\
+# \n#define __$!PackageNameUnderscore!_$!PolyStructName!__\
+# \n$!Import!\
+# \n$!CR!$!PackageNameModule!\
+# \n struct $!PolyStructNameTemplate! {\n\
+# \n $!Templates!\
+# \n $!Properties!\
+# \n };\
+# \n$!CloseModule!\
+# \n$!CR!#endif
+
+PolyStructTemplate=\
+/*\
+\n * $!PolyStructName!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!PolyStructName!__\
+\n#define __$!PackageNameUnderscore!_$!PolyStructName!__\
+\n$!Import!\
+\n$!CR!$!PackageNameModule!\
+\n struct $!PolyStructNameTemplate! {\n\
+\n $!Templates!\
+\n $!Properties!\
+\n };\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+# NOI18N
+# ExceptionTemplate=\
+# /*\
+# \n * $!ExceptionName!.idl\
+# \n *\
+# \n * Created on $!TimeStamp!\
+# \n *\
+# \n */\
+# \n$!CR!#ifndef __$!PackageNameUnderscore!_$!ExceptionName!__\
+# \n#define __$!PackageNameUnderscore!_$!ExceptionName!__\
+# \n$!Import!\
+# \n$!CR!$!PackageNameModule!\
+# \n exception $!ExceptionName! :\
+# \n $!ParentExceptionName!\
+# \n {\
+# \n };\
+# \n$!CloseModule!\
+# \n$!CR!#endif
+
+ExceptionTemplate=\
+/*\
+\n * $!ExceptionName!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!ExceptionName!__\
+\n#define __$!PackageNameUnderscore!_$!ExceptionName!__\
+\n$!Import!\
+\n$!CR!$!PackageNameModule!\
+\n exception $!ExceptionName! :\
+\n $!ParentExceptionName!\
+\n {\
+\n };\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+
+
+
Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/Bundle_pt_BR.properties
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/Bundle_pt_BR.properties?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/Bundle_pt_BR.properties (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/Bundle_pt_BR.properties Fri Jan 27 01:29:33 2012
@@ -0,0 +1,181 @@
+Templates/Project/org-openoffice-extensions/ComponentProject=OpenOffice.org Component
+
+#ComponentPanel1
+LBL_ProjectName=Project &Name:
+LBL_ServiceName=&Class Name:
+LBL_Package=&Package:
+LBL_ProjectLocation=Project &Location:
+LBL_ProjectFolder=Project &Folder:
+LBL_CreatedFiles=Created Files:
+LBL_ButtonBrowse=Br&owse...
+CB_Backward_Compatibility=Create &backward compatible Component
+LBL_FileChooser_Title=Select Project Location
+LBL_Error_ProjectNameNotValid=Project Name is not a valid folder name.
+LBL_Error_ProjectFolderNotValid=Project Folder is not a valid path.
+LBL_Error_CreateProjectFolderNot=Project Folder cannot be created.
+LBL_Error_ProjectFolderNotEmpty=Project Folder already exists and is not empty.
+LBL_Error_MandatoryService=There has to be at least one implemented service with at least one valid interface.
+
+# tooltips
+TF_ProjectName_Tooltip=The name of the newly created project (also used as project folder name)
+TF_ClassName_Tooltip=The name of the main implementation class
+TF_PackageName_Tooltip=The Java package name
+TF_ProjectLocation_Tooltip=The path to the directory where the project will be created
+TF_ProjectFolder_Tooltip=The final destination folder of the new project
+BUTTON_Browse_Tooltip=Select a folder where the project will be created
+
+#NewTypeBrowserDialog
+LBL_TypeBrowser_Title=Select a new Data type
+
+#NewTemplateTypes
+LBL_TemplateTypes_Title=Select a Template type
+
+#EnumDataTypeDialog
+LBL_Button_AddEnum=&Add Enum
+LBL_ButtonDelete=&Delete
+
+#StructDataTypeDialog
+LBL_Button_AddType=&Add Type
+
+#ComponentPanel2
+LBL_CreateProjectStep=Name and Location
+LBL_IdlFiles=Define Service
+LBL_ButtonAddType=&Add Service/Interface...
+LBL_ServicesAndInterfaces=Implemented Services/Interfaces
+LBL_OwnDataTypes=Own Defined Data Types
+LBL_ButtonDeleteSelected=&Delete Selected
+LBL_ButtonDeleteSelected2=Delete &Selected
+LBL_ButtonDefineType=Define &New Data Type...
+LBL_ButtonEdit=&Edit...
+LBL_Show=Display Type
+#tooltips
+Button_AddServiceInterface_Tooltip=Add a new service or interface to the implementation
+Button_DeleteServiceInterface_Tooltip=Delete the selected service or interface (only from the implementation)
+Button_DefineDataType_Tooltip=Define a new data type
+Button_DeletDataType_Tooltip=Delete the selected own designed data type
+Button_EditDataType_Tooltip=Edit the selelected data type
+
+#ComponentCustomTypeEditor
+LBL_DisplayType=Display &Type
+LST_TypeList=All Interfaces Structs
+LBL_optionalCheckBox=&optional
+LBL_ambiguousCheckBox=&ambiguous
+LBL_defaultedCheckBox=&defaulted
+
+#ComponentRootNode
+LBL_Implement=Implement
+
+LBL_DataType=
+
+LBL_ButtonNewFunction=
+
+# templates
+# NOI18N
+InterfaceTemplate=\
+/*\
+\n * $!XMultiInheritanceInterface!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!XMultiInheritanceInterface!__\
+\n#define __$!PackageNameUnderscore!_$!XMultiInheritanceInterface!__\
+\n$!Import!\
+\n$!PackageNameModule!\
+\n interface $!XMultiInheritanceInterface! {\n\
+\n $!Import2!\
+\n $!Methods!\
+\n };\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+# a template for idl services
+# NOI18N
+ServiceTemplate=\
+/*\
+\n * $!Service!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!Service!__\
+\n#define __$!PackageNameUnderscore!_$!Service!__\
+\n$!Import!\
+\n$!CR!$!PackageNameModule!\
+\n service $!Service! : $!XMultiInheritanceInterface!;\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+# NOI18N
+EnumerationTemplate=\
+/*\
+\n * $!EnumName!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!EnumName!__\
+\n#define __$!PackageNameUnderscore!_$!EnumName!__\
+\n$!CR!$!PackageNameModule!\
+\n enum $!EnumName! {\n\
+\n $!Enums!\
+\n };\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+# NOI18N
+StructTemplate=\
+/*\
+\n * $!StructName!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!StructName!__\
+\n#define __$!PackageNameUnderscore!_$!StructName!__\
+\n$!CR!$!PackageNameModule!\
+\n struct $!StructName! {\n\
+\n $!Structs!\
+\n };\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+# NOI18N
+PolyStructTemplate=\
+/*\
+\n * $!PolyStructName!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!PolyStructName!__\
+\n#define __$!PackageNameUnderscore!_$!PolyStructName!__\
+\n$!Import!\
+\n$!CR!$!PackageNameModule!\
+\n struct $!PolyStructNameTemplate! {\n\
+\n $!Templates!\
+\n $!Properties!\
+\n };\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+# NOI18N
+ExceptionTemplate=\
+/*\
+\n * $!ExceptionName!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!ExceptionName!__\
+\n#define __$!PackageNameUnderscore!_$!ExceptionName!__\
+\n$!Import!\
+\n$!CR!$!PackageNameModule!\
+\n exception $!ExceptionName! :\
+\n $!ParentExceptionName!\
+\n {\
+\n };\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+
Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/Bundle_zh_CN.properties
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/Bundle_zh_CN.properties?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/Bundle_zh_CN.properties (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/Bundle_zh_CN.properties Fri Jan 27 01:29:33 2012
@@ -0,0 +1,181 @@
+Templates/Project/org-openoffice-extensions/ComponentProject=OpenOffice.org \u7ec4\u4ef6
+
+#ComponentPanel1
+LBL_ProjectName=\u9879\u76ee\u540d\u79f0(&N)\uff1a
+LBL_ServiceName=\u7c7b\u540d(&C)\uff1a
+LBL_Package=\u5305(&P)\uff1a
+LBL_ProjectLocation=\u9879\u76ee\u4f4d\u7f6e(&L)\uff1a
+LBL_ProjectFolder=\u9879\u76ee\u6587\u4ef6\u5939(&F)\uff1a
+LBL_CreatedFiles=\u521b\u5efa\u7684\u6587\u4ef6\uff1a
+LBL_ButtonBrowse=\u6d4f\u89c8(&O)...
+CB_Backward_Compatibility=\u521b\u5efa\u5411\u540e\u517c\u5bb9\u7684\u7ec4\u4ef6(&B)
+LBL_FileChooser_Title=\u9009\u62e9\u9879\u76ee\u4f4d\u7f6e
+LBL_Error_ProjectNameNotValid=\u9879\u76ee\u540d\u79f0\u662f\u65e0\u6548\u7684\u6587\u4ef6\u5939\u540d\u79f0\u3002
+LBL_Error_ProjectFolderNotValid=\u9879\u76ee\u6587\u4ef6\u5939\u4e0d\u5177\u5907\u6709\u6548\u7684\u8def\u5f84\u3002
+LBL_Error_CreateProjectFolderNot=\u65e0\u6cd5\u521b\u5efa\u9879\u76ee\u6587\u4ef6\u5939\u3002
+LBL_Error_ProjectFolderNotEmpty=\u9879\u76ee\u6587\u4ef6\u5939\u5df2\u5b58\u5728\u4e14\u4e0d\u4e3a\u7a7a\u3002
+LBL_Error_MandatoryService=\u5fc5\u987b\u81f3\u5c11\u5177\u6709\u4e00\u4e2a\u5b9e\u73b0\u7684\u670d\u52a1\uff0c\u5e76\u4e14\u8be5\u670d\u52a1\u81f3\u5c11\u8981\u5305\u542b\u4e00\u4e2a\u6709\u6548\u63a5\u53e3\u3002
+
+# tooltips
+TF_ProjectName_Tooltip=\u65b0\u5efa\u9879\u76ee\u7684\u540d\u79f0\uff08\u4e5f\u7528\u4f5c\u9879\u76ee\u6587\u4ef6\u5939\u540d\u79f0\uff09
+TF_ClassName_Tooltip=\u4e3b\u5b9e\u73b0\u7c7b\u7684\u540d\u79f0
+TF_PackageName_Tooltip=Java \u5305\u540d
+TF_ProjectLocation_Tooltip=\u5c06\u5728\u5176\u4e2d\u521b\u5efa\u9879\u76ee\u7684\u76ee\u5f55\u8def\u5f84
+TF_ProjectFolder_Tooltip=\u65b0\u5efa\u9879\u76ee\u7684\u6700\u7ec8\u76ee\u6807\u6587\u4ef6\u5939
+BUTTON_Browse_Tooltip=\u9009\u62e9\u4e00\u4e2a\u5c06\u5728\u5176\u4e2d\u521b\u5efa\u9879\u76ee\u7684\u6587\u4ef6\u5939
+
+#NewTypeBrowserDialog
+LBL_TypeBrowser_Title=\u9009\u62e9\u4e00\u4e2a\u65b0\u7684\u6570\u636e\u7c7b\u578b
+
+#NewTemplateTypes
+LBL_TemplateTypes_Title=\u9009\u62e9\u4e00\u4e2a\u6a21\u677f\u7c7b\u578b
+
+#EnumDataTypeDialog
+LBL_Button_AddEnum=\u6dfb\u52a0\u679a\u4e3e(&A)
+LBL_ButtonDelete=\u5220\u9664(&D)
+
+#StructDataTypeDialog
+LBL_Button_AddType=\u6dfb\u52a0\u7c7b\u578b(&A)
+
+#ComponentPanel2
+LBL_CreateProjectStep=\u540d\u79f0\u548c\u4f4d\u7f6e
+LBL_IdlFiles=\u5b9a\u4e49\u670d\u52a1
+LBL_ButtonAddType=\u6dfb\u52a0\u670d\u52a1/\u63a5\u53e3(&A)...
+LBL_ServicesAndInterfaces=\u5b9e\u73b0\u7684\u670d\u52a1/\u63a5\u53e3
+LBL_OwnDataTypes=\u81ea\u5b9a\u4e49\u7684\u6570\u636e\u7c7b\u578b
+LBL_ButtonDeleteSelected=\u5220\u9664\u9009\u5b9a\u9879(&D)
+LBL_ButtonDeleteSelected2=\u5220\u9664\u9009\u5b9a\u9879(&S)
+LBL_ButtonDefineType=\u5b9a\u4e49\u65b0\u7684\u6570\u636e\u7c7b\u578b(&N)...
+LBL_ButtonEdit=\u7f16\u8f91(&E)...
+LBL_Show=\u663e\u793a\u7c7b\u578b
+#tooltips
+Button_AddServiceInterface_Tooltip=\u5728\u5b9e\u73b0\u4e2d\u6dfb\u52a0\u4e00\u4e2a\u65b0\u7684\u670d\u52a1\u6216\u63a5\u53e3
+Button_DeleteServiceInterface_Tooltip=\u5220\u9664\u9009\u5b9a\u7684\u670d\u52a1\u6216\u63a5\u53e3\uff08\u4ec5\u4ece\u5b9e\u73b0\u4e2d\uff09
+Button_DefineDataType_Tooltip=\u5b9a\u4e49\u4e00\u4e2a\u65b0\u7684\u6570\u636e\u7c7b\u578b
+Button_DeletDataType_Tooltip=\u5220\u9664\u9009\u5b9a\u7684\u81ea\u5b9a\u4e49\u6570\u636e\u7c7b\u578b
+Button_EditDataType_Tooltip=\u7f16\u8f91\u9009\u5b9a\u7684\u6570\u636e\u7c7b\u578b
+
+#ComponentCustomTypeEditor
+LBL_DisplayType=\u663e\u793a\u7c7b\u578b(&T)
+LST_TypeList=\u6240\u6709\u63a5\u53e3\u7ed3\u6784
+LBL_optionalCheckBox=\u53ef\u9009(&O)
+LBL_ambiguousCheckBox=\u4e0d\u786e\u5b9a(&A)
+LBL_defaultedCheckBox=\u7f3a\u7701(&D)
+
+#ComponentRootNode
+LBL_Implement=\u5b9e\u73b0
+
+LBL_DataType=
+
+LBL_ButtonNewFunction=
+
+# templates
+# NOI18N
+InterfaceTemplate=\
+/*\
+\n * $!XMultiInheritanceInterface!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!XMultiInheritanceInterface!__\
+\n#define __$!PackageNameUnderscore!_$!XMultiInheritanceInterface!__\
+\n$!Import!\
+\n$!PackageNameModule!\
+\n interface $!XMultiInheritanceInterface! {\n\
+\n $!Import2!\
+\n $!Methods!\
+\n };\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+# a template for idl services
+# NOI18N
+ServiceTemplate=\
+/*\
+\n * $!Service!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!Service!__\
+\n#define __$!PackageNameUnderscore!_$!Service!__\
+\n$!Import!\
+\n$!CR!$!PackageNameModule!\
+\n service $!Service! : $!XMultiInheritanceInterface!;\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+# NOI18N
+EnumerationTemplate=\
+/*\
+\n * $!EnumName!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!EnumName!__\
+\n#define __$!PackageNameUnderscore!_$!EnumName!__\
+\n$!CR!$!PackageNameModule!\
+\n enum $!EnumName! {\n\
+\n $!Enums!\
+\n };\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+# NOI18N
+StructTemplate=\
+/*\
+\n * $!StructName!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!StructName!__\
+\n#define __$!PackageNameUnderscore!_$!StructName!__\
+\n$!CR!$!PackageNameModule!\
+\n struct $!StructName! {\n\
+\n $!Structs!\
+\n };\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+# NOI18N
+PolyStructTemplate=\
+/*\
+\n * $!PolyStructName!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!PolyStructName!__\
+\n#define __$!PackageNameUnderscore!_$!PolyStructName!__\
+\n$!Import!\
+\n$!CR!$!PackageNameModule!\
+\n struct $!PolyStructNameTemplate! {\n\
+\n $!Templates!\
+\n $!Properties!\
+\n };\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+# NOI18N
+ExceptionTemplate=\
+/*\
+\n * $!ExceptionName!.idl\
+\n *\
+\n * Created on $!TimeStamp!\
+\n *\
+\n */\
+\n$!CR!#ifndef __$!PackageNameUnderscore!_$!ExceptionName!__\
+\n#define __$!PackageNameUnderscore!_$!ExceptionName!__\
+\n$!Import!\
+\n$!CR!$!PackageNameModule!\
+\n exception $!ExceptionName! :\
+\n $!ParentExceptionName!\
+\n {\
+\n };\
+\n$!CloseModule!\
+\n$!CR!#endif
+
+
Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentActions.java
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentActions.java?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentActions.java (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentActions.java Fri Jan 27 01:29:33 2012
@@ -0,0 +1,181 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: ComponentActions.java,v $
+ *
+ * $Revision: 1.6 $
+ *
+ * last change: $Author: sg $ $Date: 2007/04/24 10:08:25 $
+ *
+ * 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.projecttemplates.component;
+
+import org.openide.explorer.ExplorerManager;
+import org.openide.nodes.Node;
+import org.openoffice.extensions.projecttemplates.component.dialogs.ChangeEventPanel;
+import org.openoffice.extensions.projecttemplates.component.dialogs.ValidateDataType;
+import org.openoffice.extensions.util.datamodel.Function;
+import org.openoffice.extensions.util.datamodel.IdlEnum;
+import org.openoffice.extensions.util.datamodel.NbNodeObject;
+import org.openoffice.extensions.util.datamodel.Parameter;
+import org.openoffice.extensions.projecttemplates.component.datamodel.types.node.ComponentTypeChildren;
+import org.openoffice.extensions.projecttemplates.component.datamodel.types.node.ComponentTypeNode;
+import org.openoffice.extensions.util.datamodel.IdlEnumeration;
+import org.openoffice.extensions.util.datamodel.Interface;
+import org.openoffice.extensions.util.datamodel.Struct;
+
+/**
+ *
+ * @author sg128468
+ */
+public class ComponentActions {
+
+ private ExplorerManager manager;
+ private ChangeEventPanel panel;
+
+ /**
+ * Creates a new instance of ComponentActions
+ */
+ public ComponentActions(ExplorerManager manager, ChangeEventPanel panel) {
+ this.manager = manager;
+ this.panel = panel;
+ }
+
+ public void deleteActions() {
+ // because of TreeSelectionModel.SINGLE_TREE_SELECTION max. one node is selected
+ Node[] selectedNodes = manager.getSelectedNodes();
+ if (selectedNodes.length > 0) {
+ Node selectedNode = selectedNodes[0];
+ Node ifcNode = selectedNode.getParentNode();
+ NbNodeObject nodeObject = (NbNodeObject)selectedNode.getLookup().lookup(NbNodeObject.class);
+ if (nodeObject.getType() == NbNodeObject.FUNCTION_TYPE) {
+ Function f = (Function)nodeObject;
+ Interface ifc = (Interface)nodeObject.getParent();
+ ifc.removeFunction(f);
+ // update UI
+ updateUI(ifcNode);
+ }
+ else if (nodeObject.getType() == NbNodeObject.PARAMETER_TYPE) {
+ Parameter p = (Parameter)nodeObject;
+ NbNodeObject parentNode = nodeObject.getParent();
+ Node functionNode = selectedNode.getParentNode();
+ if (parentNode.getType() == NbNodeObject.FUNCTION_TYPE) {
+ Function f = (Function)parentNode;
+ f.removeParameter(p);
+ ((ComponentTypeNode)functionNode).triggerChangeEvent(); // updates function display name
+ }
+ else if (parentNode.getType() == NbNodeObject.STRUCT_TYPE) {
+ Struct s = (Struct)parentNode;
+ s.removeStructType(p);
+ }
+ updateUI(functionNode);
+ }
+ else if (nodeObject.getType() == NbNodeObject.ENUM_TYPE) {
+ IdlEnum e = (IdlEnum)nodeObject;
+ IdlEnumeration enm = (IdlEnumeration)nodeObject.getParent();
+ enm.removeEnum(e);
+ // update UI
+ updateUI(selectedNode.getParentNode());
+ }
+ }
+ }
+
+ public void addParameterAction() {
+ // because of TreeSelectionModel.SINGLE_TREE_SELECTION max. one node is selected
+ Node[] selectedNodes = manager.getSelectedNodes();
+ if (selectedNodes.length > 0) {
+ Node selectedNode = selectedNodes[0];
+
+ // get the data object
+ NbNodeObject nodeObject = (NbNodeObject)selectedNode.getLookup().lookup(NbNodeObject.class);
+ if (nodeObject.getType() == NbNodeObject.FUNCTION_TYPE) {
+ Function f = (Function)nodeObject;
+ f.addParameter(nodeObject); // addParameter after
+ // update UI
+ ((ComponentTypeNode)selectedNode).triggerChangeEvent(); // updates function display name
+ updateUI(selectedNode);
+ }
+ else if (nodeObject.getType() == NbNodeObject.STRUCT_TYPE) {
+ Struct s = (Struct)nodeObject;
+ s.addStructType(nodeObject);
+ // update UI
+ updateUI(selectedNode);
+ }
+ else if (nodeObject.getType() == NbNodeObject.PARAMETER_TYPE) {
+ NbNodeObject parentNode = nodeObject.getParent();
+ if (parentNode.getType() == NbNodeObject.FUNCTION_TYPE) {
+ Function f = (Function)parentNode;
+ f.addParameter(nodeObject); // addParameter after
+ // update UI
+ Node functionNode = selectedNode.getParentNode();
+ ((ComponentTypeNode)functionNode).triggerChangeEvent(); // updates function display name
+ updateUI(functionNode);
+ }
+ else if (parentNode.getType() == NbNodeObject.STRUCT_TYPE) {
+ Struct s = (Struct)parentNode;
+ s.addStructType(nodeObject); // addParameter after
+ // update UI
+ updateUI(selectedNode.getParentNode());
+ }
+ }
+ }
+// panel.fireChangeEvent(); // Notify that the panel changed
+ }
+
+ public void addFunctionAction() {
+ // get root node
+ ComponentTypeNode rootNode = (ComponentTypeNode)manager.getRootContext();
+ // get the data object
+ NbNodeObject nodeObject = (NbNodeObject)rootNode.getLookup().lookup(NbNodeObject.class);
+ Interface ifc = (Interface)nodeObject;
+ // add function
+ ifc.addFunction();
+
+ // update UI
+ updateUI(rootNode);
+ }
+
+ public void addEnumAction() {
+ // get root node
+ ComponentTypeNode rootNode = (ComponentTypeNode)manager.getRootContext();
+ // get the data object
+ NbNodeObject nodeObject = (NbNodeObject)rootNode.getLookup().lookup(NbNodeObject.class);
+ IdlEnumeration enm = (IdlEnumeration)nodeObject;
+ enm.addEnum();
+
+ // update UI
+ updateUI(rootNode);
+ }
+
+ public void updateUI(Node node) {
+ ComponentTypeChildren children = (ComponentTypeChildren)node.getChildren();
+ children.update(); // updates nodes
+ if (panel != null)
+ panel.fireChangeEvent(); // Notify that the panel changed
+ }
+}
Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentDescription.html
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentDescription.html?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentDescription.html (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentDescription.html Fri Jan 27 01:29:33 2012
@@ -0,0 +1,11 @@
+<html>
+ <body>
+ Creates a <b>OpenOffice.org UNO component</b> project.<br>
+ A UNO component is generally the implementation of at least one <b>service</b> specified
+ in the UNO IDL. You can implement an existing OpenOffice.org
+ service and additional interfaces, or define new ones.<br>
+ A wizard collects information about the implemented types and, creates a new extended J2SE
+ class library project, generates <b>UNO IDL</b> files (if necessary) and generates a Java skeleton
+ source file, implementing all methods generated from IDL types.
+ </body>
+</html>
Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentDescription_ja.html
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentDescription_ja.html?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentDescription_ja.html (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentDescription_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>
+ <b>OpenOffice.org UNO ¥³¥ó¥Ý¡¼¥Í¥ó¥È</b>¥×¥í¥¸¥§¥¯¥È¤òºîÀ®¤¹¤ë¡£<br> UNO ¥³¥ó¥Ý¡¼¥Í¥ó¥È¤Ï¡¢Ä̾UNO IDL ¤Ç»ØÄꤵ¤ì¤¿¡¢¾¯¤Ê¤¯¤È¤â 1 ¤Ä¤Î<b>¥µ¡¼¥Ó¥¹</b>¤ò¼ÂÁõ¤·¤Æ¤¤¤Þ¤¹¡£´û¸¤Î OpenOffice.org ¥µ¡¼¥Ó¥¹¤äÄɲäΥ¤¥ó¥¿¥Õ¥§¡¼¥¹¤ò¼ÂÁõ¤·¤¿¤ê¡¢¿·¤·¤¤¤â¤Î¤òÄêµÁ¤·¤¿¤ê¤Ç¤¤Þ¤¹¡£<br> ¥¦¥£¥¶¡¼¥É¤Ë¤è¤Ã¤Æ¼ÂÁõ¤µ¤ì¤Æ¤¤¤ë·¿¤Î¾ðÊ󤬼ý½¸¤µ¤ì¡¢¿·¤·¤¤³ÈÄ¥ J2SE ¥¯¥é¥¹¥é¥¤¥Ö¥é¥ê¥×¥í¥¸¥§¥¯¥È¤¬ºîÀ®¤µ¤ì¤Æ¡¢É¬Íפ˱þ¤¸¤Æ <b>UNO IDL</b> ¥Õ¥¡¥¤¥ë¤¬ºîÀ®¤µ¤ì¡¢Java ¥¹¥±¥ë¥È¥ó¥½¡¼¥¹¥Õ¥¡¥¤¥ë¤¬À¸À®¤µ¤ì¤Þ¤¹¡£¤³¤ì¤é¤Ï¡¢IDL ¤Î·¿¤«¤éÀ¸À®¤µ¤ì¤¿¤¹¤Ù¤Æ¤Î¥á¥½¥Ã¥É¤ò¼ÂÁõ¤·¤Æ¤¤¤Þ¤¹¡£
+ </body>
+</html>
+
+
Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentDescription_pt_BR.html
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentDescription_pt_BR.html?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentDescription_pt_BR.html (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentDescription_pt_BR.html Fri Jan 27 01:29:33 2012
@@ -0,0 +1,11 @@
+<html lang='pt'>
+ <body>
+ Cria um projeto de <b>Componente UNO do OpenOffice.org</b>.<br>
+ Um componente UNO é geralmente uma implementação de ao menos um <b>serviço</b> especificado
+ na UNO IDL. Você pode implementar um serviço do OpenOffice.org
+ existente ou interfaces adicionais, ou definir novas.<br>
+ Um assistente coleta informações sobre o tipo implementado e, cria um novo projeto de biblioteca de
+ classe J2SE extensível, gera os arquivos da <b>UNO IDL</b> (se necessário) e e gera um arquivo
+ esqueleto fonte Java, implementando todos os métodos gerados pelos tipos IDL.
+ </body>
+</html>
Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentDescription_zh_CN.html
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentDescription_zh_CN.html?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentDescription_zh_CN.html (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentDescription_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>
+´´½¨Ò»¸ö <b>OpenOffice.org UNO ×é¼þ</b>ÏîÄ¿¡£<br>UNO ×é¼þͨ³£ÊÇ UNO IDL ÖÐÖ¸¶¨µÄÖÁÉÙÒ»¸ö<b>·þÎñ</b>µÄʵÏÖ¡£Äú¿ÉÒÔʵÏÖÏÖÓÐµÄ OpenOffice.org ·þÎñºÍÆäËû½Ó¿Ú£¬»òÕ߶¨ÒåеķþÎñºÍ½Ó¿Ú¡£<br>¸ÃÏòµ¼ÊÕ¼¯ÁËÓйØʵÏÖÀàÐ͵ÄÐÅÏ¢£¬²¢¿É´´½¨ÐµÄÀ©Õ¹ J2SE Àà¿âÏîÄ¿¡¢Éú³É <b>UNO IDL</b> Îļþ£¨Èç¹ûÐèÒª£©²¢Éú³ÉÓÃÓÚʵÏÖ IDL ÀàÐÍÉú³ÉµÄËùÓз½·¨µÄ Java ¿ò¼ÜÔ´Îļþ¡£
+ </body>
+</html>
Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentListPanel.form
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentListPanel.form?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentListPanel.form (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentListPanel.form Fri Jan 27 01:29:33 2012
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<Form version="1.0" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
+ <AuxValues>
+ <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="false"/>
+ <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
+ <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
+ <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
+ <AuxValue name="designerSize" type="java.awt.Dimension" value="-84,-19,0,5,115,114,0,18,106,97,118,97,46,97,119,116,46,68,105,109,101,110,115,105,111,110,65,-114,-39,-41,-84,95,68,20,2,0,2,73,0,6,104,101,105,103,104,116,73,0,5,119,105,100,116,104,120,112,0,0,0,-68,0,0,1,31"/>
+ </AuxValues>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBoxLayout"/>
+ <SubComponents>
+ <Container class="javax.swing.JScrollPane" name="jScrollPane1">
+ <AuxValues>
+ <AuxValue name="JavaCodeGenerator_CreateCodeCustom" type="java.lang.String" value="new BeanTreeView();"/>
+ </AuxValues>
+
+ <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
+ </Container>
+ </SubComponents>
+</Form>
Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentListPanel.java
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentListPanel.java?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentListPanel.java (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentListPanel.java Fri Jan 27 01:29:33 2012
@@ -0,0 +1,131 @@
+/*************************************************************************
+ *
+ * OpenOffice.org - a multi-platform office productivity suite
+ *
+ * $RCSfile: ComponentListPanel.java,v $
+ *
+ * $Revision: 1.6 $
+ *
+ * last change: $Author: sg $ $Date: 2006/12/07 13:55:37 $
+ *
+ * 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.projecttemplates.component;
+
+import java.beans.PropertyVetoException;
+import javax.swing.ActionMap;
+import javax.swing.tree.TreeSelectionModel;
+import org.openide.explorer.ExplorerManager;
+import org.openide.explorer.ExplorerUtils;
+import org.openide.explorer.view.BeanTreeView;
+import org.openide.nodes.Node;
+import org.openide.util.Lookup;
+import org.openoffice.extensions.projecttemplates.component.datamodel.DataType;
+import org.openoffice.extensions.projecttemplates.component.datamodel.node.DataTypeNode;
+import org.openoffice.extensions.util.LogWriter;
+
+/**
+ *
+ * @author sg128468
+ */
+public class ComponentListPanel extends javax.swing.JPanel
+ implements ExplorerManager.Provider, Lookup.Provider {//, PropertyChangeListener {
+
+ private ExplorerManager manager = new ExplorerManager();
+ private Lookup lookup;
+ private ComponentWizardPanel2IdlFiles panel;
+
+ /** Creates new form ComponentListPanel */
+ public ComponentListPanel(ComponentWizardPanel2IdlFiles panel, Node rootNode) {
+ initComponents();
+ this.panel = panel;
+ manager.setRootContext(rootNode);
+
+ BeanTreeView componentView = (BeanTreeView)jScrollPane1;
+ componentView.setRootVisible(false);
+ componentView.setSelectionMode(TreeSelectionModel.SINGLE_TREE_SELECTION);
+
+ ActionMap map = getActionMap();
+
+// manager.addPropertyChangeListener(this);
+ lookup = ExplorerUtils.createLookup(manager, map);
+ }
+
+ /** This method is called from within the constructor to
+ * initialize the form.
+ * WARNING: Do NOT modify this code. The content of this method is
+ * always regenerated by the Form Editor.
+ */
+ // <editor-fold defaultstate="collapsed" desc=" Generated Code ">//GEN-BEGIN:initComponents
+ private void initComponents() {
+ jScrollPane1 = new BeanTreeView();
+
+ setLayout(new javax.swing.BoxLayout(this, javax.swing.BoxLayout.X_AXIS));
+
+ add(jScrollPane1);
+
+ }// </editor-fold>//GEN-END:initComponents
+
+
+ // Variables declaration - do not modify//GEN-BEGIN:variables
+ private javax.swing.JScrollPane jScrollPane1;
+ // End of variables declaration//GEN-END:variables
+
+ public ExplorerManager getExplorerManager() {
+ return this.manager;
+ }
+
+ public Lookup getLookup() {
+ return lookup;
+ }
+
+/* public void propertyChange(PropertyChangeEvent evt) {
+ panel.fireChangeEvent();
+ } */
+
+ public void selectNode(Node node) {
+ if (node != null) {
+ try {
+ manager.setSelectedNodes(new Node[]{node});
+ } catch (PropertyVetoException ex) {
+ LogWriter.getLogWriter().printStackTrace(ex);
+ }
+ }
+ }
+
+ public String getSelectedType() {
+ Node[] selNodes = manager.getSelectedNodes();
+ String displayName = null;
+ if (selNodes != null && selNodes.length > 0) {
+ Node selNode = (DataTypeNode)selNodes[0]; // single tree selection
+ while (selNode.getParentNode() != null) {
+ displayName = selNode.getDisplayName();
+ selNode = selNode.getParentNode();
+ }
+ }
+ return displayName == null?DataType.INTERFACE_TYPE_NAME:displayName; // use interface as fallback if nothig else helps
+ }
+}
Added: incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentPanelVisual1Project.form
URL: http://svn.apache.org/viewvc/incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentPanelVisual1Project.form?rev=1236486&view=auto
==============================================================================
--- incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentPanelVisual1Project.form (added)
+++ incubator/ooo/devtools/netbeansintegration/src/org/openoffice/extensions/projecttemplates/component/ComponentPanelVisual1Project.form Fri Jan 27 01:29:33 2012
@@ -0,0 +1,219 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+
+<Form version="1.3" maxVersion="1.3" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
+ <AuxValues>
+ <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="0"/>
+ <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/>
+ <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
+ <AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="false"/>
+ <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="2"/>
+ <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
+ <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
+ <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="2"/>
+ </AuxValues>
+
+ <Layout>
+ <DimensionLayout dim="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" alignment="0" attributes="0">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="projectNameLabel" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel2" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel1" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="createdFolderLabel" alignment="0" min="-2" max="-2" attributes="0"/>
+ <Component id="projectLocationLabel" alignment="0" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace min="-2" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="projectNameTextField" alignment="0" pref="377" max="32767" attributes="0"/>
+ <Component id="serviceNameTextField" alignment="0" pref="377" max="32767" attributes="0"/>
+ <Component id="packageTextField" alignment="0" pref="377" max="32767" attributes="0"/>
+ <Component id="projectLocationTextField" alignment="0" pref="377" max="32767" attributes="0"/>
+ <Component id="createdFolderTextField" alignment="0" pref="377" max="32767" attributes="0"/>
+ </Group>
+ </Group>
+ <Group type="102" alignment="0" attributes="0">
+ <Component id="jLabel3" min="-2" max="-2" attributes="0"/>
+ <EmptySpace min="-2" pref="23" max="-2" attributes="0"/>
+ <Component id="jTextPane1" pref="385" max="32767" attributes="0"/>
+ </Group>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Component id="browseButton" min="-2" max="-2" attributes="0"/>
+ <EmptySpace min="-2" pref="12" max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ <DimensionLayout dim="1">
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Group type="102" attributes="0">
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="projectNameLabel" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="projectNameTextField" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="serviceNameTextField" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel1" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="packageTextField" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="jLabel2" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="projectLocationLabel" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="projectLocationTextField" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="browseButton" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="3" attributes="0">
+ <Component id="createdFolderLabel" alignment="3" min="-2" max="-2" attributes="0"/>
+ <Component id="createdFolderTextField" alignment="3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace min="-2" pref="31" max="-2" attributes="0"/>
+ <Group type="103" groupAlignment="0" attributes="0">
+ <Component id="jTextPane1" pref="192" max="32767" attributes="0"/>
+ <Component id="jLabel3" min="-2" max="-2" attributes="0"/>
+ </Group>
+ <EmptySpace max="-2" attributes="0"/>
+ </Group>
+ </Group>
+ </DimensionLayout>
+ </Layout>
+ <SubComponents>
+ <Component class="javax.swing.JLabel" name="projectNameLabel">
+ <Properties>
+ <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
+ <ComponentRef name="projectNameTextField"/>
+ </Property>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/openoffice/extensions/projecttemplates/component/Bundle.properties" key="LBL_ProjectName" replaceFormat="NbBundle.getMessage(ComponentWizardIterator.class, "LBL_ProjectName")"/>
+ </Property>
+ </Properties>
+ <AuxValues>
+ <AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
+ </AuxValues>
+ </Component>
+ <Component class="javax.swing.JTextField" name="projectNameTextField">
+ <Properties>
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/openoffice/extensions/projecttemplates/component/Bundle.properties" key="TF_ProjectName_Tooltip" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="projectLocationLabel">
+ <Properties>
+ <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
+ <ComponentRef name="projectLocationTextField"/>
+ </Property>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/openoffice/extensions/projecttemplates/component/Bundle.properties" key="LBL_ProjectLocation" replaceFormat="NbBundle.getMessage(ComponentWizardIterator.class, "LBL_ProjectLocation")"/>
+ </Property>
+ </Properties>
+ <AuxValues>
+ <AuxValue name="generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
+ </AuxValues>
+ </Component>
+ <Component class="javax.swing.JTextField" name="projectLocationTextField">
+ <Properties>
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/openoffice/extensions/projecttemplates/component/Bundle.properties" key="TF_ProjectLocation_Tooltip" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JButton" name="browseButton">
+ <Properties>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/openoffice/extensions/projecttemplates/component/Bundle.properties" key="LBL_ButtonBrowse" replaceFormat="NbBundle.getMessage(ComponentWizardIterator.class, "LBL_ButtonBrowse")"/>
+ </Property>
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/openoffice/extensions/projecttemplates/component/Bundle.properties" key="BUTTON_Browse_Tooltip" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ <Property name="actionCommand" type="java.lang.String" value="BROWSE"/>
+ <Property name="name" type="java.lang.String" value="browse" noResource="true"/>
+ </Properties>
+ <Events>
+ <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="browseButtonActionPerformed"/>
+ </Events>
+ </Component>
+ <Component class="javax.swing.JLabel" name="createdFolderLabel">
+ <Properties>
+ <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
+ <ComponentRef name="createdFolderTextField"/>
+ </Property>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/openoffice/extensions/projecttemplates/component/Bundle.properties" key="LBL_ProjectFolder" replaceFormat="NbBundle.getMessage(ComponentWizardIterator.class, "LBL_ProjectFolder")"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="createdFolderTextField">
+ <Properties>
+ <Property name="editable" type="boolean" value="false"/>
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/openoffice/extensions/projecttemplates/component/Bundle.properties" key="TF_ProjectFolder_Tooltip" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabel1">
+ <Properties>
+ <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
+ <ComponentRef name="serviceNameTextField"/>
+ </Property>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/openoffice/extensions/projecttemplates/component/Bundle.properties" key="LBL_ServiceName" replaceFormat="NbBundle.getMessage(ComponentWizardIterator.class, "LBL_ServiceName")"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="serviceNameTextField">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="jTextField1"/>
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/openoffice/extensions/projecttemplates/component/Bundle.properties" key="TF_ClassName_Tooltip" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabel2">
+ <Properties>
+ <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
+ <ComponentRef name="packageTextField"/>
+ </Property>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/openoffice/extensions/projecttemplates/component/Bundle.properties" key="LBL_Package" replaceFormat="NbBundle.getMessage(ComponentWizardIterator.class, "LBL_Package")"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextField" name="packageTextField">
+ <Properties>
+ <Property name="text" type="java.lang.String" value="jTextField2"/>
+ <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/openoffice/extensions/projecttemplates/component/Bundle.properties" key="TF_PackageName_Tooltip" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JLabel" name="jLabel3">
+ <Properties>
+ <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
+ <ComponentRef name="jTextPane1"/>
+ </Property>
+ <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
+ <ResourceString bundle="org/openoffice/extensions/projecttemplates/component/Bundle.properties" key="LBL_CreatedFiles" replaceFormat="NbBundle.getMessage(ComponentWizardIterator.class, "LBL_CreatedFiles")"/>
+ </Property>
+ </Properties>
+ </Component>
+ <Component class="javax.swing.JTextPane" name="jTextPane1">
+ <Properties>
+ <Property name="border" type="javax.swing.border.Border" editor="org.netbeans.modules.form.editors2.BorderEditor">
+ <Border info="null"/>
+ </Property>
+ <Property name="editable" type="boolean" value="false"/>
+ <Property name="opaque" type="boolean" value="false"/>
+ </Properties>
+ </Component>
+ </SubComponents>
+</Form>