Package org.eclipse.wb.internal.core.model.variable.NamesManager

Examples of org.eclipse.wb.internal.core.model.variable.NamesManager.ComponentNameDescription


  private String getBaseName() {
    ComponentDescription description = m_object.getDescription();
    String componentClassName = description.getComponentClass().getName();
    // check type specific information
    {
      ComponentNameDescription nameDescription =
          NamesManager.getNameDescription(description.getToolkit(), componentClassName);
      if (nameDescription != null) {
        return nameDescription.getName();
      }
    }
    // check component parameter
    {
      String name = XmlObjectUtils.getParameter(m_object, NamesManager.NAME_PARAMETER);
View Full Code Here


   */
  public void test_ensureName_nameInPreferences() throws Exception {
    // set descriptions
    {
      List<ComponentNameDescription> descriptions = Lists.newArrayList();
      descriptions.add(new ComponentNameDescription("com.google.gwt.user.client.ui.FlowPanel",
          "flowPan",
          "fPan"));
      NamesManager.setNameDescriptions(TOOLKIT, descriptions);
    }
    // parse
View Full Code Here

TOP

Related Classes of org.eclipse.wb.internal.core.model.variable.NamesManager.ComponentNameDescription

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.