]> gerrit.simantics Code Review - simantics/platform.git/commit
Use Consumer interface instead of deprecated Callback interface 94/1294/3
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 7 Dec 2017 07:32:18 +0000 (09:32 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Thu, 7 Dec 2017 07:42:43 +0000 (09:42 +0200)
commit627664d06302d454ea3b3fe14d13bb5ab739d666
tree1ea104efb8e4d4c2b17e8607853a6ecd4b2c2b7c
parenteae2657463e387cb764e7e5780d5c56f5311c0af
Use Consumer interface instead of deprecated Callback interface

Also removed some compilation warnings at the same time.

refs #7655

Change-Id: I8e84652fd50853d598ddec299fc1fc6e30776bc2
63 files changed:
bundles/org.simantics.annotation.ui/src/org/simantics/annotation/ui/actions/AnnotationDropActionFactory.java
bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/EnumerationVariableModifier.java
bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/EnumerationVariableModifier2.java
bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/EnumerationVariableModifier3.java
bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/GraphFactoryStringModifier.java
bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/GraphStringIndexModifier.java
bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/GraphStringModifier.java
bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/LabelModifier.java
bundles/org.simantics.browsing.ui.graph.impl/src/org/simantics/browsing/ui/graph/impl/VariableModifier.java
bundles/org.simantics.browsing.ui.model/src/org/simantics/browsing/ui/model/modifiers/VariableModifier2.java
bundles/org.simantics.charts/src/org/simantics/charts/ui/ChartGroupDropActionFactory.java
bundles/org.simantics.charts/src/org/simantics/charts/ui/ChartItemDropActionFactory.java
bundles/org.simantics.db.common/src/org/simantics/db/common/provider/AsyncResourceProvider.java
bundles/org.simantics.db.common/src/org/simantics/db/common/provider/ResourceProviders.java
bundles/org.simantics.db.common/src/org/simantics/db/common/request/DelayedWriteRequest.java
bundles/org.simantics.db.common/src/org/simantics/db/common/request/WriteOnlyRequest.java
bundles/org.simantics.db.common/src/org/simantics/db/common/request/WriteRequest.java
bundles/org.simantics.db.common/src/org/simantics/db/common/utils/Transaction.java
bundles/org.simantics.db.impl/src/org/simantics/db/impl/graph/PossibleObjectProcedure.java
bundles/org.simantics.db.impl/src/org/simantics/db/impl/graph/ReadGraphImpl.java
bundles/org.simantics.db.impl/src/org/simantics/db/impl/procedure/CallWrappedSingleQueryProcedure4.java
bundles/org.simantics.db.impl/src/org/simantics/db/impl/procedure/ResultCallWrappedQueryProcedure4.java
bundles/org.simantics.db.impl/src/org/simantics/db/impl/procedure/ResultCallWrappedSingleQueryProcedure4.java
bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/AssertedPredicates.java
bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/AssertedStatements.java
bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/AsyncMultiReadEntry.java
bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/AsyncReadEntry.java
bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/BinaryQuery.java
bundles/org.simantics.db.impl/src/org/simantics/db/impl/query/CacheEntryBase.java
bundles/org.simantics.db.management/src/org/simantics/db/management/SessionContext.java
bundles/org.simantics.db.management/src/org/simantics/db/management/SessionContextProvider.java
bundles/org.simantics.db.server/.classpath
bundles/org.simantics.db.server/.settings/org.eclipse.jdt.core.prefs [new file with mode: 0644]
bundles/org.simantics.db.server/META-INF/MANIFEST.MF
bundles/org.simantics.debug.ui/src/org/simantics/debug/ui/GraphDebugger.java
bundles/org.simantics.diagram/src/org/simantics/diagram/flag/DiagramFlagPreferences.java
bundles/org.simantics.diagram/src/org/simantics/diagram/handler/ConnectionRoutingMenuContribution.java
bundles/org.simantics.diagram/src/org/simantics/diagram/handler/TerminalConnectionDirectionsMenuContribution.java
bundles/org.simantics.diagram/src/org/simantics/diagram/participant/ConnectionBuilder.java
bundles/org.simantics.diagram/src/org/simantics/diagram/runtime/RuntimeDiagramManager.java
bundles/org.simantics.document.ui/src/org/simantics/document/ui/actions/AddUrlDocument.java
bundles/org.simantics.document.ui/src/org/simantics/document/ui/actions/AddUrlDocumentWithDetail.java
bundles/org.simantics.document.ui/src/org/simantics/document/ui/actions/ImportDocumentWithDetail.java
bundles/org.simantics.document.ui/src/org/simantics/document/ui/graphfile/FileDocumentUtil.java
bundles/org.simantics.document/src/org/simantics/document/FileDocumentUtil.java
bundles/org.simantics.event/src/org/simantics/event/view/handler/ClaimAction.java
bundles/org.simantics.event/src/org/simantics/event/view/handler/Delete.java
bundles/org.simantics.event/src/org/simantics/event/view/handler/DenyAction.java
bundles/org.simantics.g2d/src/org/simantics/g2d/element/ElementHints.java
bundles/org.simantics.issues.ui/src/org/simantics/issues/ui/contribution/IssueContextDropAction.java
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagram/monitor/MonitorClassFactory2.java
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagramEditor/DiagramEditorStates.java
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/diagramEditor/e4/DiagramViewer.java
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/modelBrowser/model/Experiment.java
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/modelBrowser2/model/SubscriptionNode.java
bundles/org.simantics.modeling.ui/src/org/simantics/modeling/ui/property/RestoreDefaultValueHandler.java
bundles/org.simantics.modeling/src/org/simantics/modeling/actions/DisconnectFlag.java
bundles/org.simantics.modeling/src/org/simantics/modeling/typicals/TypicalDiagramTemplateListener.java
bundles/org.simantics.simulation/src/org/simantics/simulation/project/ExperimentRuns.java
bundles/org.simantics.spreadsheet.ui/src/org/simantics/spreadsheet/ui/SheetClass.java
bundles/org.simantics.spreadsheet.ui/src/org/simantics/spreadsheet/ui/SheetFactory.java
bundles/org.simantics/src/org/simantics/NameLabelUtil.java
tests/org.simantics.db.tests/src/org/simantics/db/tests/api/write/request/WriteCallbackFailureTest.java