Package org.openide

Examples of org.openide.DialogDescriptor


   
    public void createConstant()
    {
        final ConstPanel constpanel = new ConstPanel();
        TopManager topmanager = TopManager.getDefault();
        DialogDescriptor exdialogdescriptor = new DialogDescriptor(constpanel, ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/nodes/Bundle").getString("TXT_CreateConstant"));
        exdialogdescriptor.setButtonListener( new ActionListener() {

            public void actionPerformed(ActionEvent actionevent)
            {
                if(actionevent.getActionCommand().equals("OK"))
                {
View Full Code Here


    public void createStruct()
    {
        final InterfacePanel structpanel = new InterfacePanel();
        TopManager topmanager = TopManager.getDefault();
        DialogDescriptor exdialogdescriptor = new DialogDescriptor(structpanel, ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/nodes/Bundle").getString("TXT_CreateStruct"));
        exdialogdescriptor.setButtonListener( new ActionListener() {

            public void actionPerformed(ActionEvent actionevent)
            {
                if(actionevent.getActionCommand().equals("OK"))
                {
View Full Code Here

    public void createForwardDcl()
    {
        final ForwardDclPanel forwarddclpanel = new ForwardDclPanel();
        TopManager topmanager = TopManager.getDefault();
        DialogDescriptor exdialogdescriptor = new DialogDescriptor(forwarddclpanel, ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/nodes/Bundle").getString("TXT_CreateFwdDcl"));
        exdialogdescriptor.setButtonListener( new ActionListener() {

            public void actionPerformed(ActionEvent actionevent)
            {
                if(actionevent.getActionCommand().equals("OK"))
                {
View Full Code Here

    public void createException()
    {
        final ModuleCreatePanel modulepanel = new ModuleCreatePanel();
        TopManager topmanager = TopManager.getDefault();
        DialogDescriptor exdialogdescriptor = new DialogDescriptor(modulepanel, ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/nodes/Bundle").getString("TXT_CreateException"));
        exdialogdescriptor.setButtonListener( new ActionListener() {

           public void actionPerformed(ActionEvent actionevent)
            {
                if(actionevent.getActionCommand().equals("OK"))
                {
View Full Code Here

    public void createAlias()
    {
        final AliasPanel aliaspanel = new AliasPanel();
        TopManager topmanager = TopManager.getDefault();
        DialogDescriptor exdialogdescriptor = new DialogDescriptor(aliaspanel, ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/nodes/Bundle").getString("TXT_CreateAlias"));
        exdialogdescriptor.setButtonListener( new ActionListener() {

            public void actionPerformed(ActionEvent actionevent)
            {
                if(actionevent.getActionCommand().equals("OK"))
                {
View Full Code Here

    }

    public void createUnion()
    {
        final UnionPanel unionpanel = new UnionPanel();
        DialogDescriptor exdialogdescriptor = new DialogDescriptor(unionpanel, ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/nodes/Bundle").getString("TXT_CreateUnion"));
        exdialogdescriptor.setButtonListener( new ActionListener() {

            public void actionPerformed(ActionEvent actionevent)
            {
                if(actionevent.getActionCommand().equals("OK"))
                {
View Full Code Here

    }

    public void createEnum()
    {
        final EnumPanel enumpanel = new EnumPanel();
        DialogDescriptor exdialogdescriptor = new DialogDescriptor(enumpanel, ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/nodes/Bundle").getString("TXT_CreateEnum"));
        exdialogdescriptor.setButtonListener( new ActionListener() {

            public void actionPerformed(ActionEvent actionevent)
            {
                if(actionevent.getActionCommand().equals("OK"))
                {
View Full Code Here

    }

    public void createInterface()
    {
        final InterfacePanel interfacepanel = new InterfacePanel();
        DialogDescriptor exdialogdescriptor = new DialogDescriptor(interfacepanel, ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/nodes/Bundle").getString("TXT_CreateInterface"));
         exdialogdescriptor.setButtonListener( new ActionListener() {

            public void actionPerformed(ActionEvent actionevent)
            {
                if(actionevent.getActionCommand().equals("OK"))
                { String s = interfacepanel.getName();
View Full Code Here

    }

    public void createEnumEntry()
    {
        ModuleCreatePanel modulepanel = new ModuleCreatePanel();
        DialogDescriptor exdialogdescriptor = new DialogDescriptor(modulepanel, ResourceBundle.getBundle("org/netbeans/modules/openoffice/wizard/nodes/Bundle").getString("TXT_CreateEntry"));
        dialog = TopManager.getDefault().createDialog(exdialogdescriptor);
        dialog.setVisible(true);   
        String s = modulepanel.getName();
        NameKey namedkey = new NameKey(13, s);
       ((IDLBaseChildren)getChildren()).addKey(namedkey);
View Full Code Here

        catch (IOException ioe) {
            ErrorManager.getDefault().notify(ioe);
            return false;
        }

        DialogDescriptor dd = new DialogDescriptor(configuror,
            ConfigurePanel.DIALOG_TITLE);
       
        Dialog dialog = TopManager.getDefault().createDialog(dd);
        dialog.show();
       
        if (dd.getValue() == DialogDescriptor.OK_OPTION) {
            try {
                ParcelDescriptor descriptor = configuror.getConfiguration();
                descriptor.write();
            }
            catch (Exception e) {
View Full Code Here

TOP

Related Classes of org.openide.DialogDescriptor

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.