Package org.eclipse.jface.preference

Examples of org.eclipse.jface.preference.PreferenceDialog.open()


              if (dialog != null) {
                dialog.setSelectedNode("org.eclipse.jst.pagedesigner.WPEPropertyPage"); //$NON-NLS-1$
                //yes, we create AGAIN - cannot find another way to get the selected node to stick
                dialog = propertyDialogAction.createDialog();
                if (dialog != null) {
                  dialog.open();
                }
              }
        }
      }
    }
View Full Code Here


  }

  void linkClicked() {
    String pageId = getPreferencePageId();
    PreferenceDialog dialog = PreferencesUtil.createPreferenceDialogOn(getShell(), pageId, new String[]{pageId}, null);
    dialog.open();
    fTableViewer.refresh();
  }

  /**
   * Load the last template name used in New XML File wizard.
View Full Code Here

        PreferenceManager manager = new PreferenceManager();
        manager.addToRoot(node);

        PreferenceDialog dialog = new PreferenceDialog(_window.getShell(),
                manager);
        dialog.open();
    }

    /** Handle the change of selection.
     *
     *  @param action The action proxy (not used in this method).
View Full Code Here

        {
            PreferenceDialog dialog = PreferencesUtil.createPropertyDialogOn( getShell(), element, pageId, null, null );
            if ( dialog != null )
                title = Utils.shorten( title, 30 );
            dialog.getShell().setText( "Properties for '" + title + "'" );
            dialog.open();

        }
    }
}
View Full Code Here

        {
            PreferenceDialog dialog = PreferencesUtil.createPropertyDialogOn( getShell(), element, pageId, null, null );
            if ( dialog != null )
                title = Utils.shorten( title, 30 );
            dialog.getShell().setText( "Properties for '" + title + "'" );
            dialog.open();

        }
    }
}
View Full Code Here

            {
                Server server = ( Server ) selection.getFirstElement();
                PreferenceDialog dialog = PreferencesUtil.createPropertyDialogOn( view.getViewSite().getShell(),
                    server, ServerPropertyPage.ID, null, null );
                dialog.getShell().setText( "Properties for '" + shorten( server.getName(), 30 ) + "'" );
                dialog.open();
            }
        }
    }

View Full Code Here

        {
            PreferenceDialog dialog = PreferencesUtil.createPropertyDialogOn( getShell(), element, pageId, null, null );
            if ( dialog != null )
                title = Utils.shorten( title, 30 );
            dialog.getShell().setText( "Properties for '" + title + "'" );
            dialog.open();

        }
    }
   
}
View Full Code Here

        {
            PreferenceDialog dialog = PreferencesUtil.createPropertyDialogOn( getShell(), element, pageId, null, null );
            if ( dialog != null )
                title = Utils.shorten( title, 30 );
            dialog.getShell().setText( "Properties for '" + title + "'" );
            dialog.open();

        }
    }
}
View Full Code Here

        PreferenceNode node = new PreferenceNode("Gateway Client",
            new WorkbenchPreferencePage("Gateway Client"));

        mgr.addToRoot(node);

        dlg.open();
      }
    };

    mProperties.setText("Set properties");
    mProperties.setToolTipText("Set properties");
View Full Code Here

                if ( dialog != null )
                {
                    title = Utils.shorten( title, 30 );
                }
                dialog.getShell().setText( NLS.bind( Messages.getString( "PropertiesAction.PropertiesForX" ), title ) ); //$NON-NLS-1$
                dialog.open();
            }
        }
    }

View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.