// Do something
fElement = element;
fFilter = filter;
fWorkspace = ((LFBaseElement) fElement).getWorkspace();

// Do something else
setPackageStatus();
if (fIsResourceFolderFields) setResourceFolderStatus();