Package perestrojka.ui

Examples of perestrojka.ui.ConversionGraphCreator$ExtensionDescription


   */
  public void initializeDefaultPreferences() {
    IPreferenceStore store = Activator.getDefault().getPreferenceStore();
   
    // initialize favoured formats list with all known writeable formats
    List<String> formats = new ConversionGraphCreator().getAllWriteableFormats();
    String defaultString = "";
    for (String format : formats) {
      defaultString += format + ";";
    }
    store.setDefault(PreferenceConstants.P_FORMATS, defaultString);
View Full Code Here


    }
   
    @Override
    protected Control createDialogArea(Composite parent) {
      list = new List(parent, SWT.BORDER | SWT.MULTI | SWT.V_SCROLL);
      java.util.List<String> writeableFormats = new ConversionGraphCreator().getAllWriteableFormats();
      String[] formatArray = new String[writeableFormats.size()];
      list.setItems(writeableFormats.toArray(formatArray));
      list.setLayoutData(new GridData(GridData.GRAB_HORIZONTAL
                  | GridData.HORIZONTAL_ALIGN_FILL));
      return parent;
View Full Code Here

TOP

Related Classes of perestrojka.ui.ConversionGraphCreator$ExtensionDescription

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.