Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
<copyright> Copyright (c) 2002-2006 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at Contributors: IBM - Initial API and implementation </copyright> $Id:,v 1.3 2006/12/29 18:32:33 marcelop Exp $
package org.eclipse.xsd.provider;
This is the item provider adpater for a org.eclipse.xsd.XSDMinFacet object.
This constructs an instance from a factory and a notifier.
  public XSDMinFacetItemProvider(AdapterFactory adapterFactory)
  public String getText(Object object)
    XSDMinFacet xsdMinFacet = ((XSDMinFacet)object);
    String result = xsdMinFacet.getLexicalValue();
    return result == null ? "" : result;

This handles notification by calling fireNotifyChanged.
  public void notifyChanged(Notification msg
    if (
         msg.getFeature() == .getXSDMinFacet_Value()
New to GrepCode? Check out our FAQ X