|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.core.internal.jobs.InternalJob
org.eclipse.core.runtime.jobs.Job
org.eclipse.core.internal.resources.CharsetDeltaJob
public class CharsetDeltaJob
Detects changes to content types/project preferences and broadcasts any corresponding encoding changes as resource deltas.
| Field Summary | |
|---|---|
static java.lang.String |
FAMILY_CHARSET_DELTA
|
| Fields inherited from class org.eclipse.core.runtime.jobs.Job |
|---|
ASYNC_FINISH, BUILD, DECORATE, INTERACTIVE, LONG, NONE, RUNNING, SHORT, SLEEPING, WAITING |
| Constructor Summary | |
|---|---|
CharsetDeltaJob(Workspace workspace)
|
|
| Method Summary | |
|---|---|
boolean |
belongsTo(java.lang.Object family)
|
void |
charsetPreferencesChanged(IProject project)
|
void |
contentTypeChanged(org.eclipse.core.runtime.content.IContentTypeManager.ContentTypeChangeEvent event)
|
org.eclipse.core.runtime.IStatus |
run(org.eclipse.core.runtime.IProgressMonitor monitor)
|
void |
setDisabled(boolean disabled)
Turns off reaction to changes in the preference file. |
void |
shutdown()
|
void |
startup()
|
| Methods inherited from class org.eclipse.core.runtime.jobs.Job |
|---|
addJobChangeListener, cancel, done, getJobManager, getName, getPriority, getProperty, getResult, getRule, getState, getThread, isBlocking, isSystem, isUser, join, removeJobChangeListener, schedule, schedule, setName, setPriority, setProgressGroup, setProperty, setRule, setSystem, setThread, setUser, shouldRun, shouldSchedule, sleep, wakeUp, wakeUp |
| Methods inherited from class org.eclipse.core.internal.jobs.InternalJob |
|---|
compareTo, toString |
| Methods inherited from class org.eclipse.core.runtime.PlatformObject |
|---|
getAdapter |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Field Detail |
|---|
public static final java.lang.String FAMILY_CHARSET_DELTA
| Constructor Detail |
|---|
public CharsetDeltaJob(Workspace workspace)
| Method Detail |
|---|
public boolean belongsTo(java.lang.Object family)
belongsTo in class org.eclipse.core.runtime.jobs.Jobpublic void charsetPreferencesChanged(IProject project)
public void contentTypeChanged(org.eclipse.core.runtime.content.IContentTypeManager.ContentTypeChangeEvent event)
contentTypeChanged in interface org.eclipse.core.runtime.content.IContentTypeManager.IContentTypeChangeListenerpublic org.eclipse.core.runtime.IStatus run(org.eclipse.core.runtime.IProgressMonitor monitor)
run in class org.eclipse.core.runtime.jobs.Jobpublic void setDisabled(boolean disabled)
public void shutdown()
public void startup()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||