X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=bundles%2Forg.simantics.spreadsheet.graph%2Fsrc%2Forg%2Fsimantics%2Fspreadsheet%2Fgraph%2FServerCellBase.java;fp=bundles%2Forg.simantics.spreadsheet.graph%2Fsrc%2Forg%2Fsimantics%2Fspreadsheet%2Fgraph%2FServerCellBase.java;h=3131f56ecd5152b9f784fcfd1c4d870b8874540d;hb=0ae2b770234dfc3cbb18bd38f324125cf0faca07;hp=7dcbe101ccab92dcfc80d1f212fcf7f22d1c38f4;hpb=24e2b34260f219f0d1644ca7a138894980e25b14;p=simantics%2Fplatform.git diff --git a/bundles/org.simantics.spreadsheet.graph/src/org/simantics/spreadsheet/graph/ServerCellBase.java b/bundles/org.simantics.spreadsheet.graph/src/org/simantics/spreadsheet/graph/ServerCellBase.java index 7dcbe101c..3131f56ec 100644 --- a/bundles/org.simantics.spreadsheet.graph/src/org/simantics/spreadsheet/graph/ServerCellBase.java +++ b/bundles/org.simantics.spreadsheet.graph/src/org/simantics/spreadsheet/graph/ServerCellBase.java @@ -1,41 +1,41 @@ -/******************************************************************************* - * Copyright (c) 2007, 2010 Association for Decentralized Information Management - * in Industry THTH ry. - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License v1.0 - * which accompanies this distribution, and is available at - * http://www.eclipse.org/legal/epl-v10.html - * - * Contributors: - * VTT Technical Research Centre of Finland - initial API and implementation - *******************************************************************************/ -package org.simantics.spreadsheet.graph; - -import org.simantics.db.RequestProcessor; -import org.simantics.db.Resource; - -abstract public class ServerCellBase implements ServerCell { - - protected boolean disposed = false; - - protected RequestProcessor processor; - protected RequestProcessor delayed; - protected Resource resource; - - @Override - public void register(RequestProcessor processor, RequestProcessor delayed, Resource cell) { - this.processor = processor; - this.delayed = delayed; - this.resource = cell; - } - - @Override - public void dispose() { - disposed = true; - } - - public Resource getResource() { - return resource; - } - -} +/******************************************************************************* + * Copyright (c) 2007, 2010 Association for Decentralized Information Management + * in Industry THTH ry. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * VTT Technical Research Centre of Finland - initial API and implementation + *******************************************************************************/ +package org.simantics.spreadsheet.graph; + +import org.simantics.db.RequestProcessor; +import org.simantics.db.Resource; + +abstract public class ServerCellBase implements ServerCell { + + protected boolean disposed = false; + + protected RequestProcessor processor; + protected RequestProcessor delayed; + protected Resource resource; + + @Override + public void register(RequestProcessor processor, RequestProcessor delayed, Resource cell) { + this.processor = processor; + this.delayed = delayed; + this.resource = cell; + } + + @Override + public void dispose() { + disposed = true; + } + + public Resource getResource() { + return resource; + } + +}