forked from apache/netbeans
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A more advanced wizard for creating Java classes that let the user to specify interfaces and superclasses right in the wizard
- Loading branch information
Showing
11 changed files
with
939 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
149 changes: 149 additions & 0 deletions
149
...ct.ui/src/org/netbeans/modules/java/project/ui/ExtensionAndImplementationVisualPanel.form
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,149 @@ | ||
<?xml version="1.0" encoding="UTF-8" ?> | ||
|
||
<!-- | ||
Licensed to the Apache Software Foundation (ASF) under one | ||
or more contributor license agreements. See the NOTICE file | ||
distributed with this work for additional information | ||
regarding copyright ownership. The ASF licenses this file | ||
to you under the Apache License, Version 2.0 (the | ||
"License"); you may not use this file except in compliance | ||
with the License. You may obtain a copy of the License at | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
Unless required by applicable law or agreed to in writing, | ||
software distributed under the License is distributed on an | ||
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | ||
KIND, either express or implied. See the License for the | ||
specific language governing permissions and limitations | ||
under the License. | ||
--> | ||
|
||
<Form version="1.5" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JPanelFormInfo"> | ||
<AuxValues> | ||
<AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/> | ||
<AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> | ||
<AuxValue name="FormSettings_generateFQN" type="java.lang.Boolean" value="true"/> | ||
<AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="true"/> | ||
<AuxValue name="FormSettings_i18nAutoMode" type="java.lang.Boolean" value="true"/> | ||
<AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="1"/> | ||
<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"> | ||
<Group type="103" groupAlignment="0" attributes="0"> | ||
<Component id="superclassLabel" min="-2" max="-2" attributes="0"/> | ||
<Component id="interfacesLabel" min="-2" max="-2" attributes="0"/> | ||
</Group> | ||
<EmptySpace max="-2" attributes="0"/> | ||
<Group type="103" groupAlignment="0" attributes="0"> | ||
<Component id="interfacesScrollPane" max="32767" attributes="0"/> | ||
<Component id="superclassTextField" max="32767" attributes="0"/> | ||
</Group> | ||
<EmptySpace max="-2" attributes="0"/> | ||
<Group type="103" groupAlignment="0" attributes="0"> | ||
<Component id="browseSuperclassButton" alignment="1" min="-2" max="-2" attributes="0"/> | ||
<Component id="browseInterfacesButton" alignment="1" min="-2" max="-2" attributes="0"/> | ||
</Group> | ||
</Group> | ||
</Group> | ||
</DimensionLayout> | ||
<DimensionLayout dim="1"> | ||
<Group type="103" groupAlignment="0" attributes="0"> | ||
<Group type="102" attributes="0"> | ||
<EmptySpace min="-2" max="-2" attributes="0"/> | ||
<Group type="103" groupAlignment="3" attributes="0"> | ||
<Component id="superclassTextField" alignment="3" min="-2" max="-2" attributes="0"/> | ||
<Component id="browseSuperclassButton" alignment="3" min="-2" max="-2" attributes="0"/> | ||
<Component id="superclassLabel" alignment="3" min="-2" max="-2" attributes="0"/> | ||
</Group> | ||
<EmptySpace min="-2" pref="4" max="-2" attributes="0"/> | ||
<Group type="103" groupAlignment="0" attributes="0"> | ||
<Component id="interfacesScrollPane" max="32767" attributes="0"/> | ||
<Group type="102" attributes="0"> | ||
<Group type="103" groupAlignment="0" attributes="0"> | ||
<Component id="interfacesLabel" min="-2" max="-2" attributes="0"/> | ||
<Component id="browseInterfacesButton" min="-2" max="-2" attributes="0"/> | ||
</Group> | ||
<EmptySpace min="0" pref="0" max="32767" attributes="0"/> | ||
</Group> | ||
</Group> | ||
<EmptySpace max="-2" attributes="0"/> | ||
</Group> | ||
</Group> | ||
</DimensionLayout> | ||
</Layout> | ||
<SubComponents> | ||
<Component class="javax.swing.JLabel" name="superclassLabel"> | ||
<Properties> | ||
<Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor"> | ||
<ComponentRef name="superclassTextField"/> | ||
</Property> | ||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> | ||
<ResourceString bundle="org/netbeans/modules/java/project/ui/Bundle.properties" key="ExtensionAndImplementationVisualPanel.superclassLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> | ||
</Property> | ||
</Properties> | ||
</Component> | ||
<Component class="javax.swing.JLabel" name="interfacesLabel"> | ||
<Properties> | ||
<Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor"> | ||
<ComponentRef name="interfacesTextArea"/> | ||
</Property> | ||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> | ||
<ResourceString bundle="org/netbeans/modules/java/project/ui/Bundle.properties" key="ExtensionAndImplementationVisualPanel.interfacesLabel.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> | ||
</Property> | ||
</Properties> | ||
</Component> | ||
<Component class="javax.swing.JTextField" name="superclassTextField"> | ||
<Properties> | ||
<Property name="editable" type="boolean" value="false"/> | ||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> | ||
<ResourceString bundle="org/netbeans/modules/java/project/ui/Bundle.properties" key="ExtensionAndImplementationVisualPanel.superclassTextField.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> | ||
</Property> | ||
</Properties> | ||
</Component> | ||
<Component class="javax.swing.JButton" name="browseSuperclassButton"> | ||
<Properties> | ||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> | ||
<ResourceString bundle="org/netbeans/modules/java/project/ui/Bundle.properties" key="ExtensionAndImplementationVisualPanel.browseSuperclassButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> | ||
</Property> | ||
</Properties> | ||
<Events> | ||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="browseSuperclassButtonActionPerformed"/> | ||
</Events> | ||
</Component> | ||
<Component class="javax.swing.JButton" name="browseInterfacesButton"> | ||
<Properties> | ||
<Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> | ||
<ResourceString bundle="org/netbeans/modules/java/project/ui/Bundle.properties" key="ExtensionAndImplementationVisualPanel.browseInterfacesButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> | ||
</Property> | ||
</Properties> | ||
<Events> | ||
<EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="browseInterfacesButtonActionPerformed"/> | ||
</Events> | ||
</Component> | ||
<Container class="javax.swing.JScrollPane" name="interfacesScrollPane"> | ||
<AuxValues> | ||
<AuxValue name="autoScrollPane" type="java.lang.Boolean" value="true"/> | ||
</AuxValues> | ||
|
||
<Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/> | ||
<SubComponents> | ||
<Component class="javax.swing.JTextArea" name="interfacesTextArea"> | ||
<Properties> | ||
<Property name="editable" type="boolean" value="false"/> | ||
<Property name="columns" type="int" value="20"/> | ||
<Property name="rows" type="int" value="5"/> | ||
</Properties> | ||
</Component> | ||
</SubComponents> | ||
</Container> | ||
</SubComponents> | ||
</Form> |
Oops, something went wrong.