public class SymbolController extends Object implements RegistrationManager.Listener
Constructor and Description |
---|
SymbolController(org.eclipse.swt.widgets.Shell shell,
SymbolController parentController,
SymbolLoader symbolLoader,
Map<String,String> properties,
Map<String,Object> scriptObjects,
FactoryContext factoryContext) |
SymbolController(org.eclipse.swt.widgets.Shell shell,
SymbolLoader symbolLoader,
Map<String,String> properties,
Map<String,Object> scriptObjects,
FactoryContext factoryContext) |
public SymbolController(org.eclipse.swt.widgets.Shell shell, SymbolLoader symbolLoader, Map<String,String> properties, Map<String,Object> scriptObjects, FactoryContext factoryContext) throws Exception
Exception
public SymbolController(org.eclipse.swt.widgets.Shell shell, SymbolController parentController, SymbolLoader symbolLoader, Map<String,String> properties, Map<String,Object> scriptObjects, FactoryContext factoryContext) throws Exception
Exception
public org.eclipse.swt.widgets.Shell getShell()
protected void generatorConfigurationChanged()
protected ConsoleContext getConsole()
public Properties getProperties()
protected void addChild(SymbolController controller)
protected void removeChild(SymbolController controller)
public void dispose()
public void createProperties(String command, String onCreateProperties, Map<String,String> currentProperties) throws Exception
Exception
public void removeElement(Primitive primitive)
public void unregisterItem(String name)
public void registerItem(String name, String itemId, String connectionId, boolean ignoreSummary, boolean nullInvalid)
public void triggerDataUpdate()
This method can be called from any thread and must synchronized to the UI
triggerDataUpdate
in interface RegistrationManager.Listener
public SummaryInformation getSummaryInformation()
protected void handleDataUpdate()
protected void notifySummaryListeners()
public void addSummaryListener(SummaryListener listener)
public void removeSummaryListener(SummaryListener listener)
public ScriptExecutor createScriptExecutor(String command, String sourceName) throws Exception
Exception
public void execute(ScriptExecutor scriptExecutor, Map<String,Object> scriptObjects) throws Exception
Exception
public void startWrite(String connectionId, String itemId, Variant value) throws InterruptedException
InterruptedException
public void startWriteAttributes(String connectionId, String itemId, Map<String,Variant> attributes) throws InterruptedException
InterruptedException
public void debugLog(String string)
public void errorLog(String string)
protected SymbolContext getContext()
public SymbolContext getParentContext()
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.