public class ResourceEditorInput2 extends PlatformObject implements IResourceEditorInput2, IPersistableElement {
private final static boolean DEBUG_EXISTS = false;
- private final static boolean DEBUG_UPDATE = false;
+ private final static boolean DEBUG_UPDATE = true;
private static final String NO_NAME = ResourceEditorInput.NO_NAME;
/* (non-Javadoc)
* @see org.eclipse.core.runtime.IAdaptable#getAdapter(java.lang.Class)
*/
- @SuppressWarnings("rawtypes")
@Override
- public Object getAdapter(Class adapter) {
+ public <T> T getAdapter(Class<T> adapter) {
//System.out.println("[ResourceEditorInput] getAdapter: " + adapter.getName());
return null;
}
System.out.println("update(" + this + ")");
try {
- assertExists(g);
+ //assertExists(g);
name = g.syncRequest(new TitleRequest(editorID, this));
if (name == null)