Package net.sf.apptools.data

Examples of net.sf.apptools.data.StringDataDescriptor


    final String useToolTip =
      "<html>" + //$NON-NLS-1$
      CoreMessages.getString("NewProjectDialog.TEXT_INFO_HTML") + //$NON-NLS-1$
      "</html>"; //$NON-NLS-1$

    final DataDescriptor projectName = new StringDataDescriptor(CoreMessages.getString("ProbeMakerPlugIn.NAME_PROJECT_NAME"),CoreMessages.getString("ProbeMakerPlugIn.TOOLTIP_PROJECT_NAME"),"PROJECT_NAME",true); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
    final DataDescriptor useTemplate = new BooleanDescriptor(CoreMessages.getString("ProbeMakerPlugIn.NAME_USE_TEMPLATE"),useToolTip,"USE_TEMPLATE"); //$NON-NLS-1$ //$NON-NLS-2$
    final DataDescriptor templateSel = new TemplateListSelectionDescriptor(null,null,"TEMPLATE",templateManager.getTemplateArray(),false); //$NON-NLS-1$

    final DataHolder newProjectData = new DefaultDataHolder(new DataDescriptor[] {
        projectName,
View Full Code Here


    final String useToolTip =
      "<html>" + //$NON-NLS-1$
      CoreMessages.getString("NewProjectDialog.TEXT_INFO_HTML") + //$NON-NLS-1$
      "</html>"; //$NON-NLS-1$

    final DataDescriptor projectName = new StringDataDescriptor(CoreMessages.getString("ProbeMakerPlugIn.NAME_PROJECT_NAME"),CoreMessages.getString("ProbeMakerPlugIn.TOOLTIP_PROJECT_NAME"),"PROJECT_NAME",true); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
    final DataDescriptor useTemplate = new BooleanDescriptor(CoreMessages.getString("ProbeMakerPlugIn.NAME_USE_TEMPLATE"),useToolTip,"USE_TEMPLATE"); //$NON-NLS-1$ //$NON-NLS-2$
    final DataDescriptor templateSel = new TemplateListSelectionDescriptor(null,null,"TEMPLATE",templateManager.getTemplateArray(),false); //$NON-NLS-1$

    final DataHolder newProjectData = new DefaultDataHolder(new DataDescriptor[] {
        projectName,
View Full Code Here

    final String useToolTip =
        "<html>" + //$NON-NLS-1$
            CoreMessages.getString("NewProjectDialog.TEXT_INFO_HTML") + //$NON-NLS-1$
            "</html>"; //$NON-NLS-1$

    final DataDescriptor projectName = new StringDataDescriptor(CoreMessages.getString("ProbeMakerPlugIn.NAME_PROJECT_NAME"),CoreMessages.getString("ProbeMakerPlugIn.TOOLTIP_PROJECT_NAME"),"PROJECT_NAME",true); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
    final DataDescriptor useTemplate = new BooleanDescriptor(CoreMessages.getString("ProbeMakerPlugIn.NAME_USE_TEMPLATE"),useToolTip,"USE_TEMPLATE"); //$NON-NLS-1$ //$NON-NLS-2$
    final DataDescriptor templateSel = new TemplateListSelectionDescriptor(null,null,"TEMPLATE",templateManager.getTemplateArray(),false); //$NON-NLS-1$

    final DataHolder newProjectData = new DefaultDataHolder(new DataDescriptor[] {
        projectName,
View Full Code Here

    final String useToolTip =
        "<html>" + //$NON-NLS-1$
            CoreMessages.getString("NewProjectDialog.TEXT_INFO_HTML") + //$NON-NLS-1$
            "</html>"; //$NON-NLS-1$

    final DataDescriptor projectName = new StringDataDescriptor(CoreMessages.getString("ProbeMakerPlugIn.NAME_PROJECT_NAME"),CoreMessages.getString("ProbeMakerPlugIn.TOOLTIP_PROJECT_NAME"),"PROJECT_NAME",true); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
    final DataDescriptor useTemplate = new BooleanDescriptor(CoreMessages.getString("ProbeMakerPlugIn.NAME_USE_TEMPLATE"),useToolTip,"USE_TEMPLATE"); //$NON-NLS-1$ //$NON-NLS-2$
    final DataDescriptor templateSel = new TemplateListSelectionDescriptor(null,null,"TEMPLATE",templateManager.getTemplateArray(),false); //$NON-NLS-1$

    final DataHolder newProjectData = new DefaultDataHolder(new DataDescriptor[] {
        projectName,
View Full Code Here

    dataDescriptors =
      new DataDescriptor[] {
        new IntegerDescriptor("Per cent of max score required for match", //$NON-NLS-1$
            "The value in percent of the maximum alignment score required to yield a match. If 100 % regular string search used.", //$NON-NLS-1$
            KEY_PERCENT_SIMILARITY, 1, 100),
        new StringDataDescriptor("Positions to check sequence", //$NON-NLS-1$
            "A comma-separated list of tag positions for which to check if the sequence occurs elsewhere", //$NON-NLS-1$
            KEY_SEQUENCE_POSITIONS,false),
        new StringDataDescriptor("Positions to check complement", //$NON-NLS-1$
            "A comma-separated list of tag positions for which to check if the complement occurs elsewhere", //$NON-NLS-1$
            KEY_COMPLEMENT_POSITIONS,false)
                   
    };
        setData(KEY_PERCENT_SIMILARITY,new Integer(tsc.getParameters().get(
View Full Code Here

 
  /**Search for a given sequence within all the probes*/
  @SuppressWarnings("unchecked")
  protected void searchProbes() {
    //Get a search string
    DataDescriptor searchStringDesc = new StringDataDescriptor(
        SwingUIMessages.getString("ProbeMakerPlugIn.MESSAGE_ENTER_SEARCH_SEQUENCE")//$NON-NLS-1$
        null, "SEARCH_STRING", true); //$NON-NLS-1$
   
    DataHolder dh = new DefaultDataHolder(
        new DataDescriptor[] {
            searchStringDesc
        }
    );
   
    String title = SwingUIMessages.getString("ProbeMakerPlugIn.TITLE_SEARCH_PROBES"); //$NON-NLS-1$
   
    if (!workbench.inputData(dh,title)) return;
   
    Object input = dh.getData(searchStringDesc.getKey());
   
    if (input == null)
      return;
   
    String searchstr = (String) input;
View Full Code Here

TOP

Related Classes of net.sf.apptools.data.StringDataDescriptor

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.