|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.electrocodeogram.cpc.core.api.hub.event.CPCEvent org.electrocodeogram.cpc.core.api.hub.event.EclipseEvent org.electrocodeogram.cpc.core.api.hub.event.EclipseCodeDiffEvent
@Deprecated public class EclipseCodeDiffEvent
Field Summary | |
---|---|
protected java.lang.String |
addedText
Deprecated. |
protected java.lang.String |
editorContent
Deprecated. |
protected java.lang.String |
filePath
Deprecated. |
protected int |
offset
Deprecated. |
protected java.lang.String |
replacedText
Deprecated. |
Fields inherited from class org.electrocodeogram.cpc.core.api.hub.event.EclipseEvent |
---|
fileLocatedInWorkspace, fileLocatedInWorkspaceCached, project, supportedFile, supportedFileCached, user |
Constructor Summary | |
---|---|
EclipseCodeDiffEvent(java.lang.String user,
java.lang.String project)
Deprecated. |
Method Summary | |
---|---|
java.lang.String |
getAddedText()
Deprecated. |
java.lang.String |
getEditorContent()
Deprecated. |
int |
getOffset()
Deprecated. |
java.lang.String |
getReplacedText()
Deprecated. |
boolean |
isValid()
Deprecated. Checks if this event has been fully initialised. |
void |
setAddedText(java.lang.String addedText)
Deprecated. |
void |
setEditorContent(java.lang.String editorContent)
Deprecated. |
void |
setOffset(int offset)
Deprecated. |
void |
setReplacedText(java.lang.String replacedText)
Deprecated. |
java.lang.String |
toString()
Deprecated. Every event should implement a sensible toString method for use in debugging log messages. |
Methods inherited from class org.electrocodeogram.cpc.core.api.hub.event.EclipseEvent |
---|
getFilePath, getProject, getUser, isFileLocatedInWorkspace, isSupportedFile, setFilePath, subToString |
Methods inherited from class org.electrocodeogram.cpc.core.api.hub.event.CPCEvent |
---|
checkSeal, clone, compareTo, getCreationTime, seal |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.String filePath
protected int offset
protected java.lang.String addedText
protected java.lang.String replacedText
protected java.lang.String editorContent
Constructor Detail |
---|
public EclipseCodeDiffEvent(java.lang.String user, java.lang.String project)
Method Detail |
---|
public int getOffset()
public void setOffset(int offset)
public java.lang.String getAddedText()
public void setAddedText(java.lang.String addedText)
public java.lang.String getReplacedText()
public void setReplacedText(java.lang.String replacedText)
public java.lang.String getEditorContent()
public void setEditorContent(java.lang.String editorContent)
public boolean isValid()
CPCEvent
Subclasses should override this method but should never return true. Instead they should delegate to the super class implementation once all validity checks on their level have passed.
The CPCEvent.isValid()
implementation always returns true.
isValid
in class EclipseEvent
IEventHubRegistry.dispatch(CPCEvent)
public java.lang.String toString()
CPCEvent
toString
in class CPCEvent
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |