Force to load IShareable
Hello, I'm trying to get IShareable from file to link it with repository. It's works in following way:
IShareable selectedShareable = (IShareable)selectedFile.getAdapter(IShareable.class);
Unfortunately sometimes selectedShareable is equals to null, because as I suppose it wasn't able to connect properly yet. If I'll wait link will be established, but is there a way to force linking of IShareable object with IFile?
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Oct 17 '17, 3:13 a.m.