Rational Developer for Power Systems Software
V7.6

com.ibm.etools.systems.application.visual.editor.providers
Class DefaultSystemTextParser

java.lang.Object
  extended by com.ibm.etools.systems.application.visual.editor.providers.DefaultSystemTextParser

public class DefaultSystemTextParser
extends Object

Default text parser for Application Diagram. The parser uses the model element name as the displayable string for editpart.


Field Summary
static String copyright
           
protected static IParser instance
          instance of parser
 
Constructor Summary
protected DefaultSystemTextParser()
          Constructor.
 
Method Summary
 IContentAssistProcessor getCompletionProcessor(IAdaptable element)
           
 String getEditString(IAdaptable element, int flags)
           
static IParser getInstance()
          Gets the instance of the parser
 ICommand getParseCommand(IAdaptable element, String newString, int flags)
           
 String getPrintString(IAdaptable element, int flags)
           
 boolean isAffectingEvent(Object event, int flags)
           
 IParserEditStatus isValidEditString(IAdaptable element, String editString)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

copyright

public static final String copyright
See Also:
Constant Field Values

instance

protected static IParser instance
instance of parser

Constructor Detail

DefaultSystemTextParser

protected DefaultSystemTextParser()
Constructor.

Method Detail

getInstance

public static IParser getInstance()
Gets the instance of the parser

Returns:
IParser the single instance of the parser

getCompletionProcessor

public IContentAssistProcessor getCompletionProcessor(IAdaptable element)

getEditString

public String getEditString(IAdaptable element,
                            int flags)

getParseCommand

public ICommand getParseCommand(IAdaptable element,
                                String newString,
                                int flags)

getPrintString

public String getPrintString(IAdaptable element,
                             int flags)

isAffectingEvent

public boolean isAffectingEvent(Object event,
                                int flags)

isValidEditString

public IParserEditStatus isValidEditString(IAdaptable element,
                                           String editString)

Rational Developer for Power Systems Software
V7.6

Copyright © 2011 IBM Corp. All Rights Reserved.

Note: This documentation is for part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.