org.siebengeisslein.ide.source
Class AbstractInvocationView<InvocationType extends AbstractInvocationExpression>

java.lang.Object
  extended by org.siebengeisslein.ide.source.AbstractCompoundFragmentView<InvocationType>
      extended by org.siebengeisslein.ide.source.AbstractInvocationView<InvocationType>
All Implemented Interfaces:
CodeFragmentView<InvocationType>
Direct Known Subclasses:
ConstructorInvocationView, MethodInvocationView, SuperConstructorInvocationView

public abstract class AbstractInvocationView<InvocationType extends AbstractInvocationExpression>
extends AbstractCompoundFragmentView<InvocationType>


Constructor Summary
AbstractInvocationView(InvocationType fragment, ViewFactory viewFactory)
           
 
Method Summary
 void deleteBefore(InsertContext ctx)
           
protected abstract  int getNonParameterViews()
          Return the number of views before the parameter list starts.
 void insertComma(InsertContext ctx)
           
 void insertDigit(InsertContext ctx)
           
 void insertDot(InsertContext ctx)
           
 void insertDoubleQuote(InsertContext ctx)
           
 void insertTextChar(InsertContext ctx)
           
 
Methods inherited from class org.siebengeisslein.ide.source.AbstractCompoundFragmentView
contains, getFragment, getFragmentAt, getFragmentStartPosition, getLength, getSubviews, getViewFactory, insertLeftBrace, insertOperatorChar, insertSpace, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractInvocationView

public AbstractInvocationView(InvocationType fragment,
                              ViewFactory viewFactory)
Method Detail

insertTextChar

public void insertTextChar(InsertContext ctx)
Specified by:
insertTextChar in interface CodeFragmentView<InvocationType extends AbstractInvocationExpression>
Overrides:
insertTextChar in class AbstractCompoundFragmentView<InvocationType extends AbstractInvocationExpression>

insertDigit

public void insertDigit(InsertContext ctx)
Specified by:
insertDigit in interface CodeFragmentView<InvocationType extends AbstractInvocationExpression>
Overrides:
insertDigit in class AbstractCompoundFragmentView<InvocationType extends AbstractInvocationExpression>

insertDoubleQuote

public void insertDoubleQuote(InsertContext ctx)
Specified by:
insertDoubleQuote in interface CodeFragmentView<InvocationType extends AbstractInvocationExpression>
Overrides:
insertDoubleQuote in class AbstractCompoundFragmentView<InvocationType extends AbstractInvocationExpression>

insertComma

public void insertComma(InsertContext ctx)
Specified by:
insertComma in interface CodeFragmentView<InvocationType extends AbstractInvocationExpression>
Overrides:
insertComma in class AbstractCompoundFragmentView<InvocationType extends AbstractInvocationExpression>

insertDot

public void insertDot(InsertContext ctx)
Specified by:
insertDot in interface CodeFragmentView<InvocationType extends AbstractInvocationExpression>
Overrides:
insertDot in class AbstractCompoundFragmentView<InvocationType extends AbstractInvocationExpression>

getNonParameterViews

protected abstract int getNonParameterViews()
Return the number of views before the parameter list starts.


deleteBefore

public void deleteBefore(InsertContext ctx)
Specified by:
deleteBefore in interface CodeFragmentView<InvocationType extends AbstractInvocationExpression>
Overrides:
deleteBefore in class AbstractCompoundFragmentView<InvocationType extends AbstractInvocationExpression>