import org.argeo.jcr.JcrUtils;
import org.eclipse.rap.rwt.RWT;
import org.eclipse.rap.rwt.application.EntryPoint;
-import org.eclipse.rap.rwt.application.EntryPointFactory;
import org.eclipse.swt.SWT;
import org.eclipse.swt.layout.FillLayout;
import org.eclipse.swt.layout.GridData;
import org.eclipse.swt.widgets.Text;
/** Creates and registers an {@link EntryPoint} */
-public class CmsEntryPointFactory implements EntryPointFactory {
+@Deprecated
+class CmsEntryPointFactory {
private final static Log log = LogFactory
.getLog(CmsEntryPointFactory.class);
// Managers
private CmsImageManager imageManager = new ImageManagerImpl();
- @Override
public EntryPoint create() {
CmsEntryPoint cmsEntryPoint = new CmsEntryPoint(repository, workspace);
CmsSession.current.set(cmsEntryPoint);
headerArea.layout(true, true);
}
+ @SuppressWarnings("unused")
@Override
protected void refreshBody() {
if (bodyArea == null)
// TODO report
} else {
String state = getState();
- String page = getPage();
+ String page = null;
try {
if (state == null)
throw new CmsException("State cannot be null");