com.cmpware.ide.views
Interface ITextProvider

All Known Implementing Classes:
DasmProvider, HexDumpProvider

public interface ITextProvider

This class describes the model interface to the Easy Text viewer. This interface is primarily used to return an array of Strings representing a part of the file or data to be displayed.

Copyright (c) 2004 Cmpware, Inc. All Rights Reserved.

Author:
SAG

Field Summary
static java.lang.String copyright
          Copyright string
 
Method Summary
 java.lang.String get(int startLine, int lineCount)
          /** This method returns a String used to represent the requested lines.
 int getMax()
          This method returns the largest line number possible.
 int getMin()
          This method returns the lowest line number possible.
 

Field Detail

copyright

static final java.lang.String copyright
Copyright string

See Also:
Constant Field Values
Method Detail

getMax

int getMax()
This method returns the largest line number possible. Note that line counting starts at zero.

Returns:
This method returns the largest line number possible. Note that line counting starts at zero.

getMin

int getMin()
This method returns the lowest line number possible. Note that line counting starts at zero.

Returns:
This method returns the lowest line number possible. Note that line counting starts at zero.

get

java.lang.String get(int startLine,
                     int lineCount)
/** This method returns a String used to represent the requested lines.

Parameters:
startLine - The starting line.
lineCount - The number of lines returned.
Returns:
This method returns a String used to represent the requested lines.