Denis Golovin [
http://community.jboss.org/people/dgolovin] created the discussion
"Re: Has some way that the editor only shows me some part of a file that is passed as
input?"
To view the discussion, visit:
http://community.jboss.org/message/577435#577435
--------------------------------------------------------------
I would implement IStorage interface wrapper that controls what part of InputStream
instance from getContents() to return.
Then I would implement wrapper around FileEditoInput with overridden method getStorage().
This method should return IStorage implementation wrapper described above which wraps real
IStorage instance returned by real FileEditorInput instance. All this wrappers should have
start position in file and length parameters to control what part of file should be
presented in editor.
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/577435#577435]
Start a new discussion in JBoss Tools Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]