Java 类org.eclipse.xtext.ui.editor.DocumentBasedDirtyResource 实例源码

项目:n4js    文件:PrevStateAwareDirtyStateManager.java   
private DocumentBasedDirtyResource reflectiveGetInnerResource(final IDirtyResource dirtyResource) {
    Field[] declaredFields = dirtyResource.getClass().getDeclaredFields();
    DocumentBasedDirtyResource myDirtyResource = null;
    try {
        Field field = declaredFields[0];
        field.setAccessible(true);

        Object fieldValue = field.get(dirtyResource);

        if (fieldValue instanceof DirtyStateEditorSupport) {
            myDirtyResource = ((DirtyStateEditorSupport) fieldValue).getDirtyResource();
        }
    } catch (IllegalArgumentException | IllegalAccessException e) {
        // ignore
    }
    return myDirtyResource;
}
项目:pokemon-tcgo-deck-generator    文件:AbstractPkmntcgoUiModule.java   
public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
    return PersistentDataAwareDirtyResource.class;
}
项目:n4js    文件:AbstractN4JSUiModule.java   
public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
    return PersistentDataAwareDirtyResource.class;
}
项目:n4js    文件:N4JSUiModule.java   
@Override
public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
    return PrevStateAwareDocumentBasedDirtyResource.class;
}
项目:n4js    文件:AbstractRegularExpressionUiModule.java   
public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
    return PersistentDataAwareDirtyResource.class;
}
项目:n4js    文件:AbstractN4MFUiModule.java   
public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
    return PersistentDataAwareDirtyResource.class;
}
项目:Xtext_Xtend_HTML_Generator    文件:AbstractMyDslUiModule.java   
public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
    return PersistentDataAwareDirtyResource.class;
}
项目:bromium    文件:AbstractBromiumUiModule.java   
public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
    return PersistentDataAwareDirtyResource.class;
}
项目:gw4e.project    文件:AbstractDSLPoliciesUiModule.java   
public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
    return PersistentDataAwareDirtyResource.class;
}
项目:lcdsl    文件:AbstractLcDslUiModule.java   
public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
    return PersistentDataAwareDirtyResource.class;
}
项目:gemoc-studio    文件:AbstractDslUiModule.java   
public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
    return PersistentDataAwareDirtyResource.class;
}
项目:org.xtext.dsl.restaurante    文件:AbstractRestauranteUiModule.java   
public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
    return PersistentDataAwareDirtyResource.class;
}
项目:OCCI-Studio    文件:AbstractOCCIUiModule.java   
public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
    return PersistentDataAwareDirtyResource.class;
}
项目:M2Doc    文件:AbstractMyDslUiModule.java   
public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
    return PersistentDataAwareDirtyResource.class;
}
项目:minitl    文件:AbstractMinitlUiModule.java   
public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
    return PersistentDataAwareDirtyResource.class;
}
项目:Sparrow    文件:AbstractModelEditorUiModule.java   
public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
    return PersistentDataAwareDirtyResource.class;
}
项目:CooperateModelingEnvironment    文件:AbstractComponentUiModule.java   
public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
    return PersistentDataAwareDirtyResource.class;
}
项目:CooperateModelingEnvironment    文件:AbstractClsUiModule.java   
public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
    return PersistentDataAwareDirtyResource.class;
}
项目:CooperateModelingEnvironment    文件:AbstractUsecaseUiModule.java   
public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
    return PersistentDataAwareDirtyResource.class;
}
项目:cs2as    文件:AbstractASBHLangUiModule.java   
public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
    return PersistentDataAwareDirtyResource.class;
}
项目:cs2as    文件:AbstractMiniOCLUiModule.java   
public Class<? extends DocumentBasedDirtyResource> bindDocumentBasedDirtyResource() {
    return PersistentDataAwareDirtyResource.class;
}