tmf/lttng: Remove unneeded (non-Javadoc) comments
authorAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Tue, 9 Apr 2013 17:06:46 +0000 (13:06 -0400)
committerAlexandre Montplaisir <alexmonthy@voxpopuli.im>
Wed, 24 Apr 2013 20:06:12 +0000 (16:06 -0400)
Those comments are not needed anymore. With Java >= 6,
overriding classes marked with @Override also inherit
the Javadoc from the base class.

Also:
- Some auto-formatter actions, to remove those pesky tabs.
- Ran the copyright tool. Might have updated unrelated files.

Change-Id: I93f699efa075a5629f31f478b7045247388f58fe
Signed-off-by: Alexandre Montplaisir <alexmonthy@voxpopuli.im>
Reviewed-on: https://git.eclipse.org/r/12141
Tested-by: Hudson CI
295 files changed:
org.eclipse.linuxtools.ctf.core.tests/src/org/eclipse/linuxtools/ctf/core/tests/headless/ReadTrace.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/CTFCallsite.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/IntegerDefinition.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/event/types/StructDeclaration.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/trace/CTFReaderException.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/trace/CTFTrace.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/trace/CTFTraceReader.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/trace/Metadata.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/trace/Stream.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/trace/StreamInput.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/ctf/core/trace/StreamInputReader.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/internal/ctf/core/event/metadata/exceptions/ParseException.java
org.eclipse.linuxtools.ctf.core/src/org/eclipse/linuxtools/internal/ctf/core/trace/StreamInputPacketIndexEntry.java
org.eclipse.linuxtools.lttng2.core/src/org/eclipse/linuxtools/internal/lttng2/core/Activator.java
org.eclipse.linuxtools.lttng2.core/src/org/eclipse/linuxtools/internal/lttng2/core/control/model/impl/BaseEventInfo.java
org.eclipse.linuxtools.lttng2.core/src/org/eclipse/linuxtools/internal/lttng2/core/control/model/impl/ChannelInfo.java
org.eclipse.linuxtools.lttng2.core/src/org/eclipse/linuxtools/internal/lttng2/core/control/model/impl/DomainInfo.java
org.eclipse.linuxtools.lttng2.core/src/org/eclipse/linuxtools/internal/lttng2/core/control/model/impl/EventInfo.java
org.eclipse.linuxtools.lttng2.core/src/org/eclipse/linuxtools/internal/lttng2/core/control/model/impl/FieldInfo.java
org.eclipse.linuxtools.lttng2.core/src/org/eclipse/linuxtools/internal/lttng2/core/control/model/impl/ProbeEventInfo.java
org.eclipse.linuxtools.lttng2.core/src/org/eclipse/linuxtools/internal/lttng2/core/control/model/impl/SessionInfo.java
org.eclipse.linuxtools.lttng2.core/src/org/eclipse/linuxtools/internal/lttng2/core/control/model/impl/TraceInfo.java
org.eclipse.linuxtools.lttng2.core/src/org/eclipse/linuxtools/internal/lttng2/core/control/model/impl/UstProviderInfo.java
org.eclipse.linuxtools.lttng2.kernel.core/src/org/eclipse/linuxtools/internal/lttng2/kernel/core/Activator.java
org.eclipse.linuxtools.lttng2.kernel.core/src/org/eclipse/linuxtools/internal/lttng2/kernel/core/Attributes.java
org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/Activator.java
org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/viewers/events/LTTng2EventsTable.java
org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/views/PerspectiveFactory.java
org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/views/controlflow/ControlFlowView.java
org.eclipse.linuxtools.lttng2.kernel.ui/src/org/eclipse/linuxtools/internal/lttng2/kernel/ui/views/resources/ResourcesView.java
org.eclipse.linuxtools.lttng2.ui.tests/stubs/org/eclipse/linuxtools/internal/lttng2/stubs/dialogs/EnableChannelDialogStub.java
org.eclipse.linuxtools.lttng2.ui.tests/stubs/org/eclipse/linuxtools/internal/lttng2/stubs/shells/LTTngToolsFileShell.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/Activator.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/ControlView.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/AddContextDialog.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/ConfirmDialog.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/CreateSessionDialog.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/EnableChannelDialog.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/EnableEventsDialog.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/EnableKernelEventComposite.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/EnableUstEventsComposite.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/GetEventInfoDialog.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/ImportConfirmationDialog.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/ImportDialog.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/dialogs/NewConnectionDialog.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/AddContextOnChannelHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/AddContextOnDomainHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/AddContextOnEventHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/AssignEventHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/BaseAddContextHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/BaseEnableChannelHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/BaseEnableEventHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/BaseNodeHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/CalibrateHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/ChangeChannelStateHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/ChangeEventStateHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/ChangeSessionStateHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/ChannelCommandParameter.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/CommandParameter.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/ConnectHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/CreateSessionHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/DeleteHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/DestroySessionHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/DisableChannelHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/DisableEventHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/DisconnectHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/DomainCommandParameter.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/EnableChannelHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/EnableChannelOnDomainHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/EnableChannelOnSessionHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/EnableEventHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/EnableEventOnChannelHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/EnableEventOnDomainHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/EnableEventOnSessionHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/EventCommandParameter.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/ImportHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/NewConnectionHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/RefreshHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/StartHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/handlers/StopHandler.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/BaseEventComponent.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/KernelProviderComponent.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TargetNodeComponent.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceChannelComponent.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceControlComponent.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceControlContentProvider.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceControlLabelProvider.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceDomainComponent.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceEventComponent.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceProbeEventComponent.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/TraceSessionComponent.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/model/impl/UstProviderComponent.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/preferences/ControlPreferenceInitializer.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/preferences/ControlPreferencePage.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/property/BaseEventPropertySource.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/property/BasePropertySource.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/property/KernelProviderPropertySource.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/property/TargetNodePropertySource.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/property/TraceChannelPropertySource.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/property/TraceDomainPropertySource.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/property/TraceEventPropertySource.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/property/TraceProbeEventPropertySource.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/property/TraceSessionPropertySource.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/property/UstProviderPropertySource.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/remote/CommandResult.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/remote/CommandShell.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/remote/RemoteSystemProxy.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/service/LTTngControlService.java
org.eclipse.linuxtools.lttng2.ui/src/org/eclipse/linuxtools/internal/lttng2/ui/views/control/service/LTTngControlServiceFactory.java
org.eclipse.linuxtools.tmf.core.tests/src/org/eclipse/linuxtools/tmf/core/tests/TmfCoreTestPlugin.java
org.eclipse.linuxtools.tmf.core.tests/src/org/eclipse/linuxtools/tmf/core/tests/trace/TmfStringLocation.java
org.eclipse.linuxtools.tmf.core.tests/stubs/org/eclipse/linuxtools/tmf/tests/stubs/CreateTestFiles.java
org.eclipse.linuxtools.tmf.core.tests/stubs/org/eclipse/linuxtools/tmf/tests/stubs/component/TmfClientStub.java
org.eclipse.linuxtools.tmf.core.tests/stubs/org/eclipse/linuxtools/tmf/tests/stubs/event/TmfEventTypeStub.java
org.eclipse.linuxtools.tmf.core.tests/stubs/org/eclipse/linuxtools/tmf/tests/stubs/request/TmfDataRequestStub.java
org.eclipse.linuxtools.tmf.core.tests/stubs/org/eclipse/linuxtools/tmf/tests/stubs/request/TmfEventRequestStub.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/Activator.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/component/TmfEventThread.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/request/TmfRequestExecutor.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/statesystem/AttributeTree.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/trace/TmfExperimentContext.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/trace/TmfExperimentLocation.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/internal/tmf/core/trace/TmfLocationArray.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/TmfProjectNature.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/component/TmfComponent.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfEnumPair.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfIterator.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/ctfadaptor/CtfTmfTrace.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/event/ITmfEventType.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/event/TmfEventField.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/event/TmfEventType.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/event/TmfEventTypeManager.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/model/TmfFilterTreeNode.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/filter/xml/TmfFilterContentHandler.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/signal/TmfClearExperimentSignal.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/signal/TmfSignalManager.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/signal/TmfTimeSynchSignal.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/signal/TmfTraceRangeUpdatedSignal.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/signal/TmfTraceUpdatedSignal.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statevalue/ITmfStateValue.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statevalue/IntegerStateValue.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statevalue/NullStateValue.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statevalue/StringStateValue.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/statevalue/TmfStateValue.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/timestamp/TmfSimpleTimestamp.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/timestamp/TmfTimeRange.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/timestamp/TmfTimestamp.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/timestamp/TmfTimestampDelta.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/timestamp/TmfTimestampFormat.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/trace/TmfCheckpoint.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/trace/TmfCheckpointIndexer.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/trace/TmfContext.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/trace/TmfExperiment.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/trace/TmfLongLocation.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/trace/TmfTimestampLocation.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/trace/TmfTrace.java
org.eclipse.linuxtools.tmf.core/src/org/eclipse/linuxtools/tmf/core/uml2sd/TmfSyncSequenceDiagramEvent.java
org.eclipse.linuxtools.tmf.help/doc/User-Guide.mediawiki
org.eclipse.linuxtools.tmf.ui.tests/src/org/eclipse/linuxtools/tmf/ui/tests/views/uml2sd/loader/IUml2SDTestConstants.java
org.eclipse.linuxtools.tmf.ui.tests/src/org/eclipse/linuxtools/tmf/ui/tests/views/uml2sd/loader/Uml2SDTestSetup.java
org.eclipse.linuxtools.tmf.ui.tests/widgetStubs/org/eclipse/linuxtools/tmf/ui/tests/uml2sd/load/TestLoaders.java
org.eclipse.linuxtools.tmf.ui.tests/widgetStubs/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/test/stub/adaption/TsfImplProvider.java
org.eclipse.linuxtools.tmf.ui.tests/widgetStubs/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/test/stub/model/TraceImpl.java
org.eclipse.linuxtools.tmf.ui.tests/widgetStubs/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/test/stub/model/TraceModelImplFactory.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/Activator.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/dialogs/ManageCustomParsersDialog.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/dialogs/MultiLineInputDialog.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/parsers/custom/CustomTxtTrace.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/parsers/custom/CustomTxtTraceContext.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/parsers/custom/CustomXmlTrace.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/parsers/custom/CustomXmlTraceContext.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/parsers/wizards/CustomTxtParserInputWizardPage.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/parsers/wizards/CustomTxtParserOutputWizardPage.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/parsers/wizards/CustomXmlParserInputWizardPage.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/parsers/wizards/CustomXmlParserOutputWizardPage.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/preferences/TmfTracingPreferencePage.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/project/dialogs/SelectSupplementaryResourcesDialog.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/project/handlers/DeleteAction.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/project/handlers/DropAdapterAssistant.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/project/handlers/OpenAction.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/project/handlers/RefreshAction.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/project/handlers/TmfActionProvider.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/project/handlers/TracePropertyTester.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/internal/tmf/ui/project/model/TmfEditorLinkHelper.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/editors/TmfEditorInput.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/editors/TmfEventsEditor.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/editors/UnsortedPropertySheetPage.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfExperimentElement.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfExperimentFolder.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfNavigatorContentProvider.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfNavigatorLabelProvider.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfProjectElement.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfProjectModelElement.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfTraceElement.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TmfTraceFolder.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TraceFolderContentProvider.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/model/TraceFolderLabelProvider.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/wizards/CopyExperimentDialog.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/wizards/CopyTraceDialog.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/wizards/ImportTraceWizard.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/wizards/ImportTraceWizardPage.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/wizards/Messages.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/wizards/NewExperimentDialog.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/wizards/NewTmfProjectWizard.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/wizards/RenameExperimentDialog.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/wizards/RenameTraceDialog.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/wizards/SelectTracesWizard.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/project/wizards/SelectTracesWizardPage.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/properties/TmfTimestampFormatPage.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/events/TmfEventsTable.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/statistics/Messages.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/statistics/TmfStatisticsViewer.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/statistics/model/Messages.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/statistics/model/TmfBaseColumnData.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/viewers/statistics/model/TmfTreeContentProvider.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/TmfView.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/colors/ColorSettingsXML.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/colors/ColorsView.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/environment/TmfEnvironmentView.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/filter/FilterDialog.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/filter/FilterTreeContentProvider.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/filter/FilterTreeLabelProvider.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/filter/FilterView.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/histogram/FullTraceHistogram.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/histogram/HistogramCurrentTimeControl.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/histogram/HistogramDataModel.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/histogram/HistogramTextControl.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/histogram/HistogramTimeRangeControl.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/histogram/Messages.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/histogram/TimeRangeHistogram.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/statistics/Messages.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/statistics/TmfStatisticsView.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/timechart/TimeChartDecorationProvider.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/DrawableToolTip.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/NGC.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/SDView.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/SDWidget.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/SDWidgetSelectionProvider.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/ScrollView.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/TimeCompressionBar.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/core/AsyncMessage.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/core/AsyncMessageReturn.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/core/BaseMessage.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/core/BasicExecutionOccurrence.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/core/BasicFrame.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/core/EllipsisMessage.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/core/ExecutionOccurrence.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/core/Frame.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/core/HotSpot.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/core/Lifeline.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/core/Stop.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/core/SyncMessage.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/core/SyncMessageReturn.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/dialogs/FilterCriteria.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/dialogs/FilterListDialog.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/dialogs/MinMaxDialog.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/dialogs/PagesDialog.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/dialogs/SDPrintDialog.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/dialogs/SDPrintDialogUI.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/dialogs/SearchFilterDialog.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/dialogs/TabContents.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/drawings/impl/ColorImpl.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/drawings/impl/FontImpl.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/drawings/impl/ImageImpl.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/ConfigureMinMax.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/FirstPage.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/LastPage.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/MoveSDDown.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/MoveSDLeft.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/MoveSDRight.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/MoveSDUp.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/MoveToMessage.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/NextPage.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/OpenSDFiltersDialog.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/OpenSDFindDialog.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/OpenSDPagesDialog.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/PrevPage.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/Print.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/ShowNodeEnd.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/ShowNodeStart.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/handlers/Zoom.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/loader/TmfAsyncMessage.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/loader/TmfSyncMessage.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/loader/TmfUml2SDSyncLoader.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/preferences/SDViewPref.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/preferences/SDViewerPage.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/util/SortAsyncForBackward.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/util/SortAsyncMessageComparator.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/util/SortSyncMessageComparator.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/views/uml2sd/util/TimeEventComparator.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/tabsview/TmfViewerFolder.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/TimeGraphCombo.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/TimeGraphPresentationProvider.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/TimeGraphViewer.java
org.eclipse.linuxtools.tmf.ui/src/org/eclipse/linuxtools/tmf/ui/widgets/timegraph/dialogs/TimeGraphLegend.java

index 739218f9cd3154582f6f3351aef8280461217361..8cc24803bf799bc9640b6550c759688eab1f3b85 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
index 26dd7ff7eeb60fdebe043f774f87263aa7338e83..7b55d934ad06b72ac9e49e06ecc7034ffaa11d6b 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are made
  * available under the terms of the Eclipse Public License v1.0 which
@@ -143,12 +143,6 @@ public class CTFCallsite implements Comparable<CTFCallsite> {
         return 0;
     }
 
-
-    /*
-     * (non-Javadoc)
-     *
-     * @see java.lang.Object#toString()
-     */
     @Override
     public String toString() {
         return FileName + "/" + FunctionName + ":" + LineNumber; //$NON-NLS-1$ //$NON-NLS-2$
index 1a420e6a4337f3fb4a1a6b2f33ac00e850487de0..e0718b2c240bb3e6a3c04f9902ce293c1b64c37f 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2011-2012 Ericsson, Ecole Polytechnique de Montreal and others
+ * Copyright (c) 2011, 2013 Ericsson, Ecole Polytechnique de Montreal and others
  *
  * All rights reserved. This program and the accompanying materials are made
  * available under the terms of the Eclipse Public License v1.0 which
@@ -82,17 +82,11 @@ public class IntegerDefinition extends SimpleDatatypeDefinition {
     // Operations
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.ctf.core.event.types.SimpleDatatypeDefinition#getLongValue()
-     */
     @Override
     public Long getIntegerValue() {
         return getValue();
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.ctf.core.event.types.SimpleDatatypeDefinition#getStringValue()
-     */
     @Override
     public String getStringValue() {
         return this.toString();
index 9c5fa0a9992e28303e26c5387072e5adaefddcb4..eefbb61c866a7b13ac463c66da67cbedc364ce4c 100644 (file)
@@ -125,11 +125,6 @@ public class StructDeclaration implements IDeclaration {
         return "[declaration] struct[" + Integer.toHexString(hashCode()) + ']'; //$NON-NLS-1$
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see java.lang.Object#hashCode()
-     */
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -139,11 +134,6 @@ public class StructDeclaration implements IDeclaration {
         return result;
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see java.lang.Object#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(Object obj) {
         if (this == obj) {
index 179829d2aa9c2d3e17f9559c1cb3d4704b041d5c..f43d81b4c4d0940d52fe0516decd89ad81ce8c9c 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2011-2012 Ericsson, Ecole Polytechnique de Montreal and others
+ * Copyright (c) 2011, 2013 Ericsson, Ecole Polytechnique de Montreal and others
  *
  * All rights reserved. This program and the accompanying materials are made
  * available under the terms of the Eclipse Public License v1.0 which
index e02c58b01a2f0e6b33229df00cc2442af20c17bb..35737332d78de52e570ac30f2944e7ac5b974f27 100644 (file)
@@ -62,11 +62,6 @@ import org.eclipse.linuxtools.internal.ctf.core.trace.StreamInputPacketIndex;
  */
 public class CTFTrace implements IDefinitionScope {
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see java.lang.Object#toString()
-     */
     @SuppressWarnings("nls")
     @Override
     public String toString() {
index 98aaa2498daf0eb84a80452bc04faa8e1291c16b..d18145a870f030b10a47369474a2fa9d35d43497 100644 (file)
@@ -448,11 +448,6 @@ public class CTFTraceReader {
         return true;
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see java.lang.Object#toString()
-     */
     @Override
     public String toString() {
         /* Only for debugging, shouldn't be externalized */
index 27ca681d63be828d4c3e67c81b0d9a99f2ee895a..5daf5da74c106481ee89800e1b98d30f83d02686 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2011-2012 Ericsson, Ecole Polytechnique de Montreal and others
+ * Copyright (c) 2011, 2013 Ericsson, Ecole Polytechnique de Montreal and others
  *
  * All rights reserved. This program and the accompanying materials are made
  * available under the terms of the Eclipse Public License v1.0 which
index 8994926837aec3422e2a43f719269f78bc863ba3..5fb6de2f22081739c637d94a46dbfa98e2b020e4 100644 (file)
@@ -257,10 +257,6 @@ public class Stream {
         inputs.add(input);
     }
 
-
-    /* (non-Javadoc)
-     * @see java.lang.Object#toString()
-     */
     @Override
     public String toString() {
         return "Stream [id=" + id + ", packetContextDecl=" + packetContextDecl //$NON-NLS-1$ //$NON-NLS-2$
index 6e15940ddbca0cb81450e1c0e0b8a29fe1185116..407db545864ff4602184aa88da7fb92cad24b44d 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2011-2012 Ericsson, Ecole Polytechnique de Montreal and others
+ * Copyright (c) 2011, 2013 Ericsson, Ecole Polytechnique de Montreal and others
  *
  * All rights reserved. This program and the accompanying materials are made
  * available under the terms of the Eclipse Public License v1.0 which
@@ -479,11 +479,6 @@ public class StreamInput implements IDefinitionScope {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see java.lang.Object#hashCode()
-     */
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -492,11 +487,6 @@ public class StreamInput implements IDefinitionScope {
         return result;
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see java.lang.Object#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(Object obj) {
         if (this == obj) {
index da5a6b41cf4c6c5520e65fbd5ec331d9fe8927ea..0c77abef53c098cc05b38cfbbd460aec3e2a3f3e 100644 (file)
@@ -381,11 +381,6 @@ public class StreamInputReader {
         return packetReader;
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see java.lang.Object#hashCode()
-     */
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -396,11 +391,6 @@ public class StreamInputReader {
         return result;
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see java.lang.Object#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(Object obj) {
         if (this == obj) {
index b365b87ca4558c2f0e19d834bf4d593cc6067e9d..9b11d0627152714034a2b3ddc0ab25e86df41b19 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2011-2012 Ericsson, Ecole Polytechnique de Montreal and others
+ * Copyright (c) 2011, 2013 Ericsson, Ecole Polytechnique de Montreal and others
  *
  * All rights reserved. This program and the accompanying materials are made
  * available under the terms of the Eclipse Public License v1.0 which
index 3a0379082351e5698953c6ca79820ec42fc9d9f4..0cb19ab50f60712af2764cb956b0876c3aefab8f 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2011-2012 Ericsson, Ecole Polytechnique de Montreal and others
+ * Copyright (c) 2011, 2013 Ericsson, Ecole Polytechnique de Montreal and others
  *
  * All rights reserved. This program and the accompanying materials are made
  * available under the terms of the Eclipse Public License v1.0 which
@@ -104,11 +104,6 @@ public class StreamInputPacketIndexEntry {
         return (ts >= timestampBegin) && (ts <= timestampEnd);
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see java.lang.Object#toString()
-     */
     @Override
     public String toString() {
         return "StreamInputPacketIndexEntry [offsetBytes=" + offsetBytes //$NON-NLS-1$
index c01d55c31132371715a3f25827c30a6b97e8fa9c..3c6199dc4836826f71bae9bc079f71029f8b569e 100644 (file)
@@ -1,11 +1,11 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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:
  *   Francois Chouinard - Initial API and implementation
  *******************************************************************************/
@@ -28,75 +28,67 @@ public class Activator extends Plugin {
     // Attributes
     // ------------------------------------------------------------------------
 
-       /**
-        *  The plug-in ID
-        */
-       public static final String PLUGIN_ID = "org.eclipse.linuxtools.lttng2.core"; //$NON-NLS-1$
+    /**
+     * The plug-in ID
+     */
+    public static final String PLUGIN_ID = "org.eclipse.linuxtools.lttng2.core"; //$NON-NLS-1$
+
+    /**
+     * The shared instance
+     */
+    private static Activator plugin;
 
-       /**
-        *  The shared instance
-        */
-       private static Activator plugin;
-       
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
 
-       /**
-        * The constructor
-        */
-       public Activator() {
-       }
+    /**
+     * The constructor
+     */
+    public Activator() {
+    }
 
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
 
-       /**
-        * Returns the shared instance
-        *
-        * @return the shared instance
-        */
-       public static Activator getDefault() {
-               return plugin;
-       }
+    /**
+     * Returns the shared instance
+     *
+     * @return the shared instance
+     */
+    public static Activator getDefault() {
+        return plugin;
+    }
 
     // ------------------------------------------------------------------------
     // Operators
     // ------------------------------------------------------------------------
 
-       /*
-        * (non-Javadoc)
-        * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
-        */
-       @Override
-       public void start(BundleContext context) throws Exception {
-               super.start(context);
-               plugin = this;
-       }
-
-       /*
-        * (non-Javadoc)
-        * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
-        */
-       @Override
-       public void stop(BundleContext context) throws Exception {
-               plugin = null;
-               super.stop(context);
-       }
-       
+    @Override
+    public void start(BundleContext context) throws Exception {
+        super.start(context);
+        plugin = this;
+    }
+
+    @Override
+    public void stop(BundleContext context) throws Exception {
+        plugin = null;
+        super.stop(context);
+    }
+
     /**
      * Logs a message with severity INFO in the runtime log of the plug-in.
-     * 
+     *
      * @param message A message to log
      */
     public void logInfo(String message) {
         getLog().log(new Status(IStatus.INFO, PLUGIN_ID, message));
     }
-    
+
     /**
      * Logs a message and exception with severity INFO in the runtime log of the plug-in.
-     * 
+     *
      * @param message A message to log
      * @param exception A exception to log
      */
@@ -106,16 +98,16 @@ public class Activator extends Plugin {
 
     /**
      * Logs a message and exception with severity WARNING in the runtime log of the plug-in.
-     * 
+     *
      * @param message A message to log
      */
     public void logWarning(String message) {
         getLog().log(new Status(IStatus.WARNING, PLUGIN_ID, message));
     }
-    
+
     /**
      * Logs a message and exception with severity WARNING in the runtime log of the plug-in.
-     * 
+     *
      * @param message A message to log
      * @param exception A exception to log
      */
@@ -125,16 +117,16 @@ public class Activator extends Plugin {
 
     /**
      * Logs a message and exception with severity ERROR in the runtime log of the plug-in.
-     * 
+     *
      * @param message A message to log
      */
     public void logError(String message) {
         getLog().log(new Status(IStatus.ERROR, PLUGIN_ID, message));
     }
-    
+
     /**
      * Logs a message and exception with severity ERROR in the runtime log of the plug-in.
-     * 
+     *
      * @param message A message to log
      * @param exception A exception to log
      */
index e14c5ec6313b5660c9ee7296c8bba82d7916207d..cfc1ef928544c6d913dbb90d0c88e4ccdde8b449 100644 (file)
@@ -82,28 +82,17 @@ public class BaseEventInfo extends TraceInfo implements IBaseEventInfo {
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IBaseEventInfo#getEventType()
-     */
+
     @Override
     public TraceEventType getEventType() {
         return fEventType;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IBaseEventInfo#setEventType(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.TraceEventType)
-     */
     @Override
     public void setEventType(TraceEventType type) {
         fEventType = type;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IBaseEventInfo#setEventType(java.lang.String)
-     */
     @Override
     public void setEventType(String typeName) {
         if(TraceEventType.TRACEPOINT.getInName().equals(typeName)) {
@@ -117,28 +106,16 @@ public class BaseEventInfo extends TraceInfo implements IBaseEventInfo {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IBaseEventInfo#getLogLevel()
-     */
     @Override
     public TraceLogLevel getLogLevel() {
         return fLogLevel;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IBaseEventInfo#setLogLevel(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.TraceLogLevel)
-     */
     @Override
     public void setLogLevel(TraceLogLevel level) {
         fLogLevel = level;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IBaseEventInfo#setLogLevel(java.lang.String)
-     */
     @Override
     public void setLogLevel(String levelName) {
         if(TraceLogLevel.TRACE_EMERG.getInName().equals(levelName)) {
@@ -178,28 +155,16 @@ public class BaseEventInfo extends TraceInfo implements IBaseEventInfo {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.core.control.model.IBaseEventInfo#getFields()
-     */
     @Override
     public IFieldInfo[] getFields() {
         return fFields.toArray(new IFieldInfo[fFields.size()]);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.core.control.model.IBaseEventInfo#addField(org.eclipse.linuxtools.internal.lttng2.core.control.model.IFieldInfo)
-     */
     @Override
     public void addField(IFieldInfo field) {
         fFields.add(field);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.core.control.model.IBaseEventInfo#setFields(java.util.List)
-     */
     @Override
     public void setFields(List<IFieldInfo> fields) {
         fFields.clear();
@@ -209,29 +174,16 @@ public class BaseEventInfo extends TraceInfo implements IBaseEventInfo {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.core.control.model.IBaseEventInfo#getFilterExpression()
-     */
     @Override
     public String getFilterExpression() {
         return fFilterExpression;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.core.control.model.IBaseEventInfo#setFilterExpression(java.lang.String)
-     */
     @Override
     public void setFilterExpression(String filter) {
         fFilterExpression = filter;
     }
 
-
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.core.control.model.impl.TraceInfo#hashCode()
-     */
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -243,10 +195,6 @@ public class BaseEventInfo extends TraceInfo implements IBaseEventInfo {
         return result;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.core.control.model.impl.TraceInfo#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(Object obj) {
         if (this == obj) {
@@ -278,10 +226,6 @@ public class BaseEventInfo extends TraceInfo implements IBaseEventInfo {
         return true;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceInfo#toString()
-     */
     @SuppressWarnings("nls")
     @Override
     public String toString() {
index 8f873fe3547dc666f2cc8fcc7ee31f0bf1756160..641d00c961209058cdda031158fff082f366e369 100644 (file)
@@ -103,137 +103,77 @@ public class ChannelInfo extends TraceInfo implements IChannelInfo {
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo#getOverwriteMode()
-     */
+
     @Override
     public boolean isOverwriteMode() {
         return fOverwriteMode;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo#setOverwriteMode(boolean)
-     */
     @Override
     public void setOverwriteMode(boolean mode) {
         fOverwriteMode = mode;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo#getSubBufferSize()
-     */
     @Override
     public long getSubBufferSize() {
         return fSubBufferSize;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo#setSubBufferSize(long)
-     */
     @Override
     public void setSubBufferSize(long bufferSize) {
         fSubBufferSize = bufferSize;
-
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo#getNumberOfSubBuffers()
-     */
     @Override
     public int getNumberOfSubBuffers() {
         return fNumberOfSubBuffers;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo#setNumberOfSubBuffers(int)
-     */
     @Override
     public void setNumberOfSubBuffers(int numberOfSubBuffers) {
         fNumberOfSubBuffers = numberOfSubBuffers;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo#getSwitchTimer()
-     */
     @Override
     public long getSwitchTimer() {
         return fSwitchTimer;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo#setSwitchTimer(long)
-     */
     @Override
     public void setSwitchTimer(long timer) {
         fSwitchTimer = timer;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo#getReadTimer()
-     */
     @Override
     public long getReadTimer() {
         return fReadTimer;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo#setReadTimer(long)
-     */
     @Override
     public void setReadTimer(long timer) {
         fReadTimer = timer;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo#getOutputType()
-     */
     @Override
     public String getOutputType() {
         return fOutputType;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo#setOutputType(java.lang.String)
-     */
     @Override
     public void setOutputType(String type) {
         fOutputType = type;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo#getState()
-     */
     @Override
     public TraceEnablement getState() {
         return fState;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo#setState(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.TraceEnablement)
-     */
     @Override
     public void setState(TraceEnablement state) {
         fState = state;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo#setState(java.lang.String)
-     */
     @Override
     public void setState(String stateName) {
         fState = TraceEnablement.ENABLED;
@@ -244,19 +184,11 @@ public class ChannelInfo extends TraceInfo implements IChannelInfo {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo#getEvents()
-     */
     @Override
     public IEventInfo[] getEvents() {
         return fEvents.toArray(new IEventInfo[fEvents.size()]);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo#setEvents(java.util.List)
-     */
     @Override
     public void setEvents(List<IEventInfo> events) {
         fEvents.clear();
@@ -266,19 +198,11 @@ public class ChannelInfo extends TraceInfo implements IChannelInfo {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo#addEvent(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IEventInfo)
-     */
     @Override
     public void addEvent(IEventInfo channel) {
         fEvents.add(channel);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceInfo#hashCode()
-     */
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -294,10 +218,6 @@ public class ChannelInfo extends TraceInfo implements IChannelInfo {
         return result;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceInfo#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(Object obj) {
         if (this == obj) {
@@ -341,10 +261,6 @@ public class ChannelInfo extends TraceInfo implements IChannelInfo {
         return true;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceInfo#toString()
-     */
     @SuppressWarnings("nls")
     @Override
     public String toString() {
@@ -377,6 +293,4 @@ public class ChannelInfo extends TraceInfo implements IChannelInfo {
             output.append(")]");
             return output.toString();
     }
-
-
 }
index fda6fc9e1155e8b1ee6eb6ce318f4e77c2dccd57..8a39349d26df83fddb4f4ff9ae2a87b24a648b66 100644 (file)
@@ -64,19 +64,11 @@ public class DomainInfo extends TraceInfo implements IDomainInfo {
         fIsKernel = other.fIsKernel;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IDomainInfo#isKernel()
-     */
     @Override
     public boolean isKernel() {
         return fIsKernel;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IDomainInfo#setIsKernel(boolean)
-     */
     @Override
     public void setIsKernel(boolean isKernel) {
         fIsKernel = isKernel;
@@ -85,19 +77,12 @@ public class DomainInfo extends TraceInfo implements IDomainInfo {
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IDomainInfo#getChannels()
-     */
+
     @Override
     public IChannelInfo[] getChannels() {
         return fChannels.toArray(new IChannelInfo[fChannels.size()]);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IDomainInfo#setChannels(java.util.List)
-     */
     @Override
     public void setChannels(List<IChannelInfo> channels) {
         fChannels.clear();
@@ -107,19 +92,11 @@ public class DomainInfo extends TraceInfo implements IDomainInfo {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IDomainInfo#addChannel(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo)
-     */
     @Override
     public void addChannel(IChannelInfo channel) {
         fChannels.add(channel);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceInfo#hashCode()
-     */
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -129,10 +106,6 @@ public class DomainInfo extends TraceInfo implements IDomainInfo {
         return result;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceInfo#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(Object obj) {
         if (this == obj) {
@@ -154,10 +127,6 @@ public class DomainInfo extends TraceInfo implements IDomainInfo {
         return true;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceInfo#toString()
-     */
     @SuppressWarnings("nls")
     @Override
     public String toString() {
index c0bf36dc5766e0c26c9bb8f46e67674e5d0a06a2..a872b065d1dd615fb7725b89c4e6386a5bb5a7eb 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.internal.lttng2.core.control.model.impl;
@@ -17,9 +17,9 @@ import org.eclipse.linuxtools.internal.lttng2.core.control.model.TraceEnablement
 /**
 * <p>
 * Implementation of the trace event interface (IEventInfo) to store event
-* related data. 
+* related data.
 * </p>
-* 
+*
 * @author Bernd Hufmann
 */
 public class EventInfo extends BaseEventInfo implements IEventInfo {
@@ -31,7 +31,7 @@ public class EventInfo extends BaseEventInfo implements IEventInfo {
      * The enable state of the event.
      */
     private TraceEnablement fState = TraceEnablement.DISABLED;
-    
+
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
@@ -42,7 +42,7 @@ public class EventInfo extends BaseEventInfo implements IEventInfo {
     public EventInfo(String name) {
         super(name);
     }
-    
+
     /**
      * Copy constructor
      * @param other - the instance to copy
@@ -51,32 +51,21 @@ public class EventInfo extends BaseEventInfo implements IEventInfo {
         super(other);
         fState = other.fState;
     }
-    
+
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IEventInfo#getState()
-     */
+
     @Override
     public TraceEnablement getState() {
         return fState;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IEventInfo#setState(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.TraceEnablement)
-     */
     @Override
     public void setState(TraceEnablement state) {
         fState = state;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IEventInfo#setState(java.lang.String)
-     */
     @Override
     public void setState(String stateName) {
         fState = TraceEnablement.DISABLED;
@@ -87,10 +76,6 @@ public class EventInfo extends BaseEventInfo implements IEventInfo {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.BaseEventInfo#hashCode()
-     */
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -99,10 +84,6 @@ public class EventInfo extends BaseEventInfo implements IEventInfo {
         return result;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.BaseEventInfo#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(Object obj) {
         if (this == obj) {
@@ -121,10 +102,6 @@ public class EventInfo extends BaseEventInfo implements IEventInfo {
         return true;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.BaseEventInfo#toString()
-     */
     @SuppressWarnings("nls")
     @Override
     public String toString() {
index 8471b852b1252eb8bd57ea4463a40f2ad0a192b5..300796f95ea9020b07126c89f19cce8056c52ee4 100644 (file)
@@ -55,28 +55,16 @@ public class FieldInfo extends TraceInfo implements IFieldInfo {
     // Accessors
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.core.control.model.IFieldInfo#getFieldType()
-     */
     @Override
     public String getFieldType() {
         return fFieldType;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.core.control.model.IFieldInfo#setFieldType(java.lang.String)
-     */
     @Override
     public void setFieldType(String fieldType) {
         fFieldType = fieldType;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.core.control.model.impl.TraceInfo#hashCode()
-     */
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -86,10 +74,6 @@ public class FieldInfo extends TraceInfo implements IFieldInfo {
         return result;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.core.control.model.impl.TraceInfo#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(Object obj) {
         if (this == obj) {
@@ -112,10 +96,6 @@ public class FieldInfo extends TraceInfo implements IFieldInfo {
         return true;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceInfo#toString()
-     */
     @SuppressWarnings("nls")
     @Override
     public String toString() {
index dc6d00cc9fc6fecc6254044a6995fa392062e4fb..462297b193cbbb7335aabe4735db5c0616334dc9 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.internal.lttng2.core.control.model.impl;
@@ -16,9 +16,9 @@ import org.eclipse.linuxtools.internal.lttng2.core.control.model.IProbeEventInfo
 /**
 * <p>
 * Implementation of the trace event interface (IProbeEventInfo) to store probe event
-* related data. 
+* related data.
 * </p>
-* 
+*
 * @author Bernd Hufmann
 */
 public class ProbeEventInfo extends EventInfo implements IProbeEventInfo {
@@ -34,13 +34,13 @@ public class ProbeEventInfo extends EventInfo implements IProbeEventInfo {
      * The dynamic probe offset (if symbol is used).
      */
     private String fOffset;
-    
+
     /**
      * The symbol name (null if address is used)
      */
     private String fSymbol;
-    
-    
+
+
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
@@ -51,7 +51,7 @@ public class ProbeEventInfo extends EventInfo implements IProbeEventInfo {
     public ProbeEventInfo(String name) {
         super(name);
     }
-    
+
     /**
      * Copy constructor
      * @param other - the instance to copy
@@ -62,60 +62,36 @@ public class ProbeEventInfo extends EventInfo implements IProbeEventInfo {
         fOffset = other.fOffset;
         fSymbol = other.fSymbol;
     }
-    
+
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IProbeEventInfo#getAddress()
-     */
     @Override
     public String getAddress() {
         return fAddress;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IProbeEventInfo#setAddress(java.lang.String)
-     */
     @Override
     public void setAddress(String address) {
         fAddress = address;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IProbeEventInfo#getOffset()
-     */
     @Override
     public String getOffset() {
         return fOffset;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IProbeEventInfo#setOffset(java.lang.String)
-     */
     @Override
     public void setOffset(String offset) {
         fOffset = offset;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IProbeEventInfo#getSymbol()
-     */
     @Override
     public String getSymbol() {
         return fSymbol;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IProbeEventInfo#setSymbol(java.lang.String)
-     */
     @Override
     public void setSymbol(String symbol) {
         fSymbol = symbol;
@@ -125,10 +101,6 @@ public class ProbeEventInfo extends EventInfo implements IProbeEventInfo {
     // Operation
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.BaseEventInfo#hashCode()
-     */
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -139,10 +111,6 @@ public class ProbeEventInfo extends EventInfo implements IProbeEventInfo {
         return result;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.BaseEventInfo#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(Object obj) {
         if (this == obj) {
@@ -179,11 +147,6 @@ public class ProbeEventInfo extends EventInfo implements IProbeEventInfo {
         return true;
     }
 
-    
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.EventInfo#toString()
-     */
     @SuppressWarnings("nls")
     @Override
     public String toString() {
index 87fb4ea8628025ac7c1a156407f085366f0651e4..ec6b95344281f2839ffb72b5b4947e3050da3d16 100644 (file)
@@ -84,28 +84,17 @@ public class SessionInfo extends TraceInfo implements ISessionInfo {
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ISessionInfo#getSessionState()
-     */
+
     @Override
     public TraceSessionState getSessionState() {
         return fState;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ISessionInfo#setSessionState(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.TraceSessionState)
-     */
     @Override
     public void setSessionState(TraceSessionState state) {
         fState = state;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ISessionInfo#setSessionState(java.lang.String)
-     */
     @Override
     public void setSessionState(String stateName) {
         if (TraceSessionState.INACTIVE.getInName().equals(stateName)) {
@@ -115,37 +104,21 @@ public class SessionInfo extends TraceInfo implements ISessionInfo {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ISessionInfo#getSessionPath()
-     */
     @Override
     public String getSessionPath() {
         return fSessionPath;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ISessionInfo#setSessionPath(java.lang.String)
-     */
     @Override
     public void setSessionPath(String path) {
         fSessionPath = path;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ISessionInfo#getDomains()
-     */
     @Override
     public IDomainInfo[] getDomains() {
         return fDomains.toArray(new IDomainInfo[fDomains.size()]);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ISessionInfo#setDomains(java.util.List)
-     */
     @Override
     public void setDomains(List<IDomainInfo> domains) {
         fDomains.clear();
@@ -155,20 +128,11 @@ public class SessionInfo extends TraceInfo implements ISessionInfo {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.core.control.model.ISessionInfo#isStreamedTrace()
-     */
     @Override
     public boolean isStreamedTrace() {
         return fIsStreamedTrace;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.core.control.model.ISessionInfo#setIsStreamedTrace(boolean)
-     */
-
     @Override
     public void setStreamedTrace(boolean isStreamedTrace) {
         fIsStreamedTrace = isStreamedTrace;
@@ -177,19 +141,12 @@ public class SessionInfo extends TraceInfo implements ISessionInfo {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ISessionInfo#addDomain(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IDomainInfo)
-     */
+
     @Override
     public void addDomain(IDomainInfo domainInfo) {
         fDomains.add(domainInfo);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.core.control.model.impl.TraceInfo#hashCode()
-     */
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -201,10 +158,6 @@ public class SessionInfo extends TraceInfo implements ISessionInfo {
         return result;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.core.control.model.impl.TraceInfo#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(Object obj) {
         if (this == obj) {
@@ -236,10 +189,6 @@ public class SessionInfo extends TraceInfo implements ISessionInfo {
         return true;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceInfo#toString()
-     */
     @SuppressWarnings("nls")
     @Override
     public String toString() {
index 604f03264bbfa116a970475a918c530171d3a439..70ddf82994a4da56afa77eaf45f46935c224d967 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -59,28 +59,17 @@ public class TraceInfo implements ITraceInfo {
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceInfo#getName()
-     */
+
     @Override
     public String getName() {
         return fName;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceInfo#setName(java.lang.String)
-     */
     @Override
     public void setName(String name) {
         fName = name;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see java.lang.Object#hashCode()
-     */
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -89,10 +78,6 @@ public class TraceInfo implements ITraceInfo {
         return result;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see java.lang.Object#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(Object obj) {
         if (this == obj) {
@@ -114,10 +99,7 @@ public class TraceInfo implements ITraceInfo {
         }
         return true;
     }
-    /*
-     * (non-Javadoc)
-     * @see java.lang.Object#toString()
-     */
+
     @SuppressWarnings("nls")
     @Override
     public String toString() {
index 23d76e0fe269f43e0c48690995d63bffdb887b5a..400b6af1c4b06433d9cc16ccd8c416619c17e000 100644 (file)
@@ -31,10 +31,12 @@ public class UstProviderInfo extends TraceInfo implements IUstProviderInfo {
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     /**
      * The process ID of the UST provider.
      */
     private int fPid = 0;
+
     /**
      * List of event information.
      */
@@ -43,6 +45,7 @@ public class UstProviderInfo extends TraceInfo implements IUstProviderInfo {
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
+
     /**
      * Constructor
      * @param name - name of UST provider
@@ -72,37 +75,21 @@ public class UstProviderInfo extends TraceInfo implements IUstProviderInfo {
     // Accessors
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IUstProviderInfo#getPid()
-     */
     @Override
     public int getPid() {
         return fPid;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IUstProviderInfo#setPid(int)
-     */
     @Override
     public void setPid(int pid) {
         fPid = pid;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IUstProviderInfo#getEvents()
-     */
     @Override
     public IBaseEventInfo[] getEvents() {
         return fEvents.toArray(new IBaseEventInfo[fEvents.size()]);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IUstProviderInfo#setEvents(java.util.List)
-     */
     @Override
     public void setEvents(List<IBaseEventInfo> events) {
         fEvents.clear();
@@ -112,10 +99,6 @@ public class UstProviderInfo extends TraceInfo implements IUstProviderInfo {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IUstProviderInfo#addEvent(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IBaseEventInfo)
-     */
     @Override
     public void addEvent(IBaseEventInfo event) {
         fEvents.add(event);
@@ -125,10 +108,6 @@ public class UstProviderInfo extends TraceInfo implements IUstProviderInfo {
     // Operations
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceInfo#hashCode()
-     */
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -138,10 +117,6 @@ public class UstProviderInfo extends TraceInfo implements IUstProviderInfo {
         return result;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceInfo#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(Object obj) {
         if (this == obj) {
@@ -163,10 +138,6 @@ public class UstProviderInfo extends TraceInfo implements IUstProviderInfo {
         return true;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceInfo#toString()
-     */
     @SuppressWarnings("nls")
     @Override
     public String toString() {
@@ -188,5 +159,4 @@ public class UstProviderInfo extends TraceInfo implements IUstProviderInfo {
             return output.toString();
     }
 
-
 }
index 17e918f4f58ebc0bd3b9ac62eec830fdfb211b47..d0270fdc245263b233723d2986c17edc52cbc233 100644 (file)
@@ -1,11 +1,11 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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:
  *   Francois Chouinard - Initial API and implementation
  *******************************************************************************/
@@ -28,75 +28,67 @@ public class Activator extends Plugin {
     // Attributes
     // ------------------------------------------------------------------------
 
-       /**
-        *  The plug-in ID
-        */
-       public static final String PLUGIN_ID = "org.eclipse.linuxtools.lttng2.core"; //$NON-NLS-1$
+    /**
+     * The plug-in ID
+     */
+    public static final String PLUGIN_ID = "org.eclipse.linuxtools.lttng2.core"; //$NON-NLS-1$
+
+    /**
+     * The shared instance
+     */
+    private static Activator plugin;
 
-       /**
-        *  The shared instance
-        */
-       private static Activator plugin;
-       
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
 
-       /**
-        * The constructor
-        */
-       public Activator() {
-       }
+    /**
+     * The constructor
+     */
+    public Activator() {
+    }
 
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
 
-       /**
-        * Returns the shared instance
-        *
-        * @return the shared instance
-        */
-       public static Activator getDefault() {
-               return plugin;
-       }
+    /**
+     * Returns the shared instance
+     *
+     * @return the shared instance
+     */
+    public static Activator getDefault() {
+        return plugin;
+    }
 
     // ------------------------------------------------------------------------
     // Operators
     // ------------------------------------------------------------------------
 
-       /*
-        * (non-Javadoc)
-        * @see org.eclipse.core.runtime.Plugins#start(org.osgi.framework.BundleContext)
-        */
-       @Override
-       public void start(BundleContext context) throws Exception {
-               super.start(context);
-               plugin = this;
-       }
-
-       /*
-        * (non-Javadoc)
-        * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
-        */
-       @Override
-       public void stop(BundleContext context) throws Exception {
-               plugin = null;
-               super.stop(context);
-       }
-       
+    @Override
+    public void start(BundleContext context) throws Exception {
+        super.start(context);
+        plugin = this;
+    }
+
+    @Override
+    public void stop(BundleContext context) throws Exception {
+        plugin = null;
+        super.stop(context);
+    }
+
     /**
      * Logs a message with severity INFO in the runtime log of the plug-in.
-     * 
+     *
      * @param message A message to log
      */
     public void logInfo(String message) {
         getLog().log(new Status(IStatus.INFO, PLUGIN_ID, message));
     }
-    
+
     /**
      * Logs a message and exception with severity INFO in the runtime log of the plug-in.
-     * 
+     *
      * @param message A message to log
      * @param exception A exception to log
      */
@@ -106,16 +98,16 @@ public class Activator extends Plugin {
 
     /**
      * Logs a message and exception with severity WARNING in the runtime log of the plug-in.
-     * 
+     *
      * @param message A message to log
      */
     public void logWarning(String message) {
         getLog().log(new Status(IStatus.WARNING, PLUGIN_ID, message));
     }
-    
+
     /**
      * Logs a message and exception with severity WARNING in the runtime log of the plug-in.
-     * 
+     *
      * @param message A message to log
      * @param exception A exception to log
      */
@@ -125,16 +117,16 @@ public class Activator extends Plugin {
 
     /**
      * Logs a message and exception with severity ERROR in the runtime log of the plug-in.
-     * 
+     *
      * @param message A message to log
      */
     public void logError(String message) {
         getLog().log(new Status(IStatus.ERROR, PLUGIN_ID, message));
     }
-    
+
     /**
      * Logs a message and exception with severity ERROR in the runtime log of the plug-in.
-     * 
+     *
      * @param message A message to log
      * @param exception A exception to log
      */
index 4864b5965033e714aefe5296159902ede9956485..1df281e8c8a221c1220afea3c696422f04111ba1 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
index 0a2e626df9822bce523143f6c99a013f21dbe4b1..1dd6e7b5792f41db9230c970a1432cca20e893c4 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -66,27 +66,18 @@ public class Activator extends AbstractUIPlugin {
     // AbstractUIPlugin
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
-     */
     @Override
     public void start(BundleContext context) throws Exception {
         super.start(context);
         plugin = this;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
-     */
     @Override
     public void stop(BundleContext context) throws Exception {
         plugin = null;
         super.stop(context);
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.ui.plugin.AbstractUIPlugin#initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry)
-     */
     @Override
     protected void initializeImageRegistry(ImageRegistry reg) {
     }
index 9027bd732fd59fa4d6dd27c24c524407f4135fbf..fa2ca56eee49e90100079b174a22afad745d8e33 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
index 97a4f74ab5a94f476c2f980ff2eca5e2a06562ca..b32a5ceffabebb112b342acefb8eb19e6d8949c6 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -41,11 +41,6 @@ public class PerspectiveFactory implements IPerspectiveFactory {
     private static final String PROPERTIES_VIEW_ID = IPageLayout.ID_PROP_SHEET;
     private static final String BOOKMARKS_VIEW_ID = IPageLayout.ID_BOOKMARKS;
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.ui.IPerspectiveFactory#createInitialLayout(org.eclipse.ui.IPageLayout)
-     */
     @Override
     public void createInitialLayout(IPageLayout layout) {
 
index 25845b645e53f6c9cc6f41167717dd4dd4fafdd5..9b39ee6ab7922d81aafae0826e3ebb851784e774 100644 (file)
@@ -356,9 +356,6 @@ public class ControlFlowView extends TmfView {
     // ViewPart
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.TmfView#createPartControl(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     public void createPartControl(Composite parent) {
         fTimeGraphCombo = new TimeGraphCombo(parent, SWT.NONE);
@@ -422,9 +419,6 @@ public class ControlFlowView extends TmfView {
         getSite().setSelectionProvider(fTimeGraphCombo.getTreeViewer());
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.ui.part.WorkbenchPart#setFocus()
-     */
     @Override
     public void setFocus() {
         fTimeGraphCombo.setFocus();
index 2ed9e30f05718684e7c778d99f732a9f071e4c3f..2af610e1386738c5928f92877541ac4b84323a26 100644 (file)
@@ -308,9 +308,6 @@ public class ResourcesView extends TmfView {
     // ViewPart
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.TmfView#createPartControl(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     public void createPartControl(Composite parent) {
         fTimeGraphViewer = new TimeGraphViewer(parent, SWT.NONE);
@@ -349,9 +346,6 @@ public class ResourcesView extends TmfView {
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.ui.part.WorkbenchPart#setFocus()
-     */
     @Override
     public void setFocus() {
         fTimeGraphViewer.setFocus();
index d5a1a5602b7747e4d608a7c7fcfef80e65b25301..cc8b34c0324c2a1d3d186978f77a031deb5ee9a4 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
index 39ccc274487cae2c1a907869554f5d430399cca4..93b0e21b9fd928888754e94222af79d3da8ccafe 100644 (file)
@@ -226,10 +226,6 @@ public class LTTngToolsFileShell extends TestCommandShell {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.lttng.stubs.service.shells.TestCommandShell#executeCommand(java.lang.String, org.eclipse.core.runtime.IProgressMonitor, boolean)
-     */
     @Override
    public synchronized ICommandResult executeCommand(String command, IProgressMonitor monitor, boolean checkReturnValue) throws ExecutionException {
         Map<String, ICommandResult> commands = fScenarioMap.get(fScenario);
@@ -264,6 +260,7 @@ public class LTTngToolsFileShell extends TestCommandShell {
     // ------------------------------------------------------------------------
     // Helper methods
     // ------------------------------------------------------------------------
+
     private static boolean isComment(String line) {
         if (line == null) {
             throw new RuntimeException("line is null");
index d5d7106ec8d7d93eed6b5930de34d85403dbf600..dcdb0817609fc3c696d448ec547cb3e0c635c2fe 100644 (file)
@@ -1,11 +1,11 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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:
  *   Francois Chouinard - Initial API and implementation
  *******************************************************************************/
@@ -69,9 +69,6 @@ public class Activator extends AbstractUIPlugin {
     // AbstractUIPlugin
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
-     */
     @Override
     public void start(BundleContext context) throws Exception {
         super.start(context);
@@ -79,9 +76,6 @@ public class Activator extends AbstractUIPlugin {
         ControlPreferences.getInstance().init(getPreferenceStore());
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
-     */
     @Override
     public void stop(BundleContext context) throws Exception {
         ControlPreferences.getInstance().dispose();
@@ -89,9 +83,6 @@ public class Activator extends AbstractUIPlugin {
         super.stop(context);
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.ui.plugin.AbstractUIPlugin#initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry)
-     */
     @Override
     protected void initializeImageRegistry(ImageRegistry reg) {
     }
@@ -102,9 +93,9 @@ public class Activator extends AbstractUIPlugin {
 
     /**
      * Gets an image object using given path within plug-in.
-     *  
+     *
      * @param path path to image file
-     * 
+     *
      * @return image object
      */
     public Image getImageFromPath(String path) {
@@ -113,9 +104,9 @@ public class Activator extends AbstractUIPlugin {
 
     /**
      * Gets an image descriptor using given path within plug-in.
-     *  
-     * @param path path to image file 
-     * 
+     *
+     * @param path path to image file
+     *
      * @return image descriptor object
      */
     public ImageDescriptor getImageDescripterFromPath(String path) {
@@ -124,9 +115,9 @@ public class Activator extends AbstractUIPlugin {
 
     /**
      * Gets a image object from the image registry based on the given path.
-     * If the image is not in the registry it will be registered.  
-     *  
-     * @param path to the image file 
+     * If the image is not in the registry it will be registered.
+     *
+     * @param path to the image file
      * @return image object
      */
     public Image getImageFromImageRegistry(String path) {
@@ -137,7 +128,7 @@ public class Activator extends AbstractUIPlugin {
         }
         return icon;
     }
-    
+
     /**
      * Loads the image in the plug-ins image registry (if necessary) and returns the image
      * @param url - URL relative to the Bundle
@@ -154,19 +145,19 @@ public class Activator extends AbstractUIPlugin {
         }
         return icon;
     }
-    
+
     /**
      * Logs a message with severity INFO in the runtime log of the plug-in.
-     * 
+     *
      * @param message A message to log
      */
     public void logInfo(String message) {
         getLog().log(new Status(IStatus.INFO, PLUGIN_ID, message));
     }
-    
+
     /**
      * Logs a message and exception with severity INFO in the runtime log of the plug-in.
-     * 
+     *
      * @param message A message to log
      * @param exception A exception to log
      */
@@ -176,16 +167,16 @@ public class Activator extends AbstractUIPlugin {
 
     /**
      * Logs a message and exception with severity WARNING in the runtime log of the plug-in.
-     * 
+     *
      * @param message A message to log
      */
     public void logWarning(String message) {
         getLog().log(new Status(IStatus.WARNING, PLUGIN_ID, message));
     }
-    
+
     /**
      * Logs a message and exception with severity WARNING in the runtime log of the plug-in.
-     * 
+     *
      * @param message A message to log
      * @param exception A exception to log
      */
@@ -195,16 +186,16 @@ public class Activator extends AbstractUIPlugin {
 
     /**
      * Logs a message and exception with severity ERROR in the runtime log of the plug-in.
-     * 
+     *
      * @param message A message to log
      */
     public void logError(String message) {
         getLog().log(new Status(IStatus.ERROR, PLUGIN_ID, message));
     }
-    
+
     /**
      * Logs a message and exception with severity ERROR in the runtime log of the plug-in.
-     * 
+     *
      * @param message A message to log
      * @param exception A exception to log
      */
index 972ce5a395643af5e4aed8605eb51e66fe3b0c86..558088d5134fb22cbf105c1b23fb15ba53165c31 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson
+ * Copyright (c) 2009, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -45,6 +45,7 @@ public class ControlView extends ViewPart implements ITraceControlComponentChang
     // ------------------------------------------------------------------------
     // Constants
     // ------------------------------------------------------------------------
+
     /**
      * View ID.
      */
@@ -64,10 +65,6 @@ public class ControlView extends ViewPart implements ITraceControlComponentChang
      */
     private ITraceControlComponent fRoot = null;
 
-    // ------------------------------------------------------------------------
-    // Constructors
-    // ------------------------------------------------------------------------
-
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
@@ -85,11 +82,6 @@ public class ControlView extends ViewPart implements ITraceControlComponentChang
     // Operations
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.ui.part.WorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     public void createPartControl(Composite parent) {
         // Create tree viewer
@@ -112,38 +104,21 @@ public class ControlView extends ViewPart implements ITraceControlComponentChang
         RSECorePlugin.getTheSystemRegistry(); // to load RSE
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.ui.part.WorkbenchPart#setFocus()
-     */
     @Override
     public void setFocus() {
         fTreeViewer.getControl().setFocus();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponentChangedListener#componentAdded(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent, org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent)
-     */
     @Override
     public void componentAdded(ITraceControlComponent parent, ITraceControlComponent component) {
         componentChanged(parent);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponentChangedListener#componentRemoved(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent, org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent)
-     */
     @Override
     public void componentRemoved(ITraceControlComponent parent, ITraceControlComponent component) {
         componentChanged(parent);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponentChangedListener#componentChanged(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent)
-     */
     @Override
     public void componentChanged(final ITraceControlComponent component) {
         if (fTreeViewer.getTree().isDisposed()) {
index fb5ddb204a509a55267e21bfac684de60944b17e..f2d6fff9f68f9a08cca0f10519276d0d7e9fe5e4 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -55,18 +55,22 @@ public class AddContextDialog extends Dialog implements IAddContextDialog  {
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     /**
      * The dialog composite.
      */
     private Composite fDialogComposite;
+
     /**
      * A tree viewer for displaying and selection of available contexts.
      */
     private CheckboxTreeViewer fContextsViewer;
+
     /**
      * A Tree model for the checkbox tree viewer.
      */
     private final ContextModel fContextModel = new ContextModel();
+
     /**
      * The contexts to add.
      */
@@ -75,6 +79,7 @@ public class AddContextDialog extends Dialog implements IAddContextDialog  {
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
+
     /**
      * Constructor
      * @param shell - a shell for the display of the dialog
@@ -88,19 +93,11 @@ public class AddContextDialog extends Dialog implements IAddContextDialog  {
     // Accessors
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IAddContextDialog#setAvalibleContexts(java.util.List)
-     */
     @Override
     public void setAvalibleContexts(List<String> contexts) {
         fContextModel.setAvalibleContexts(contexts);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IAddContextDialog#getContexts()
-     */
     @Override
     public List<String> getContexts() {
         List<String> ret = new ArrayList<String>();
@@ -111,10 +108,7 @@ public class AddContextDialog extends Dialog implements IAddContextDialog  {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
-     */
+
     @Override
     protected void configureShell(Shell newShell) {
         super.configureShell(newShell);
@@ -122,10 +116,6 @@ public class AddContextDialog extends Dialog implements IAddContextDialog  {
         newShell.setImage(Activator.getDefault().loadIcon(ADD_CONTEXT_ICON_FILE));
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected Control createDialogArea(Composite parent) {
 
@@ -156,20 +146,12 @@ public class AddContextDialog extends Dialog implements IAddContextDialog  {
         return fDialogComposite;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected void createButtonsForButtonBar(Composite parent) {
         createButton(parent, IDialogConstants.CANCEL_ID, "&Cancel", true); //$NON-NLS-1$
         createButton(parent, IDialogConstants.OK_ID, "&Ok", true); //$NON-NLS-1$
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#okPressed()
-     */
     @Override
     protected void okPressed() {
         fSelectedContexts.clear();
index 213e3d9d9fa75ed703bb3f021465fc718f5f6722..a94003a93b5ca3d6b29ba3ba86eca3d2b5979442 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 
@@ -21,20 +21,16 @@ import org.eclipse.swt.widgets.Shell;
  * <p>
  * Confirmation dialog implementation.
  * </p>
- * 
+ *
  * @author Bernd Hufmann
  */
 
 public class ConfirmDialog implements IConfirmDialog {
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IConfirmDialog#openConfirm(org.eclipse.swt.widgets.Shell, java.lang.String, java.lang.String)
-     */
     @Override
     public boolean openConfirm(Shell parent, String title, String message) {
-        return MessageDialog.openConfirm(parent, 
-                Messages.TraceControl_DestroyConfirmationTitle, 
+        return MessageDialog.openConfirm(parent,
+                Messages.TraceControl_DestroyConfirmationTitle,
                 Messages.TraceControl_DestroyConfirmationMessage);
     }
 }
index fb61d3d1ee078e4a418756677d249a3515db9131..4669c9bf885d1c97982e9c897bd49c6a4e599c42 100644 (file)
@@ -226,37 +226,22 @@ public class CreateSessionDialog extends Dialog implements ICreateSessionDialog
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.ICreateSessionDialog#getSessionName()
-     */
+
     @Override
     public String getSessionName() {
         return fSessionName;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.ICreateSessionDialog#getSessionPath()
-     */
     @Override
     public String getSessionPath() {
         return fSessionPath;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.ICreateSessionDialog#isDefaultSessionPath()
-     */
     @Override
     public boolean isDefaultSessionPath() {
         return fIsDefaultPath;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.ICreateSessionDialog#initialze(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionGroup)
-     */
     @Override
     public void initialize(TraceSessionGroup group) {
        fParent = group;
@@ -291,10 +276,6 @@ public class CreateSessionDialog extends Dialog implements ICreateSessionDialog
     // Operations
     // ------------------------------------------------------------------------
 
-
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createContents(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected Control createContents(Composite parent) {
         fControl = super.createContents(parent);
@@ -306,10 +287,7 @@ public class CreateSessionDialog extends Dialog implements ICreateSessionDialog
 
         return fControl;
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
-     */
+
     @Override
     protected void configureShell(Shell newShell) {
         super.configureShell(newShell);
@@ -317,10 +295,6 @@ public class CreateSessionDialog extends Dialog implements ICreateSessionDialog
         newShell.setImage(Activator.getDefault().loadIcon(CREATE_SESSION_ICON_FILE));
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected Control createDialogArea(Composite parent) {
 
@@ -616,20 +590,12 @@ public class CreateSessionDialog extends Dialog implements ICreateSessionDialog
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected void createButtonsForButtonBar(Composite parent) {
         createButton(parent, IDialogConstants.CANCEL_ID, "&Cancel", true); //$NON-NLS-1$
         createButton(parent, IDialogConstants.OK_ID, "&Ok", true); //$NON-NLS-1$
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#okPressed()
-     */
     @Override
     protected void okPressed() {
         // Validate input data
index d1dea91f061e0d28e9ddd7f5e9419efeaf54eae4..56ce8758727fe7324767aa0691b34eba24ba214e 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -144,19 +144,12 @@ public class EnableChannelDialog extends Dialog implements IEnableChannelDialog
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.ICreateChannelDialog#getChannelInfo()
-     */
+
     @Override
     public IChannelInfo getChannelInfo() {
         return fChannelInfo;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.ICreateChannelDialog#setDomainComponent(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent)
-     */
     @Override
     public void setDomainComponent(TraceDomainComponent domain) {
         fDomain = domain;
@@ -167,19 +160,11 @@ public class EnableChannelDialog extends Dialog implements IEnableChannelDialog
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.ICreateChannelDialog#isKernel()
-     */
     @Override
     public boolean isKernel() {
         return fIsKernel;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableChannelDialog#setHasKernel(boolean)
-     */
     @Override
     public void setHasKernel(boolean hasKernel) {
         if (fDomain != null) {
@@ -194,10 +179,7 @@ public class EnableChannelDialog extends Dialog implements IEnableChannelDialog
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
-     */
+
     @Override
     protected void configureShell(Shell newShell) {
         super.configureShell(newShell);
@@ -205,10 +187,6 @@ public class EnableChannelDialog extends Dialog implements IEnableChannelDialog
         newShell.setImage(Activator.getDefault().loadIcon(ENABLE_CHANNEL_ICON_FILE));
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected Control createDialogArea(Composite parent) {
 
@@ -308,10 +286,6 @@ public class EnableChannelDialog extends Dialog implements IEnableChannelDialog
         return fDialogComposite;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected void createButtonsForButtonBar(Composite parent) {
         createButton(parent, IDialogConstants.DETAILS_ID, "&Default", true); //$NON-NLS-1$
@@ -319,10 +293,6 @@ public class EnableChannelDialog extends Dialog implements IEnableChannelDialog
         createButton(parent, IDialogConstants.OK_ID, "&Ok", true); //$NON-NLS-1$
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#okPressed()
-     */
     @Override
     protected void okPressed() {
         // Set channel information
@@ -355,10 +325,6 @@ public class EnableChannelDialog extends Dialog implements IEnableChannelDialog
         super.okPressed();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#buttonPressed(int)
-     */
     @Override
     protected void buttonPressed(int buttonId) {
         if (buttonId == IDialogConstants.DETAILS_ID) {
@@ -371,6 +337,7 @@ public class EnableChannelDialog extends Dialog implements IEnableChannelDialog
     // ------------------------------------------------------------------------
     // Helper methods
     // ------------------------------------------------------------------------
+
     /**
      * Sets default value depending on Kernel or UST
      */
index d6e4da0788b55b5720e8a80482091d6531a51883..987e2d494403dcea02443768b8d242aa07a6659b 100644 (file)
@@ -106,10 +106,6 @@ public class EnableEventsDialog extends Dialog implements IEnableEventsDialog  {
     // Accessors
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableKernelEvents#isTracpoints()
-     */
     @Override
     public boolean isTracepoints() {
         if (fIsKernel) {
@@ -118,9 +114,6 @@ public class EnableEventsDialog extends Dialog implements IEnableEventsDialog  {
         return fUstComposite.isTracepoints();
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableKernelEvents#isAllTracePoints()
-     */
     @Override
     public boolean isAllTracePoints() {
         if (fIsKernel) {
@@ -129,10 +122,6 @@ public class EnableEventsDialog extends Dialog implements IEnableEventsDialog  {
         return fUstComposite.isAllTracePoints();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableKernelEvents#isSysCalls()
-     */
     @Override
     public boolean isSysCalls() {
         if (fIsKernel) {
@@ -141,9 +130,6 @@ public class EnableEventsDialog extends Dialog implements IEnableEventsDialog  {
         return false;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableKernelEvents#isAllSysCalls()
-     */
     @Override
     public boolean isAllSysCalls() {
         if (fIsKernel) {
@@ -152,9 +138,6 @@ public class EnableEventsDialog extends Dialog implements IEnableEventsDialog  {
         return false;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableKernelEvents#getEventNames()
-     */
     @Override
     public List<String> getEventNames() {
         if (fIsKernel) {
@@ -162,10 +145,7 @@ public class EnableEventsDialog extends Dialog implements IEnableEventsDialog  {
         }
         return fUstComposite.getEventNames();
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableKernelEvents#isDynamicProbe()
-     */
+
     @Override
     public boolean isDynamicProbe() {
         if (fIsKernel) {
@@ -174,9 +154,6 @@ public class EnableEventsDialog extends Dialog implements IEnableEventsDialog  {
         return false;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableKernelEvents#getProbeName()
-     */
     @Override
     public String getProbeName() {
         if (fIsKernel) {
@@ -185,9 +162,6 @@ public class EnableEventsDialog extends Dialog implements IEnableEventsDialog  {
         return null;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableKernelEvents#getProbeEventName()
-     */
     @Override
     public String getProbeEventName() {
         if (fIsKernel) {
@@ -196,10 +170,6 @@ public class EnableEventsDialog extends Dialog implements IEnableEventsDialog  {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableKernelEvents#isDynamicFunctionProbe()
-     */
     @Override
     public boolean isDynamicFunctionProbe() {
         if (fIsKernel) {
@@ -208,9 +178,6 @@ public class EnableEventsDialog extends Dialog implements IEnableEventsDialog  {
         return false;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableKernelEvents#getFunctionEventName()
-     */
     @Override
     public String getFunctionEventName() {
         if (fIsKernel) {
@@ -219,10 +186,6 @@ public class EnableEventsDialog extends Dialog implements IEnableEventsDialog  {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableKernelEvents#getFunction()
-     */
     @Override
     public String getFunction() {
         if (fIsKernel) {
@@ -231,10 +194,6 @@ public class EnableEventsDialog extends Dialog implements IEnableEventsDialog  {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableUstEvents#isWildcard()
-     */
     @Override
     public boolean isWildcard() {
         if (!fIsKernel) {
@@ -243,62 +202,38 @@ public class EnableEventsDialog extends Dialog implements IEnableEventsDialog  {
         return false;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableUstEvents#getWildcard()
-     */
     @Override
     public String getWildcard() {
         if (!fIsKernel) {
             return fUstComposite.getWildcard();
         }
         return null;
-
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableUstEvents#isLogLevel()
-     */
     @Override
     public boolean isLogLevel() {
         if (!fIsKernel) {
             return fUstComposite.isLogLevel();
         }
         return false;
-
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableUstEvents#getLogLevelType()
-     */
     @Override
     public LogLevelType getLogLevelType() {
         if (!fIsKernel) {
             return fUstComposite.getLogLevelType();
         }
         return null;
-
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableUstEvents#getLogLevel()
-     */
     @Override
     public TraceLogLevel getLogLevel() {
         if (!fIsKernel) {
             return fUstComposite.getLogLevel();
         }
         return null;
-
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableUstEvents#getLogLevelEventName()
-     */
     @Override
     public String getLogLevelEventName() {
         if (!fIsKernel) {
@@ -307,28 +242,16 @@ public class EnableEventsDialog extends Dialog implements IEnableEventsDialog  {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableEventsDialog#isKernel()
-     */
     @Override
     public boolean isKernel() {
         return fIsKernel;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableEventsDialog#setTraceProviderGroup(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceProviderGroup)
-     */
     @Override
     public void setTraceProviderGroup(TraceProviderGroup providerGroup) {
         fProviderGroup = providerGroup;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableEventsDialog#setTraceDomainComponent(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent)
-     */
     @Override
     public void setTraceDomainComponent(TraceDomainComponent domain) {
         fDomain = domain;
@@ -339,10 +262,6 @@ public class EnableEventsDialog extends Dialog implements IEnableEventsDialog  {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableUstEvents#getFilterExpression()
-     */
     @Override
     public String getFilterExpression() {
         if (!fIsKernel) {
@@ -354,10 +273,7 @@ public class EnableEventsDialog extends Dialog implements IEnableEventsDialog  {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
-     */
+
     @Override
     protected void configureShell(Shell newShell) {
         super.configureShell(newShell);
@@ -365,10 +281,6 @@ public class EnableEventsDialog extends Dialog implements IEnableEventsDialog  {
         newShell.setImage(Activator.getDefault().loadIcon(ENABLE_EVENT_ICON_FILE));
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected Control createDialogArea(Composite parent) {
 
@@ -448,21 +360,12 @@ public class EnableEventsDialog extends Dialog implements IEnableEventsDialog  {
         return fDialogComposite;
     }
 
-
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected void createButtonsForButtonBar(Composite parent) {
         createButton(parent, IDialogConstants.CANCEL_ID, "&Cancel", true); //$NON-NLS-1$
         createButton(parent, IDialogConstants.OK_ID, "&Ok", true); //$NON-NLS-1$
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#okPressed()
-     */
     @Override
     protected void okPressed() {
         fIsKernel = fKernelButton.getSelection();
@@ -484,6 +387,7 @@ public class EnableEventsDialog extends Dialog implements IEnableEventsDialog  {
     // ------------------------------------------------------------------------
     // Helper methods
     // ------------------------------------------------------------------------
+
     /**
      * Creates the kernel composite (if not existing)
      */
index 8135db3f022749ad1a3acfd7e5f8da8a37ae84ee..d848f78125428bc401f5992fcdc14672acfb627c 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -159,92 +159,57 @@ public class EnableKernelEventComposite extends Composite implements IEnableKern
     // ------------------------------------------------------------------------
     // Acessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableKernelEvents#isTracpoints()
-     */
+
     @Override
     public boolean isTracepoints() {
         return fIsTracepoints;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableKernelEvents#isAllTracePoints()
-     */
     @Override
     public boolean isAllTracePoints() {
         return fIsAllTracepoints;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableKernelEvents#isSysCalls()
-     */
     @Override
     public boolean isSysCalls() {
         return fIsSysCalls;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableKernelEvents#isAllSysCalls()
-     */
     @Override
     public boolean isAllSysCalls() {
         return fIsSysCalls;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableKernelEvents#getEventNames()
-     */
     @Override
     public List<String> getEventNames() {
         return new ArrayList<String>(fSelectedEvents);
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableKernelEvents#isDynamicProbe()
-     */
+
     @Override
     public boolean isDynamicProbe() {
         return fIsDynamicProbe;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableKernelEvents#getProbeName()
-     */
     @Override
     public String getProbeName() {
         return fProbeString;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableKernelEvents#getProbeEventName()
-     */
     @Override
     public String getProbeEventName() {
         return fProbeEventName;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableKernelEvents#isDynamicFunctionProbe()
-     */
     @Override
     public boolean isDynamicFunctionProbe() {
         return fIsDynamicFunctionProbe;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableKernelEvents#getFunctionEventName()
-     */
     @Override
     public String getFunctionEventName() {
         return fFunctionEventName;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableKernelEvents#getFunction()
-     */
     @Override
     public String getFunction() {
         return fFunctionString;
@@ -253,6 +218,7 @@ public class EnableKernelEventComposite extends Composite implements IEnableKern
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
+
     /**
      * Creates the composite content
      */
index 70ea0eb82b7709fd25cd491e2757930288e906c7..9dab9797f123991710e028b696e73bba645c4769 100644 (file)
@@ -168,91 +168,51 @@ public class EnableUstEventsComposite extends Composite implements IEnableUstEve
     // Accessors
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableUstEvents#isTracepoints()
-     */
     @Override
     public boolean isTracepoints() {
         return fIsTracepoints;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableUstEvents#isAllTracePoints()
-     */
     @Override
     public boolean isAllTracePoints() {
         return fIsAllTracepoints;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableUstEvents#getEventNames()
-     */
     @Override
     public List<String> getEventNames() {
         return new ArrayList<String>(fSelectedEvents);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableUstEvents#isWildcard()
-     */
     @Override
     public boolean isWildcard() {
         return fIsWildcard;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableUstEvents#getWildcard()
-     */
     @Override
     public String getWildcard() {
         return fWildcard;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableUstEvents#isLogLevel()
-     */
     @Override
     public boolean isLogLevel() {
         return fIsLogLevel;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableUstEvents#getLogLevelType()
-     */
     @Override
     public LogLevelType getLogLevelType() {
         return fLogLevelType;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableUstEvents#getLogLevel()
-     */
     @Override
     public TraceLogLevel getLogLevel() {
         return fLogLevel;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableUstEvents#getLogLevelEventName()
-     */
     @Override
     public String getLogLevelEventName() {
         return fLogLevelEventName;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableUstEvents#getFilterExpression()
-     */
     @Override
     public String getFilterExpression() {
         return fFilterExpression;
@@ -284,9 +244,10 @@ public class EnableUstEventsComposite extends Composite implements IEnableUstEve
     }
 
     /**
-    * Validates the UST composite input data.
-    * @return true if configured data is valid and can be retrieved.
-    */
+     * Validates the UST composite input data.
+     *
+     * @return true if configured data is valid and can be retrieved.
+     */
     public boolean isValid() {
 
         fIsTracepoints = fTracepointsActivateButton.getSelection();
index 02e7ad3de2d7c3858fa213a11ea4c2aea0b9b026..e71ce19ab3bf58a9aa79525d45fb56299e13abbc 100644 (file)
@@ -119,45 +119,27 @@ public class GetEventInfoDialog extends Dialog implements IGetEventInfoDialog {
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableEventsDialog#getSession()
-     */
+
     @Override
     public TraceSessionComponent getSession() {
         return fSessions[fSessionIndex];
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IEnableEventsDialog#getChannel()
-     */
     @Override
     public TraceChannelComponent getChannel() {
         return fChannel;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IGetEventInfoDialog#setIsKernel(boolean)
-     */
     @Override
     public void setIsKernel(boolean isKernel) {
         fIsKernel = isKernel;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IGetEventInfoDialog#setSessions(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent[])
-     */
     @Override
     public void setSessions(TraceSessionComponent[] sessions) {
         fSessions = Arrays.copyOf(sessions, sessions.length);
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IGetEventInfoDialog#getFilterExpression()
-     */
+
     @Override
     public String getFilterExpression() {
        return fFilterExpression;
@@ -166,10 +148,7 @@ public class GetEventInfoDialog extends Dialog implements IGetEventInfoDialog {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
-     */
+
     @Override
     protected void configureShell(Shell newShell) {
         super.configureShell(newShell);
@@ -177,10 +156,6 @@ public class GetEventInfoDialog extends Dialog implements IGetEventInfoDialog {
         newShell.setImage(Activator.getDefault().loadIcon(TARGET_NEW_CONNECTION_ICON_FILE));
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected Control createDialogArea(Composite parent) {
 
@@ -279,20 +254,12 @@ public class GetEventInfoDialog extends Dialog implements IGetEventInfoDialog {
         return fDialogComposite;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected void createButtonsForButtonBar(Composite parent) {
         createButton(parent, IDialogConstants.CANCEL_ID, "&Cancel", true); //$NON-NLS-1$
         createButton(parent, IDialogConstants.OK_ID, "&Ok", true); //$NON-NLS-1$
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#okPressed()
-     */
     @Override
     protected void okPressed() {
 
index 75b035c467c18cb862c6ec32d63d6407eeff9bd6..2f53cc2e94b56fe400a531355015681f775f4304 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs;
@@ -33,7 +33,7 @@ import org.eclipse.swt.widgets.Text;
  * <p>
  * Dialog box for collecting session creation information.
  * </p>
- * 
+ *
  * @author Bernd Hufmann
  */
 public class ImportConfirmationDialog extends Dialog implements IImportConfirmationDialog {
@@ -66,7 +66,7 @@ public class ImportConfirmationDialog extends Dialog implements IImportConfirmat
      */
     private Text fNewTraceNameText = null;
     /**
-     * The trace name which already exists in the project 
+     * The trace name which already exists in the project
      */
     private String fTraceName = null;
     /**
@@ -93,28 +93,17 @@ public class ImportConfirmationDialog extends Dialog implements IImportConfirmat
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IImportConfirmationDialog#setTraceName(java.lang.String)
-     */
+
     @Override
     public void setTraceName(String name) {
         fTraceName = name;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IImportConfirmationDialog#getNewTraceName()
-     */
     @Override
     public String getNewTraceName() {
         return fNewTraceName;
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IImportConfirmationDialog#isOverwrite()
-     */
+
     @Override
     public boolean isOverwrite() {
         return fIsOverride;
@@ -123,10 +112,7 @@ public class ImportConfirmationDialog extends Dialog implements IImportConfirmat
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
-     */
+
     @Override
     protected void configureShell(Shell newShell) {
         super.configureShell(newShell);
@@ -134,13 +120,9 @@ public class ImportConfirmationDialog extends Dialog implements IImportConfirmat
         newShell.setImage(Activator.getDefault().loadIcon(IMPORT_ICON_FILE));
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected Control createDialogArea(Composite parent) {
-        
+
         // Main dialog panel
         fDialogComposite = new Composite(parent, SWT.NONE);
         GridLayout layout = new GridLayout(1, true);
@@ -152,7 +134,7 @@ public class ImportConfirmationDialog extends Dialog implements IImportConfirmat
 
         fOverwriteButton = new Button(fDialogComposite, SWT.RADIO);
         fOverwriteButton.setText(Messages.TraceControl_ImportDialogConfirmationOverwriteLabel);
-        
+
         fOverwriteButton.addSelectionListener(new SelectionAdapter() {
             @Override
             public void widgetSelected(SelectionEvent e) {
@@ -160,17 +142,17 @@ public class ImportConfirmationDialog extends Dialog implements IImportConfirmat
                 fNewTraceNameText.setText(fTraceName);
             }
         });
-        
+
         fRenameButton = new Button(fDialogComposite, SWT.RADIO);
         fRenameButton.setText(Messages.TraceControl_ImportDialogConfirmationRenameLabel);
-        
+
         fRenameButton.addSelectionListener(new SelectionAdapter() {
             @Override
             public void widgetSelected(SelectionEvent e) {
                 fNewTraceNameText.setEnabled(true);
             }
         });
-        
+
         fNewTraceNameText = new Text(fDialogComposite, SWT.NONE);
         fNewTraceNameText.setToolTipText(Messages.TraceControl_ImportDialogConfirmationNewNameLabel);
         fNewTraceNameText.setText(fTraceName);
@@ -178,32 +160,24 @@ public class ImportConfirmationDialog extends Dialog implements IImportConfirmat
         // Default
         fOverwriteButton.setSelection(true);
         fNewTraceNameText.setEnabled(false);
-        
+
 
         // layout widgets
         GridData data = new GridData(GridData.FILL_HORIZONTAL);
-        
+
         fNewTraceNameText.setLayoutData(data);
 
         getShell().setMinimumSize(new Point(300, 150));
-        
+
         return fDialogComposite;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected void createButtonsForButtonBar(Composite parent) {
         createButton(parent, IDialogConstants.CANCEL_ID, "&Cancel", true); //$NON-NLS-1$
         createButton(parent, IDialogConstants.OK_ID, "&Ok", true); //$NON-NLS-1$
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#okPressed()
-     */
     @Override
     protected void okPressed() {
 
index 16b0cfdb9516661aca13836f6bc01d930b80fc45..89eb0a71208dd36429c991f974e0b45573eb03da 100644 (file)
@@ -132,10 +132,7 @@ public class ImportDialog extends Dialog implements IImportDialog {
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IImportDialog#getTracePathes()
-     */
+
     @Override
     public List<ImportFileInfo> getTracePathes() {
         List<ImportFileInfo> retList = new ArrayList<ImportFileInfo>();
@@ -143,19 +140,11 @@ public class ImportDialog extends Dialog implements IImportDialog {
         return retList;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IImportDialog#getProject()
-     */
     @Override
     public IProject getProject() {
         return fProjects.get(fProjectIndex);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.IImportDialog#setSession(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent)
-     */
     @Override
     public void setSession(TraceSessionComponent session) {
         fSession = session;
@@ -164,10 +153,7 @@ public class ImportDialog extends Dialog implements IImportDialog {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
-     */
+
     @Override
     protected void configureShell(Shell newShell) {
         super.configureShell(newShell);
@@ -175,10 +161,6 @@ public class ImportDialog extends Dialog implements IImportDialog {
         newShell.setImage(Activator.getDefault().loadIcon(IMPORT_ICON_FILE));
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected Control createDialogArea(Composite parent) {
 
@@ -204,10 +186,6 @@ public class ImportDialog extends Dialog implements IImportDialog {
         return fDialogComposite;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected void createButtonsForButtonBar(Composite parent) {
         createButton(parent, IDialogConstants.CANCEL_ID, "&Cancel", true); //$NON-NLS-1$
@@ -217,10 +195,6 @@ public class ImportDialog extends Dialog implements IImportDialog {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#okPressed()
-     */
     @Override
     protected void okPressed() {
         if (!fIsError) {
@@ -311,6 +285,7 @@ public class ImportDialog extends Dialog implements IImportDialog {
     // ------------------------------------------------------------------------
     // Helper methods and classes
     // ------------------------------------------------------------------------
+
     /**
      * Helper class for the contents of a folder in a tracing project
      *
index e5a0c867a341d17d848b89795efd2fb1c053f439..5eec5a93d5377823182515a51bcef1c92c735810 100644 (file)
@@ -128,19 +128,12 @@ public class NewConnectionDialog extends Dialog implements INewConnectionDialog
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.INewConnectionDialog#getConnectionName()
-     */
+
     @Override
     public String getConnectionName() {
         return fConnectionName;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.INewConnectionDialog#getHostName()
-     */
     @Override
     public String getHostName() {
         return fHostName;
@@ -151,19 +144,11 @@ public class NewConnectionDialog extends Dialog implements INewConnectionDialog
         return fPort;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.INewConnectionDialog#setTraceControlParent(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent)
-     */
     @Override
     public void setTraceControlParent(ITraceControlComponent parent) {
         fParent = parent;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.dialogs.INewConnectionDialog#setHosts(org.eclipse.rse.core.model.IHost[])
-     */
     @Override
     public void setHosts(IHost[] hosts) {
         if (hosts != null) {
@@ -179,10 +164,7 @@ public class NewConnectionDialog extends Dialog implements INewConnectionDialog
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
-     */
+
     @Override
     protected void configureShell(Shell newShell) {
         super.configureShell(newShell);
@@ -190,10 +172,6 @@ public class NewConnectionDialog extends Dialog implements INewConnectionDialog
         newShell.setImage(Activator.getDefault().loadIcon(TARGET_NEW_CONNECTION_ICON_FILE));
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected Control createDialogArea(Composite parent) {
 
@@ -320,20 +298,12 @@ public class NewConnectionDialog extends Dialog implements INewConnectionDialog
         return fDialogComposite;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected void createButtonsForButtonBar(Composite parent) {
         createButton(parent, IDialogConstants.CANCEL_ID, "&Cancel", true); //$NON-NLS-1$
         createButton(parent, IDialogConstants.OK_ID, "&Ok", true); //$NON-NLS-1$
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#okPressed()
-     */
     @Override
     protected void okPressed() {
         // Validate input data
index 9036b616a1024cb86b7ed67c15a4e3e349e3d1b1..d406c49a84969fb6fc046873f89e6fc2dd5c65eb 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -40,10 +40,7 @@ public class AddContextOnChannelHandler extends BaseAddContextHandler {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseAddContextHandler#addContexts(org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CommandParameter, java.util.List, org.eclipse.core.runtime.IProgressMonitor)
-     */
+
     @Override
     public void addContexts(CommandParameter param, List<String> contextNames, IProgressMonitor monitor) throws ExecutionException {
         if (param instanceof ChannelCommandParameter) {
@@ -52,10 +49,6 @@ public class AddContextOnChannelHandler extends BaseAddContextHandler {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
         // Get workbench page for the Control View
index 9badc1d50e389451f15b2f7a245540d789b6ae48..407599551a18af1bbb84ce423e4b8656257136e0 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -40,10 +40,7 @@ public class AddContextOnDomainHandler extends BaseAddContextHandler {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseAddContextHandler#addContexts(org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CommandParameter, java.util.List, org.eclipse.core.runtime.IProgressMonitor)
-     */
+
     @Override
     public void addContexts(CommandParameter param, List<String> contextNames, IProgressMonitor monitor) throws ExecutionException {
         if (param instanceof DomainCommandParameter) {
@@ -52,10 +49,6 @@ public class AddContextOnDomainHandler extends BaseAddContextHandler {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
 
index 63a38398f8705700a49e9d91278fd3737e75945a..1dbb47c133f53b93715081b94692731f97d16f3b 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -40,10 +40,7 @@ public class AddContextOnEventHandler extends BaseAddContextHandler {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseAddContextHandler#addContexts(org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CommandParameter, java.util.List, org.eclipse.core.runtime.IProgressMonitor)
-     */
+
     @Override
     public void addContexts(CommandParameter param, List<String> contextNames, IProgressMonitor monitor) throws ExecutionException {
         if (param instanceof EventCommandParameter) {
@@ -52,10 +49,6 @@ public class AddContextOnEventHandler extends BaseAddContextHandler {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
         // Get workbench page for the Control View
index a065b0796f56cb693c9abe61a9e929e1c8a97af0..df1d34287a6dd3f157db1108eb83c5d7357ff4c9 100644 (file)
@@ -53,6 +53,7 @@ public class AssignEventHandler extends BaseControlViewHandler {
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     /**
      * The command execution parameter.
      */
@@ -62,10 +63,6 @@ public class AssignEventHandler extends BaseControlViewHandler {
     // Operations
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands.ExecutionEvent)
-     */
     @Override
     public Object execute(ExecutionEvent event) throws ExecutionException {
 
@@ -128,10 +125,6 @@ public class AssignEventHandler extends BaseControlViewHandler {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
         ArrayList<BaseEventComponent> events = new ArrayList<BaseEventComponent>();
index 04633e118c387a8638e807b3c03d3c11e65433a8..f400947a3d59a9c4a74e1350c520d21588c8931f 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -40,6 +40,7 @@ abstract public class BaseAddContextHandler extends BaseControlViewHandler {
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     /**
      * The command execution parameter.
      */
@@ -63,10 +64,6 @@ abstract public class BaseAddContextHandler extends BaseControlViewHandler {
      */
     abstract public void addContexts(CommandParameter param, List<String> contextNames, IProgressMonitor monitor) throws ExecutionException;
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands.ExecutionEvent)
-     */
     @Override
     public Object execute(ExecutionEvent event) throws ExecutionException {
 
index 727de650f499c7e2f6f2ccb186a69351affac6e3..f04753ee5f437d5a4f3759366f8f3e96a2b5c6fd 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -75,10 +75,6 @@ abstract class BaseEnableChannelHandler extends BaseControlViewHandler {
      */
     abstract public TraceDomainComponent getDomain(CommandParameter param);
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands.ExecutionEvent)
-     */
     @Override
     public Object execute(ExecutionEvent event) throws ExecutionException {
         fLock.lock();
index 658e5545eaf6646a74eda13f85f9657493a3bf53..f9693684316b1e6550d397e636939406035ee04a 100644 (file)
@@ -130,10 +130,6 @@ abstract public class BaseEnableEventHandler extends BaseControlViewHandler {
      */
     abstract TraceDomainComponent getDomain(CommandParameter param);
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands.ExecutionEvent)
-     */
     @Override
     public Object execute(ExecutionEvent event) throws ExecutionException {
 
index 80dbe64ebc5847213c33b964aab67c6ecb569fe7..3217e4b0066e8e6971c7f6290cee91f0ca2ec8d3 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers;
@@ -21,7 +21,7 @@ import org.eclipse.ui.IWorkbenchPage;
  * <p>
  * Command handler implementation to delete a target host.
  * </p>
- * 
+ *
  * @author Bernd Hufmann
  */
 abstract public class BaseNodeHandler extends BaseControlViewHandler {
@@ -30,17 +30,14 @@ abstract public class BaseNodeHandler extends BaseControlViewHandler {
     // Attributes
     // ------------------------------------------------------------------------
     /**
-     * The target node component the command is to be executed on. 
+     * The target node component the command is to be executed on.
      */
     protected TargetNodeComponent fTargetNode = null;
-    
+
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#isEnabled()
-     */
+
     @Override
     public boolean isEnabled() {
 
@@ -69,5 +66,5 @@ abstract public class BaseNodeHandler extends BaseControlViewHandler {
         return isEnabled;
     }
 
-    
+
 }
\ No newline at end of file
index dd670631d575dab0dfe37695def8b1dac9b53dfa..d31250afed365d5525809b933ffa928dd0a9d89e 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -51,10 +51,6 @@ public class CalibrateHandler extends BaseControlViewHandler {
     // Operations
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands.ExecutionEvent)
-     */
     @Override
     public Object execute(ExecutionEvent event) throws ExecutionException {
 
@@ -89,10 +85,6 @@ public class CalibrateHandler extends BaseControlViewHandler {
         return Status.OK_STATUS;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
 
index 742220a658063003b4b7cce55d0a3cbe022cc8e8..35a63dcd8803f8e775568dfd7303310a9b101a94 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -71,10 +71,6 @@ abstract public class ChangeChannelStateHandler extends BaseControlViewHandler {
      */
     abstract protected void changeState(TraceDomainComponent domain, List<String> channelNames, IProgressMonitor monitor) throws ExecutionException;
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands.ExecutionEvent)
-     */
     @Override
     public Object execute(ExecutionEvent event) throws ExecutionException {
 
@@ -164,10 +160,6 @@ abstract public class ChangeChannelStateHandler extends BaseControlViewHandler {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
 
index 97639212a036c6e022d1f55bd001ac9388f10028..ea2a5c478e235e766ae7d5670bd54a652a6dc842 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -71,10 +71,6 @@ abstract public class ChangeEventStateHandler extends BaseControlViewHandler {
      */
     abstract protected void changeState(TraceChannelComponent channel, List<String> eventNames, IProgressMonitor monitor) throws ExecutionException;
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands.ExecutionEvent)
-     */
     @Override
     public Object execute(ExecutionEvent event) throws ExecutionException {
 
@@ -152,10 +148,6 @@ abstract public class ChangeEventStateHandler extends BaseControlViewHandler {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
         // Get workbench page for the Control View
index bc7b3f6c9434e90edaaf8a3e0f96a995c3319719..000df4420f38b7b9d3f0fa83f7334847b74f2606 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -74,10 +74,6 @@ abstract public class ChangeSessionStateHandler extends BaseControlViewHandler {
      */
     abstract public void changeState(TraceSessionComponent session, IProgressMonitor monitor) throws ExecutionException;
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands.ExecutionEvent)
-     */
     @Override
     public Object execute(ExecutionEvent event) throws ExecutionException {
 
@@ -121,10 +117,6 @@ abstract public class ChangeSessionStateHandler extends BaseControlViewHandler {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
         // Get workbench page for the Control View
index 9d3faff9fd571543771a5dce6815b8a7bb45622e..0e7a711f29c940e13e90bc10011bfaf707909deb 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -57,10 +57,6 @@ public class ChannelCommandParameter extends CommandParameter {
     // Operations
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see java.lang.Object#clone()
-     */
     @Override
     public ChannelCommandParameter clone() {
         ChannelCommandParameter clone = (ChannelCommandParameter) super.clone();
index 029346d41b24c185d0794ca9787b5a7205a1c05a..e6dc8a10d92dd22caf98ab4973d5718d0f48e1a6 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers;
@@ -15,8 +15,8 @@ import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceS
 
 /**
  * Class containing parameter for the command execution.
- * 
- * @author Bernd Hufmann 
+ *
+ * @author Bernd Hufmann
  */
 public class CommandParameter implements Cloneable {
 
@@ -34,7 +34,7 @@ public class CommandParameter implements Cloneable {
     // ------------------------------------------------------------------------
 
     /**
-     * Constructor 
+     * Constructor
      * @param session a trace session component.
      */
     public CommandParameter(TraceSessionComponent session) {
@@ -56,10 +56,6 @@ public class CommandParameter implements Cloneable {
     // Operations
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see java.lang.Object#clone()
-     */
     @Override
     public CommandParameter clone() {
         CommandParameter clone = null;
index 0569674e66c4806ce6e6a9b76b9d642601a00e89..9aac85db08f00cbf8717183e1a9da68ed34a584a 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers;
@@ -19,7 +19,7 @@ import org.eclipse.linuxtools.internal.lttng2.core.control.model.TargetNodeState
  * <p>
  * Command handler implementation to connect to a target host.
  * </p>
- * 
+ *
  * @author Bernd Hufmann
  */
 public class ConnectHandler extends BaseNodeHandler {
@@ -28,10 +28,6 @@ public class ConnectHandler extends BaseNodeHandler {
     // Operations
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseNodeHandler#execute(org.eclipse.core.commands.ExecutionEvent)
-     */
     @Override
     public Object execute(ExecutionEvent event) throws ExecutionException {
         fLock.lock();
@@ -43,10 +39,6 @@ public class ConnectHandler extends BaseNodeHandler {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseNodeHandler#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
         boolean isEnabled = false;
index e42d9c31f404b8c70cb688ea88a583a59e5e499c..ac0521d5336ec358438751723eea846d5ddb71c4 100644 (file)
@@ -41,6 +41,7 @@ public class CreateSessionHandler extends BaseControlViewHandler {
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     /**
      * The trace session group the command is to be executed on.
      */
@@ -49,10 +50,7 @@ public class CreateSessionHandler extends BaseControlViewHandler {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands.ExecutionEvent)
-     */
+
     @Override
     public Object execute(ExecutionEvent event) throws ExecutionException {
 
@@ -93,10 +91,6 @@ public class CreateSessionHandler extends BaseControlViewHandler {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
 
index fa196e5787d5e558e769bb4aa4d547baa95d5077..8ef4676d3b0158cc73db17cb4443173609c6b9a7 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers;
@@ -20,7 +20,7 @@ import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceContr
  * <p>
  * Command handler implementation to delete a target host.
  * </p>
- * 
+ *
  * @author Bernd Hufmann
  */
 public class DeleteHandler extends BaseNodeHandler {
@@ -28,10 +28,7 @@ public class DeleteHandler extends BaseNodeHandler {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseNodeHandler#execute(org.eclipse.core.commands.ExecutionEvent)
-     */
+
     @Override
     public Object execute(ExecutionEvent event) throws ExecutionException {
         fLock.lock();
@@ -46,10 +43,6 @@ public class DeleteHandler extends BaseNodeHandler {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseNodeHandler#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
         boolean isEnabled = false;
index 24525042b96f254060991d271a68c263f155b0f8..3f250754ffcb3a1805ee49ed00ff01be203d2833 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -55,10 +55,7 @@ public class DestroySessionHandler extends BaseControlViewHandler {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands.ExecutionEvent)
-     */
+
     @Override
     public Object execute(ExecutionEvent event) throws ExecutionException {
 
@@ -103,10 +100,6 @@ public class DestroySessionHandler extends BaseControlViewHandler {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
         // Get workbench page for the Control View
index 413e54383deb4297adb532f8f49a9fc6ddece991..71c742280e2e4e09fbcd204bdbec40994c2225f6 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers;
@@ -22,7 +22,7 @@ import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceD
  * <p>
  * Command handler implementation to disable one or more trace channels per session and domain.
  * </p>
- * 
+ *
  * @author Bernd Hufmann
  */
 public class DisableChannelHandler extends ChangeChannelStateHandler {
@@ -30,10 +30,7 @@ public class DisableChannelHandler extends ChangeChannelStateHandler {
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseChangeChannelStateHandler#getNewState()
-     */
+
     @Override
     protected TraceEnablement getNewState() {
         return TraceEnablement.DISABLED;
@@ -42,10 +39,7 @@ public class DisableChannelHandler extends ChangeChannelStateHandler {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseChangeChannelStateHandler#changeState(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent, java.util.List, org.eclipse.core.runtime.IProgressMonitor)
-     */
+
     @Override
     protected void changeState(TraceDomainComponent domain, List<String> channelNames, IProgressMonitor monitor) throws ExecutionException {
         domain.disableChannels(channelNames, monitor);
index 5020bbd8de2fac190e40370c8210bf7185b9ab30..bf578d4051c725ea231d3db24f1b44088fb6e326 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers;
@@ -22,7 +22,7 @@ import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceC
  * <p>
  * Command handler implementation to disable one or more events session, domain and channel.
  * </p>
- * 
+ *
  * @author Bernd Hufmann
  */
 public class DisableEventHandler extends ChangeEventStateHandler {
@@ -30,10 +30,7 @@ public class DisableEventHandler extends ChangeEventStateHandler {
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.ChangeEventStateHandler#getNewState()
-     */
+
     @Override
     protected TraceEnablement getNewState() {
         return TraceEnablement.DISABLED;
@@ -42,12 +39,9 @@ public class DisableEventHandler extends ChangeEventStateHandler {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.ChangeEventStateHandler#changeState(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceChannelComponent, java.util.List, org.eclipse.core.runtime.IProgressMonitor)
-     */
+
     @Override
-    protected void changeState(TraceChannelComponent channel, List<String> eventNames, IProgressMonitor monitor) throws ExecutionException{ 
+    protected void changeState(TraceChannelComponent channel, List<String> eventNames, IProgressMonitor monitor) throws ExecutionException{
         channel.disableEvent(eventNames, monitor);
     }
 }
index f6129ee261c2d7c52c14feb19401a9fb972c02fb..dc1c3d96b3d4740d538715c73c85e1fae489d428 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers;
@@ -19,7 +19,7 @@ import org.eclipse.linuxtools.internal.lttng2.core.control.model.TargetNodeState
  * <p>
  * Command handler implementation to disconnect from a target host.
  * </p>
- * 
+ *
  * @author Bernd Hufmann
  */
 public class DisconnectHandler extends BaseNodeHandler {
@@ -28,10 +28,6 @@ public class DisconnectHandler extends BaseNodeHandler {
     // Operations
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseNodeHandler#execute(org.eclipse.core.commands.ExecutionEvent)
-     */
     @Override
     public Object execute(ExecutionEvent event) throws ExecutionException {
         fLock.lock();
@@ -43,10 +39,6 @@ public class DisconnectHandler extends BaseNodeHandler {
         return null;
     }
 
-   /*
-    * (non-Javadoc)
-    * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseNodeHandler#isEnabled()
-    */
     @Override
     public boolean isEnabled() {
         boolean isEnabled = false;
index e7a90e428b69d7af28e9086bf795929ee591bf38..424734c746a240a71744d82c6eca30169f9d361b 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers;
@@ -16,7 +16,7 @@ import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceS
 
 /**
  * Class containing parameter for the command execution.
- * 
+ *
  *  @author Bernd Hufmann
  */
 public class DomainCommandParameter extends CommandParameter {
@@ -52,15 +52,11 @@ public class DomainCommandParameter extends CommandParameter {
     public TraceDomainComponent getDomain() {
         return fDomain;
     }
-    
+
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see java.lang.Object#clone()
-     */
     @Override
     public DomainCommandParameter clone() {
         DomainCommandParameter clone = (DomainCommandParameter) super.clone();
index a266386d937adb4ed8a5ef128fe4230b15d83b3e..ed9eef6f0f9f49f44d08a35967e43996ef70ca84 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers;
@@ -22,7 +22,7 @@ import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceD
  * <p>
  * Command handler implementation to enable one or more trace channels per session and domain.
  * </p>
- * 
+ *
  * @author Bernd Hufmann
  */
 public class EnableChannelHandler extends ChangeChannelStateHandler {
@@ -30,10 +30,7 @@ public class EnableChannelHandler extends ChangeChannelStateHandler {
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseChangeChannelStateHandler#getNewState()
-     */
+
     @Override
     protected TraceEnablement getNewState() {
         return TraceEnablement.ENABLED;
@@ -42,10 +39,7 @@ public class EnableChannelHandler extends ChangeChannelStateHandler {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseChangeChannelStateHandler#changeState(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceDomainComponent, java.util.List, org.eclipse.core.runtime.IProgressMonitor)
-     */
+
     @Override
     protected void changeState(TraceDomainComponent domain, List<String> channelNames, IProgressMonitor monitor) throws ExecutionException {
         domain.enableChannels(channelNames, null, monitor);
index 7cb1f38cb760fa7981fbacc6a79c9e1bf07a9a71..fdc750bab009efc0b76febf7365921ac8a9216ab 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -41,10 +41,7 @@ public class EnableChannelOnDomainHandler extends BaseEnableChannelHandler {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseCreateChannelHandler#enableChannel(org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CommandParameter, java.util.List, org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo, boolean, org.eclipse.core.runtime.IProgressMonitor)
-     */
+
     @Override
     public void enableChannel(CommandParameter param, List<String> channelNames, IChannelInfo info, boolean isKernel, IProgressMonitor monitor) throws ExecutionException {
         if (param instanceof DomainCommandParameter) {
@@ -52,10 +49,6 @@ public class EnableChannelOnDomainHandler extends BaseEnableChannelHandler {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseCreateChannelHandler#getDomain(org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CommandParameter)
-     */
     @Override
     public TraceDomainComponent getDomain(CommandParameter param) {
         if (param instanceof DomainCommandParameter) {
@@ -64,10 +57,6 @@ public class EnableChannelOnDomainHandler extends BaseEnableChannelHandler {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
 
index b4d43ab0f18d18f84abf5dd3d6c83501c8e42c57..a57f4a7b1d1920654f8a284f299718a69735193d 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -38,19 +38,12 @@ public class EnableChannelOnSessionHandler extends BaseEnableChannelHandler {
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseCreateChannelHandler#enableChannel(org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CommandParameter, java.util.List, org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo, boolean, org.eclipse.core.runtime.IProgressMonitor)
-     */
+
     @Override
     public void enableChannel(CommandParameter param, List<String> channelNames, IChannelInfo info, boolean isKernel, IProgressMonitor monitor) throws ExecutionException {
         param.getSession().enableChannels(channelNames, info, isKernel, monitor);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseCreateChannelHandler#getDomain(org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CommandParameter)
-     */
     @Override
     public TraceDomainComponent getDomain(CommandParameter param) {
         return null;
@@ -60,10 +53,6 @@ public class EnableChannelOnSessionHandler extends BaseEnableChannelHandler {
     // Operations
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
         // Get workbench page for the Control View
index 61aa27693a91d1f0d878c49d861ca5e818e2058d..9f52597e3e5f425d9c3c489588112647a97c1a20 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers;
@@ -22,7 +22,7 @@ import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceC
  * <p>
  * Command handler implementation to enable one or more events session, domain and channel.
  * </p>
- * 
+ *
  * @author Bernd Hufmann
  */
 public class EnableEventHandler extends ChangeEventStateHandler {
@@ -30,10 +30,7 @@ public class EnableEventHandler extends ChangeEventStateHandler {
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.ChangeEventStateHandler#getNewState()
-     */
+
     @Override
     protected TraceEnablement getNewState() {
         return TraceEnablement.ENABLED;
@@ -42,12 +39,9 @@ public class EnableEventHandler extends ChangeEventStateHandler {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.ChangeEventStateHandler#changeState(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceChannelComponent, java.util.List, org.eclipse.core.runtime.IProgressMonitor)
-     */
+
     @Override
-    protected void changeState(TraceChannelComponent channel, List<String> eventNames, IProgressMonitor monitor) throws ExecutionException{ 
+    protected void changeState(TraceChannelComponent channel, List<String> eventNames, IProgressMonitor monitor) throws ExecutionException{
         channel.enableEvents(eventNames, monitor);
     }
 }
index 21575940e97b579aff4bf59a48b819a2da12a733..af7ff751bdc7d2f5a4ff9ee89bbe88cdce98835b 100644 (file)
@@ -43,10 +43,7 @@ public class EnableEventOnChannelHandler extends BaseEnableEventHandler {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseEnableEventHandler#enableEvents(org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CommandParameter, java.util.List, boolean, java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
-     */
+
     @Override
     public void enableEvents(CommandParameter param, List<String> eventNames, boolean isKernel, String filterExression, IProgressMonitor monitor) throws ExecutionException {
         if (param instanceof ChannelCommandParameter) {
@@ -54,10 +51,6 @@ public class EnableEventOnChannelHandler extends BaseEnableEventHandler {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseEnableEventHandler#enableSyscalls(org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CommandParameter, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public void enableSyscalls(CommandParameter param, IProgressMonitor monitor) throws ExecutionException {
         if (param instanceof ChannelCommandParameter) {
@@ -65,10 +58,6 @@ public class EnableEventOnChannelHandler extends BaseEnableEventHandler {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseEnableEventHandler#enableProbe(org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CommandParameter, java.lang.String, boolean, java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public void enableProbe(CommandParameter param, String eventName, boolean isFunction, String probe, IProgressMonitor monitor) throws ExecutionException {
         if (param instanceof ChannelCommandParameter) {
@@ -76,10 +65,6 @@ public class EnableEventOnChannelHandler extends BaseEnableEventHandler {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseEnableEventHandler#enableLogLevel(org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CommandParameter, java.lang.String, org.eclipse.linuxtools.internal.lttng2.core.control.model.LogLevelType, org.eclipse.linuxtools.internal.lttng2.core.control.model.TraceLogLevel, java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public void enableLogLevel(CommandParameter param, String eventName, LogLevelType logLevelType, TraceLogLevel level, String filterExression, IProgressMonitor monitor) throws ExecutionException {
         if (param instanceof ChannelCommandParameter) {
@@ -87,10 +72,6 @@ public class EnableEventOnChannelHandler extends BaseEnableEventHandler {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseEnableEventHandler#getDomain(org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CommandParameter)
-     */
     @Override
     public TraceDomainComponent getDomain(CommandParameter param) {
         if (param instanceof ChannelCommandParameter) {
@@ -99,10 +80,6 @@ public class EnableEventOnChannelHandler extends BaseEnableEventHandler {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
         // Get workbench page for the Control View
index d7452cc3c306ba900c8ceaf65b149d6fa2d905cf..623713058bc767cb171c183c9d0d67b4854d531f 100644 (file)
@@ -37,17 +37,10 @@ import org.eclipse.ui.IWorkbenchPage;
  */
 public class EnableEventOnDomainHandler extends BaseEnableEventHandler {
 
-    // ------------------------------------------------------------------------
-    // Attributes
-    // ------------------------------------------------------------------------
-
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseEnableEventHandler#enableEvents(org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CommandParameter, java.util.List, boolean, java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
-     */
+
     @Override
     public void enableEvents(CommandParameter param, List<String> eventNames, boolean isKernel, String filterExression, IProgressMonitor monitor) throws ExecutionException {
         if (param instanceof DomainCommandParameter) {
@@ -55,10 +48,6 @@ public class EnableEventOnDomainHandler extends BaseEnableEventHandler {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseEnableEventHandler#enableSyscalls(org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CommandParameter, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public void enableSyscalls(CommandParameter param, IProgressMonitor monitor) throws ExecutionException {
         if (param instanceof DomainCommandParameter) {
@@ -66,10 +55,6 @@ public class EnableEventOnDomainHandler extends BaseEnableEventHandler {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseEnableEventHandler#enableProbe(org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CommandParameter, java.lang.String, boolean, java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public void enableProbe(CommandParameter param, String eventName, boolean isFunction, String probe, IProgressMonitor monitor) throws ExecutionException {
         if (param instanceof DomainCommandParameter) {
@@ -77,10 +62,6 @@ public class EnableEventOnDomainHandler extends BaseEnableEventHandler {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseEnableEventHandler#enableLogLevel(org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CommandParameter, java.lang.String, org.eclipse.linuxtools.internal.lttng2.core.control.model.LogLevelType, org.eclipse.linuxtools.internal.lttng2.core.control.model.TraceLogLevel, java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public void enableLogLevel(CommandParameter param, String eventName, LogLevelType logLevelType, TraceLogLevel level, String filterExression, IProgressMonitor monitor) throws ExecutionException {
         if (param instanceof DomainCommandParameter) {
@@ -88,10 +69,6 @@ public class EnableEventOnDomainHandler extends BaseEnableEventHandler {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseEnableEventHandler#getDomain(org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CommandParameter)
-     */
     @Override
     public TraceDomainComponent getDomain(CommandParameter param) {
         if (param instanceof DomainCommandParameter) {
@@ -100,10 +77,6 @@ public class EnableEventOnDomainHandler extends BaseEnableEventHandler {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
         // Get workbench page for the Control View
index c291c756e9948c52ff4bf55a9b0369ea36030da9..bea127ae731170ebd8ec3cb8010ed45d8e0cbdd7 100644 (file)
@@ -44,55 +44,32 @@ public class EnableEventOnSessionHandler extends BaseEnableEventHandler {
     //-------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseEnableEventHandler#enableEvents(org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CommandParameter, java.util.List, boolean, java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
-     */
+
     @Override
     public void enableEvents(CommandParameter param, List<String> eventNames, boolean isKernel, String filterExpression, IProgressMonitor monitor) throws ExecutionException {
         param.getSession().enableEvents(eventNames, isKernel, filterExpression, monitor);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseEnableEventHandler#enableSyscalls(org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CommandParameter, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public void enableSyscalls(CommandParameter param, IProgressMonitor monitor) throws ExecutionException {
         param.getSession().enableSyscalls(monitor);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseEnableEventHandler#enableProbe(org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CommandParameter, java.lang.String, boolean, java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public void enableProbe(CommandParameter param, String eventName, boolean isFunction, String probe, IProgressMonitor monitor) throws ExecutionException {
         param.getSession().enableProbe(eventName, isFunction, probe, monitor);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseEnableEventHandler#enableLogLevel(org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CommandParameter, java.lang.String, org.eclipse.linuxtools.internal.lttng2.core.control.model.LogLevelType, org.eclipse.linuxtools.internal.lttng2.core.control.model.TraceLogLevel, java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public void enableLogLevel(CommandParameter param, String eventName, LogLevelType logLevelType, TraceLogLevel level, String filterExpression, IProgressMonitor monitor) throws ExecutionException {
         param.getSession().enableLogLevel(eventName, logLevelType, level, filterExpression, monitor);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.BaseEnableEventHandler#getDomain(org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.CommandParameter)
-     */
     @Override
     public TraceDomainComponent getDomain(CommandParameter param) {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
         // Get workbench page for the Control View
index 56a929533249c26151f4eccd8d1d9fd649ada0a3..e17f7a3ea907d3a8c4481e5f30bb2ae890095c36 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers;
@@ -16,7 +16,7 @@ import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceS
 
 /**
  * Class containing parameter for a command execution.
- *  
+ *
  * @author Bernd Hufmann
  */
 public class EventCommandParameter extends CommandParameter {
@@ -24,6 +24,7 @@ public class EventCommandParameter extends CommandParameter {
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     private TraceEventComponent fEvent;
 
     // ------------------------------------------------------------------------
@@ -50,15 +51,11 @@ public class EventCommandParameter extends CommandParameter {
     public TraceEventComponent getEvent() {
         return fEvent;
     }
-    
+
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see java.lang.Object#clone()
-     */
     @Override
     public EventCommandParameter clone() {
         EventCommandParameter clone = (EventCommandParameter) super.clone();
index 2be01250847fac26006970b08f71c65091f91264..be6bc700badd27cfcdb6620d3f69802828892a1a 100644 (file)
@@ -63,18 +63,10 @@ public class ImportHandler extends BaseControlViewHandler {
      */
     protected CommandParameter fParam;
 
-    // ------------------------------------------------------------------------
-    // Accessors
-    // ------------------------------------------------------------------------
-
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands.ExecutionEvent)
-     */
     @Override
     public Object execute(ExecutionEvent event) throws ExecutionException {
 
@@ -121,10 +113,6 @@ public class ImportHandler extends BaseControlViewHandler {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
         // Get workbench page for the Control View
@@ -166,6 +154,7 @@ public class ImportHandler extends BaseControlViewHandler {
     // ------------------------------------------------------------------------
     // Helper methods
     // ------------------------------------------------------------------------
+
     /**
      * Downloads a trace from the remote host to the given project.
      *
index 65e4f85a8ebd641b774716ed17694a536915329d..3714354100af1614140d94fe3409a685ff69b3fb 100644 (file)
@@ -49,6 +49,7 @@ public class NewConnectionHandler extends BaseControlViewHandler {
     // ------------------------------------------------------------------------
     // Constants
     // ------------------------------------------------------------------------
+
     /**
      * The trace control system type defined for LTTng version 2.0 and later.
      */
@@ -57,15 +58,12 @@ public class NewConnectionHandler extends BaseControlViewHandler {
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     /**
      * The parent trace control component the new node will be added to.
      */
     private ITraceControlComponent fRoot = null;
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands.ExecutionEvent)
-     */
     @Override
     public Object execute(ExecutionEvent event) throws ExecutionException {
         assert (fRoot != null);
@@ -169,10 +167,6 @@ public class NewConnectionHandler extends BaseControlViewHandler {
         return result.toArray(new IHost[result.size()]);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
 
index 43eb113170927f7127cc8a3990074ee46d45432a..9ef25181aae0ad70acc7cc1b03e48495b99f145c 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -35,6 +35,7 @@ public class RefreshHandler extends BaseControlViewHandler {
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     /**
      * The node component reference.
      */
@@ -44,10 +45,6 @@ public class RefreshHandler extends BaseControlViewHandler {
     // Operations
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#execute(org.eclipse.core.commands.ExecutionEvent)
-     */
     @Override
     public Object execute(ExecutionEvent event) throws ExecutionException {
         fLock.lock();
@@ -59,10 +56,6 @@ public class RefreshHandler extends BaseControlViewHandler {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.commands.AbstractHandler#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
 
index 4722163534d1a154f019327ce8bbe29d7c574178..1ab751488cd567e18f0e5a7caf51f5e102d9b7b9 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers;
@@ -20,7 +20,7 @@ import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceS
  * <p>
  * Command handler implementation to start one or more trace sessions.
  * </p>
- * 
+ *
  * @author Bernd Hufmann
  */
 public class StartHandler extends ChangeSessionStateHandler {
@@ -28,22 +28,16 @@ public class StartHandler extends ChangeSessionStateHandler {
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.ChangeSessionStateHandler#getNewState()
-     */
+
     @Override
     public TraceSessionState getNewState() {
         return TraceSessionState.ACTIVE;
     }
-    
+
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.ChangeSessionStateHandler#changeState(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent, org.eclipse.core.runtime.IProgressMonitor)
-     */
+
     @Override
     public void changeState(TraceSessionComponent session, IProgressMonitor monitor) throws ExecutionException {
         session.startSession(monitor);
index 8db9d33890d25554d0e32709893d8b6e361d5b89..14ea6035c7ce136141e1d25870e1c28b80e25e70 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers;
@@ -20,7 +20,7 @@ import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceS
  * <p>
  * Command handler implementation to stop one or more trace sessions.
  * </p>
- * 
+ *
  * @author Bernd Hufmann
  */
 public class StopHandler extends ChangeSessionStateHandler {
@@ -28,22 +28,16 @@ public class StopHandler extends ChangeSessionStateHandler {
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.ChangeSessionStateHandler#getNewState()
-     */
+
     @Override
     public TraceSessionState getNewState() {
         return TraceSessionState.INACTIVE;
     }
-    
+
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.handlers.ChangeSessionStateHandler#changeState(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceSessionComponent, org.eclipse.core.runtime.IProgressMonitor)
-     */
+
     @Override
     public void changeState(TraceSessionComponent session, IProgressMonitor monitor) throws ExecutionException {
         session.stopSession(monitor);
index efc3f1c7b0f1df4a143e323529ed8725218e10c5..b9ecc27fba5c1528ef44aed6a450f6ebf8d721f1 100644 (file)
@@ -137,10 +137,6 @@ public class BaseEventComponent extends TraceControlComponent {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceControlComponent#getAdapter(java.lang.Class)
-     */
     @Override
     public Object getAdapter(Class adapter) {
         if (adapter == IPropertySource.class) {
index 3c0b342b38c3b824033fcccd1f7182dbd91e4c8a..de54fb65716bd198e2fdec3c5e0326a26242e1ab 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -33,18 +33,16 @@ public class KernelProviderComponent extends TraceControlComponent {
     // ------------------------------------------------------------------------
     // Constants
     // ------------------------------------------------------------------------
+
     /**
      * Path to icon file for this component.
      */
     public static final String KERNEL_PROVIDER_ICON_FILE = "icons/obj16/targets.gif"; //$NON-NLS-1$
 
-    // ------------------------------------------------------------------------
-    // Attributes
-    // ------------------------------------------------------------------------
-
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
+
     /**
      * Constructor
      * @param name - the name of the component.
@@ -59,6 +57,7 @@ public class KernelProviderComponent extends TraceControlComponent {
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
+
     /**
      * Sets the events information for this component.
      * @param eventInfos - events information to set.
@@ -72,10 +71,6 @@ public class KernelProviderComponent extends TraceControlComponent {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceControlComponent#getAdapter(java.lang.Class)
-     */
     @Override
     public Object getAdapter(Class adapter) {
         if (adapter == IPropertySource.class) {
@@ -84,8 +79,4 @@ public class KernelProviderComponent extends TraceControlComponent {
         return null;
     }
 
-    // ------------------------------------------------------------------------
-    // Operations
-    // ------------------------------------------------------------------------
-
 }
index 907390d70bb73530751c0a3f56735161dfa5de13..5b01e7b291c55dfefa4235d1304ead4a2b9e8e45 100644 (file)
@@ -53,6 +53,7 @@ public class TargetNodeComponent extends TraceControlComponent implements ICommu
     // ------------------------------------------------------------------------
     // Constants
     // ------------------------------------------------------------------------
+
     /**
      * Path to icon file for this component (state connected).
      */
@@ -65,6 +66,7 @@ public class TargetNodeComponent extends TraceControlComponent implements ICommu
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     /**
      * The node connection state.
      */
@@ -93,6 +95,7 @@ public class TargetNodeComponent extends TraceControlComponent implements ICommu
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
+
     /**
      * Constructor
      * @param name - the name of the component
@@ -122,10 +125,7 @@ public class TargetNodeComponent extends TraceControlComponent implements ICommu
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceControlComponent#getImage()
-     */
+
     @Override
     public Image getImage() {
         if (fState == TargetNodeState.CONNECTED) {
@@ -134,47 +134,27 @@ public class TargetNodeComponent extends TraceControlComponent implements ICommu
         return fDisconnectedImage;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceControlComponent#getTargetNodeState()
-     */
     @Override
     public TargetNodeState getTargetNodeState() {
         return fState;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceControlComponent#setTargetNodeState(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent.TargetNodeState)
-     */
     @Override
     public void setTargetNodeState(TargetNodeState state) {
         fState = state;
         fireComponentChanged(TargetNodeComponent.this);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceControlComponent#getControlService()
-     */
     @Override
     public ILttngControlService getControlService() {
         return fService;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceControlComponent#setControlService(org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService)
-     */
     @Override
     public void setControlService(ILttngControlService service) {
         fService = service;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceControlComponent#getAdapter(java.lang.Class)
-     */
     @Override
     public Object getAdapter(Class adapter) {
         if (adapter == IPropertySource.class) {
@@ -257,9 +237,6 @@ public class TargetNodeComponent extends TraceControlComponent implements ICommu
     // Operations
     // ------------------------------------------------------------------------
 
-   /*
-    * @see org.eclipse.rse.core.subsystems.ICommunicationsListener#communicationsStateChange(org.eclipse.rse.core.subsystems.CommunicationsEvent)
-    */
    @Override
    public void communicationsStateChange(CommunicationsEvent e) {
        if (e.getState() == CommunicationsEvent.AFTER_DISCONNECT ||
@@ -270,18 +247,11 @@ public class TargetNodeComponent extends TraceControlComponent implements ICommu
        }
    }
 
-   /* (non-Javadoc)
-    * @see org.eclipse.rse.core.subsystems.ICommunicationsListener#isPassiveCommunicationsListener()
-    */
    @Override
    public boolean isPassiveCommunicationsListener() {
        return true;
    }
 
-   /*
-    * (non-Javadoc)
-    * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.TraceControlComponent#dispose()
-    */
    @Override
    public void dispose() {
        fRemoteProxy.removeCommunicationListener(this);
@@ -378,6 +348,7 @@ public class TargetNodeComponent extends TraceControlComponent implements ICommu
     // ------------------------------------------------------------------------
     // Helper function
     // ------------------------------------------------------------------------
+
     /**
      * @return returns the control service for LTTng specific commands.
      * @throws ExecutionException
index 484c2b871390245f66aa6fc08b136b7162329acc..2be087ac39f9bb8afa4e51f89b1429d52402f4b7 100644 (file)
@@ -40,9 +40,11 @@ import org.eclipse.ui.views.properties.IPropertySource;
  * @author Bernd Hufmann
  */
 public class TraceChannelComponent extends TraceControlComponent {
+
     // ------------------------------------------------------------------------
     // Constants
     // ------------------------------------------------------------------------
+
     /**
      * Path to icon file for this component (state enabled).
      */
@@ -55,6 +57,7 @@ public class TraceChannelComponent extends TraceControlComponent {
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     /**
      * The channel information.
      */
@@ -67,6 +70,7 @@ public class TraceChannelComponent extends TraceControlComponent {
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
+
     /**
      * Constructor
      * @param name - the name of the component.
@@ -83,10 +87,7 @@ public class TraceChannelComponent extends TraceControlComponent {
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceControlComponent#getImage()
-     */
+
     @Override
     public Image getImage() {
         if (fChannelInfo.getState() == TraceEnablement.DISABLED) {
@@ -220,10 +221,7 @@ public class TraceChannelComponent extends TraceControlComponent {
     public void setState(String stateName) {
         fChannelInfo.setState(stateName);
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceControlComponent#getAdapter(java.lang.Class)
-     */
+
     @Override
     public Object getAdapter(Class adapter) {
         if (adapter == IPropertySource.class) {
index 5154d4b01006f52ab2716cf246c72b138099bea8..823ae100075dbd66fa45acf6ee1cc318db71c896 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -89,73 +89,42 @@ public class TraceControlComponent implements ITraceControlComponent {
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#getName()
-     */
+
     @Override
     public String getName() {
         return fName;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#setName(java.lang.String)
-     */
     @Override
     public void setName(String name) {
         fName = name;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#getImage()
-     */
     @Override
     public Image getImage() {
         return fImage;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#setImage(java.lang.String)
-     */
     @Override
     public void setImage(String path) {
         fImage = Activator.getDefault().loadIcon(path);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#setImage(org.eclipse.swt.graphics.Image)
-     */
     @Override
     public void setImage(Image image) {
         fImage = image;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#getToolTip()
-     */
     @Override
     public String getToolTip() {
         return fToolTip;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#setToolTip(java.lang.String)
-     */
     @Override
     public void setToolTip(String toolTip) {
         fToolTip = toolTip;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#getTargetNodeState()
-     */
     @Override
     public TargetNodeState getTargetNodeState() {
         if (getParent() != null) {
@@ -164,10 +133,6 @@ public class TraceControlComponent implements ITraceControlComponent {
         return TargetNodeState.DISCONNECTED;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#setTargetNodeState(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent.TargetNodeState)
-     */
     @Override
     public void setTargetNodeState(TargetNodeState state) {
         if (getParent() != null) {
@@ -175,36 +140,21 @@ public class TraceControlComponent implements ITraceControlComponent {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#getParent()
-     */
     @Override
     public ITraceControlComponent getParent() {
         return fParent;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#setParent(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent)
-     */
     @Override
     public void setParent(ITraceControlComponent parent) {
         fParent = parent;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#getChildren()
-     */
     @Override
     public ITraceControlComponent[] getChildren() {
         return fChildren.toArray(new ITraceControlComponent[fChildren.size()]);
     }
 
-    /*
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponents#etChildren(java.util.List)
-     */
     @Override
     public void setChildren(List<ITraceControlComponent> children) {
         for (Iterator<ITraceControlComponent> iterator = children.iterator(); iterator.hasNext();) {
@@ -214,10 +164,6 @@ public class TraceControlComponent implements ITraceControlComponent {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#getChild(java.lang.String)
-     */
     @Override
     public ITraceControlComponent getChild(String name) {
         ITraceControlComponent child = null;
@@ -229,10 +175,7 @@ public class TraceControlComponent implements ITraceControlComponent {
         }
         return child;
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#getChildren(java.lang.Class)
-     */
+
     @Override
     public List<ITraceControlComponent> getChildren(Class<? extends ITraceControlComponent> clazz) {
        List<ITraceControlComponent> list = new ArrayList<ITraceControlComponent>();
@@ -246,10 +189,6 @@ public class TraceControlComponent implements ITraceControlComponent {
        return list;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#getControlService()
-     */
     @Override
     public ILttngControlService getControlService() {
         if (getParent() != null) {
@@ -258,10 +197,6 @@ public class TraceControlComponent implements ITraceControlComponent {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#setControlService(org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService)
-     */
     @Override
     public void setControlService(ILttngControlService service) {
         if (getParent() != null) {
@@ -272,19 +207,12 @@ public class TraceControlComponent implements ITraceControlComponent {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#dispose()
-     */
+
     @Override
     public void dispose() {
         // default implementation
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#addChild(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent)
-     */
     @Override
     public void addChild(ITraceControlComponent component) {
         if (component != null) {
@@ -293,10 +221,6 @@ public class TraceControlComponent implements ITraceControlComponent {
         fireComponentAdded(this, component);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#removeChild(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent)
-     */
     @Override
     public void removeChild(ITraceControlComponent component) {
         if (component != null) {
@@ -306,10 +230,6 @@ public class TraceControlComponent implements ITraceControlComponent {
         fireComponentRemoved(this, component);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#removeAllChildren()
-     */
     @Override
     public void removeAllChildren() {
         for (Iterator<ITraceControlComponent> iterator = fChildren.iterator(); iterator.hasNext();) {
@@ -320,10 +240,6 @@ public class TraceControlComponent implements ITraceControlComponent {
 //        fireCompenentChanged(this);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#containsChild(java.lang.String)
-     */
     @Override
     public boolean containsChild(String name) {
         boolean retValue = false;
@@ -336,19 +252,11 @@ public class TraceControlComponent implements ITraceControlComponent {
         return retValue;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#hasChildren()
-     */
     @Override
     public boolean hasChildren() {
         return !fChildren.isEmpty();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#addComponentListener(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponentChangedListener)
-     */
     @Override
     public void addComponentListener(ITraceControlComponentChangedListener listener) {
         if (fParent != null) {
@@ -358,10 +266,6 @@ public class TraceControlComponent implements ITraceControlComponent {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#removeComponentListener(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponentChangedListener)
-     */
     @Override
     public void removeComponentListener(ITraceControlComponentChangedListener listener) {
         if (fParent != null) {
@@ -371,10 +275,6 @@ public class TraceControlComponent implements ITraceControlComponent {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#fireCompenentAdded(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent, org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent)
-     */
     @Override
     public void fireComponentAdded(ITraceControlComponent parent, ITraceControlComponent component) {
         if (component == null) {
@@ -392,10 +292,6 @@ public class TraceControlComponent implements ITraceControlComponent {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#fireCompenentRemoved(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent, org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent)
-     */
     @Override
     public void fireComponentRemoved(ITraceControlComponent parent, ITraceControlComponent component) {
         if (component == null) {
@@ -413,10 +309,6 @@ public class TraceControlComponent implements ITraceControlComponent {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent#fireCompenentChanged(org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceControlComponent)
-     */
     @Override
     public void fireComponentChanged(ITraceControlComponent component) {
         if (component == null) {
@@ -434,10 +326,6 @@ public class TraceControlComponent implements ITraceControlComponent {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.runtime.IAdaptable#getAdapter(java.lang.Class)
-     */
     @Override
     public Object getAdapter(Class adapter) {
         return null;
index 87ac1dfe17e78bea266147bde10b96af6f84666d..6ad0cc881bf2b7082ca83c441b09b5e13702f011 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl;
@@ -19,55 +19,37 @@ import org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.ITraceContr
  * <p>
  * Tree content provider implementation for trace control view.
  * </p>
- * 
+ *
  * @author Bernd Hufmann
  */
 public class TraceControlContentProvider implements ITreeContentProvider {
+
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.IContentProvider#dispose()
-     */
+
     @Override
     public void dispose() {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
-     */
     @Override
     public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ITreeContentProvider#getElements(java.lang.Object)
-     */
     @Override
     public Object[] getElements(Object inputElement) {
         return getChildren(inputElement);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ITreeContentProvider#getChildren(java.lang.Object)
-     */
     @Override
     public Object[] getChildren(Object parentElement) {
-        
+
         if (parentElement instanceof ITraceControlComponent) {
             return ((ITraceControlComponent)parentElement).getChildren();
         }
         return new Object[0];
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ITreeContentProvider#getParent(java.lang.Object)
-     */
     @Override
     public Object getParent(Object element) {
         if (element instanceof ITraceControlComponent) {
@@ -76,10 +58,6 @@ public class TraceControlContentProvider implements ITreeContentProvider {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ITreeContentProvider#hasChildren(java.lang.Object)
-     */
     @Override
     public boolean hasChildren(Object element) {
         if (element instanceof ITraceControlComponent) {
index bcad582765c2677dc5fbb6e5c2d94df383511792..fa97c94451f86017f4c85468b387452d408db911 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl;
@@ -19,7 +19,7 @@ import org.eclipse.swt.graphics.Image;
  * <p>
  * Label provider for trace control tree viewer.
  * </p>
- * 
+ *
  * @author Bernd Hufmann
  */
 public class TraceControlLabelProvider extends ColumnLabelProvider {
@@ -27,9 +27,7 @@ public class TraceControlLabelProvider extends ColumnLabelProvider {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ILabelProvider#getImage(java.lang.Object)
-     */
+
     @Override
     public Image getImage(Object element) {
         if ((element != null) && (element instanceof ITraceControlComponent)) {
@@ -38,9 +36,6 @@ public class TraceControlLabelProvider extends ColumnLabelProvider {
         return null;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ILabelProvider#getText(java.lang.Object)
-     */
     @Override
     public String getText(Object element) {
         if ((element != null) && (element instanceof ITraceControlComponent)) {
@@ -49,10 +44,6 @@ public class TraceControlLabelProvider extends ColumnLabelProvider {
         return "";//$NON-NLS-1$
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.CellLabelProvider#getToolTipText(java.lang.Object)
-     */
     @Override
     public String getToolTipText(Object element) {
         if ((element != null) && (element instanceof ITraceControlComponent)) {
index 54b20a59f5d85f803ed9adc355ec3f51d2e34e01..6db060992fe850defb3fab490782449944cd2f24 100644 (file)
@@ -82,10 +82,6 @@ public class TraceDomainComponent extends TraceControlComponent {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceControlComponent#getAdapter(java.lang.Class)
-     */
     @Override
     public Object getAdapter(Class adapter) {
         if (adapter == IPropertySource.class) {
index a5aad23157da520404ec793f2b629c9ec2990e1c..e7ffbc702d86ea3588b86e1cfe1690d9d1c457d4 100644 (file)
@@ -80,10 +80,7 @@ public class TraceEventComponent extends TraceControlComponent {
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceControlComponent#getImage()
-     */
+
     @Override
     public Image getImage() {
         if (fEventInfo.getState() == TraceEnablement.DISABLED) {
@@ -185,10 +182,6 @@ public class TraceEventComponent extends TraceControlComponent {
         fEventInfo.setFilterExpression(filter);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceControlComponent#getAdapter(java.lang.Class)
-     */
     @Override
     public Object getAdapter(Class adapter) {
         if (adapter == IPropertySource.class) {
index b6c2028350afb890e4b7e673cea1ce020d2679d5..a361e9099aa69dcd669b88313d52eddd72e027bf 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -64,10 +64,6 @@ public class TraceProbeEventComponent extends TraceEventComponent {
         throw new IllegalArgumentException("Invalid type passed. Only class of type ProbeEventInfo allowed:\n" + eventInfo.getClass()); //$NON-NLS-1$
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceControlComponent#getAdapter(java.lang.Class)
-     */
     @Override
     public Object getAdapter(Class adapter) {
         if (adapter == IPropertySource.class) {
index 698d4842ccd1f8ef8eac941650be76749b78f4d4..86de1fa590a9e2c00e565fe5211a2036ee22562b 100644 (file)
@@ -95,10 +95,7 @@ public class TraceSessionComponent extends TraceControlComponent {
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceControlComponent#getImage()
-     */
+
     @Override
     public Image getImage() {
         if (fIsDestroyed) {
@@ -181,10 +178,6 @@ public class TraceSessionComponent extends TraceControlComponent {
         fSessionInfo.setStreamedTrace(isStreamedTrace);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceControlComponent#getAdapter(java.lang.Class)
-     */
     @Override
     public Object getAdapter(Class adapter) {
         if (adapter == IPropertySource.class) {
index 86f2ea0ab5d825f997a88d7b835d41d425bdabf9..c44015d11a4f84aaaf185e55d4a3cd1e25b14c12 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -93,10 +93,6 @@ public class UstProviderComponent extends TraceControlComponent {
         fProviderInfo.setPid(pid);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.impl.TraceControlComponent#getAdapter(java.lang.Class)
-     */
     @Override
     public Object getAdapter(Class adapter) {
         if (adapter == IPropertySource.class) {
@@ -105,10 +101,4 @@ public class UstProviderComponent extends TraceControlComponent {
         return null;
     }
 
-    // ------------------------------------------------------------------------
-    // Operations
-    // ------------------------------------------------------------------------
-
 }
-
-
index a317e638626d7a761da7daf10b54a326a5f4bdd3..85d27ea51caa478d2cd55773121690abd92017a5 100644 (file)
@@ -22,10 +22,7 @@ import org.eclipse.jface.preference.IPreferenceStore;
  * @author Bernd Hufmann
  */
 public class ControlPreferenceInitializer extends AbstractPreferenceInitializer {
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.runtime.preferences.AbstractPreferenceInitializer#initializeDefaultPreferences()
-     */
+
     @Override
     public void initializeDefaultPreferences() {
         final IPreferenceStore store = ControlPreferences.getInstance().getPreferenceStore();
index 98ab40da72e07f2d9c982958f9be1e9ff7f7fb8d..12eca09f25219fa736accbc0aede7e0e15d5bc92 100644 (file)
@@ -57,18 +57,11 @@ public class ControlPreferencePage extends FieldEditorPreferencePage implements
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
-     */
+
     @Override
     public void init(IWorkbench workbench) {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.preference.FieldEditorPreferencePage#createFieldEditors()
-     */
     @Override
     protected void createFieldEditors() {
 
@@ -121,10 +114,6 @@ public class ControlPreferencePage extends FieldEditorPreferencePage implements
         addField(commandTimeout);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.preference.FieldEditorPreferencePage#propertyChange(org.eclipse.jface.util.PropertyChangeEvent)
-     */
     @Override
     public void propertyChange(PropertyChangeEvent event) {
 
@@ -141,10 +130,6 @@ public class ControlPreferencePage extends FieldEditorPreferencePage implements
         super.propertyChange(event);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.preference.FieldEditorPreferencePage#performDefaults()
-     */
     @Override
     protected void performDefaults() {
         super.performDefaults();
@@ -152,10 +137,6 @@ public class ControlPreferencePage extends FieldEditorPreferencePage implements
         fIsAppend.setEnabled(false, getFieldEditorParent());
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.preference.FieldEditorPreferencePage#performOk()
-     */
     @Override
     public boolean performOk() {
         boolean ret =  super.performOk();
index 2a76dc9fa8149717eb509a10c20b747f4446d971..1021bf8041ae7c460d84bbe9c02f76432607ee8a 100644 (file)
@@ -89,10 +89,7 @@ public class BaseEventPropertySource extends BasePropertySource {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.property.BasePropertySource#getPropertyDescriptors()
-     */
+
     @Override
     public IPropertyDescriptor[] getPropertyDescriptors() {
         List<IPropertyDescriptor> list = new ArrayList<IPropertyDescriptor> ();
@@ -107,10 +104,6 @@ public class BaseEventPropertySource extends BasePropertySource {
         return list.toArray(new IPropertyDescriptor[list.size()]);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.property.BasePropertySource#getPropertyValue(java.lang.Object)
-     */
     @Override
     public Object getPropertyValue(Object id) {
         if(BASE_EVENT_NAME_PROPERTY_ID.equals(id)) {
index 87fb40b7ea5416d6aa8c8245de5f99f011ac947c..f27f27e35477fb61544e5a73a80a1792bc2670de 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.internal.lttng2.ui.views.control.property;
@@ -18,7 +18,7 @@ import org.eclipse.ui.views.properties.IPropertySource;
  * <p>
  * Base property source implementation.
  * </p>
- * 
+ *
  * @author Bernd Hufmann
  */
 abstract public class BasePropertySource implements IPropertySource {
@@ -26,50 +26,27 @@ abstract public class BasePropertySource implements IPropertySource {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#getEditableValue()
-     */
+
     @Override
     public Object getEditableValue() {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#getPropertyDescriptors()
-     */
     @Override
     abstract public IPropertyDescriptor[] getPropertyDescriptors();
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#getPropertyValue(java.lang.Object)
-     */
     @Override
     abstract public Object getPropertyValue(Object id);
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#isPropertySet(java.lang.Object)
-     */
     @Override
     public boolean isPropertySet(Object id) {
         return false;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#resetPropertyValue(java.lang.Object)
-     */
     @Override
     public void resetPropertyValue(Object id) {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#setPropertyValue(java.lang.Object, java.lang.Object)
-     */
     @Override
     public void setPropertyValue(Object id, Object value) {
     }
index fb9d2eb92bdafa9bae8e51081078767388ba3a41..d09396745659529479822883eb61992fda5bfd40 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -28,6 +28,7 @@ public class KernelProviderPropertySource extends BasePropertySource {
     // ------------------------------------------------------------------------
     // Constants
     // ------------------------------------------------------------------------
+
     /**
      * The kernel provider 'name' property ID.
      */
@@ -40,6 +41,7 @@ public class KernelProviderPropertySource extends BasePropertySource {
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     /**
      * The kernel provider component which this property source is for.
      */
@@ -48,6 +50,7 @@ public class KernelProviderPropertySource extends BasePropertySource {
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
+
     /**
      * Constructor
      * @param component - the kernel provider component
@@ -59,20 +62,13 @@ public class KernelProviderPropertySource extends BasePropertySource {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.property.BasePropertySource#getPropertyDescriptors()
-     */
+
     @Override
     public IPropertyDescriptor[] getPropertyDescriptors() {
         return new IPropertyDescriptor[] {
                 new ReadOnlyTextPropertyDescriptor(KERNEL_PROVIDER_NAME_PROPERTY_ID, KERNEL_PROVIDER_NAME_PROPERTY_NAME)};
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.property.BasePropertySource#getPropertyValue(java.lang.Object)
-     */
     @Override
     public Object getPropertyValue(Object id) {
         if(KERNEL_PROVIDER_NAME_PROPERTY_ID.equals(id)) {
index 656f4f20b7420a1d12d7b6078a9d1a86c1db74f6..a4c586d86e2f0202fdb75b5f79acaf7a4d422cf9 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -84,10 +84,7 @@ public class TargetNodePropertySource extends BasePropertySource {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.property.BasePropertySource#getPropertyDescriptors()
-     */
+
     @Override
     public IPropertyDescriptor[] getPropertyDescriptors() {
         return new IPropertyDescriptor[] {
@@ -97,10 +94,6 @@ public class TargetNodePropertySource extends BasePropertySource {
                 new ReadOnlyTextPropertyDescriptor(TARGET_NODE_VERSION_PROPERTY_ID, TARGET_NODE_VERSION_PROPERTY_NAME)};
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.property.BasePropertySource#getPropertyValue(java.lang.Object)
-     */
     @Override
     public Object getPropertyValue(Object id) {
         if(TARGET_NODE_NAME_PROPERTY_ID.equals(id)) {
index ef1a2c52a8107d18f387bd0daeffd04323c3f008..f6eb24ca0d6ef768131fbb45caf792d3f3f25052 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -116,10 +116,6 @@ public class TraceChannelPropertySource extends BasePropertySource {
     // Operations
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.property.BasePropertySource#getPropertyDescriptors()
-     */
     @Override
     public IPropertyDescriptor[] getPropertyDescriptors() {
         return new IPropertyDescriptor[] {
@@ -133,10 +129,6 @@ public class TraceChannelPropertySource extends BasePropertySource {
                 new ReadOnlyTextPropertyDescriptor(TRACE_CHANNEL_OUTPUT_TYPE_PROPERTY_ID, TRACE_CHANNEL_OUTPUT_TYPEPROPERTY_NAME)};
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.property.BasePropertySource#getPropertyValue(java.lang.Object)
-     */
     @Override
     public Object getPropertyValue(Object id) {
         if(TRACE_CHANNEL_NAME_PROPERTY_ID.equals(id)) {
index 37e585787b28f3e2cce48dfd0ce6a86770db5e9a..8e5de7f7a76ca738df14b68406a531200cfad416 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -41,6 +41,7 @@ public class TraceDomainPropertySource extends BasePropertySource {
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     /**
      * The trace domain component which this property source is for.
      */
@@ -49,6 +50,7 @@ public class TraceDomainPropertySource extends BasePropertySource {
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
+
     /**
      * Constructor
      * @param component - the trace domain component
@@ -60,20 +62,13 @@ public class TraceDomainPropertySource extends BasePropertySource {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.property.BasePropertySource#getPropertyDescriptors()
-     */
+
     @Override
     public IPropertyDescriptor[] getPropertyDescriptors() {
         return new IPropertyDescriptor[] {
                 new ReadOnlyTextPropertyDescriptor(TRACE_DOMAIN_NAME_PROPERTY_ID, TRACE_DOMAIN_NAME_PROPERTY_NAME)};
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.property.BasePropertySource#getPropertyValue(java.lang.Object)
-     */
     @Override
     public Object getPropertyValue(Object id) {
         if(TRACE_DOMAIN_NAME_PROPERTY_ID.equals(id)) {
index 911a40b7ce8361a876afe913083fdf3a06a3478b..51f3d14e2ce6bcd080f73e518c77366ea9292f2a 100644 (file)
@@ -78,6 +78,7 @@ public class TraceEventPropertySource extends BasePropertySource {
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     /**
      * The event component which this property source is for.
      */
@@ -86,6 +87,7 @@ public class TraceEventPropertySource extends BasePropertySource {
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
+
     /**
      * Constructor
      * @param component - the base event component
@@ -97,10 +99,7 @@ public class TraceEventPropertySource extends BasePropertySource {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.property.BasePropertySource#getPropertyDescriptors()
-     */
+
     @Override
     public IPropertyDescriptor[] getPropertyDescriptors() {
         List<IPropertyDescriptor> list = new ArrayList<IPropertyDescriptor> ();
@@ -116,10 +115,6 @@ public class TraceEventPropertySource extends BasePropertySource {
         return list.toArray(new IPropertyDescriptor[list.size()]);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.property.BasePropertySource#getPropertyValue(java.lang.Object)
-     */
     @Override
     public Object getPropertyValue(Object id) {
         if(TRACE_EVENT_NAME_PROPERTY_ID.equals(id)) {
index 3bcf2685f785ba3c1db1f4528d183c9cee46dedc..4f07ff9c70880589986fb06ae94a01efd19147cf 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -82,10 +82,7 @@ public class TraceProbeEventPropertySource extends TraceEventPropertySource {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.property.BasePropertySource#getPropertyDescriptors()
-     */
+
     @Override
     public IPropertyDescriptor[] getPropertyDescriptors() {
         IPropertyDescriptor[] superProperties = super.getPropertyDescriptors();
@@ -111,10 +108,6 @@ public class TraceProbeEventPropertySource extends TraceEventPropertySource {
         return list.toArray(new IPropertyDescriptor[list.size()]);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.property.BasePropertySource#getPropertyValue(java.lang.Object)
-     */
     @Override
     public Object getPropertyValue(Object id) {
         if(TRACE_EVENT_PROBE_ADDRESS_PROPERTY_ID.equals(id)) {
index 44a768bed7da0ad8f5bb57582cade1c54fd6cbed..ef6cab63253ba4bc9accd00b1d1f232c5e08d77d 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -56,6 +56,7 @@ public class TraceSessionPropertySource extends BasePropertySource {
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     /**
      * The session component which this property source is for.
      */
@@ -64,6 +65,7 @@ public class TraceSessionPropertySource extends BasePropertySource {
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
+
     /**
      * Constructor
      * @param component - the session component
@@ -75,10 +77,7 @@ public class TraceSessionPropertySource extends BasePropertySource {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#getPropertyDescriptors()
-     */
+
     @Override
     public IPropertyDescriptor[] getPropertyDescriptors() {
         return new IPropertyDescriptor[] {
@@ -87,10 +86,6 @@ public class TraceSessionPropertySource extends BasePropertySource {
                 new ReadOnlyTextPropertyDescriptor(TRACE_SESSION_STATE_PROPERTY_ID, TRACE_SESSION_STATE_PROPERTY_NAME)};
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#getPropertyValue(java.lang.Object)
-     */
     @Override
     public Object getPropertyValue(Object id) {
         if(TRACE_SESSION_NAME_PROPERTY_ID.equals(id)) {
index a275c32e4a52899c64c8181150fe9d63a3d8818a..1bb4f518b7558b764f3271e9bfdcbbca5498bf33 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -48,6 +48,7 @@ public class UstProviderPropertySource extends BasePropertySource {
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     /**
      * The UST provider component which this property source is for.
      */
@@ -56,6 +57,7 @@ public class UstProviderPropertySource extends BasePropertySource {
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
+
     /**
      * Constructor
      * @param component - the UST provider component
@@ -67,10 +69,7 @@ public class UstProviderPropertySource extends BasePropertySource {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.property.BasePropertySource#getPropertyDescriptors()
-     */
+
     @Override
     public IPropertyDescriptor[] getPropertyDescriptors() {
         return new IPropertyDescriptor[] {
@@ -78,10 +77,6 @@ public class UstProviderPropertySource extends BasePropertySource {
                 new ReadOnlyTextPropertyDescriptor(UST_PROVIDER_PID_PROPERTY_ID, UST_PROVIDER_PID_PROPERTY_NAME)};
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.property.BasePropertySource#getPropertyValue(java.lang.Object)
-     */
     @Override
     public Object getPropertyValue(Object id) {
         if(UST_PROVIDER_NAME_PROPERTY_ID.equals(id)) {
index 6a5beb309857a88c7800ce0db841e70131a1011d..339620d1896c52c2f60606abec7849648bc6cac7 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -57,37 +57,22 @@ public class CommandResult implements ICommandResult {
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ICommandResult#getResult()
-     */
+
     @Override
     public int getResult() {
         return fResult;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ICommandResult#setResult(int)
-     */
     @Override
     public void setResult(int result) {
         fResult = result;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ICommandResult#getOutput()
-     */
     @Override
     public String[] getOutput() {
         return Arrays.copyOf(fOutput, fOutput.length);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ICommandResult#setOutput(java.lang.String[])
-     */
     @Override
     public void setOutput(String[] output) {
         fOutput = new String[0];
index 16fb5fadaf90a7b809307b958c7e9db9366f0816..95b50a6d81633f8cb50f8278111d3d9d7b5e14c8 100644 (file)
@@ -92,10 +92,7 @@ public class CommandShell implements ICommandShell {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ICommandShell#connect()
-     */
+
     @Override
     public void connect() throws ExecutionException {
         IShellService shellService = fProxy.getShellService();
@@ -111,10 +108,6 @@ public class CommandShell implements ICommandShell {
         fIsConnected = true;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ICommandShell#disconnect()
-     */
     @Override
     public void disconnect() {
         fIsConnected = false;
@@ -126,19 +119,11 @@ public class CommandShell implements ICommandShell {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ICommandShell#executeCommand(java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public ICommandResult executeCommand(String command, IProgressMonitor monitor) throws ExecutionException {
         return executeCommand(command, monitor, true);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ICommandShell#executeCommand(java.lang.String, org.eclipse.core.runtime.IProgressMonitor, boolean)
-     */
     @Override
     public ICommandResult executeCommand(final String command, final IProgressMonitor monitor, final boolean checkReturnValue) throws ExecutionException {
         if (fIsConnected) {
index e03adeb224d764902018f5eb5a4ab0639c082f1d..873ce131552f8234aff40be897a2ab707b7cba6a 100644 (file)
@@ -36,6 +36,7 @@ public class RemoteSystemProxy implements IRemoteSystemProxy {
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     private final IHost fHost;
 
     // ------------------------------------------------------------------------
@@ -55,9 +56,7 @@ public class RemoteSystemProxy implements IRemoteSystemProxy {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.util.IRemoteSystemProxy#getShellService(org.eclipse.rse.core.model.IHost)
-     */
+
     @Override
     public IShellService getShellService() {
         ISubSystem ss = getShellServiceSubSystem();
@@ -67,9 +66,6 @@ public class RemoteSystemProxy implements IRemoteSystemProxy {
         return null;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.util.IRemoteSystemProxy#getTerminalService()
-     */
     @Override
     public ITerminalService getTerminalService() {
         ISubSystem ss = getTerminalServiceSubSystem();
@@ -79,9 +75,6 @@ public class RemoteSystemProxy implements IRemoteSystemProxy {
         return null;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.util.IRemoteSystemProxy#getShellServiceSubSystem()
-     */
     @Override
     public ISubSystem getShellServiceSubSystem() {
         if (fHost == null) {
@@ -101,9 +94,6 @@ public class RemoteSystemProxy implements IRemoteSystemProxy {
         return null;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.util.IRemoteSystemProxy#getTerminalServiceSubSystem()
-     */
     @Override
     public ISubSystem getTerminalServiceSubSystem() {
         if (fHost == null) {
@@ -123,10 +113,6 @@ public class RemoteSystemProxy implements IRemoteSystemProxy {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.remote.IRemoteSystemProxy#getFileServiceSubSystem()
-     */
     @Override
     public IFileServiceSubSystem getFileServiceSubSystem() {
         if (fHost == null) {
@@ -156,10 +142,6 @@ public class RemoteSystemProxy implements IRemoteSystemProxy {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.remote.IRemoteSystemProxy#connect(org.eclipse.rse.core.model.IRSECallback)
-     */
     @Override
     public void connect(IRSECallback callback) throws ExecutionException {
         ISubSystem shellSubSystem = getShellServiceSubSystem();
@@ -179,9 +161,6 @@ public class RemoteSystemProxy implements IRemoteSystemProxy {
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.util.IRemoteSystemProxy#disconnect()
-     */
     @Override
     public void disconnect() throws ExecutionException {
             ISubSystem shellSubSystem = getShellServiceSubSystem();
@@ -194,9 +173,6 @@ public class RemoteSystemProxy implements IRemoteSystemProxy {
             }
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.util.IRemoteSystemProxy#createCommandShell()
-     */
     @Override
     public ICommandShell createCommandShell() throws ExecutionException {
         ICommandShell shell = new CommandShell(this);
@@ -204,9 +180,6 @@ public class RemoteSystemProxy implements IRemoteSystemProxy {
         return shell;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.util.IRemoteSystemProxy#addCommunicationListener(org.eclipse.rse.core.subsystems.ICommunicationsListener)
-     */
     @Override
     public void addCommunicationListener(ICommunicationsListener listener) {
         IConnectorService[] css = fHost.getConnectorServices();
@@ -215,9 +188,6 @@ public class RemoteSystemProxy implements IRemoteSystemProxy {
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.util.IRemoteSystemProxy#removeCommunicationListener(org.eclipse.rse.core.subsystems.ICommunicationsListener)
-     */
     @Override
     public void removeCommunicationListener(ICommunicationsListener listener) {
         IConnectorService[] css = fHost.getConnectorServices();
index 476f1532f33bd18159dacda0461d988a99126520..e6f2439a57a80d02ff961aebc39e65b096e35e1f 100644 (file)
@@ -85,10 +85,7 @@ public class LTTngControlService implements ILttngControlService {
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService#getVersion()
-     */
+
     @Override
     public String getVersion() {
         if (fVersion == null) {
@@ -105,10 +102,6 @@ public class LTTngControlService implements ILttngControlService {
         fVersion = new Version(version);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService#isVersionSupported(java.lang.String)
-     */
     @Override
     public boolean isVersionSupported(String version) {
         Version tmp = new Version(version);
@@ -119,13 +112,6 @@ public class LTTngControlService implements ILttngControlService {
     // Operations
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see
-     * org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService
-     * #getSessionNames(org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public String[] getSessionNames(IProgressMonitor monitor) throws ExecutionException {
         StringBuffer command = createCommand(LTTngControlServiceConstants.COMMAND_LIST);
@@ -152,13 +138,6 @@ public class LTTngControlService implements ILttngControlService {
         return retArray.toArray(new String[retArray.size()]);
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see
-     * org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService
-     * #getSession(java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public ISessionInfo getSession(String sessionName, IProgressMonitor monitor) throws ExecutionException {
         StringBuffer command = createCommand(LTTngControlServiceConstants.COMMAND_LIST, sessionName);
@@ -244,13 +223,6 @@ public class LTTngControlService implements ILttngControlService {
         return sessionInfo;
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see
-     * org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService
-     * #getKernelProvider(org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public List<IBaseEventInfo> getKernelProvider(IProgressMonitor monitor) throws ExecutionException {
         StringBuffer command = createCommand(LTTngControlServiceConstants.COMMAND_LIST_KERNEL);
@@ -287,25 +259,11 @@ public class LTTngControlService implements ILttngControlService {
         return events;
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see
-     * org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService
-     * #getUstProvider()
-     */
     @Override
     public List<IUstProviderInfo> getUstProvider() throws ExecutionException {
         return getUstProvider(new NullProgressMonitor());
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see
-     * org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService
-     * #getUstProvider(org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public List<IUstProviderInfo> getUstProvider(IProgressMonitor monitor) throws ExecutionException {
         StringBuffer command = createCommand(LTTngControlServiceConstants.COMMAND_LIST_UST);
@@ -388,10 +346,6 @@ public class LTTngControlService implements ILttngControlService {
         return allProviders;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService#createSession(java.lang.String, java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public ISessionInfo createSession(String sessionName, String sessionPath, IProgressMonitor monitor) throws ExecutionException {
 
@@ -450,10 +404,6 @@ public class LTTngControlService implements ILttngControlService {
 
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService#createSession(java.lang.String, java.lang.String, java.lang.String, java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public ISessionInfo createSession(String sessionName, String networkUrl, String controlUrl, String dataUrl, IProgressMonitor monitor) throws ExecutionException {
 
@@ -557,10 +507,6 @@ public class LTTngControlService implements ILttngControlService {
         //Session <sessionName> destroyed
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService#startSession(java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public void startSession(String sessionName, IProgressMonitor monitor) throws ExecutionException {
 
@@ -573,10 +519,6 @@ public class LTTngControlService implements ILttngControlService {
         //Session <sessionName> started
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService#stopSession(java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public void stopSession(String sessionName, IProgressMonitor monitor) throws ExecutionException {
         String newSessionName = formatParameter(sessionName);
@@ -588,10 +530,6 @@ public class LTTngControlService implements ILttngControlService {
 
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService#enableChannel(java.lang.String, java.util.List, boolean, org.eclipse.linuxtools.internal.lttng2.ui.views.control.model.IChannelInfo, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public void enableChannels(String sessionName, List<String> channelNames, boolean isKernel, IChannelInfo info, IProgressMonitor monitor) throws ExecutionException {
 
@@ -650,10 +588,6 @@ public class LTTngControlService implements ILttngControlService {
 
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService#disableChannel(java.lang.String, java.util.List, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public void disableChannels(String sessionName, List<String> channelNames, boolean isKernel, IProgressMonitor monitor) throws ExecutionException {
 
@@ -685,10 +619,6 @@ public class LTTngControlService implements ILttngControlService {
         executeCommand(command.toString(), monitor);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService#enableEvents(java.lang.String, java.lang.String, java.util.List, boolean, java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public void enableEvents(String sessionName, String channelName, List<String> eventNames, boolean isKernel, String filterExpression, IProgressMonitor monitor) throws ExecutionException {
 
@@ -738,10 +668,6 @@ public class LTTngControlService implements ILttngControlService {
 
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService#enableSyscalls(java.lang.String, java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public void enableSyscalls(String sessionName, String channelName, IProgressMonitor monitor) throws ExecutionException {
 
@@ -765,10 +691,6 @@ public class LTTngControlService implements ILttngControlService {
         executeCommand(command.toString(), monitor);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService#enableProbe(java.lang.String, java.lang.String, java.lang.String, java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public void enableProbe(String sessionName, String channelName, String eventName, boolean isFunction, String probe, IProgressMonitor monitor) throws ExecutionException {
         StringBuffer command = createCommand(LTTngControlServiceConstants.COMMAND_ENABLE_EVENT);
@@ -795,10 +717,6 @@ public class LTTngControlService implements ILttngControlService {
         executeCommand(command.toString(), monitor);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService#enableLogLevel(java.lang.String, java.lang.String, java.lang.String, org.eclipse.linuxtools.internal.lttng2.core.control.model.LogLevelType, org.eclipse.linuxtools.internal.lttng2.core.control.model.TraceLogLevel, java.lang.String, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public void enableLogLevel(String sessionName, String channelName, String eventName, LogLevelType logLevelType, TraceLogLevel level, String filterExpression, IProgressMonitor monitor) throws ExecutionException {
         StringBuffer command = createCommand(LTTngControlServiceConstants.COMMAND_ENABLE_EVENT);
@@ -828,12 +746,6 @@ public class LTTngControlService implements ILttngControlService {
         executeCommand(command.toString(), monitor);
     }
 
-
-
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService#disableEvent(java.lang.String, java.lang.String, java.util.List, boolean, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public void disableEvent(String sessionName, String channelName, List<String> eventNames, boolean isKernel, IProgressMonitor monitor) throws ExecutionException {
         StringBuffer command = createCommand(LTTngControlServiceConstants.COMMAND_DISABLE_EVENT);
@@ -875,10 +787,6 @@ public class LTTngControlService implements ILttngControlService {
         executeCommand(command.toString(), monitor);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService#getContexts(org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public List<String> getContextList(IProgressMonitor monitor) throws ExecutionException {
 
@@ -913,10 +821,6 @@ public class LTTngControlService implements ILttngControlService {
         return contexts;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService#addContexts(java.lang.String, java.lang.String, java.lang.String, boolean, java.util.List, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public void addContexts(String sessionName, String channelName, String eventName, boolean isKernel, List<String> contextNames, IProgressMonitor monitor) throws ExecutionException {
         StringBuffer command = createCommand(LTTngControlServiceConstants.COMMAND_ADD_CONTEXT);
@@ -951,10 +855,6 @@ public class LTTngControlService implements ILttngControlService {
 
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.internal.lttng2.ui.views.control.service.ILttngControlService#calibrate(boolean, org.eclipse.core.runtime.IProgressMonitor)
-     */
     @Override
     public void calibrate(boolean isKernel, IProgressMonitor monitor) throws ExecutionException {
 //        String newSessionName = formatParameter(sessionName);
@@ -977,6 +877,7 @@ public class LTTngControlService implements ILttngControlService {
     // ------------------------------------------------------------------------
     // Helper methods
     // ------------------------------------------------------------------------
+
     /**
      * Checks if command result is an error result.
      *
index 7488b09dff6f1ad99ec947ab8262b0525401d842..13707aab940aad1ba326e111d616e2d8653a4222 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2012. 2013 Ericsson
+ * Copyright (c) 2012, 2013. 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
index 2b9d00f45be65458aaae7d086121f1a79f5777d7..b1b3710e42b611c47f1f2698abbc2bd7b1344de0 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson
+ * Copyright (c) 2009, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
index 0489687b378c736fedfa3d8363e8a9b2a84ee757..aa707fb431bd94209a86fee42efd6b513772b861 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -36,9 +36,6 @@ public class TmfStringLocation extends TmfLocation {
         super(other.getLocationInfo());
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfLocation#getLocationInfo()
-     */
     @Override
     public String getLocationInfo() {
         return (String) super.getLocationInfo();
index 26785abc614b9a9aa4e4df523a54158a496d27fd..b9c47baafea55bcef400ba0dfad1f5d356c8fab0 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson
+ * Copyright (c) 2009, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
index 29ac5655a99da21c506d47e39162b05c390a64ad..776a194bce1b32597378eeab344fbe46bfe52f28 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson
+ * Copyright (c) 2009, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
index 5d65e3bdbe5ff55c0ff2f4665f1a98f0758d0ebf..2ad3868199ea4e2698d45bc0e6e209b5de07d43b 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson
+ * Copyright (c) 2009, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are made
  * available under the terms of the Eclipse Public License v1.0 which
index 206f562f72692bde86b3f44ab118ea13970e6138..c15798fbe41130884cfcc716954eeaebec529929 100644 (file)
@@ -56,9 +56,6 @@ public class TmfDataRequestStub extends TmfDataRequest {
         super(dataType, index, nbRequested, blockSize);
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.request.TmfDataRequest#handleData(org.eclipse.linuxtools.tmf.core.event.ITmfEvent)
-     */
     @Override
     public void handleData(final ITmfEvent data) {
         super.handleData(data);
index 3c972473cf864815175413b00417810c3c02d5e5..25e94223eee3a6c47f3b5d59cf2256932097f70b 100644 (file)
@@ -66,9 +66,6 @@ public class TmfEventRequestStub extends TmfEventRequest {
         super(dataType, range, index, nbRequested, blockSize);
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.request.TmfDataRequest#handleData(org.eclipse.linuxtools.tmf.core.event.ITmfEvent)
-     */
     @Override
     public void handleData(final ITmfEvent data) {
         super.handleData(data);
index 5ff7b090c7adf0522e287c799af5d6b322a7663d..0e8a46f0e632b66cfa2bdc3b14842d2d89ea47df 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson
+ * Copyright (c) 2009, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -26,36 +26,36 @@ import org.osgi.framework.BundleContext;
  */
 public class Activator extends Plugin {
 
-       // ------------------------------------------------------------------------
+    // ------------------------------------------------------------------------
     // Attributes
-       // ------------------------------------------------------------------------
+    // ------------------------------------------------------------------------
 
     /**
      * The plug-in ID
      */
-       public static final String PLUGIN_ID = "org.eclipse.linuxtools.tmf.core"; //$NON-NLS-1$
+    public static final String PLUGIN_ID = "org.eclipse.linuxtools.tmf.core"; //$NON-NLS-1$
 
-       /**
+    /**
      * The shared instance
      */
-       private static Activator fPlugin;
+    private static Activator fPlugin;
 
-       // ------------------------------------------------------------------------
+    // ------------------------------------------------------------------------
     // Constructors
-       // ------------------------------------------------------------------------
+    // ------------------------------------------------------------------------
 
-       /**
+    /**
      * Constructor
      */
-       public Activator() {
-               setDefault(this);
-       }
+    public Activator() {
+        setDefault(this);
+    }
 
-       // ------------------------------------------------------------------------
+    // ------------------------------------------------------------------------
     // Accessors
-       // ------------------------------------------------------------------------
+    // ------------------------------------------------------------------------
 
-       /**
+    /**
      * Returns the TMF Core plug-in instance.
      *
      * @return the TMF Core plug-in instance.
@@ -65,54 +65,50 @@ public class Activator extends Plugin {
     }
 
     // Sets plug-in instance
-       private static void setDefault(Activator plugin) {
-               fPlugin = plugin;
-       }
+    private static void setDefault(Activator plugin) {
+        fPlugin = plugin;
+    }
 
-       // ------------------------------------------------------------------------
+    // ------------------------------------------------------------------------
     // Plugin
-       // ------------------------------------------------------------------------
-
-       /*
-        * (non-Javadoc)
-        * @see org.eclipse.core.runtime.Plugin#start(org.osgi.framework.BundleContext)
-        */
-       @Override
-       public void start(BundleContext context) throws Exception {
-               super.start(context);
-               setDefault(this);
-               TmfCoreTracer.init();
-       }
-
-       /*
-        * (non-Javadoc)
-        * @see org.eclipse.core.runtime.Plugin#stop(org.osgi.framework.BundleContext)
-        */
-       @Override
-       public void stop(BundleContext context) throws Exception {
-               TmfCoreTracer.stop();
-               setDefault(null);
-               super.stop(context);
-       }
-
-       // ------------------------------------------------------------------------
-       // Log INFO
+    // ------------------------------------------------------------------------
+
+    @Override
+    public void start(BundleContext context) throws Exception {
+        super.start(context);
+        setDefault(this);
+        TmfCoreTracer.init();
+    }
+
+    @Override
+    public void stop(BundleContext context) throws Exception {
+        TmfCoreTracer.stop();
+        setDefault(null);
+        super.stop(context);
+    }
+
+    // ------------------------------------------------------------------------
+    // Log INFO
     // ------------------------------------------------------------------------
 
     /**
      * Logs a message with severity INFO in the runtime log of the plug-in.
      *
-     * @param message A message to log
+     * @param message
+     *            A message to log
      */
     public static void logInfo(String message) {
         fPlugin.getLog().log(new Status(IStatus.INFO, PLUGIN_ID, message));
     }
 
     /**
-     * Logs a message and exception with severity INFO in the runtime log of the plug-in.
+     * Logs a message and exception with severity INFO in the runtime log of the
+     * plug-in.
      *
-     * @param message A message to log
-     * @param exception The corresponding exception
+     * @param message
+     *            A message to log
+     * @param exception
+     *            The corresponding exception
      */
     public static void logInfo(String message, Throwable exception) {
         fPlugin.getLog().log(new Status(IStatus.INFO, PLUGIN_ID, message, exception));
@@ -123,19 +119,24 @@ public class Activator extends Plugin {
     // ------------------------------------------------------------------------
 
     /**
-     * Logs a message and exception with severity WARNING in the runtime log of the plug-in.
+     * Logs a message and exception with severity WARNING in the runtime log of
+     * the plug-in.
      *
-     * @param message A message to log
+     * @param message
+     *            A message to log
      */
     public static void logWarning(String message) {
         fPlugin.getLog().log(new Status(IStatus.WARNING, PLUGIN_ID, message));
     }
 
     /**
-     * Logs a message and exception with severity WARNING in the runtime log of the plug-in.
+     * Logs a message and exception with severity WARNING in the runtime log of
+     * the plug-in.
      *
-     * @param message A message to log
-     * @param exception The corresponding exception
+     * @param message
+     *            A message to log
+     * @param exception
+     *            The corresponding exception
      */
     public static void logWarning(String message, Throwable exception) {
         fPlugin.getLog().log(new Status(IStatus.WARNING, PLUGIN_ID, message, exception));
@@ -146,19 +147,24 @@ public class Activator extends Plugin {
     // ------------------------------------------------------------------------
 
     /**
-     * Logs a message and exception with severity ERROR in the runtime log of the plug-in.
+     * Logs a message and exception with severity ERROR in the runtime log of
+     * the plug-in.
      *
-     * @param message A message to log
+     * @param message
+     *            A message to log
      */
     public static void logError(String message) {
         fPlugin.getLog().log(new Status(IStatus.ERROR, PLUGIN_ID, message));
     }
 
     /**
-     * Logs a message and exception with severity ERROR in the runtime log of the plug-in.
+     * Logs a message and exception with severity ERROR in the runtime log of
+     * the plug-in.
      *
-     * @param message A message to log
-     * @param exception The corresponding exception
+     * @param message
+     *            A message to log
+     * @param exception
+     *            The corresponding exception
      */
     public static void logError(String message, Throwable exception) {
         fPlugin.getLog().log(new Status(IStatus.ERROR, PLUGIN_ID, message, exception));
index 652bda362307cb65448d7a4f7a7015bdcc2850e6..982b456878a234ea405f634de889d4ec42542802 100644 (file)
@@ -145,9 +145,6 @@ public class TmfEventThread implements Runnable {
     // Runnable
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see java.lang.Runnable#run()
-     */
     @Override
     public void run() {
 
index 3cff7b3371525565c54a100ed5c5fdfc2e777302..83097f3ee822b49114929323e2f890a24609a01d 100644 (file)
@@ -36,15 +36,15 @@ public class TmfRequestExecutor implements Executor {
     // ------------------------------------------------------------------------
 
     // The request executor
-       private final ExecutorService fExecutor = Executors.newFixedThreadPool(2);
-       private final String fExecutorName;
+    private final ExecutorService fExecutor = Executors.newFixedThreadPool(2);
+    private final String fExecutorName;
 
-       // The request queues
-       private final Queue<TmfEventThread> fHighPriorityTasks = new ArrayBlockingQueue<TmfEventThread>(100);
-    private final Queue<TmfEventThread> fLowPriorityTasks  = new ArrayBlockingQueue<TmfEventThread>(100);
+    // The request queues
+    private final Queue<TmfEventThread> fHighPriorityTasks = new ArrayBlockingQueue<TmfEventThread>(100);
+    private final Queue<TmfEventThread> fLowPriorityTasks = new ArrayBlockingQueue<TmfEventThread>(100);
 
-       // The tasks
-       private TmfEventThread fActiveTask;
+    // The tasks
+    private TmfEventThread fActiveTask;
     private TmfEventThread fSuspendedTask;
 
     // ------------------------------------------------------------------------
@@ -65,7 +65,8 @@ public class TmfRequestExecutor implements Executor {
     /**
      * Standard constructor
      *
-     * @param executor The executor service to use
+     * @param executor
+     *            The executor service to use
      */
     @Deprecated
     public TmfRequestExecutor(ExecutorService executor) {
@@ -76,37 +77,34 @@ public class TmfRequestExecutor implements Executor {
     // Getters
     // ------------------------------------------------------------------------
 
-       /**
-        * @return the number of pending requests
-        */
+    /**
+     * @return the number of pending requests
+     */
     @Deprecated
-       public synchronized int getNbPendingRequests() {
-               return fHighPriorityTasks.size() + fLowPriorityTasks.size();
-       }
-
-       /**
-        * @return the shutdown state (i.e. if it is accepting new requests)
-        */
-       public synchronized boolean isShutdown() {
-               return fExecutor.isShutdown();
-       }
-
-       /**
-        * @return the termination state
-        */
-       public synchronized boolean isTerminated() {
-               return fExecutor.isTerminated();
-       }
+    public synchronized int getNbPendingRequests() {
+        return fHighPriorityTasks.size() + fLowPriorityTasks.size();
+    }
+
+    /**
+     * @return the shutdown state (i.e. if it is accepting new requests)
+     */
+    public synchronized boolean isShutdown() {
+        return fExecutor.isShutdown();
+    }
+
+    /**
+     * @return the termination state
+     */
+    public synchronized boolean isTerminated() {
+        return fExecutor.isTerminated();
+    }
 
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
 
-       /* (non-Javadoc)
-        * @see java.util.concurrent.Executor#execute(java.lang.Runnable)
-        */
-       @Override
-       public synchronized void execute(final Runnable command) {
+    @Override
+    public synchronized void execute(final Runnable command) {
 
         // We are expecting MyEventThread:s
         if (!(command instanceof TmfEventThread)) {
@@ -139,24 +137,24 @@ public class TmfRequestExecutor implements Executor {
             fSuspendedTask = fActiveTask;
             scheduleNext();
         }
-       }
-
-       /**
-        * Executes the next pending request, if applicable.
-        */
-       protected synchronized void scheduleNext() {
-              if (!isShutdown()) {
-                   if ((fActiveTask = fHighPriorityTasks.poll()) != null) {
-                       fExecutor.execute(fActiveTask);
-                   } else if (fSuspendedTask != null) {
-                       fActiveTask = fSuspendedTask;
-                       fSuspendedTask = null;
-                       fActiveTask.getThread().resume();
-                   } else if ((fActiveTask = fLowPriorityTasks.poll()) != null) {
-                       fExecutor.execute(fActiveTask);
-                   }
-               }
-       }
+    }
+
+    /**
+     * Executes the next pending request, if applicable.
+     */
+    protected synchronized void scheduleNext() {
+        if (!isShutdown()) {
+            if ((fActiveTask = fHighPriorityTasks.poll()) != null) {
+                fExecutor.execute(fActiveTask);
+            } else if (fSuspendedTask != null) {
+                fActiveTask = fSuspendedTask;
+                fSuspendedTask = null;
+                fActiveTask.getThread().resume();
+            } else if ((fActiveTask = fLowPriorityTasks.poll()) != null) {
+                fExecutor.execute(fActiveTask);
+            }
+        }
+    }
 
     /**
      * Stops the executor
@@ -176,14 +174,14 @@ public class TmfRequestExecutor implements Executor {
         }
     }
 
-       // ------------------------------------------------------------------------
-       // Object
-       // ------------------------------------------------------------------------
+    // ------------------------------------------------------------------------
+    // Object
+    // ------------------------------------------------------------------------
 
-       @Override
+    @Override
     @SuppressWarnings("nls")
-       public String toString() {
-               return "[TmfRequestExecutor(" + fExecutorName + ")]";
-       }
+    public String toString() {
+        return "[TmfRequestExecutor(" + fExecutorName + ")]";
+    }
 
 }
index cc279c9df5f3dfbdb8a47e9ed4cd244afa08a221..69407898e7e536acf255e428d29722d54201b29a 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  * Copyright (c) 2010, 2011 Ã‰cole Polytechnique de Montréal
  * Copyright (c) 2010, 2011 Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
  *
index bdeaa775db90625d24936161b3087efca7f65fc7..29613b5dceb7ca463c6562c3bb4f77e2796ab0ac 100644 (file)
@@ -66,9 +66,6 @@ public class TmfExperimentContext extends TmfContext {
         fLastTraceRead = NO_TRACE;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.TmfContext#dispose()
-     */
     @Override
     public void dispose() {
         for (ITmfContext context : fContexts) {
index b618c4de8f07c385daf49e1b04a6e84275ee5985..5c7b5b3fe9a3c9077915263e6edb5b166d213f81 100644 (file)
@@ -62,9 +62,6 @@ public final class TmfExperimentLocation implements ITmfLocation {
     // Object
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.TmfLocation#toString()
-     */
     @Override
     @SuppressWarnings("nls")
     public String toString() {
@@ -74,17 +71,11 @@ public final class TmfExperimentLocation implements ITmfLocation {
         return result.toString();
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.TmfLocation#hashCode()
-     */
     @Override
     public int hashCode() {
         return super.hashCode();
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.TmfLocation#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(Object obj) {
         if (this == obj) {
@@ -99,9 +90,6 @@ public final class TmfExperimentLocation implements ITmfLocation {
         return true;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfLocation#getLocationData()
-     */
     @Override
     public TmfLocationArray getLocationInfo() {
         return fLocation;
index 1010e9c4af827b91f6834f73db362bcb859487b9..13deef2d00934425e74d6aa844f357dd93f66bd6 100644 (file)
@@ -155,9 +155,6 @@ public final class TmfLocationArray implements Comparable<TmfLocationArray> {
     // Object
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#hashCode()
-     */
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -167,9 +164,6 @@ public final class TmfLocationArray implements Comparable<TmfLocationArray> {
         return result;
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(Object obj) {
         if (this == obj) {
@@ -191,9 +185,6 @@ public final class TmfLocationArray implements Comparable<TmfLocationArray> {
         return true;
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#toString()
-     */
     @Override
     @SuppressWarnings("nls")
     public String toString() {
index 66697e5ed5fa2d18cfd925fabc7cd779200dc958..c100335eb04b4e650745c7cdd27fb127a7acbd7a 100644 (file)
@@ -1,11 +1,11 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson
- * 
+ * Copyright (c) 2009, 2013 Ericsson
+ *
  * 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:
  *   Francois Chouinard - Initial API and implementation
  *******************************************************************************/
@@ -18,7 +18,7 @@ import org.eclipse.core.runtime.CoreException;
 
 /**
  * The TMF basic tracing project nature.
- * 
+ *
  * @version 1.0
  * @author Francois Chouinard
  */
@@ -28,46 +28,37 @@ public class TmfProjectNature implements IProjectNature {
     // Constants
     // ------------------------------------------------------------------------
 
-       /**
-        * The nature ID
-        */
-       public static final String ID = "org.eclipse.linuxtools.tmf.project.nature"; //$NON-NLS-1$
+    /**
+     * The nature ID
+     */
+    public static final String ID = "org.eclipse.linuxtools.tmf.project.nature"; //$NON-NLS-1$
 
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
 
-       private IProject fProject;
-       
+    private IProject fProject;
+
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
 
-       /* (non-Javadoc)
-        * @see org.eclipse.core.resources.IProjectNature#configure()
-        */
-       @Override
-       public void configure() throws CoreException {
-       }
+    @Override
+    public void configure() throws CoreException {
+    }
 
-       /* (non-Javadoc)
-        * @see org.eclipse.core.resources.IProjectNature#deconfigure()
-        */
-       @Override
-       public void deconfigure() throws CoreException {
-       }
+    @Override
+    public void deconfigure() throws CoreException {
+    }
 
-       @Override
-       public IProject getProject() {
-               return fProject;
-       }
+    @Override
+    public IProject getProject() {
+        return fProject;
+    }
 
-       /* (non-Javadoc)
-        * @see org.eclipse.core.resources.IProjectNature#setProject(org.eclipse.core.resources.IProject)
-        */
-       @Override
-       public void setProject(IProject project) {
-               fProject = project;
-       }
+    @Override
+    public void setProject(IProject project) {
+        fProject = project;
+    }
 
 }
index 41533e31eadeffc497acd380c739a617e1e19bd0..5bb8dec176e8422594314d7c142ddcee10aec7f4 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson
+ * Copyright (c) 2009, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -30,24 +30,25 @@ public abstract class TmfComponent implements ITmfComponent {
     // Attributes
     // ------------------------------------------------------------------------
 
-       private String fName;
+    private String fName;
 
-       // ------------------------------------------------------------------------
-       // Constructor
-       // ------------------------------------------------------------------------
+    // ------------------------------------------------------------------------
+    // Constructor
+    // ------------------------------------------------------------------------
 
     /**
      * Default constructor. To be used in conjunction with init()
      */
     public TmfComponent() {
-           this(""); //$NON-NLS-1$
+        this(""); //$NON-NLS-1$
     }
 
     /**
      * Perform component initialization and register it as a signal listener.
      * Need to be called when the default constructor was used.
      *
-     * @param name the component name
+     * @param name
+     *            the component name
      */
     public void init(String name) {
         TmfCoreTracer.traceComponent(this, "created"); //$NON-NLS-1$
@@ -55,62 +56,56 @@ public abstract class TmfComponent implements ITmfComponent {
         TmfSignalManager.register(this);
     }
 
-       /**
-        * The standard constructor
-        *
-        * @param name the component name
-        */
-       public TmfComponent(String name) {
-               init(name);
-       }
-
-       /**
-        * The copy constructor
-        *
-        * @param other the other component
-        */
-       public TmfComponent(TmfComponent other) {
+    /**
+     * The standard constructor
+     *
+     * @param name
+     *            the component name
+     */
+    public TmfComponent(String name) {
+        init(name);
+    }
+
+    /**
+     * The copy constructor
+     *
+     * @param other
+     *            the other component
+     */
+    public TmfComponent(TmfComponent other) {
         init(other.fName);
-       }
+    }
 
     // ------------------------------------------------------------------------
     // Getters/setters
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.component.ITmfComponent#getName()
-     */
     @Override
     public String getName() {
         return fName;
     }
 
-       /**
-        * @param name the new component name
-        */
-       protected void setName(String name) {
-               fName = name;
-       }
-
-       // ------------------------------------------------------------------------
-       // ITmfComponent
-       // ------------------------------------------------------------------------
-
-       /* (non-Javadoc)
-        * @see org.eclipse.linuxtools.tmf.core.component.ITmfComponent#dispose()
-        */
-       @Override
-       public void dispose() {
-               TmfSignalManager.deregister(this);
-               TmfCoreTracer.traceComponent(this, "disposed"); //$NON-NLS-1$
-       }
-
-       /* (non-Javadoc)
-        * @see org.eclipse.linuxtools.tmf.core.component.ITmfComponent#broadcast(org.eclipse.linuxtools.tmf.core.signal.TmfSignal)
-        */
-       @Override
-       public void broadcast(TmfSignal signal) {
-               TmfSignalManager.dispatchSignal(signal);
-       }
+    /**
+     * @param name
+     *            the new component name
+     */
+    protected void setName(String name) {
+        fName = name;
+    }
+
+    // ------------------------------------------------------------------------
+    // ITmfComponent
+    // ------------------------------------------------------------------------
+
+    @Override
+    public void dispose() {
+        TmfSignalManager.deregister(this);
+        TmfCoreTracer.traceComponent(this, "disposed"); //$NON-NLS-1$
+    }
+
+    @Override
+    public void broadcast(TmfSignal signal) {
+        TmfSignalManager.dispatchSignal(signal);
+    }
 
 }
index 38bc14863accf1fe383dd583888224055d6d25c2..34aaa4612bd54d5418cd573c58ae0730ddc5da26 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -52,10 +52,6 @@ public class CtfEnumPair extends Pair<String, Long> {
         return getSecond();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.util.Pair#toString()
-     */
     @Override
     public String toString() {
         return getFirst();
index ba913ee588215369d9a8ae67b7f2aa1ba3873163..b5d6c8f22f611a95fbdff718c010fc7ceaef9969 100644 (file)
@@ -109,9 +109,6 @@ public class CtfIterator extends CTFTraceReader implements ITmfContext,
         return null;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.ctf.core.trace.CTFTraceReader#seek(long)
-     */
     @Override
     public boolean seek(long timestamp) {
         return seek(new CtfLocationInfo(timestamp, 0));
@@ -185,11 +182,6 @@ public class CtfIterator extends CTFTraceReader implements ITmfContext,
         curRank = rank;
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.linuxtools.tmf.core.trace.TmfContext#clone()
-     */
     @Override
     public CtfIterator clone() {
         CtfIterator clone = null;
@@ -287,9 +279,6 @@ public class CtfIterator extends CTFTraceReader implements ITmfContext,
         return 0;
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#hashCode()
-     */
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -302,9 +291,6 @@ public class CtfIterator extends CTFTraceReader implements ITmfContext,
         return result;
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(Object obj) {
         if (this == obj) {
index c4263d0f419aff2a24c71a8585f8199d047eb76d..4273276badc733135a97e7f9576814ed707937b1 100644 (file)
@@ -107,11 +107,6 @@ public class CtfTmfTrace extends TmfTrace implements ITmfEventParser {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.linuxtools.tmf.core.trace.TmfTrace#dispose()
-     */
     @Override
     public synchronized void dispose() {
         CtfIteratorManager.removeTrace(this);
index dc0bcbd80cb718df08f8e000a810828de9acc691..8e77e938dd4b9c9a33dc8aff28557f4c47fbd773 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
index aa62945166838a4f7b10102a470e3a111c9202a0..14f13e8b9211e1f1b31e40e9456d4ce66aa4f3f6 100644 (file)
@@ -93,33 +93,21 @@ public class TmfEventField implements ITmfEventField {
     // ITmfEventField
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.ITmfEventField#getName()
-     */
     @Override
     public String getName() {
         return fName;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.ITmfEventField#getValue()
-     */
     @Override
     public Object getValue() {
         return fValue;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.ITmfEventField#getFieldNames()
-     */
     @Override
     public String[] getFieldNames() {
         return fFieldNames;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.ITmfEventField#getFieldName(int)
-     */
     @Override
     public String getFieldName(final int index) {
         final ITmfEventField field = getField(index);
@@ -129,25 +117,16 @@ public class TmfEventField implements ITmfEventField {
         return null;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.ITmfEventField#getFields()
-     */
     @Override
     public ITmfEventField[] getFields() {
         return (fFields != null) ? fFields : new ITmfEventField[0];
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.ITmfEventField#getField(java.lang.String)
-     */
     @Override
     public ITmfEventField getField(final String name) {
         return fNameMapping.get(name);
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.ITmfEventField#getField(int)
-     */
     @Override
     public ITmfEventField getField(final int index) {
         if (fFields != null && index >= 0 && index < fFields.length) {
@@ -179,9 +158,6 @@ public class TmfEventField implements ITmfEventField {
     // Object
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#hashCode()
-     */
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -191,9 +167,6 @@ public class TmfEventField implements ITmfEventField {
         return result;
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(final Object obj) {
         if (this == obj) {
@@ -219,9 +192,6 @@ public class TmfEventField implements ITmfEventField {
         return true;
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#toString()
-     */
     @Override
     public String toString() {
         StringBuilder ret = new StringBuilder();
index 0fd479fa3b4baf48793dc0e70fc8faeb3bca8f79..9cc400a0a952011f61727b5fb92b675536201ff1 100644 (file)
@@ -80,41 +80,26 @@ public class TmfEventType implements ITmfEventType {
     // ITmfEventType
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.ITmfEventType#getContext()
-     */
     @Override
     public String getContext() {
         return fContext;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.ITmfEventType#getName()
-     */
     @Override
     public String getName() {
         return fTypeId;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.ITmfEventType#getRootField()
-     */
     @Override
     public ITmfEventField getRootField() {
         return fRootField;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.ITmfEventType#getFieldNames()
-     */
     @Override
     public String[] getFieldNames() {
         return (fRootField != null) ? fRootField.getFieldNames() : new String[0];
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.ITmfEventType#getFieldName(int)
-     */
     @Override
     public String getFieldName(final int index) {
         return (fRootField != null) ? fRootField.getFieldName(index) : null;
@@ -124,9 +109,6 @@ public class TmfEventType implements ITmfEventType {
     // Object
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#hashCode()
-     */
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -136,9 +118,6 @@ public class TmfEventType implements ITmfEventType {
         return result;
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(final Object obj) {
         if (this == obj) {
@@ -160,9 +139,6 @@ public class TmfEventType implements ITmfEventType {
         return true;
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#toString()
-     */
     @Override
     @SuppressWarnings("nls")
     public String toString() {
index 9e672e5f1d4a319f0ff8a3c38652614bd5aedc98..f89fc5dd82a9d65ef0aec99341bbd32f3a2f7e72 100644 (file)
@@ -1,11 +1,11 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
- * 
+ * Copyright (c) 2012, 2013 Ericsson
+ *
  * 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:
  *   Francois Chouinard - Initial API and implementation
  *******************************************************************************/
@@ -18,10 +18,10 @@ import java.util.Map;
 /**
  * A central repository for the available event types. Types are managed by
  * context space.
- * 
+ *
  * @version 1.0
  * @author Francois Chouinard
- * 
+ *
  * @see ITmfEventType
  */
 public final class TmfEventTypeManager {
@@ -63,7 +63,7 @@ public final class TmfEventTypeManager {
 
     /**
      * Add a context:type pair to the available types
-     * 
+     *
      * @param context the target context
      * @param type the type to add
      */
@@ -78,7 +78,7 @@ public final class TmfEventTypeManager {
 
     /**
      * Return the list of currently defined contexts
-     * 
+     *
      * @return the list of contexts
      */
     public synchronized String[] getContexts() {
@@ -87,7 +87,7 @@ public final class TmfEventTypeManager {
 
     /**
      * Return the list of types defined for a given context
-     * 
+     *
      * @param context the context to look into
      * @return the list of types defined for that context
      */
@@ -101,7 +101,7 @@ public final class TmfEventTypeManager {
 
     /**
      * Return an event type
-     * 
+     *
      * @param context the context to look into
      * @param typeId the type ID
      * @return the corresponding type
@@ -116,7 +116,7 @@ public final class TmfEventTypeManager {
 
     /**
      * Remove the types associated to a context
-     * 
+     *
      * @param context the context to remove
      */
     public synchronized void clear(final String context) {
@@ -134,9 +134,6 @@ public final class TmfEventTypeManager {
     // Object
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#toString()
-     */
     @Override
     @SuppressWarnings("nls")
     public String toString() {
index 74b32d32df693da7aa31f16882383e0c85304096..b0f4cdc05c7434c6593429e6e10e1afd4bd3b845 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2010, 2012 Ericsson
+ * Copyright (c) 2010, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -29,131 +29,94 @@ import org.eclipse.linuxtools.tmf.core.event.ITmfEventField;
  */
 public abstract class TmfFilterTreeNode implements ITmfFilterTreeNode, Cloneable {
 
-       private static final String[] VALID_CHILDREN = {
-               TmfFilterEventTypeNode.NODE_NAME,
-               TmfFilterAndNode.NODE_NAME,
-               TmfFilterOrNode.NODE_NAME,
-               TmfFilterContainsNode.NODE_NAME,
-               TmfFilterEqualsNode.NODE_NAME,
-               TmfFilterMatchesNode.NODE_NAME,
-               TmfFilterCompareNode.NODE_NAME
-       };
+    private static final String[] VALID_CHILDREN = {
+            TmfFilterEventTypeNode.NODE_NAME,
+            TmfFilterAndNode.NODE_NAME,
+            TmfFilterOrNode.NODE_NAME,
+            TmfFilterContainsNode.NODE_NAME,
+            TmfFilterEqualsNode.NODE_NAME,
+            TmfFilterMatchesNode.NODE_NAME,
+            TmfFilterCompareNode.NODE_NAME
+    };
 
-       private ITmfFilterTreeNode parent = null;
-       private ArrayList<ITmfFilterTreeNode> children = new ArrayList<ITmfFilterTreeNode>();
+    private ITmfFilterTreeNode parent = null;
+    private ArrayList<ITmfFilterTreeNode> children = new ArrayList<ITmfFilterTreeNode>();
 
     /**
-     * @param parent the parent node
+     * @param parent
+     *            the parent node
      */
     public TmfFilterTreeNode(final ITmfFilterTreeNode parent) {
-       if (parent != null) {
-               parent.addChild(this);
-       }
+        if (parent != null) {
+            parent.addChild(this);
+        }
+    }
+
+    @Override
+    public ITmfFilterTreeNode getParent() {
+        return parent;
+    }
+
+    @Override
+    public abstract String getNodeName();
+
+    @Override
+    public boolean hasChildren() {
+        return (children.size() > 0);
     }
 
-       /* (non-Javadoc)
-        * @see org.eclipse.linuxtools.tmf.filter.model.ITmfFilterTreeNode#getParent()
-        */
-       @Override
-       public ITmfFilterTreeNode getParent() {
-               return parent;
-       }
-
-       /* (non-Javadoc)
-        * @see org.eclipse.linuxtools.tmf.filter.model.ITmfFilterTreeNode#getNodeName()
-        */
-       @Override
-       public abstract String getNodeName();
-
-       /* (non-Javadoc)
-        * @see org.eclipse.linuxtools.tmf.filter.model.ITmfFilterTreeNode#hasChildren()
-        */
-       @Override
-       public boolean hasChildren() {
-               return (children.size() > 0);
-       }
-
-       /* (non-Javadoc)
-        * @see org.eclipse.linuxtools.tmf.filter.model.ITmfFilterTreeNode#getChildrenCount()
-        */
-       @Override
-       public int getChildrenCount() {
-               return children.size();
-       }
-
-       /* (non-Javadoc)
-        * @see org.eclipse.linuxtools.tmf.filter.model.ITmfFilterTreeNode#getChildren()
-        */
-       @Override
-       public ITmfFilterTreeNode[] getChildren() {
-               return children.toArray(new ITmfFilterTreeNode[0]);
-       }
-
-       /* (non-Javadoc)
-        * @see org.eclipse.linuxtools.tmf.filter.model.ITmfFilterTreeNode#getChild(int)
-        */
-       @Override
-       public ITmfFilterTreeNode getChild(final int index) throws IndexOutOfBoundsException {
-               return children.get(index);
-       }
-
-       /* (non-Javadoc)
-        * @see org.eclipse.linuxtools.tmf.filter.model.ITmfFilterTreeNode#remove()
-        */
-       @Override
-       public ITmfFilterTreeNode remove() {
-               if (getParent() != null) {
-                       getParent().removeChild(this);
-               }
-               return this;
-       }
-
-       /*
-        * (non-Javadoc)
-        * @see org.eclipse.linuxtools.tmf.filter.model.ITmfFilterTreeNode#removeChild(org.eclipse.linuxtools.tmf.filter.model.ITmfFilterTreeNode)
-        */
-       @Override
-       public ITmfFilterTreeNode removeChild(ITmfFilterTreeNode node) {
-               children.remove(node);
-               node.setParent(null);
-               return node;
-       }
-
-       /* (non-Javadoc)
-        * @see org.eclipse.linuxtools.tmf.filter.model.ITmfFilterTreeNode#addChild(org.eclipse.linuxtools.tmf.filter.model.ITmfFilterTreeNode)
-        */
-       @Override
-       public int addChild(final ITmfFilterTreeNode node) {
-               node.setParent(this);
-               if(children.add(node)) {
-                       return (children.size() - 1);
-               }
-               return -1;
-       }
-
-       /* (non-Javadoc)
-        * @see org.eclipse.linuxtools.tmf.filter.model.ITmfFilterTreeNode#replaceChild(int, org.eclipse.linuxtools.tmf.filter.model.ITmfFilterTreeNode)
-        */
-       @Override
-       public ITmfFilterTreeNode replaceChild(final int index, final ITmfFilterTreeNode node) throws IndexOutOfBoundsException {
-               node.setParent(this);
-               return children.set(index, node);
-       }
-
-       /* (non-Javadoc)
-        * @see org.eclipse.linuxtools.tmf.filter.model.ITmfFilterTreeNode#setParent(org.eclipse.linuxtools.tmf.filter.model.ITmfFilterTreeNode)
-        */
-       @Override
-       public void setParent(final ITmfFilterTreeNode parent) {
-               this.parent = parent;
-       }
-
-
-       /* (non-Javadoc)
-        * @see org.eclipse.linuxtools.tmf.filter.model.ITmfFilterTreeNode#matches(org.eclipse.linuxtools.tmf.event.TmfEvent)
-        */
-       @Override
-       public abstract boolean matches(ITmfEvent event);
+    @Override
+    public int getChildrenCount() {
+        return children.size();
+    }
+
+    @Override
+    public ITmfFilterTreeNode[] getChildren() {
+        return children.toArray(new ITmfFilterTreeNode[0]);
+    }
+
+    @Override
+    public ITmfFilterTreeNode getChild(final int index) throws IndexOutOfBoundsException {
+        return children.get(index);
+    }
+
+    @Override
+    public ITmfFilterTreeNode remove() {
+        if (getParent() != null) {
+            getParent().removeChild(this);
+        }
+        return this;
+    }
+
+    @Override
+    public ITmfFilterTreeNode removeChild(ITmfFilterTreeNode node) {
+        children.remove(node);
+        node.setParent(null);
+        return node;
+    }
+
+    @Override
+    public int addChild(final ITmfFilterTreeNode node) {
+        node.setParent(this);
+        if (children.add(node)) {
+            return (children.size() - 1);
+        }
+        return -1;
+    }
+
+    @Override
+    public ITmfFilterTreeNode replaceChild(final int index, final ITmfFilterTreeNode node) throws IndexOutOfBoundsException {
+        node.setParent(this);
+        return children.set(index, node);
+    }
+
+    @Override
+    public void setParent(final ITmfFilterTreeNode parent) {
+        this.parent = parent;
+    }
+
+    @Override
+    public abstract boolean matches(ITmfEvent event);
 
     /**
      * @param event the event
@@ -186,28 +149,23 @@ public abstract class TmfFilterTreeNode implements ITmfFilterTreeNode, Cloneable
         return value;
     }
 
-       /* (non-Javadoc)
-        * @see org.eclipse.linuxtools.tmf.filter.model.ITmfFilterTreeNode#getValidChildren()
-        *
-        * By default, all node types are valid children. Override if different.
-        */
-       @Override
-       public List<String> getValidChildren() {
-               return Arrays.asList(VALID_CHILDREN);
-       }
-
-       @Override
-       public ITmfFilterTreeNode clone() {
-               try {
-                       TmfFilterTreeNode clone = (TmfFilterTreeNode) super.clone();
-                       clone.parent = null;
-                       clone.children = new ArrayList<ITmfFilterTreeNode>(children.size());
-                       for (ITmfFilterTreeNode child : getChildren()) {
-                               clone.addChild(child.clone());
-                       }
-                       return clone;
-               } catch (CloneNotSupportedException e) {
-                       return null;
-               }
-       }
+    @Override
+    public List<String> getValidChildren() {
+        return Arrays.asList(VALID_CHILDREN);
+    }
+
+    @Override
+    public ITmfFilterTreeNode clone() {
+        try {
+            TmfFilterTreeNode clone = (TmfFilterTreeNode) super.clone();
+            clone.parent = null;
+            clone.children = new ArrayList<ITmfFilterTreeNode>(children.size());
+            for (ITmfFilterTreeNode child : getChildren()) {
+                clone.addChild(child.clone());
+            }
+            return clone;
+        } catch (CloneNotSupportedException e) {
+            return null;
+        }
+    }
 }
index d5d3550fea21f06a8f834b552bf2a8d52a8b3a77..9cc87af79ef7dbe98d4171843d16f8a11fcf58dd 100644 (file)
@@ -1,11 +1,11 @@
 /*******************************************************************************
- * Copyright (c) 2010, 2012 Ericsson
- * 
+ * Copyright (c) 2010, 2013 Ericsson
+ *
  * 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:
  *   Yuriy Vashchuk (yvashchuk@gmail.com) - Initial API and implementation
  *       based on http://smeric.developpez.com/java/cours/xml/sax/
@@ -34,19 +34,19 @@ import org.xml.sax.helpers.DefaultHandler;
 
 /**
  * The SAX Content Handler
- * 
+ *
  * @version 1.0
  * @author Yuriy Vashchuk
  * @author Patrick Tasse
  */
 public class TmfFilterContentHandler extends DefaultHandler {
-       
+
        private ITmfFilterTreeNode fRoot = null;
        private Stack<ITmfFilterTreeNode> fFilterTreeStack = null;
 
        /**
         * The default constructor
-        */ 
+        */
        public TmfFilterContentHandler() {
                super();
                fFilterTreeStack = new Stack<ITmfFilterTreeNode>();
@@ -54,53 +54,50 @@ public class TmfFilterContentHandler extends DefaultHandler {
 
        /**
         * Getter of tree
-        * 
+        *
         * @return The builded tree
-        */ 
+        */
        public ITmfFilterTreeNode getTree() {
                return fRoot;
        }
-       
-       /*
-        * (non-Javadoc)
-        * @see org.xml.sax.ContentHandler#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
-        */
+
+
        @Override
        public void startElement(String uri, String localName, String qName, Attributes atts) throws SAXException {
                ITmfFilterTreeNode node = null;
-               
+
                if (localName.equalsIgnoreCase(TmfFilterRootNode.NODE_NAME)) {
-                       
+
                        node = new TmfFilterRootNode();
-                       
+
                } else if (localName.equals(TmfFilterNode.NODE_NAME)) {
-                       
+
                        node = new TmfFilterNode(atts.getValue(TmfFilterNode.NAME_ATTR));
-                       
+
                } else if (localName.equals(TmfFilterEventTypeNode.NODE_NAME)) {
-                       
+
                        node = new TmfFilterEventTypeNode(null);
                        ((TmfFilterEventTypeNode) node).setEventType(atts.getValue(TmfFilterEventTypeNode.TYPE_ATTR));
                        ((TmfFilterEventTypeNode) node).setName(atts.getValue(TmfFilterEventTypeNode.NAME_ATTR));
-                       
+
                } else if (localName.equals(TmfFilterAndNode.NODE_NAME)) {
-                       
+
                        node = new TmfFilterAndNode(null);
                        String value = atts.getValue(TmfFilterAndNode.NOT_ATTR);
                        if (value != null && value.equalsIgnoreCase(Boolean.TRUE.toString())) {
                                ((TmfFilterAndNode) node).setNot(true);
                        }
-                       
+
                } else if (localName.equals(TmfFilterOrNode.NODE_NAME)) {
-                       
+
                        node = new TmfFilterOrNode(null);
                        String value = atts.getValue(TmfFilterOrNode.NOT_ATTR);
                        if (value != null && value.equalsIgnoreCase(Boolean.TRUE.toString())) {
                                ((TmfFilterOrNode) node).setNot(true);
                        }
-                       
+
                } else if (localName.equals(TmfFilterContainsNode.NODE_NAME)) {
-                       
+
                        node = new TmfFilterContainsNode(null);
                        String value = atts.getValue(TmfFilterContainsNode.NOT_ATTR);
                        if (value != null && value.equalsIgnoreCase(Boolean.TRUE.toString())) {
@@ -112,9 +109,9 @@ public class TmfFilterContentHandler extends DefaultHandler {
                        if (value != null && value.equalsIgnoreCase(Boolean.TRUE.toString())) {
                                ((TmfFilterContainsNode) node).setIgnoreCase(true);
                        }
-                       
+
                } else if (localName.equals(TmfFilterEqualsNode.NODE_NAME)) {
-                       
+
                        node = new TmfFilterEqualsNode(null);
                        String value = atts.getValue(TmfFilterEqualsNode.NOT_ATTR);
                        if (value != null && value.equalsIgnoreCase(Boolean.TRUE.toString())) {
@@ -126,9 +123,9 @@ public class TmfFilterContentHandler extends DefaultHandler {
                        if (value != null && value.equalsIgnoreCase(Boolean.TRUE.toString())) {
                                ((TmfFilterEqualsNode) node).setIgnoreCase(true);
                        }
-                       
+
                } else if (localName.equals(TmfFilterMatchesNode.NODE_NAME)) {
-                       
+
                        node = new TmfFilterMatchesNode(null);
                        String value = atts.getValue(TmfFilterMatchesNode.NOT_ATTR);
                        if (value != null && value.equalsIgnoreCase(Boolean.TRUE.toString())) {
@@ -136,9 +133,9 @@ public class TmfFilterContentHandler extends DefaultHandler {
                        }
                        ((TmfFilterMatchesNode) node).setField(atts.getValue(TmfFilterMatchesNode.FIELD_ATTR));
                        ((TmfFilterMatchesNode) node).setRegex(atts.getValue(TmfFilterMatchesNode.REGEX_ATTR));
-                       
+
                } else if (localName.equals(TmfFilterCompareNode.NODE_NAME)) {
-                       
+
                        node = new TmfFilterCompareNode(null);
                        String value = atts.getValue(TmfFilterCompareNode.NOT_ATTR);
                        if (value != null && value.equalsIgnoreCase(Boolean.TRUE.toString())) {
@@ -160,16 +157,12 @@ public class TmfFilterContentHandler extends DefaultHandler {
                                }
                        }
                        ((TmfFilterCompareNode) node).setValue(atts.getValue(TmfFilterCompareNode.VALUE_ATTR));
-                       
+
                }
 
                fFilterTreeStack.push(node);
        }
 
-       /*
-        * (non-Javadoc)
-        * @see org.xml.sax.ContentHandler#endElement(java.lang.String, java.lang.String, java.lang.String)
-        */
        @Override
        public void endElement(String uri, String localName, String qName) throws SAXException {
                ITmfFilterTreeNode node = fFilterTreeStack.pop();
@@ -180,7 +173,7 @@ public class TmfFilterContentHandler extends DefaultHandler {
                                node instanceof TmfFilterTreeNode) {
                        fFilterTreeStack.lastElement().addChild(node);
                }
-                       
+
        }
 
 }
index 2ab51ac44fc32a9724f6c29b52b54d1d87572e56..6c2a955df21b40ba801c97c71d8af57ba6f48c87 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -28,9 +28,6 @@ public class TmfClearExperimentSignal extends TmfSignal {
         super(source);
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#toString()
-     */
     @Override
     @SuppressWarnings("nls")
     public String toString() {
index 3f467e8e9ab38cfeea855738168218e55876ce2d..cbbf343b53ffe5a5e68bdb320f3a7807f9d7118e 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson
+ * Copyright (c) 2009, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
index 70906fa54c8ffa1c3a35b528bb2525d299bd833c..9ad5454fc4bb498453a436b201748ffb1763d624 100644 (file)
@@ -46,11 +46,6 @@ public class TmfTimeSynchSignal extends TmfSignal {
         return fCurrentTime;
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see java.lang.Object#toString()
-     */
     @Override
     public String toString() {
         return "[TmfTimeSynchSignal (" + fCurrentTime.toString() + ")]"; //$NON-NLS-1$ //$NON-NLS-2$
index e42224f8745f795fbf93e448e13206337c06675f..57e259801b119a7bbf55e3733c51cf9dbab1836c 100644 (file)
@@ -60,9 +60,6 @@ public class TmfTraceRangeUpdatedSignal extends TmfSignal {
         return fTimeRange;
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#toString()
-     */
     @Override
     @SuppressWarnings("nls")
     public String toString() {
index 35966ee272e968ce052c529a62dd4092a445d38a..176d43144891942208d0b6e912a1a7f770e1f91a 100644 (file)
@@ -60,11 +60,6 @@ public class TmfTraceUpdatedSignal extends TmfSignal {
         return fTimeRange;
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see java.lang.Object#toString()
-     */
     @Override
     @SuppressWarnings("nls")
     public String toString() {
index 6ecb23342f6b68da9cffd5c2d83c4322be910d47..34f33e3e32e7b132e8aff75ff39901d8fb1c7d6a 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
index bf7db0534f700cb412bf37581c3bd64993875467..d3db069ff1d631de7a17fde0e0f6744deeaa8d72 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  * Copyright (c) 2010, 2011 Ã‰cole Polytechnique de Montréal
  * Copyright (c) 2010, 2011 Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
  *
index e42f94b14df95234444a9d1cd67ddc6379d43ece..52de5e5fccc2146ff15683a9253b069ef1384db5 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  * Copyright (c) 2010, 2011 Ã‰cole Polytechnique de Montréal
  * Copyright (c) 2010, 2011 Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
  *
index 743ea1d00f991422800b74a959b311122f48f170..bf478cb9ba0557d03a38ecdd4e3ece3fa1d8705e 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  * Copyright (c) 2010, 2011 Ã‰cole Polytechnique de Montréal
  * Copyright (c) 2010, 2011 Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
  *
index ec2fa4e9a503ff821989ba564d1489e2ed1225d4..b2405ed54d0300a93807402f89b60616573ebcb3 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  * Copyright (c) 2010, 2011 Ã‰cole Polytechnique de Montréal
  * Copyright (c) 2010, 2011 Alexandre Montplaisir <alexandre.montplaisir@gmail.com>
  *
index 90c22c672c627bc424c1f829606f5625bab1f48d..94fccfb051839542467935c378671419917f64af 100644 (file)
@@ -59,9 +59,6 @@ public class TmfSimpleTimestamp extends TmfTimestamp {
     // ITmfTimestamp
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.TmfTimestamp#normalize(long, int)
-     */
     @Override
     public ITmfTimestamp normalize(final long offset, final int scale) {
         if (scale == 0) {
@@ -70,9 +67,6 @@ public class TmfSimpleTimestamp extends TmfTimestamp {
         return super.normalize(offset, scale);
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.TmfTimestamp#compareTo(org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp, boolean)
-     */
     @Override
     public int compareTo(final ITmfTimestamp ts, final boolean withinPrecision) {
         if (ts instanceof TmfSimpleTimestamp) {
@@ -82,9 +76,6 @@ public class TmfSimpleTimestamp extends TmfTimestamp {
         return super.compareTo(ts, withinPrecision);
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.TmfTimestamp#getDelta(org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp)
-     */
     @Override
     public ITmfTimestamp getDelta(final ITmfTimestamp ts) {
         if (ts instanceof TmfSimpleTimestamp) {
@@ -97,17 +88,11 @@ public class TmfSimpleTimestamp extends TmfTimestamp {
     // Object
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.TmfTimestamp#hashCode()
-     */
     @Override
     public int hashCode() {
         return super.hashCode();
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.TmfTimestamp#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(final Object other) {
         if (this == other) {
index 13abe64ac811d3aff9e8148e7965890e92c6a500..87216e452b97186b7e7b9d33d22a15b404fcef6d 100644 (file)
@@ -159,9 +159,6 @@ public final class TmfTimeRange {
     // Object
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#hashCode()
-     */
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -171,9 +168,6 @@ public final class TmfTimeRange {
         return result;
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(final Object obj) {
         if (this == obj) {
@@ -195,9 +189,6 @@ public final class TmfTimeRange {
         return true;
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#toString()
-     */
     @Override
     @SuppressWarnings("nls")
     public String toString() {
index c31ef9082e5bdca68b70b507c54c457ecb936ec6..13ee08a6ea6ae1179a1da9e8969cbb70dc946460 100644 (file)
@@ -138,25 +138,16 @@ public class TmfTimestamp implements ITmfTimestamp {
     // ITmfTimestamp
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp#getValue()
-     */
     @Override
     public long getValue() {
         return fValue;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp#getScale()
-     */
     @Override
     public int getScale() {
         return fScale;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp#getPrecision()
-     */
     @Override
     public int getPrecision() {
         return fPrecision;
@@ -184,9 +175,6 @@ public class TmfTimestamp implements ITmfTimestamp {
         1000000000000000000L,
     };
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp#normalize(long, int)
-     */
     @Override
     public ITmfTimestamp normalize(final long offset, final int scale) {
 
@@ -230,9 +218,6 @@ public class TmfTimestamp implements ITmfTimestamp {
         return new TmfTimestamp(value, scale, precision);
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp#compareTo(org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp, boolean)
-     */
     @Override
     public int compareTo(final ITmfTimestamp ts, final boolean withinPrecision) {
 
@@ -279,9 +264,6 @@ public class TmfTimestamp implements ITmfTimestamp {
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp#getDelta(org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp)
-     */
     @Override
     public ITmfTimestamp getDelta(final ITmfTimestamp ts) {
         final ITmfTimestamp nts = ts.normalize(0, fScale);
@@ -302,9 +284,6 @@ public class TmfTimestamp implements ITmfTimestamp {
     // Comparable
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp#compareTo(org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp)
-     */
     @Override
     public int compareTo(final ITmfTimestamp ts) {
         return compareTo(ts, false);
@@ -314,9 +293,6 @@ public class TmfTimestamp implements ITmfTimestamp {
     // Object
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#hashCode()
-     */
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -327,9 +303,6 @@ public class TmfTimestamp implements ITmfTimestamp {
         return result;
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(final Object other) {
         if (this == other) {
@@ -345,17 +318,11 @@ public class TmfTimestamp implements ITmfTimestamp {
         return compareTo(ts, false) == 0;
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#toString()
-     */
     @Override
     public String toString() {
         return toString(TmfTimestampFormat.getDefaulTimeFormat());
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp#toString(org.eclipse.linuxtools.tmf.core.event.TmfTimestampFormat)
-     */
     /**
      * @since 2.0
      */
index 6c7c5022274680ebb6f6ec536695b5aa8cf2e71f..ea0775f99385f6b6f4337b74aeb0d0a7c63fa55b 100644 (file)
@@ -81,27 +81,17 @@ public class TmfTimestampDelta extends TmfTimestamp {
     // Operations
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.ITmfTimestamp#normalize(long, int)
-     */
     @Override
     public ITmfTimestamp normalize(final long offset, final int scale) {
         ITmfTimestamp nts = super.normalize(offset, scale);
         return new TmfTimestampDelta(nts.getValue(), nts.getScale(), nts.getPrecision());
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#toString()
-     */
     @Override
     public String toString() {
         return toString(TmfTimestampFormat.getDefaulIntervalFormat());
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.event.TmfTimestamp#toString(org.eclipse.linuxtools.tmf.core.event.TmfTimestampFormat)
-     */
     @Override
     public String toString(TmfTimestampFormat format) {
         if (getValue() < 0) {
index 9c2b334017f07f11df00762f53b1c1ee7bf61cc2..50c143d551793ab726eae8e6913f0a5f23d35549 100644 (file)
@@ -316,9 +316,6 @@ public class TmfTimestampFormat extends SimpleDateFormat {
         return fDefaultIntervalFormat;
     }
 
-    /* (non-Javadoc)
-     * @see java.text.SimpleDateFormat#applyPattern(java.lang.String)
-     */
     @Override
     public void applyPattern(String pattern) {
         fPattern = pattern;
@@ -326,9 +323,6 @@ public class TmfTimestampFormat extends SimpleDateFormat {
         super.applyPattern(quotedPattern);
     }
 
-    /* (non-Javadoc)
-     * @see java.text.SimpleDateFormat#toPattern()
-     */
     @Override
     public String toPattern() {
         return fPattern;
index 7625a184506e8c732191faef84ed4f167f00d2b2..9c93ddcaaa2345a0d012aec5d8387992d95d974c 100644 (file)
@@ -79,9 +79,6 @@ public class TmfCheckpoint implements ITmfCheckpoint {
         return fTimestamp;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfCheckpoint#getLocation()
-     */
     @Override
     public ITmfLocation getLocation() {
         return fLocation;
@@ -91,12 +88,6 @@ public class TmfCheckpoint implements ITmfCheckpoint {
     // Comparable
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfCheckpoint#compareTo(org.eclipse.linuxtools.tmf.core.trace.ITmfCheckpoint)
-     *
-     * Compares the checkpoints timestamp. If either is null, compares the
-     * trace checkpoints locations.
-     */
     @Override
     @SuppressWarnings({ "unchecked", "rawtypes" })
     public int compareTo(final ITmfCheckpoint other) {
@@ -133,9 +124,6 @@ public class TmfCheckpoint implements ITmfCheckpoint {
     // Object
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#hashCode()
-     */
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -145,9 +133,6 @@ public class TmfCheckpoint implements ITmfCheckpoint {
         return result;
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(final Object obj) {
         if (this == obj) {
@@ -177,9 +162,6 @@ public class TmfCheckpoint implements ITmfCheckpoint {
         return true;
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#toString()
-     */
     @Override
     @SuppressWarnings("nls")
     public String toString() {
index cd34503f2c2548bf9086e7a60d69f29e6eeb7360..f8964ea143956bcf74f5fa2496de0c65bf7604cb 100644 (file)
@@ -103,9 +103,6 @@ public class TmfCheckpointIndexer implements ITmfTraceIndexer {
         fIsIndexing = false;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfTraceIndexer#dispose()
-     */
     @Override
     public void dispose() {
         if ((fIndexingRequest != null) && !fIndexingRequest.isCompleted()) {
@@ -118,9 +115,6 @@ public class TmfCheckpointIndexer implements ITmfTraceIndexer {
     // ITmfTraceIndexer - isIndexing
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfTraceIndexer#isIndexing()
-     */
     @Override
     public boolean isIndexing() {
         return fIsIndexing;
@@ -274,9 +268,6 @@ public class TmfCheckpointIndexer implements ITmfTraceIndexer {
         return restoreCheckpoint(index);
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfTraceIndexer#seekIndex(long)
-     */
     @Override
     public ITmfContext seekIndex(final long rank) {
 
index ae7c6eef0241fca053b29a1d691303d78a1443c4..96a5b93c15806fab831e79b51101c24ff6c443e4 100644 (file)
@@ -85,41 +85,26 @@ public class TmfContext implements ITmfContext {
     // ITmfContext
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfContext#getLocation()
-     */
     @Override
     public ITmfLocation getLocation() {
         return fLocation;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfContext#setLocation(org.eclipse.linuxtools.tmf.core.trace.ITmfLocation)
-     */
     @Override
     public void setLocation(final ITmfLocation location) {
         fLocation = location;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfContext#getRank()
-     */
     @Override
     public long getRank() {
         return fRank;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfContext#setRank(long)
-     */
     @Override
     public void setRank(final long rank) {
         fRank = rank;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfContext#increaseRank()
-     */
     @Override
     public void increaseRank() {
         if (hasValidRank()) {
@@ -127,17 +112,11 @@ public class TmfContext implements ITmfContext {
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfContext#hasValidRank()
-     */
     @Override
     public boolean hasValidRank() {
         return fRank != UNKNOWN_RANK;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfContext#dispose()
-     */
     @Override
     public void dispose() {
     }
@@ -146,9 +125,6 @@ public class TmfContext implements ITmfContext {
     // Object
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#hashCode()
-     */
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -158,9 +134,6 @@ public class TmfContext implements ITmfContext {
         return result;
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(final Object obj) {
         if (this == obj) {
@@ -186,9 +159,6 @@ public class TmfContext implements ITmfContext {
         return true;
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#toString()
-     */
     @Override
     @SuppressWarnings("nls")
     public String toString() {
index 0b511458840afdc5dda8267582143aa1f72dde12..eb1926dfefda51b45fb533cd8823a2864b4ba922 100644 (file)
@@ -174,16 +174,10 @@ public class TmfExperiment extends TmfTrace implements ITmfEventParser {
     // ITmfTrace - Initializers
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.TmfTrace#initTrace(org.eclipse.core.resources.IResource, java.lang.String, java.lang.Class)
-     */
     @Override
     public void initTrace(final IResource resource, final String path, final Class<? extends ITmfEvent> type) {
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfTrace#validate(org.eclipse.core.resources.IProject, java.lang.String)
-     */
     /**
      * @since 2.0
      */
@@ -266,13 +260,6 @@ public class TmfExperiment extends TmfTrace implements ITmfEventParser {
     // ITmfTrace trace positioning
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     *
-     * Returns a brand new context based on the location provided and
-     * initializes the event queues
-     *
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfTrace#seekEvent(org.eclipse.linuxtools.tmf.core.trace.ITmfLocation)
-     */
     @Override
     public synchronized ITmfContext seekEvent(final ITmfLocation location) {
         // Validate the location
@@ -319,18 +306,12 @@ public class TmfExperiment extends TmfTrace implements ITmfEventParser {
     // ITmfTrace - SeekEvent operations (returning a trace context)
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfTrace#seekEvent(double)
-     */
     @Override
     public ITmfContext seekEvent(final double ratio) {
         final ITmfContext context = seekEvent(Math.round(ratio * getNbEvents()));
         return context;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfTrace#getLocationRatio(org.eclipse.linuxtools.tmf.core.trace.ITmfLocation)
-     */
     @Override
     public double getLocationRatio(final ITmfLocation location) {
         if (location instanceof TmfExperimentLocation) {
@@ -344,9 +325,6 @@ public class TmfExperiment extends TmfTrace implements ITmfEventParser {
         return 0.0;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfTrace#getCurrentLocation()
-     */
     @Override
     public ITmfLocation getCurrentLocation() {
         // never used
@@ -357,9 +335,6 @@ public class TmfExperiment extends TmfTrace implements ITmfEventParser {
     // ITmfTrace trace positioning
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfEventParser#parseEvent(org.eclipse.linuxtools.tmf.core.trace.ITmfContext)
-     */
     @Override
     public synchronized ITmfEvent parseEvent(final ITmfContext context) {
         final ITmfContext tmpContext = seekEvent(context.getLocation());
@@ -367,9 +342,6 @@ public class TmfExperiment extends TmfTrace implements ITmfEventParser {
         return event;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.TmfTrace#getNext(org.eclipse.linuxtools.tmf.core.trace.ITmfContext)
-     */
     @Override
     public synchronized ITmfEvent getNext(ITmfContext context) {
 
@@ -429,9 +401,6 @@ public class TmfExperiment extends TmfTrace implements ITmfEventParser {
         return event;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.TmfTrace#getInitialRangeOffset()
-     */
     /**
      * @since 2.0
      */
@@ -451,9 +420,6 @@ public class TmfExperiment extends TmfTrace implements ITmfEventParser {
         return initTs;
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#toString()
-     */
     @Override
     @SuppressWarnings("nls")
     public synchronized String toString() {
@@ -534,9 +500,6 @@ public class TmfExperiment extends TmfTrace implements ITmfEventParser {
         thread.start();
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.trace.ITmfTrace#getStreamingInterval()
-     */
     @Override
     public long getStreamingInterval() {
         long interval = 0;
@@ -550,9 +513,6 @@ public class TmfExperiment extends TmfTrace implements ITmfEventParser {
     // Signal handlers
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.TmfTrace#traceOpened(org.eclipse.linuxtools.tmf.core.signal.TmfTraceOpenedSignal)
-     */
     @Override
     @TmfSignalHandler
     public void traceOpened(TmfTraceOpenedSignal signal) {
index b54ec5da31d08603c9e703f493799f0f545617cd..905e372ad163591b58f3d452f1290adf30e8860c 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -38,9 +38,6 @@ public final class TmfLongLocation extends TmfLocation {
         super(other.getLocationInfo());
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfLocation#getLocationInfo()
-     */
     @Override
     public Long getLocationInfo() {
         return (Long) super.getLocationInfo();
index 5228452989558ebfd7aa8dc76734cd4ab79d253f..5136d6d1b39341b901c709c72d918db2c7274f00 100644 (file)
@@ -40,9 +40,6 @@ public final class TmfTimestampLocation extends TmfLocation {
         super(other.getLocationInfo());
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfLocation#getLocationInfo()
-     */
     @Override
     public ITmfTimestamp getLocationInfo() {
         return (ITmfTimestamp) super.getLocationInfo();
index df0f01c1d9115a22ae38b06d7a77d44f938dc5b0..c5f87d725517dd766c6bbcff6a8140709e3e8457 100644 (file)
@@ -189,9 +189,6 @@ public abstract class TmfTrace extends TmfEventProvider implements ITmfTrace {
     // ITmfTrace - Initializers
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfTrace#initTrace(org.eclipse.core.resources.IResource, java.lang.String, java.lang.Class)
-     */
     @Override
     public void initTrace(final IResource resource, final String path, final Class<? extends ITmfEvent> type) throws TmfTraceException {
         fIndexer = new TmfCheckpointIndexer(this, fCacheSize);
@@ -319,41 +316,26 @@ public abstract class TmfTrace extends TmfEventProvider implements ITmfTrace {
         return new ITmfTrace[] { this };
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfTrace#getEventType()
-     */
     @Override
     public Class<ITmfEvent> getEventType() {
         return (Class<ITmfEvent>) super.getType();
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfTrace#getResource()
-     */
     @Override
     public IResource getResource() {
         return fResource;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfTrace#getPath()
-     */
     @Override
     public String getPath() {
         return fPath;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfTrace#getIndexPageSize()
-     */
     @Override
     public int getCacheSize() {
         return fCacheSize;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfTrace#getStreamingInterval()
-     */
     @Override
     public long getStreamingInterval() {
         return fStreamingInterval;
index 62bc89883373d2b75c6c6427eda475ca01807f78..462b6392ace6bcc51489826385d4fd1aa91e1753 100644 (file)
@@ -76,28 +76,17 @@ public class TmfSyncSequenceDiagramEvent implements ITmfSyncSequenceDiagramEvent
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.uml2sd.ITmfSyncSequenceDiagramEvent#getSender()
-     */
+
     @Override
     public String getSender() {
         return fSender;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.uml2sd.ITmfSyncSequenceDiagramEvent#getReceiver()
-     */
     @Override
     public String getReceiver() {
         return fReceiver;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.uml2sd.ITmfSyncSequenceDiagramEvent#getName()
-     */
     @Override
     public String getName() {
         return fName;
index 593ce6fc28edd50c5058218401c930010317889e..df64ae47eb1be4ca929825a640f033db9a06bda7 100644 (file)
@@ -478,58 +478,34 @@ public class SampleLoader implements IUml2SDLoader, ISDPagingProvider {
         fSdView.setFrame(testFrame);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDPagingProvider#hasNextPage()
-     */
     @Override
     public boolean hasNextPage() {
         return page == 0;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDPagingProvider#hasPrevPage()
-     */
     @Override
     public boolean hasPrevPage() {
         return page == 1;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDPagingProvider#nextPage()
-     */
     @Override
     public void nextPage() {
         page = 1;
         createSecondFrame();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDPagingProvider#prevPage()
-     */
     @Override
     public void prevPage() {
         page = 0;
         createFrame();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDPagingProvider#firstPage()
-     */
     @Override
     public void firstPage() {
         page = 0;
         createFrame();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDPagingProvider#lastPage()
-     */
     @Override
     public void lastPage() {
         page = 1;
@@ -576,10 +552,7 @@ public class SampleLoader implements IUml2SDLoader, ISDPagingProvider, ISDFindPr
         fSdView.setSDFindProvider(this);
         createFrame();
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDGraphNodeSupporter#isNodeSupported(int)
-     */
+
     @Override
     public boolean isNodeSupported(int nodeType) {
         switch (nodeType) {
@@ -593,10 +566,6 @@ public class SampleLoader implements IUml2SDLoader, ISDPagingProvider, ISDFindPr
         return false;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDGraphNodeSupporter#getNodeName(int, java.lang.String)
-     */
     @Override
     public String getNodeName(int nodeType, String loaderClassName) {
         switch (nodeType) {
@@ -608,10 +577,6 @@ public class SampleLoader implements IUml2SDLoader, ISDPagingProvider, ISDFindPr
         return "";
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDFindProvider#find(org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.widgets.Criteria)
-     */
     @Override
     public boolean find(Criteria criteria) {
         Frame frame = fSdView.getFrame();
@@ -634,10 +599,6 @@ public class SampleLoader implements IUml2SDLoader, ISDPagingProvider, ISDFindPr
         return false;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDFindProvider#cancel()
-     */
     @Override
     public void cancel() {
         // reset find parameters
@@ -682,10 +643,6 @@ public class SampleLoader implements IUml2SDLoader, ISDPagingProvider, ISDFindPr
         createFrame();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDFilterProvider#filter(java.util.List)
-     */
     @Override
     public boolean filter(List<?> list) {
         return false;
@@ -733,10 +690,6 @@ public class SampleLoader implements IUml2SDLoader, ISDPagingProvider, ISDFindPr
         createFrame();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDExtendedActionBarProvider#supplementCoolbarContent(org.eclipse.ui.IActionBars)
-     */
     @Override
     public void supplementCoolbarContent(IActionBars iactionbars) {
         Action action = new Action("Refresh") {
@@ -806,10 +759,6 @@ public class SampleLoader implements IUml2SDLoader, ISDPagingProvider, ISDFindPr
         createFrame();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.ISelectionListener#selectionChanged(org.eclipse.ui.IWorkbenchPart, org.eclipse.jface.viewers.ISelection)
-     */
     @Override
     public void selectionChanged(IWorkbenchPart part, ISelection selection) {
         ISelection sel = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getSelectionService().getSelection();
index 734f1fe07a01481cc33f48e6096d6eb7c5c261bb..6587f6e569ae4a6842fc2dfd7d1a9ccd9183b8bc 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2011, 2012 Ericsson
+ * Copyright (c) 2011, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
index d318b1659e738fdb2b934c39b9ac858d829d81e1..3ea6580ad0f04e23d6c78dacb6a0ed12be4eb9c7 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2011, 2012 Ericsson
+ * Copyright (c) 2011, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -27,19 +27,11 @@ public class Uml2SDTestSetup extends TestSetup {
         super(test);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see junit.extensions.TestSetup#setUp()
-     */
     @Override
     protected void setUp() throws Exception {
         Uml2SDTestFacility.getInstance().init();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see junit.extensions.TestSetup#tearDown()
-     */
     @Override
     protected void tearDown() throws Exception {
         Uml2SDTestFacility.getInstance().dispose();
index 52086153d96eb2727649b728f512ce7defa4065f..5eeb6133df956c5f306d13155c1d3e34cb09cf40 100644 (file)
@@ -221,10 +221,6 @@ public class TestLoaders implements IUml2SDLoader, ISDFindProvider, ISDFilterPro
         v.setFrame(testFrame);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.hyades.uml2sd.ui.actions.provider.ISDFindProvider#find(org.eclipse.hyades.uml2sd.ui.actions.widgets.Criteria)
-     */
     @Override
     public boolean find(Criteria toSearch) {
         Frame frame = v.getFrame();
@@ -407,10 +403,6 @@ public class TestLoaders implements IUml2SDLoader, ISDFindProvider, ISDFilterPro
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.hyades.uml2sd.ui.actions.provider.ISDGraphNodeSupporter#isNodeSupported(int)
-     */
     @Override
     public boolean isNodeSupported(int nodeType) {
         switch (nodeType) {
index a7f123415049fd9e02ab9f73c9dbb16e26be1e60..1553dc5a031a14f9403f3d88273112aaae6438da 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson
+ * Copyright (c) 2009, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
index 75db378b65503d8c20a09d6e3139412efd4cd6b2..4f7a7f24e52af387a81e9cd750216117a24aa859 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson
+ * Copyright (c) 2009, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
index 77b38e0896e1c85d8f4e9fc1b6db4e81a7532c05..7b98ed5e6b6cc2e454e3abe16313d66db677f63c 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson
+ * Copyright (c) 2009, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
index 97b9436865194b62a848b9fcd970aa8006d6952c..61ac6df2b39b56501ce486010aa3b23a65e70625 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson
+ * Copyright (c) 2009, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -31,98 +31,93 @@ public class Activator extends AbstractUIPlugin {
     // Attributes
     // ------------------------------------------------------------------------
 
-       /**
-        * The plug-in ID
-        */
-       public static final String PLUGIN_ID = "org.eclipse.linuxtools.tmf.ui"; //$NON-NLS-1$
+    /**
+     * The plug-in ID
+     */
+    public static final String PLUGIN_ID = "org.eclipse.linuxtools.tmf.ui"; //$NON-NLS-1$
 
-       /**
-        * The shared instance
-        */
-       private static Activator plugin;
+    /**
+     * The shared instance
+     */
+    private static Activator plugin;
 
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
 
-       /**
-        * Constructor
-        */
-       public Activator() {
-       }
+    /**
+     * Constructor
+     */
+    public Activator() {
+    }
 
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
 
-       /**
-        * Returns the TMF UI plug-in instance.
-        *
-        * @return the TMF UI plug-in instance.
-        */
-       public static Activator getDefault() {
-               return plugin;
-       }
+    /**
+     * Returns the TMF UI plug-in instance.
+     *
+     * @return the TMF UI plug-in instance.
+     */
+    public static Activator getDefault() {
+        return plugin;
+    }
 
     // ------------------------------------------------------------------------
     // AbstractUIPlugin
     // ------------------------------------------------------------------------
 
-       /*
-        * (non-Javadoc)
-        * @see org.eclipse.ui.plugin.AbstractUIPlugin#start(org.osgi.framework.BundleContext)
-        */
-       @Override
-       public void start(BundleContext context) throws Exception {
-               super.start(context);
-               plugin = this;
-               TmfUiTracer.init();
-               TmfTraceElement.init();
-               TmfTimePreferences.init();
-       }
-
-       /*
-        * (non-Javadoc)
-        * @see org.eclipse.ui.plugin.AbstractUIPlugin#stop(org.osgi.framework.BundleContext)
-        */
-       @Override
-       public void stop(BundleContext context) throws Exception {
-           TmfUiTracer.stop();
-               plugin = null;
-               super.stop(context);
-       }
+    @Override
+    public void start(BundleContext context) throws Exception {
+        super.start(context);
+        plugin = this;
+        TmfUiTracer.init();
+        TmfTraceElement.init();
+        TmfTimePreferences.init();
+    }
+
+    @Override
+    public void stop(BundleContext context) throws Exception {
+        TmfUiTracer.stop();
+        plugin = null;
+        super.stop(context);
+    }
 
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
 
-       /**
-        * Gets an image object using given path within plug-in.
-        *
-        * @param path path to image file
-        *
-        * @return image object
-        */
-    public Image getImageFromPath(String path){
+    /**
+     * Gets an image object using given path within plug-in.
+     *
+     * @param path
+     *            path to image file
+     *
+     * @return image object
+     */
+    public Image getImageFromPath(String path) {
         return getImageDescripterFromPath(path).createImage();
     }
 
     /**
      * Gets an image descriptor using given path within plug-in.
      *
-     * @param path path to image file
+     * @param path
+     *            path to image file
      *
      * @return image descriptor object
      */
-    public ImageDescriptor getImageDescripterFromPath(String path){
+    public ImageDescriptor getImageDescripterFromPath(String path) {
         return AbstractUIPlugin.imageDescriptorFromPlugin(PLUGIN_ID, path);
     }
 
     /**
-     * Gets a image object from the image registry based on the given path.
-     * If the image is not in the registry it will be registered.
+     * Gets a image object from the image registry based on the given path. If
+     * the image is not in the registry it will be registered.
      *
-     * @param path to the image file
+     * @param path
+     *            to the image file
      * @return image object
      */
     public Image getImageFromImageRegistry(String path) {
@@ -134,10 +129,6 @@ public class Activator extends AbstractUIPlugin {
         return icon;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.plugin.AbstractUIPlugin#initializeImageRegistry(org.eclipse.jface.resource.ImageRegistry)
-     */
     @Override
     protected void initializeImageRegistry(ImageRegistry reg) {
         reg.put(ITmfImageConstants.IMG_UI_ZOOM, getImageFromPath(ITmfImageConstants.IMG_UI_ZOOM));
@@ -151,55 +142,69 @@ public class Activator extends AbstractUIPlugin {
     /**
      * Logs a message with severity INFO in the runtime log of the plug-in.
      *
-     * @param message A message to log
+     * @param message
+     *            A message to log
      */
     public void logInfo(String message) {
         getLog().log(new Status(IStatus.INFO, PLUGIN_ID, message));
     }
 
     /**
-     * Logs a message and exception with severity INFO in the runtime log of the plug-in.
+     * Logs a message and exception with severity INFO in the runtime log of the
+     * plug-in.
      *
-     * @param message A message to log
-     * @param exception A exception to log
+     * @param message
+     *            A message to log
+     * @param exception
+     *            A exception to log
      */
     public void logInfo(String message, Throwable exception) {
         getLog().log(new Status(IStatus.INFO, PLUGIN_ID, message, exception));
     }
 
     /**
-     * Logs a message and exception with severity WARNING in the runtime log of the plug-in.
+     * Logs a message and exception with severity WARNING in the runtime log of
+     * the plug-in.
      *
-     * @param message A message to log
+     * @param message
+     *            A message to log
      */
     public void logWarning(String message) {
         getLog().log(new Status(IStatus.WARNING, PLUGIN_ID, message));
     }
 
     /**
-     * Logs a message and exception with severity WARNING in the runtime log of the plug-in.
+     * Logs a message and exception with severity WARNING in the runtime log of
+     * the plug-in.
      *
-     * @param message A message to log
-     * @param exception A exception to log
+     * @param message
+     *            A message to log
+     * @param exception
+     *            A exception to log
      */
     public void logWarning(String message, Throwable exception) {
         getLog().log(new Status(IStatus.WARNING, PLUGIN_ID, message, exception));
     }
 
     /**
-     * Logs a message and exception with severity ERROR in the runtime log of the plug-in.
+     * Logs a message and exception with severity ERROR in the runtime log of
+     * the plug-in.
      *
-     * @param message A message to log
+     * @param message
+     *            A message to log
      */
     public void logError(String message) {
         getLog().log(new Status(IStatus.ERROR, PLUGIN_ID, message));
     }
 
     /**
-     * Logs a message and exception with severity ERROR in the runtime log of the plug-in.
+     * Logs a message and exception with severity ERROR in the runtime log of
+     * the plug-in.
      *
-     * @param message A message to log
-     * @param exception A exception to log
+     * @param message
+     *            A message to log
+     * @param exception
+     *            A exception to log
      */
     public void logError(String message, Throwable exception) {
         getLog().log(new Status(IStatus.ERROR, PLUGIN_ID, message, exception));
index dbb9453911afc9c918bb982c08c0b8aadaec68ea..010782f6bbfe71b0d99ecec07a5c19fa014292f3 100644 (file)
@@ -68,9 +68,6 @@ public class ManageCustomParsersDialog extends Dialog {
         setShellStyle(SWT.RESIZE | SWT.MAX | getShellStyle());
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected Control createDialogArea(Composite parent) {
         getShell().setText(Messages.ManageCustomParsersDialog_DialogHeader);
@@ -284,9 +281,6 @@ public class ManageCustomParsersDialog extends Dialog {
         return composite;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected void createButtonsForButtonBar(Composite parent) {
         createButton(parent, IDialogConstants.OK_ID, IDialogConstants.CLOSE_LABEL, false);
index 03fd9b00dd023db016080cf5f9000263d7c89d74..7d757cd5d55a3f13f74cf3cbfa385dcaa163ba91 100644 (file)
@@ -81,9 +81,6 @@ public class MultiLineInputDialog extends InputDialog {
         this.dialogMessage = dialogMessage;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.InputDialog#createDialogArea(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected Control createDialogArea(Composite parent) {
         Composite composite = (Composite) super.createDialogArea(parent);
@@ -138,9 +135,6 @@ public class MultiLineInputDialog extends InputDialog {
         return composite;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createContents(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected Control createContents(Composite parent) {
         Control control = super.createContents(parent);
@@ -153,17 +147,11 @@ public class MultiLineInputDialog extends InputDialog {
         return control;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.InputDialog#getInputTextStyle()
-     */
     @Override
     protected int getInputTextStyle() {
         return SWT.MULTI | SWT.WRAP | SWT.V_SCROLL | SWT.BORDER;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#isResizable()
-     */
     @Override
     protected boolean isResizable() {
         return true;
index 39bf5c37038fd547dfd7c5c8e783b90035bc259e..0a80b2bf6df2843845e745712e401536c457b631 100644 (file)
@@ -388,9 +388,6 @@ public class CustomTxtTrace extends TmfTrace implements ITmfEventParser {
         return fDefinition;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfTrace#validate(org.eclipse.core.resources.IProject, java.lang.String)
-     */
     @Override
     public IStatus validate(IProject project, String path) {
         if( fileExists(path)) {
index 741ce53e1f3ffab08b4ddc689e3917a57cbfe7e4..ab528a37818588da208156b3c344f4741d66b29e 100644 (file)
@@ -49,9 +49,6 @@ public class CustomTxtTraceContext extends TmfContext {
         super(location, rank);
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#hashCode()
-     */
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -63,9 +60,6 @@ public class CustomTxtTraceContext extends TmfContext {
         return result;
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(Object obj) {
         if (this == obj) {
index aa6b63b388251d47ce67ae8925f5f5d41324428c..58b7acae3f86f25e3f37951fc81937b7cb60343d 100644 (file)
@@ -490,9 +490,6 @@ public class CustomXmlTrace extends TmfTrace implements ITmfEventParser {
         return fDefinition;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.core.trace.ITmfTrace#validate(org.eclipse.core.resources.IProject, java.lang.String)
-     */
     @Override
     public IStatus validate(IProject project, String path) {
         if (fileExists(path)) {
index 287ae65542749eb1fabeb40f0e0ab696eb919efb..310e35503040272bacd1c2cd581d7e780aee4974 100644 (file)
@@ -34,17 +34,11 @@ public class CustomXmlTraceContext extends TmfContext {
         super(location, rank);
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#hashCode()
-     */
     @Override
     public int hashCode() {
         return super.hashCode();
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(Object obj) {
         if (this == obj) {
index bba95397f83237fe780273938bb6899f89433d2a..4456008f7327e345975b1f9cabc721dc03c8011d 100644 (file)
@@ -508,9 +508,6 @@ public class CustomTxtParserInputWizardPage extends WizardPage {
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.DialogPage#dispose()
-     */
     @Override
     public void dispose() {
         if (fixedFont != null) {
index 355bab51d5fffa6ec372074b328a7a35b712d23f..581de842926c846ad2fc34cb1268782e0f316079 100644 (file)
@@ -130,9 +130,6 @@ public class CustomTxtParserOutputWizardPage extends WizardPage {
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.DialogPage#setVisible(boolean)
-     */
     @Override
     public void setVisible(final boolean visible) {
         if (visible) {
index 8efe1083e9914c32874d9ecfba3cc07524278ef2..2a6f07b51382aaa35911622774ee106cbd8d9438 100644 (file)
@@ -585,11 +585,6 @@ public class CustomXmlParserInputWizardPage extends WizardPage {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.jface.dialogs.DialogPage#dispose()
-     */
     @Override
     public void dispose() {
         if (fixedFont != null) {
@@ -622,11 +617,6 @@ public class CustomXmlParserInputWizardPage extends WizardPage {
         return getName(inputElement) + " : " + name; //$NON-NLS-1$
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.jface.dialogs.DialogPage#setVisible(boolean)
-     */
     @Override
     public void setVisible(boolean visible) {
         if (visible) {
index 027ec88718258dd390207b3b3ee4fa1be445e463..472bc60d7bfba2c4ab570e59e0061b2af4a6a377 100644 (file)
@@ -131,9 +131,6 @@ public class CustomXmlParserOutputWizardPage extends WizardPage {
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.DialogPage#setVisible(boolean)
-     */
     @Override
     public void setVisible(final boolean visible) {
         if (visible) {
index ae7d3ab3f2c0131270028a81e270aa6aea75c69f..bc6618c0ded06f7b3a7dbea16e9030414df8b53c 100644 (file)
@@ -1,11 +1,11 @@
 /*******************************************************************************
- * Copyright (c) 2011, 2012 Ericsson
- * 
+ * Copyright (c) 2011, 2013 Ericsson
+ *
  * 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:
  *   Bernd Hufmann - Initial API and implementation
  ******************************************************************************/
@@ -19,8 +19,8 @@ import org.eclipse.ui.IWorkbench;
 import org.eclipse.ui.IWorkbenchPreferencePage;
 
 /**
- * Top Level Preference Page for Tracing. 
- * 
+ * Top Level Preference Page for Tracing.
+ *
  * @version 1.0
  * @author Bernd Hufmann
  */
@@ -29,30 +29,22 @@ public class TmfTracingPreferencePage extends PreferencePage implements IWorkben
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
-    
+
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
-    
+
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.preference.PreferencePage#createContents(org.eclipse.swt.widgets.Composite)
-     */
+
     @Override
     protected Control createContents(Composite parent) {
         Composite composite = new Composite(parent, SWT.NONE);
-        // No content yet! 
+        // No content yet!
         return composite;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
-     */
     @Override
     public void init(IWorkbench workbench) {
         // Nothing to do yet!
index 05605b1452b858052dd89a2faf8c56c9c4aab0bc..0b45abc32db1ce1a99b561049c454a1a627a625c 100644 (file)
@@ -79,10 +79,6 @@ public class SelectSupplementaryResourcesDialog extends Dialog {
     // Dialog
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.window.Window#configureShell(org.eclipse.swt.widgets.Shell)
-     */
     @Override
     protected void configureShell(Shell newShell) {
         super.configureShell(newShell);
@@ -162,10 +158,6 @@ public class SelectSupplementaryResourcesDialog extends Dialog {
         return composite;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected void createButtonsForButtonBar(Composite parent) {
         createButton(parent, IDialogConstants.CANCEL_ID, "&Cancel", true); //$NON-NLS-1$
index 6c5c449ed5d06f9ec01ede82051ae3b7cb423310..43f93831dccbeeba3fbe62c49877f1f0f7147844 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
-* Copyright (c) 2012 Ericsson
+* Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -51,10 +51,6 @@ public class DeleteAction extends Action {
         this.selectionProvider = selectionProvider;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
         ISelection selection = selectionProvider.getSelection();
@@ -78,10 +74,6 @@ public class DeleteAction extends Action {
         return false;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#run()
-     */
     @Override
     public void run() {
         try {
index 498d39615ef1477609b02abdeea1f905a12dc315..edddeed0e307d5c067b1af4ffea899def5f1b2e6 100644 (file)
@@ -73,17 +73,11 @@ public class DropAdapterAssistant extends CommonDropAdapterAssistant {
     public DropAdapterAssistant() {
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.ui.navigator.CommonDropAdapterAssistant#isSupportedType(org.eclipse.swt.dnd.TransferData)
-     */
     @Override
     public boolean isSupportedType(TransferData aTransferType) {
         return super.isSupportedType(aTransferType) || FileTransfer.getInstance().isSupportedType(aTransferType);
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.ui.navigator.CommonDropAdapterAssistant#validateDrop(java.lang.Object, int, org.eclipse.swt.dnd.TransferData)
-     */
     @Override
     public IStatus validateDrop(Object target, int operation, TransferData transferType) {
         if (target instanceof TmfTraceFolder) {
@@ -107,9 +101,6 @@ public class DropAdapterAssistant extends CommonDropAdapterAssistant {
         return Status.CANCEL_STATUS;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.ui.navigator.CommonDropAdapterAssistant#handleDrop(org.eclipse.ui.navigator.CommonDropAdapter, org.eclipse.swt.dnd.DropTargetEvent, java.lang.Object)
-     */
     @Override
     public IStatus handleDrop(CommonDropAdapter aDropAdapter, DropTargetEvent aDropTargetEvent, Object aTarget) {
         boolean ok = false;
index 883c827a9c1229628168a5680ba19e862f45c8de..ed93ecfa7c5faaf21bdfa08b6fc390a4b44745d8 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
-* Copyright (c) 2012 Ericsson
+* Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -51,10 +51,6 @@ public class OpenAction extends Action {
         this.selectionProvider = selectionProvider;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
         ISelection selection = selectionProvider.getSelection();
@@ -71,10 +67,6 @@ public class OpenAction extends Action {
         return false;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#run()
-     */
     @Override
     public void run() {
         try {
index 2dbaeb91ee4741d3053b9f754a08bf7151414726..610adaad15da7231e8a0487d4ba1a08b96e929a3 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
-* Copyright (c) 2012 Ericsson
+* Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -52,10 +52,6 @@ public class RefreshAction extends Action {
         this.selectionProvider = selectionProvider;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#isEnabled()
-     */
     @Override
     public boolean isEnabled() {
         ISelection selection = selectionProvider.getSelection();
@@ -73,10 +69,6 @@ public class RefreshAction extends Action {
         return false;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#run()
-     */
     @Override
     public void run() {
         try {
index ac5c353c63cc44b98d5a761209a2ca47a936efd4..62ca4dcfeac2d28851e7eefe150a55734887f217 100644 (file)
@@ -37,10 +37,6 @@ public class TmfActionProvider extends CommonActionProvider {
     public TmfActionProvider() {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.navigator.CommonActionProvider#init(org.eclipse.ui.navigator.ICommonActionExtensionSite)
-     */
     @Override
     public void init(ICommonActionExtensionSite aSite) {
         ICommonViewerSite viewSite = aSite.getViewSite();
@@ -52,10 +48,6 @@ public class TmfActionProvider extends CommonActionProvider {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.actions.ActionGroup#fillActionBars(org.eclipse.ui.IActionBars)
-     */
     @Override
     public void fillActionBars(IActionBars actionBars) {
         if (openAction.isEnabled()) {
index 051111833d3d3320efbc3045fdf692d5c3a168e3..4fa913c14caab7eb47b9a736782bba49b218dbcd 100644 (file)
@@ -49,9 +49,6 @@ public class TracePropertyTester extends PropertyTester {
     // IPropertyTester
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.core.expressions.IPropertyTester#test(java.lang.Object, java.lang.String, java.lang.Object[], java.lang.Object)
-     */
     @Override
     public boolean test(Object receiver, String property, Object[] args, Object expectedValue) {
 
index 8628a8f3d73f3aff645e2f74ab7ba8056f3c2d0a..448f4a042135a105c5bdcc684c24faededc11e6d 100644 (file)
@@ -41,10 +41,6 @@ import org.eclipse.ui.part.FileEditorInput;
  */
 public class TmfEditorLinkHelper implements ILinkHelper {
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.navigator.ILinkHelper#findSelection(org.eclipse.ui.IEditorInput)
-     */
     @Override
     public IStructuredSelection findSelection(IEditorInput anInput) {
         IFile file = ResourceUtil.getFile(anInput);
@@ -91,10 +87,6 @@ public class TmfEditorLinkHelper implements ILinkHelper {
         return StructuredSelection.EMPTY;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.navigator.ILinkHelper#activateEditor(org.eclipse.ui.IWorkbenchPage, org.eclipse.jface.viewers.IStructuredSelection)
-     */
     @Override
     public void activateEditor(IWorkbenchPage aPage, IStructuredSelection aSelection) {
         if (aSelection == null || aSelection.isEmpty()) {
index 0bbfc56a0dd67a0b0325643982a0ec52dcc23ae3..0a4618f458456a32c602b4a2f36b29ff158da154 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2010, 2012 Ericsson
+ * Copyright (c) 2010, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -95,9 +95,6 @@ public class TmfEditorInput implements IEditorInput {
         return fTrace;
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#hashCode()
-     */
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -107,9 +104,6 @@ public class TmfEditorInput implements IEditorInput {
         return result;
     }
 
-    /* (non-Javadoc)
-     * @see java.lang.Object#equals(java.lang.Object)
-     */
     @Override
     public boolean equals(Object obj) {
         if (this == obj) {
index d1e10d09486f2ed419b7c1f4bab4226a09902c8d..064b1a3b62624f46b05444e6504c7b314db4d83d 100644 (file)
@@ -526,9 +526,6 @@ public class TmfEventsEditor extends TmfEditor implements ITmfTraceEditor, IReus
     // ISelectionProvider
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ISelectionProvider#addSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener)
-     */
     /**
      * @since 2.0
      */
@@ -537,9 +534,6 @@ public class TmfEventsEditor extends TmfEditor implements ITmfTraceEditor, IReus
         fSelectionChangedListeners.add(listener);
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ISelectionProvider#getSelection()
-     */
     /**
      * @since 2.0
      */
@@ -551,9 +545,6 @@ public class TmfEventsEditor extends TmfEditor implements ITmfTraceEditor, IReus
         return fEventsTable.getSelection();
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ISelectionProvider#removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener)
-     */
     /**
      * @since 2.0
      */
@@ -562,9 +553,6 @@ public class TmfEventsEditor extends TmfEditor implements ITmfTraceEditor, IReus
         fSelectionChangedListeners.remove(listener);
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ISelectionProvider#setSelection(org.eclipse.jface.viewers.ISelection)
-     */
     /**
      * @since 2.0
      */
@@ -599,10 +587,6 @@ public class TmfEventsEditor extends TmfEditor implements ITmfTraceEditor, IReus
     // ISelectionChangedListener
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ISelectionChangedListener#selectionChanged(org.eclipse.jface.viewers.SelectionChangedEvent)
-     */
     /**
      * @since 2.0
      */
@@ -615,10 +599,6 @@ public class TmfEventsEditor extends TmfEditor implements ITmfTraceEditor, IReus
     // IPartListener
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.IPartListener#partActivated(org.eclipse.ui.IWorkbenchPart)
-     */
     /**
      * @since 2.0
      */
@@ -633,10 +613,6 @@ public class TmfEventsEditor extends TmfEditor implements ITmfTraceEditor, IReus
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.IPartListener#partBroughtToTop(org.eclipse.ui.IWorkbenchPart)
-     */
     /**
      * @since 2.0
      */
@@ -651,10 +627,6 @@ public class TmfEventsEditor extends TmfEditor implements ITmfTraceEditor, IReus
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.IPartListener#partClosed(org.eclipse.ui.IWorkbenchPart)
-     */
     /**
      * @since 2.0
      */
@@ -662,10 +634,6 @@ public class TmfEventsEditor extends TmfEditor implements ITmfTraceEditor, IReus
     public void partClosed(IWorkbenchPart part) {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.IPartListener#partDeactivated(org.eclipse.ui.IWorkbenchPart)
-     */
     /**
      * @since 2.0
      */
@@ -673,10 +641,6 @@ public class TmfEventsEditor extends TmfEditor implements ITmfTraceEditor, IReus
     public void partDeactivated(IWorkbenchPart part) {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.IPartListener#partOpened(org.eclipse.ui.IWorkbenchPart)
-     */
     /**
      * @since 2.0
      */
index 3faf03d5692b58e0c067d58a2285da81126facdd..88f097e8516f0fb5001e39edd5b99c1e4e79f72c 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -26,9 +26,6 @@ import org.eclipse.ui.views.properties.PropertySheetSorter;
  */
 public class UnsortedPropertySheetPage extends PropertySheetPage {
 
-    /* (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.PropertySheetPage#createControl(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     public void createControl(Composite parent) {
         super.createControl(parent);
index d3c40cb3a9c1ac18570dc8dc6db75113c00d594c..23f41f99f5e292988b49a601d522c24c1f0dd114 100644 (file)
@@ -95,19 +95,11 @@ public class TmfExperimentElement extends TmfWithFolderElement implements IPrope
     // TmfProjectModelElement
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.TmfProjectModelElement#getResource()
-     */
     @Override
     public IFolder getResource() {
         return (IFolder) fResource;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement#getProject()
-     */
     @Override
     public TmfProjectElement getProject() {
         return (TmfProjectElement) getParent().getParent();
@@ -116,6 +108,7 @@ public class TmfExperimentElement extends TmfWithFolderElement implements IPrope
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
+
     /**
      * Returns a list of TmfTraceElements contained in this experiment.
      * @return a list of TmfTraceElements
@@ -251,28 +244,16 @@ public class TmfExperimentElement extends TmfWithFolderElement implements IPrope
     // IPropertySource2
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#getEditableValue()
-     */
     @Override
     public Object getEditableValue() {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#getPropertyDescriptors()
-     */
     @Override
     public IPropertyDescriptor[] getPropertyDescriptors() {
         return Arrays.copyOf(sfDescriptors, sfDescriptors.length);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#getPropertyValue(java.lang.Object)
-     */
     @Override
     public Object getPropertyValue(Object id) {
 
@@ -291,35 +272,19 @@ public class TmfExperimentElement extends TmfWithFolderElement implements IPrope
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#resetPropertyValue(java.lang.Object)
-     */
     @Override
     public void resetPropertyValue(Object id) {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#setPropertyValue(java.lang.Object, java.lang.Object)
-     */
     @Override
     public void setPropertyValue(Object id, Object value) {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource2#isPropertyResettable(java.lang.Object)
-     */
     @Override
     public boolean isPropertyResettable(Object id) {
         return false;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource2#isPropertySet(java.lang.Object)
-     */
     @Override
     public boolean isPropertySet(Object id) {
         return false;
index 66829fda21d46bbb2ebea7140ac0fae4dc83857e..ce7388ef31bf99b546fb10bf1f506dd2ff1e9f81 100644 (file)
@@ -31,6 +31,7 @@ public class TmfExperimentFolder extends TmfProjectModelElement implements IProp
     // ------------------------------------------------------------------------
     // Constants
     // ------------------------------------------------------------------------
+
     /**
      * The name of the experiment folder.
      */
@@ -73,28 +74,17 @@ public class TmfExperimentFolder extends TmfProjectModelElement implements IProp
     // ------------------------------------------------------------------------
     // TmfProjectModelElement
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.TmfProjectModelElement#getResource()
-     */
+
     @Override
     public IFolder getResource() {
         return (IFolder) fResource;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement#getProject()
-     */
     @Override
     public TmfProjectElement getProject() {
         return (TmfProjectElement) getParent();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.TmfProjectModelElement#refresh()
-     */
     @Override
     public void refresh() {
         TmfProjectElement project = (TmfProjectElement) getParent();
@@ -104,27 +94,17 @@ public class TmfExperimentFolder extends TmfProjectModelElement implements IProp
     // ------------------------------------------------------------------------
     // IPropertySource2
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#getEditableValue()
-     */
+
     @Override
     public Object getEditableValue() {
         return null;
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#getPropertyDescriptors()
-     */
+
     @Override
     public IPropertyDescriptor[] getPropertyDescriptors() {
         return Arrays.copyOf(sfDescriptors, sfDescriptors.length);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#getPropertyValue(java.lang.Object)
-     */
     @Override
     public Object getPropertyValue(Object id) {
 
@@ -142,36 +122,23 @@ public class TmfExperimentFolder extends TmfProjectModelElement implements IProp
 
         return null;
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#resetPropertyValue(java.lang.Object)
-     */
+
     @Override
     public void resetPropertyValue(Object id) {
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#setPropertyValue(java.lang.Object, java.lang.Object)
-     */
+
     @Override
     public void setPropertyValue(Object id, Object value) {
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource2#isPropertyResettable(java.lang.Object)
-     */
+
     @Override
     public boolean isPropertyResettable(Object id) {
         return false;
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource2#isPropertySet(java.lang.Object)
-     */
+
     @Override
     public boolean isPropertySet(Object id) {
         return false;
     }
 
 }
-
index 2be60ebf16bd9bb261ccaf86b527c48a9f9ec1c8..296037a67fe7838fdef1dd6781eba430ceebf555 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2010, 2012 Ericsson
+ * Copyright (c) 2010, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -41,19 +41,12 @@ public class TmfNavigatorContentProvider implements IPipelinedTreeContentProvide
     // ------------------------------------------------------------------------
     // ICommonContentProvider
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ITreeContentProvider#getElements(java.lang.Object)
-     */
+
     @Override
     public Object[] getElements(Object inputElement) {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ITreeContentProvider#getParent(java.lang.Object)
-     */
     @Override
     public Object getParent(Object element) {
         if (element instanceof IProject) {
@@ -87,10 +80,6 @@ public class TmfNavigatorContentProvider implements IPipelinedTreeContentProvide
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ITreeContentProvider#hasChildren(java.lang.Object)
-     */
     @Override
     public boolean hasChildren(Object element) {
         if (element instanceof IProject) {
@@ -112,42 +101,22 @@ public class TmfNavigatorContentProvider implements IPipelinedTreeContentProvide
         return false;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.IContentProvider#dispose()
-     */
     @Override
     public void dispose() {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
-     */
     @Override
     public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.navigator.IMementoAware#restoreState(org.eclipse.ui.IMemento)
-     */
     @Override
     public void restoreState(IMemento aMemento) {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.navigator.IMementoAware#saveState(org.eclipse.ui.IMemento)
-     */
     @Override
     public void saveState(IMemento aMemento) {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.navigator.ICommonContentProvider#init(org.eclipse.ui.navigator.ICommonContentExtensionSite)
-     */
     @Override
     public void init(ICommonContentExtensionSite aConfig) {
     }
@@ -155,10 +124,7 @@ public class TmfNavigatorContentProvider implements IPipelinedTreeContentProvide
     // ------------------------------------------------------------------------
     // ICommonContentProvider - getChildren()
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ITreeContentProvider#getChildren(java.lang.Object)
-     */
+
     @Override
     public synchronized Object[] getChildren(Object parentElement) {
 
@@ -188,6 +154,7 @@ public class TmfNavigatorContentProvider implements IPipelinedTreeContentProvide
     // ------------------------------------------------------------------------
     // Helper method
     // ------------------------------------------------------------------------
+
     private Object[] getProjectChildren(IProject project) {
         // The children structure
         List<Object> children = new ArrayList<Object>();
@@ -369,19 +336,11 @@ public class TmfNavigatorContentProvider implements IPipelinedTreeContentProvide
     // IPipelinedTreeContentProvider
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.navigator.IPipelinedTreeContentProvider#getPipelinedChildren(java.lang.Object, java.util.Set)
-     */
     @Override
     public void getPipelinedChildren(Object parent, Set currentChildren) {
         customizeTmfElements(getChildren(parent), currentChildren);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.navigator.IPipelinedTreeContentProvider#getPipelinedElements(java.lang.Object, java.util.Set)
-     */
     @Override
     public void getPipelinedElements(Object input, Set currentElements) {
         customizeTmfElements(getElements(input), currentElements);
@@ -414,46 +373,26 @@ public class TmfNavigatorContentProvider implements IPipelinedTreeContentProvide
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.navigator.IPipelinedTreeContentProvider#getPipelinedParent(java.lang.Object, java.lang.Object)
-     */
     @Override
     public Object getPipelinedParent(Object anObject, Object aSuggestedParent) {
         return aSuggestedParent;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.navigator.IPipelinedTreeContentProvider#interceptAdd(org.eclipse.ui.navigator.PipelinedShapeModification)
-     */
     @Override
     public PipelinedShapeModification interceptAdd(PipelinedShapeModification anAddModification) {
         return anAddModification;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.navigator.IPipelinedTreeContentProvider#interceptRemove(org.eclipse.ui.navigator.PipelinedShapeModification)
-     */
     @Override
     public PipelinedShapeModification interceptRemove(PipelinedShapeModification aRemoveModification) {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.navigator.IPipelinedTreeContentProvider#interceptRefresh(org.eclipse.ui.navigator.PipelinedViewerUpdate)
-     */
     @Override
     public boolean interceptRefresh(PipelinedViewerUpdate aRefreshSynchronization) {
         return false;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.navigator.IPipelinedTreeContentProvider#interceptUpdate(org.eclipse.ui.navigator.PipelinedViewerUpdate)
-     */
     @Override
     public boolean interceptUpdate(PipelinedViewerUpdate anUpdateSynchronization) {
         return false;
index 2d42c75d69915ca51d9afbf5faa2536f1ea49f5f..3e25989d32ca760062ddb7af267198f52772e4b4 100644 (file)
@@ -89,10 +89,7 @@ public class TmfNavigatorLabelProvider implements ICommonLabelProvider {
     // ------------------------------------------------------------------------
     // ICommonLabelProvider
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ILabelProvider#getImage(java.lang.Object)
-     */
+
     @Override
     public Image getImage(Object element) {
 
@@ -128,10 +125,6 @@ public class TmfNavigatorLabelProvider implements ICommonLabelProvider {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ILabelProvider#getText(java.lang.Object)
-     */
     @Override
     public String getText(Object element) {
 
@@ -158,68 +151,36 @@ public class TmfNavigatorLabelProvider implements ICommonLabelProvider {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.IBaseLabelProvider#addListener(org.eclipse.jface.viewers.ILabelProviderListener)
-     */
     @Override
     public void addListener(ILabelProviderListener listener) {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.IBaseLabelProvider#dispose()
-     */
     @Override
     public void dispose() {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.IBaseLabelProvider#isLabelProperty(java.lang.Object, java.lang.String)
-     */
     @Override
     public boolean isLabelProperty(Object element, String property) {
         return false;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.IBaseLabelProvider#removeListener(org.eclipse.jface.viewers.ILabelProviderListener)
-     */
     @Override
     public void removeListener(ILabelProviderListener listener) {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.navigator.IMementoAware#restoreState(org.eclipse.ui.IMemento)
-     */
     @Override
     public void restoreState(IMemento aMemento) {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.navigator.IMementoAware#saveState(org.eclipse.ui.IMemento)
-     */
     @Override
     public void saveState(IMemento aMemento) {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.navigator.IDescriptionProvider#getDescription(java.lang.Object)
-     */
     @Override
     public String getDescription(Object anElement) {
         return getText(anElement);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.navigator.ICommonLabelProvider#init(org.eclipse.ui.navigator.ICommonContentExtensionSite)
-     */
     @Override
     public void init(ICommonContentExtensionSite aConfig) {
     }
index 3410b80de70bf043458f0c6f0eafa8d2847aac70..4adf44b0c8e64ad1062fb59ec5208541020468b7 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2011, 2012 Ericsson
+ * Copyright (c) 2011, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -58,19 +58,11 @@ public class TmfProjectElement extends TmfProjectModelElement {
     // TmfProjectModelElement
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.TmfProjectModelElement#getResource()
-     */
     @Override
     public IProject getResource() {
         return (IProject) fResource;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.TmfProjectModelElement#addChild(org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement)
-     */
     @Override
     public void addChild(ITmfProjectModelElement child) {
         super.addChild(child);
@@ -87,6 +79,7 @@ public class TmfProjectElement extends TmfProjectModelElement {
     // ------------------------------------------------------------------------
     // Accessors
     // ------------------------------------------------------------------------
+
     /**
      * Returns the containing trace folder element.
      * @return the TMF trace folder element.
@@ -107,10 +100,6 @@ public class TmfProjectElement extends TmfProjectModelElement {
     // TmfProjectElement
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.TmfProjectModelElement#refresh()
-     */
     @Override
     public void refresh() {
         Display.getDefault().asyncExec(new Runnable(){
@@ -136,10 +125,6 @@ public class TmfProjectElement extends TmfProjectModelElement {
             }});
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.TmfProjectModelElement#resourceChanged(org.eclipse.core.resources.IResourceChangeEvent)
-     */
     @Override
     public void resourceChanged(IResourceChangeEvent event) {
         if (event.getType() == IResourceChangeEvent.POST_CHANGE) {
@@ -147,10 +132,6 @@ public class TmfProjectElement extends TmfProjectModelElement {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement#getProject()
-     */
     @Override
     public TmfProjectElement getProject() {
         return this;
index 39f0b84f7a64f489ce4c965d49da8e34dfbbbaeb..042918b8c47ff891baae2e0826b065a86145fb7f 100644 (file)
@@ -89,74 +89,47 @@ public abstract class TmfProjectModelElement implements ITmfProjectModelElement,
     // ------------------------------------------------------------------------
     // ITmfProjectModelElement
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement#getName()
-     */
+
     @Override
     public String getName() {
         return fName;
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement#getResource()
-     */
+
     @Override
     public IResource getResource() {
         return fResource;
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement#getPath()
-     */
+
     @Override
     public IPath getPath() {
         return fPath;
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement#getLocation()
-     */
+
     @Override
     public URI getLocation() {
         return fLocation;
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement#getParent()
-     */
+
     @Override
     public ITmfProjectModelElement getParent() {
         return fParent;
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement#hasChildren()
-     */
+
     @Override
     public boolean hasChildren() {
         return fChildren.size() > 0;
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement#getChildren()
-     */
+
     @Override
     public List<ITmfProjectModelElement> getChildren() {
         return fChildren;
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement#addChild(org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement)
-     */
+
     @Override
     public void addChild(ITmfProjectModelElement child) {
         fChildren.add(child);
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement#removeChild(org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement)
-     */
+
     @Override
     public void removeChild(ITmfProjectModelElement child) {
         fChildren.remove(child);
@@ -165,10 +138,7 @@ public abstract class TmfProjectModelElement implements ITmfProjectModelElement,
         }
         refresh();
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement#refresh()
-     */
+
     @Override
     public void refresh() {
         // Do nothing by default: sub-classes override this on an "as-needed"
@@ -178,10 +148,7 @@ public abstract class TmfProjectModelElement implements ITmfProjectModelElement,
     // ------------------------------------------------------------------------
     // IResourceChangeListener
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.resources.IResourceChangeListener#resourceChanged(org.eclipse.core.resources.IResourceChangeEvent)
-     */
+
     @Override
     public void resourceChanged(IResourceChangeEvent event) {
         // Do nothing by default: sub-classes override this on an "as-needed"
@@ -191,10 +158,7 @@ public abstract class TmfProjectModelElement implements ITmfProjectModelElement,
     // ------------------------------------------------------------------------
     // Object
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see java.lang.Object#hashCode()
-     */
+
     @Override
     public int hashCode() {
         final int prime = 31;
@@ -202,10 +166,7 @@ public abstract class TmfProjectModelElement implements ITmfProjectModelElement,
         result = prime * result + ((fPath == null) ? 0 : fPath.hashCode());
         return result;
     }
-    /*
-     * (non-Javadoc)
-     * @see java.lang.Object#equals(java.lang.Object)
-     */
+
     @Override
     public boolean equals(Object other) {
         if (this == other) {
index c15a7b19782a1acf4ecb5ac38c071f9174af1699..e3c0dbacae6381239df4077701b13524a209a9e3 100644 (file)
@@ -349,10 +349,7 @@ public class TmfTraceElement extends TmfWithFolderElement implements IActionFilt
     // ------------------------------------------------------------------------
     // TmfTraceElement
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement#getProject()
-     */
+
     @Override
     public TmfProjectElement getProject() {
         if (getParent() instanceof TmfTraceFolder) {
@@ -373,28 +370,16 @@ public class TmfTraceElement extends TmfWithFolderElement implements IActionFilt
     // IPropertySource2
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#getEditableValue()
-     */
     @Override
     public Object getEditableValue() {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#getPropertyDescriptors()
-     */
     @Override
     public IPropertyDescriptor[] getPropertyDescriptors() {
         return Arrays.copyOf(sfDescriptors, sfDescriptors.length);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#getPropertyValue(java.lang.Object)
-     */
     @Override
     public Object getPropertyValue(Object id) {
 
@@ -435,35 +420,19 @@ public class TmfTraceElement extends TmfWithFolderElement implements IActionFilt
         return "[no category]"; //$NON-NLS-1$
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#resetPropertyValue(java.lang.Object)
-     */
     @Override
     public void resetPropertyValue(Object id) {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#setPropertyValue(java.lang.Object, java.lang.Object)
-     */
     @Override
     public void setPropertyValue(Object id, Object value) {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource2#isPropertyResettable(java.lang.Object)
-     */
     @Override
     public boolean isPropertyResettable(Object id) {
         return false;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource2#isPropertySet(java.lang.Object)
-     */
     @Override
     public boolean isPropertySet(Object id) {
         return false;
@@ -484,5 +453,4 @@ public class TmfTraceElement extends TmfWithFolderElement implements IActionFilt
         return new TmfTraceElement(string, res, folder);
     }
 
-
 }
index ab0be4e38a985e695a42567c4d91881007bc3714..946f30dd795b1b9b38e9ab5035631e849fe2d652 100644 (file)
@@ -76,28 +76,16 @@ public class TmfTraceFolder extends TmfProjectModelElement implements IPropertyS
     // TmfProjectModelElement
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.TmfProjectModelElement#getResource()
-     */
     @Override
     public IFolder getResource() {
         return (IFolder) fResource;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.ITmfProjectModelElement#getProject()
-     */
     @Override
     public TmfProjectElement getProject() {
         return (TmfProjectElement) getParent();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.project.model.TmfProjectModelElement#refresh()
-     */
     @Override
     public void refresh() {
         TmfProjectElement project = (TmfProjectElement) getParent();
@@ -107,6 +95,7 @@ public class TmfTraceFolder extends TmfProjectModelElement implements IPropertyS
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
+
     /**
      * Returns a list of trace model elements under the traces folder.
      * @return list of trace model elements
@@ -126,28 +115,16 @@ public class TmfTraceFolder extends TmfProjectModelElement implements IPropertyS
     // IPropertySource2
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#getEditableValue()
-     */
     @Override
     public Object getEditableValue() {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#getPropertyDescriptors()
-     */
     @Override
     public IPropertyDescriptor[] getPropertyDescriptors() {
         return Arrays.copyOf(sfDescriptors, sfDescriptors.length);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#getPropertyValue(java.lang.Object)
-     */
     @Override
     public Object getPropertyValue(Object id) {
 
@@ -166,35 +143,19 @@ public class TmfTraceFolder extends TmfProjectModelElement implements IPropertyS
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#resetPropertyValue(java.lang.Object)
-     */
     @Override
     public void resetPropertyValue(Object id) {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource#setPropertyValue(java.lang.Object, java.lang.Object)
-     */
     @Override
     public void setPropertyValue(Object id, Object value) {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource2#isPropertyResettable(java.lang.Object)
-     */
     @Override
     public boolean isPropertyResettable(Object id) {
         return false;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.views.properties.IPropertySource2#isPropertySet(java.lang.Object)
-     */
     @Override
     public boolean isPropertySet(Object id) {
         return false;
index ec1888728f600848129a38c9b8fbf63cb6e98735..87115b59dca6ede7fbf318d7be74273f7f13d6fb 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2010, 2012 Ericsson
+ * Copyright (c) 2010, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -28,10 +28,6 @@ import org.eclipse.jface.viewers.Viewer;
  */
 public class TraceFolderContentProvider implements IStructuredContentProvider {
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.IStructuredContentProvider#getElements(java.lang.Object)
-     */
     @Override
     public Object[] getElements(Object inputElement) {
         if (inputElement instanceof TmfTraceFolder) {
@@ -50,18 +46,10 @@ public class TraceFolderContentProvider implements IStructuredContentProvider {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.IContentProvider#dispose()
-     */
     @Override
     public void dispose() {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
-     */
     @Override
     public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
     }
index 5b5a2f0c88cb81f959e3cddbb85b94a57477a354..567dd513362d3f8fb057af08c55a1d38fb4d35f9 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2010, 2012 Ericsson
+ * Copyright (c) 2010, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -26,19 +26,11 @@ import org.eclipse.swt.graphics.Image;
  */
 public class TraceFolderLabelProvider extends LabelProvider implements ITableLabelProvider {
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ITableLabelProvider#getColumnImage(java.lang.Object, int)
-     */
     @Override
     public Image getColumnImage(Object element, int columnIndex) {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ITableLabelProvider#getColumnText(java.lang.Object, int)
-     */
     @Override
     public String getColumnText(Object element, int columnIndex) {
         if (element instanceof TmfTraceElement) {
index ed0edd52aca3745ab659e18d5dd502cb88a22df6..69284cc815ca2a7660a31a6212397eff634aaa69 100644 (file)
@@ -50,6 +50,7 @@ import org.eclipse.ui.dialogs.SelectionStatusDialog;
 /**
  * Implementation of the copy experiement dialog box.
  * <p>
+ *
  * @version 1.0
  * @author Francois Chouinard
  */
@@ -59,8 +60,8 @@ public class CopyExperimentDialog extends SelectionStatusDialog {
     // Members
     // ------------------------------------------------------------------------
 
-       private final TmfExperimentElement fExperiment;
-       private Text fNewExperimentName;
+    private final TmfExperimentElement fExperiment;
+    private Text fNewExperimentName;
     private IFolder fExperimentFolder;
     private TmfProjectElement fProject;
 
@@ -70,8 +71,11 @@ public class CopyExperimentDialog extends SelectionStatusDialog {
 
     /**
      * Constructor
-     * @param shell The parent shell
-     * @param experiment The TMF experiment model element
+     *
+     * @param shell
+     *            The parent shell
+     * @param experiment
+     *            The TMF experiment model element
      */
     public CopyExperimentDialog(Shell shell, TmfExperimentElement experiment) {
         super(shell);
@@ -87,10 +91,6 @@ public class CopyExperimentDialog extends SelectionStatusDialog {
     // Dialog
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected Control createDialogArea(Composite parent) {
         Composite composite = (Composite) super.createDialogArea(parent);
@@ -137,25 +137,25 @@ public class CopyExperimentDialog extends SelectionStatusDialog {
         fNewExperimentName.addListener(SWT.Modify, new Listener() {
             @Override
             public void handleEvent(Event event) {
-               validateNewExperimentName();
+                validateNewExperimentName();
             }
         });
     }
 
     private void validateNewExperimentName() {
 
-       String name = fNewExperimentName.getText();
+        String name = fNewExperimentName.getText();
         IWorkspace workspace = fExperimentFolder.getWorkspace();
         IStatus nameStatus = workspace.validateName(name, IResource.FOLDER);
 
         if ("".equals(name)) { //$NON-NLS-1$
-               updateStatus(new Status(IStatus.ERROR, Activator.PLUGIN_ID, IStatus.ERROR, Messages.Dialog_EmptyNameError, null));
-               return;
+            updateStatus(new Status(IStatus.ERROR, Activator.PLUGIN_ID, IStatus.ERROR, Messages.Dialog_EmptyNameError, null));
+            return;
         }
 
         if (!nameStatus.isOK()) {
-               updateStatus(nameStatus);
-               return;
+            updateStatus(nameStatus);
+            return;
         }
 
         IPath path = new Path(name);
@@ -170,28 +170,17 @@ public class CopyExperimentDialog extends SelectionStatusDialog {
     // ------------------------------------------------------------------------
     // SelectionStatusDialog
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.dialogs.SelectionStatusDialog#computeResult()
-     */
+
     @Override
     protected void computeResult() {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.dialogs.SelectionStatusDialog#create()
-     */
     @Override
     public void create() {
         super.create();
         getButton(IDialogConstants.OK_ID).setEnabled(false);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.dialogs.SelectionStatusDialog#okPressed()
-     */
     @Override
     protected void okPressed() {
         IFolder folder = copyExperiment(fNewExperimentName.getText());
@@ -208,7 +197,7 @@ public class CopyExperimentDialog extends SelectionStatusDialog {
 
     private IFolder copyExperiment(final String newName) {
 
-       WorkspaceModifyOperation operation = new WorkspaceModifyOperation() {
+        WorkspaceModifyOperation operation = new WorkspaceModifyOperation() {
             @Override
             public void execute(IProgressMonitor monitor) throws CoreException {
                 try {
index ceca8af67c1dc1b363579b68335ad0e9f3860300..397d122351a90392de846732b9d35a23ed0990d5 100644 (file)
@@ -85,10 +85,7 @@ public class CopyTraceDialog extends SelectionStatusDialog {
     // ------------------------------------------------------------------------
     // Dialog
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
-     */
+
     @Override
     protected Control createDialogArea(Composite parent) {
         Composite composite = (Composite) super.createDialogArea(parent);
@@ -171,28 +168,16 @@ public class CopyTraceDialog extends SelectionStatusDialog {
     // SelectionStatusDialog
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.dialogs.SelectionStatusDialog#computeResult()
-     */
     @Override
     protected void computeResult() {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.dialogs.SelectionStatusDialog#create()
-     */
     @Override
     public void create() {
         super.create();
         getButton(IDialogConstants.OK_ID).setEnabled(false);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.dialogs.SelectionStatusDialog#okPressed()
-     */
     @Override
     protected void okPressed() {
         IResource trace = copyTrace(fNewTraceName.getText());
index 2adba543e2babf4d8ace6799dbd16fb49b1ee402..9775569985889c6134735aa08eaaaca7ffbdefbc 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2010, 2012 Ericsson
+ * Copyright (c) 2010, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -67,10 +67,6 @@ public class ImportTraceWizard extends Wizard implements IImportWizard {
     // Wizard
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.IWorkbenchWizard#init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)
-     */
     @Override
     public void init(IWorkbench workbench, IStructuredSelection selection) {
         fWorkbench = workbench;
@@ -86,10 +82,6 @@ public class ImportTraceWizard extends Wizard implements IImportWizard {
         setNeedsProgressMonitor(true);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.wizard.Wizard#addPages()
-     */
     @Override
     public void addPages() {
         super.addPages();
@@ -97,10 +89,6 @@ public class ImportTraceWizard extends Wizard implements IImportWizard {
         addPage(fTraceImportWizardPage);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.wizard.Wizard#performFinish()
-     */
     @Override
     public boolean performFinish() {
         return fTraceImportWizardPage.finish();
index 91b720a42c596a537a538d2d85247d7fa7b843e0..dd2a96317ec00e75a62ce79de0bf1549ef1506a7 100644 (file)
@@ -186,13 +186,7 @@ public class ImportTraceWizardPage extends WizardResourceImportPage {
     // ------------------------------------------------------------------------
     // WizardResourceImportPage
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     *
-     * @see
-     * org.eclipse.ui.dialogs.WizardResourceImportPage#createControl(org.eclipse
-     * .swt.widgets.Composite)
-     */
+
     @Override
     public void createControl(Composite parent) {
         super.createControl(parent);
@@ -203,13 +197,6 @@ public class ImportTraceWizardPage extends WizardResourceImportPage {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see
-     * org.eclipse.ui.dialogs.WizardResourceImportPage#createSourceGroup(org
-     * .eclipse.swt.widgets.Composite)
-     */
     @Override
     protected void createSourceGroup(Composite parent) {
         createDirectorySelectionGroup(parent);
@@ -218,13 +205,6 @@ public class ImportTraceWizardPage extends WizardResourceImportPage {
         validateSourceGroup();
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see
-     * org.eclipse.ui.dialogs.WizardResourceImportPage#createFileSelectionGroup
-     * (org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected void createFileSelectionGroup(Composite parent) {
 
@@ -268,21 +248,11 @@ public class ImportTraceWizardPage extends WizardResourceImportPage {
         });
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.ui.dialogs.WizardResourceImportPage#getFolderProvider()
-     */
     @Override
     protected ITreeContentProvider getFolderProvider() {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.ui.dialogs.WizardResourceImportPage#getFileProvider()
-     */
     @Override
     protected ITreeContentProvider getFileProvider() {
         return new WorkbenchContentProvider() {
@@ -328,12 +298,6 @@ public class ImportTraceWizardPage extends WizardResourceImportPage {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see
-     * org.eclipse.ui.dialogs.WizardResourceImportPage#getSelectedResources()
-     */
     @Override
     protected List<FileSystemElement> getSelectedResources() {
         List<FileSystemElement> resources = new ArrayList<FileSystemElement>();
@@ -439,13 +403,6 @@ public class ImportTraceWizardPage extends WizardResourceImportPage {
     // Browse for the source directory
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see
-     * org.eclipse.ui.dialogs.WizardResourceImportPage#handleEvent(org.eclipse
-     * .swt.widgets.Event)
-     */
     @Override
     public void handleEvent(Event event) {
         if (event.widget == directoryBrowseButton) {
@@ -684,13 +641,6 @@ public class ImportTraceWizardPage extends WizardResourceImportPage {
     private Button overwriteExistingResourcesCheckbox;
     private Button createLinksInWorkspaceButton;
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see
-     * org.eclipse.ui.dialogs.WizardDataTransferPage#createOptionsGroupButtons
-     * (org.eclipse.swt.widgets.Group)
-     */
     @Override
     protected void createOptionsGroupButtons(Group optionsGroup) {
 
@@ -720,11 +670,6 @@ public class ImportTraceWizardPage extends WizardResourceImportPage {
     // Determine if the finish button can be enabled
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.ui.dialogs.WizardDataTransferPage#validateSourceGroup()
-     */
     @Override
     public boolean validateSourceGroup() {
 
index 95f9bd27a128ce7d9de1f6dfd393b55b2e290225..bea988e72d4bae8a1b9178ac875e58b6757b9a28 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2011, 2012 Ericsson
+ * Copyright (c) 2011, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
index cfe366b894b9d99f916dff3b0d65c9e71e758220..ee4435883236f9501fd66b63a1d242a77839f318 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson
+ * Copyright (c) 2009, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -50,9 +50,9 @@ import org.eclipse.ui.dialogs.SelectionStatusDialog;
 /**
  * Implementation of new experiment dialog that creates the experiment element.
  * <p>
+ *
  * @version 1.0
  * @author Francois Chouinard
-
  */
 public class NewExperimentDialog extends SelectionStatusDialog {
 
@@ -69,8 +69,11 @@ public class NewExperimentDialog extends SelectionStatusDialog {
     // ------------------------------------------------------------------------
     /**
      * Constructor
-     * @param shell The parent shell
-     * @param experimentFolder The parent experiment folder element
+     *
+     * @param shell
+     *            The parent shell
+     * @param experimentFolder
+     *            The parent experiment folder element
      */
     public NewExperimentDialog(Shell shell, TmfExperimentFolder experimentFolder) {
         super(shell);
@@ -83,10 +86,7 @@ public class NewExperimentDialog extends SelectionStatusDialog {
     // ------------------------------------------------------------------------
     // Dialog
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
-     */
+
     @Override
     protected Control createDialogArea(Composite parent) {
         Composite composite = (Composite) super.createDialogArea(parent);
@@ -119,25 +119,25 @@ public class NewExperimentDialog extends SelectionStatusDialog {
         fExperimentName.addListener(SWT.Modify, new Listener() {
             @Override
             public void handleEvent(Event event) {
-               validateNewExperimentName();
+                validateNewExperimentName();
             }
         });
     }
 
     private void validateNewExperimentName() {
 
-       String name = fExperimentName.getText();
+        String name = fExperimentName.getText();
         IWorkspace workspace = fExperimentFolder.getWorkspace();
         IStatus nameStatus = workspace.validateName(name, IResource.FOLDER);
 
         if ("".equals(name)) { //$NON-NLS-1$
-               updateStatus(new Status(IStatus.ERROR, Activator.PLUGIN_ID, IStatus.ERROR, Messages.Dialog_EmptyNameError, null));
-               return;
+            updateStatus(new Status(IStatus.ERROR, Activator.PLUGIN_ID, IStatus.ERROR, Messages.Dialog_EmptyNameError, null));
+            return;
         }
 
         if (!nameStatus.isOK()) {
-               updateStatus(nameStatus);
-               return;
+            updateStatus(nameStatus);
+            return;
         }
 
         IPath path = new Path(name);
@@ -152,28 +152,17 @@ public class NewExperimentDialog extends SelectionStatusDialog {
     // ------------------------------------------------------------------------
     // SelectionStatusDialog
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.dialogs.SelectionStatusDialog#computeResult()
-     */
+
     @Override
     protected void computeResult() {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.dialogs.SelectionStatusDialog#create()
-     */
     @Override
     public void create() {
         super.create();
         getButton(IDialogConstants.OK_ID).setEnabled(false);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.dialogs.SelectionStatusDialog#okPressed()
-     */
     @Override
     protected void okPressed() {
         IFolder folder = createNewExperiment(fExperimentName.getText());
@@ -190,7 +179,7 @@ public class NewExperimentDialog extends SelectionStatusDialog {
 
     private IFolder createNewExperiment(String experimentName) {
 
-       final IFolder experimentFolder = createExperiment(experimentName);
+        final IFolder experimentFolder = createExperiment(experimentName);
 
         WorkspaceModifyOperation operation = new WorkspaceModifyOperation() {
             @Override
index cc3ee8a50512458f93961b618b800728769cd274..86b7fe57eb3a84706ec2249913c15e766e82193e 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson
+ * Copyright (c) 2009, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -118,11 +118,6 @@ public class NewTmfProjectWizard extends Wizard implements INewWizard, IExecutab
     // Wizard
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.jface.wizard.Wizard#addPages()
-     */
     @Override
     public void addPages() {
         fMainPage = new NewTmfProjectMainWizardPage(Messages.NewProjectWizard_DialogHeader);
@@ -131,21 +126,11 @@ public class NewTmfProjectWizard extends Wizard implements INewWizard, IExecutab
         addPage(fMainPage);
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.jface.wizard.Wizard#performCancel()
-     */
     @Override
     public boolean performCancel() {
         return true;
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.jface.wizard.Wizard#performFinish()
-     */
     @Override
     public boolean performFinish() {
         fProjectName = fMainPage.getProjectName();
@@ -206,9 +191,6 @@ public class NewTmfProjectWizard extends Wizard implements INewWizard, IExecutab
     // INewWizard
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.ui.IWorkbenchWizard#init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)
-     */
     @Override
     public void init(IWorkbench iworkbench, IStructuredSelection istructuredselection) {
     }
@@ -217,10 +199,6 @@ public class NewTmfProjectWizard extends Wizard implements INewWizard, IExecutab
     // IExecutableExtension
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.core.runtime.IExecutableExtension#setInitializationData(org.eclipse.core.runtime.IConfigurationElement, java.lang.String, java.lang.Object)
-     */
     @Override
     public void setInitializationData(IConfigurationElement config, String propertyName, Object data) throws CoreException {
         fConfigElement = config;
index db3dc63be7f1b3d2e6176cd0ad02b441e976e607..2a63546a530549dd25bf9386bf99f021b5db6c91 100644 (file)
@@ -55,6 +55,7 @@ import org.eclipse.ui.part.FileEditorInput;
 /**
  * Implementation of a dialog box to rename an experiment.
  * <p>
+ *
  * @version 1.0
  * @author Francois Chouinard
  */
@@ -64,8 +65,8 @@ public class RenameExperimentDialog extends SelectionStatusDialog {
     // Members
     // ------------------------------------------------------------------------
 
-       private final TmfExperimentElement fExperiment;
-       private Text fNewExperimentName;
+    private final TmfExperimentElement fExperiment;
+    private Text fNewExperimentName;
     private final IContainer fExperimentFolder;
     private final TmfProjectElement fProject;
 
@@ -75,8 +76,11 @@ public class RenameExperimentDialog extends SelectionStatusDialog {
 
     /**
      * Constructor
-     * @param shell The parent shell
-     * @param experiment The experiment element rename
+     *
+     * @param shell
+     *            The parent shell
+     * @param experiment
+     *            The experiment element rename
      */
     public RenameExperimentDialog(Shell shell, TmfExperimentElement experiment) {
         super(shell);
@@ -91,10 +95,7 @@ public class RenameExperimentDialog extends SelectionStatusDialog {
     // ------------------------------------------------------------------------
     // Dialog
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
-     */
+
     @Override
     protected Control createDialogArea(Composite parent) {
         Composite composite = (Composite) super.createDialogArea(parent);
@@ -141,25 +142,25 @@ public class RenameExperimentDialog extends SelectionStatusDialog {
         fNewExperimentName.addListener(SWT.Modify, new Listener() {
             @Override
             public void handleEvent(Event event) {
-               validateNewExperimentName();
+                validateNewExperimentName();
             }
         });
     }
 
     private void validateNewExperimentName() {
 
-       String name = fNewExperimentName.getText();
+        String name = fNewExperimentName.getText();
         IWorkspace workspace = fExperimentFolder.getWorkspace();
         IStatus nameStatus = workspace.validateName(name, IResource.FOLDER);
 
         if ("".equals(name)) { //$NON-NLS-1$
-               updateStatus(new Status(IStatus.ERROR, Activator.PLUGIN_ID, IStatus.ERROR, Messages.Dialog_EmptyNameError, null));
-               return;
+            updateStatus(new Status(IStatus.ERROR, Activator.PLUGIN_ID, IStatus.ERROR, Messages.Dialog_EmptyNameError, null));
+            return;
         }
 
         if (!nameStatus.isOK()) {
-               updateStatus(nameStatus);
-               return;
+            updateStatus(nameStatus);
+            return;
         }
 
         IPath path = new Path(name);
@@ -174,28 +175,17 @@ public class RenameExperimentDialog extends SelectionStatusDialog {
     // ------------------------------------------------------------------------
     // SelectionStatusDialog
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.dialogs.SelectionStatusDialog#computeResult()
-     */
+
     @Override
     protected void computeResult() {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.dialogs.SelectionStatusDialog#create()
-     */
     @Override
     public void create() {
         super.create();
         getButton(IDialogConstants.OK_ID).setEnabled(false);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.dialogs.SelectionStatusDialog#okPressed()
-     */
     @Override
     protected void okPressed() {
         IFolder folder = renameExperiment(fNewExperimentName.getText());
@@ -212,10 +202,10 @@ public class RenameExperimentDialog extends SelectionStatusDialog {
 
     private IFolder renameExperiment(final String newName) {
 
-       IPath oldPath = fExperiment.getResource().getFullPath();
-       final IPath newPath = oldPath.append("../" + newName); //$NON-NLS-1$
+        IPath oldPath = fExperiment.getResource().getFullPath();
+        final IPath newPath = oldPath.append("../" + newName); //$NON-NLS-1$
 
-       WorkspaceModifyOperation operation = new WorkspaceModifyOperation() {
+        WorkspaceModifyOperation operation = new WorkspaceModifyOperation() {
             @Override
             public void execute(IProgressMonitor monitor) throws CoreException {
                 try {
@@ -248,7 +238,7 @@ public class RenameExperimentDialog extends SelectionStatusDialog {
                     }
 
                     fExperiment.renameSupplementaryFolder(newName);
-                       fExperiment.getResource().move(newPath, IResource.FORCE | IResource.SHALLOW, null);
+                    fExperiment.getResource().move(newPath, IResource.FORCE | IResource.SHALLOW, null);
                     if (monitor.isCanceled()) {
                         throw new OperationCanceledException();
                     }
index 269f05035d06f1ac2647f60176a21520c8ef5f2d..f1672270370c58167cfe37535994d0446f9eb10c 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2011, 2012 Ericsson
+ * Copyright (c) 2011, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -94,10 +94,7 @@ public class RenameTraceDialog extends SelectionStatusDialog {
     // ------------------------------------------------------------------------
     // Dialog
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
-     */
+
     @Override
     protected Control createDialogArea(Composite parent) {
         Composite composite = (Composite) super.createDialogArea(parent);
@@ -187,26 +184,17 @@ public class RenameTraceDialog extends SelectionStatusDialog {
     // ------------------------------------------------------------------------
     // SelectionStatusDialog
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.dialogs.SelectionStatusDialog#computeResult()
-     */
+
     @Override
     protected void computeResult() {
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.dialogs.SelectionStatusDialog#create()
-     */
+
     @Override
     public void create() {
         super.create();
         getButton(IDialogConstants.OK_ID).setEnabled(false);
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.dialogs.SelectionStatusDialog#okPressed()
-     */
+
     @Override
     protected void okPressed() {
         IResource trace = renameTrace(fNewTraceNameText.getText());
index 2ab656bf7a2a689feaeadb12488a9dc8f0aa2956..2efd739fde5e52c34b0e35c5efc254b8e0a56e48 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson
+ * Copyright (c) 2009, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -38,6 +38,7 @@ public class SelectTracesWizard extends Wizard implements IImportWizard {
     // ------------------------------------------------------------------------
     // Constructor
     // ------------------------------------------------------------------------
+
     /**
      * Constructor
      * @param project The project model element
@@ -52,19 +53,11 @@ public class SelectTracesWizard extends Wizard implements IImportWizard {
     // Wizard
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.IWorkbenchWizard#init(org.eclipse.ui.IWorkbench, org.eclipse.jface.viewers.IStructuredSelection)
-     */
     @Override
     public void init(IWorkbench workbench, IStructuredSelection selection) {
         setWindowTitle(Messages.SelectTracesWizard_WindowTitle);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.wizard.Wizard#addPages()
-     */
     @Override
     public void addPages() {
         super.addPages();
@@ -72,10 +65,6 @@ public class SelectTracesWizard extends Wizard implements IImportWizard {
         addPage(fSelectTraceWizardPage);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.wizard.Wizard#performFinish()
-     */
     @Override
     public boolean performFinish() {
         return fSelectTraceWizardPage.performFinish();
index 8e4fb43a1db9884ed4e52c79c626267387202b6a..7b5efdf9f0c562f99016c92f77509a4e4718a931 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2012, 2013 Ericsson, Ã‰cole Polytechnique de Montréal
+ * Copyright (c) 2009, 2013 Ericsson, Ã‰cole Polytechnique de Montréal
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -75,10 +75,7 @@ public class SelectTracesWizardPage extends WizardPage {
     // ------------------------------------------------------------------------
     // Dialog
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.IDialogPage#createControl(org.eclipse.swt.widgets.Composite)
-     */
+
     @Override
     public void createControl(Composite parent) {
         Composite container = new Composite(parent, SWT.NULL);
index f291ff139baf66b53a31bc6dd921f86c875429bc..b13da9f960c356e66b279749e459de5becefeaa8 100644 (file)
@@ -137,9 +137,6 @@ public class TmfTimestampFormatPage extends PreferencePage implements IWorkbench
     // IWorkbenchPreferencePage
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
-     */
     @Override
     public void init(IWorkbench workbench) {
     }
@@ -148,9 +145,6 @@ public class TmfTimestampFormatPage extends PreferencePage implements IWorkbench
     // PreferencePage
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.preference.PreferencePage#createContents(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected Control createContents(Composite parent) {
 
@@ -218,10 +212,6 @@ public class TmfTimestampFormatPage extends PreferencePage implements IWorkbench
         return fPage;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.preference.PreferencePage#performDefaults()
-     */
     @Override
     protected void performDefaults() {
         fDateTimeFields.loadDefault();
@@ -235,10 +225,6 @@ public class TmfTimestampFormatPage extends PreferencePage implements IWorkbench
         displayExample();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.preference.PreferencePage#performApply()
-     */
     @Override
     protected void performApply() {
         fDateTimeFields.store();
@@ -251,9 +237,6 @@ public class TmfTimestampFormatPage extends PreferencePage implements IWorkbench
         displayExample();
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.preference.PreferencePage#performOk()
-     */
     @Override
     public boolean performOk() {
         performApply();
@@ -264,16 +247,10 @@ public class TmfTimestampFormatPage extends PreferencePage implements IWorkbench
     // SelectionListener
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
-     */
     @Override
     public void widgetSelected(SelectionEvent e) {
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
-     */
     @Override
     public void widgetDefaultSelected(SelectionEvent e) {
     }
@@ -282,9 +259,6 @@ public class TmfTimestampFormatPage extends PreferencePage implements IWorkbench
     // IPropertyChangeListener
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.util.IPropertyChangeListener#propertyChange(org.eclipse.jface.util.PropertyChangeEvent)
-     */
     @Override
     public void propertyChange(PropertyChangeEvent event) {
         Object source = event.getSource();
index d722c3f6202d5d771c909a7679d3a5f6f1a4b29d..a427771eb7050e9dbe82da70c840c76c8039bca2 100644 (file)
@@ -1896,9 +1896,6 @@ public class TmfEventsTable extends TmfComponent implements IGotoMarker, IColorS
     // ISelectionProvider
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ISelectionProvider#addSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener)
-     */
     /**
      * @since 2.0
      */
@@ -1907,9 +1904,6 @@ public class TmfEventsTable extends TmfComponent implements IGotoMarker, IColorS
         selectionChangedListeners.add(listener);
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ISelectionProvider#getSelection()
-     */
     /**
      * @since 2.0
      */
@@ -1927,9 +1921,6 @@ public class TmfEventsTable extends TmfComponent implements IGotoMarker, IColorS
         return new StructuredSelection(list);
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ISelectionProvider#removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener)
-     */
     /**
      * @since 2.0
      */
@@ -1938,9 +1929,6 @@ public class TmfEventsTable extends TmfComponent implements IGotoMarker, IColorS
         selectionChangedListeners.remove(listener);
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ISelectionProvider#setSelection(org.eclipse.jface.viewers.ISelection)
-     */
     /**
      * @since 2.0
      */
@@ -2104,11 +2092,6 @@ public class TmfEventsTable extends TmfComponent implements IGotoMarker, IColorS
     // Listeners
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.linuxtools.tmf.ui.views.colors.IColorSettingsListener#colorSettingsChanged(org.eclipse.linuxtools.tmf.ui.views.colors.ColorSetting[])
-     */
     @Override
     public void colorSettingsChanged(final ColorSetting[] colorSettings) {
         fTable.refresh();
index 2736b8527a784aa3156a7aa4563d8db320afb367..a9c23b4226015664a2cfbec9a76b14fce2620840 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
index b8a9264bc1844a5e9da133cf76fd50f22c15a180..12ad69f67689f68c65265c819cc96897d6b5a385 100644 (file)
@@ -204,11 +204,6 @@ public class TmfStatisticsViewer extends TmfViewer {
         initInput();
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.linuxtools.tmf.core.component.TmfComponent#dispose()
-     */
     @Override
     public void dispose() {
         super.dispose();
index 2a50be45549f554f3cab976e8c0542471bae40f2..7cabd61e23a824b9fa94921ba5c1fcf14ccc69e1 100755 (executable)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2011, 2012 Ericsson
+ * Copyright (c) 2011, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
index c6cea9556148c90477b41d6c04b1d01869859dbb..69d4b462994b85ec79556280e0ef186d4f11c091 100755 (executable)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2011, 2012 Ericsson
+ * Copyright (c) 2011, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -109,64 +109,36 @@ public class TmfBaseColumnData implements ITmfStatisticsColumnData {
         fPercentageProvider = p;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.viewers.statistics.model.ITmfStatisticsColumnData#getHeader()
-     */
     @Override
     public String getHeader() {
         return fHeader;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.viewers.statistics.model.ITmfStatisticsColumnData#getWidth()
-     */
     @Override
     public int getWidth() {
         return fWidth;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.viewers.statistics.model.ITmfStatisticsColumnData#getAlignment()
-     */
     @Override
     public int getAlignment() {
         return fAlignment;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.viewers.statistics.model.ITmfStatisticsColumnData#getTooltip()
-     */
     @Override
     public String getTooltip() {
         return fTooltip;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.viewers.statistics.model.ITmfStatisticsColumnData#getLabelProvider()
-     */
     @Override
     public ColumnLabelProvider getLabelProvider() {
         return fLabelProvider;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.viewers.statistics.model.ITmfStatisticsColumnData#getComparator()
-     */
     @Override
     public ViewerComparator getComparator() {
         return fComparator;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.viewers.statistics.model.ITmfStatisticsColumnData#getPercentageProvider()
-     */
     @Override
     public ITmfColumnPercentageProvider getPercentageProvider() {
         return fPercentageProvider;
index d6bc3cf32ad07dde367a124025401544d0861563..645f33fd617a61a9f30d85d3170ecb6ebd8f7405 100755 (executable)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2011, 2012 Ericsson
+ * Copyright (c) 2011, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -25,60 +25,30 @@ import org.eclipse.jface.viewers.Viewer;
  */
 public class TmfTreeContentProvider implements ITreeContentProvider {
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.jface.viewers.ITreeContentProvider#getChildren(java.lang.Object)
-     */
     @Override
     public Object[] getChildren(Object parentElement) {
         return ((TmfStatisticsTreeNode) parentElement).getChildren().toArray();
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.jface.viewers.ITreeContentProvider#getParent(java.lang.Object)
-     */
     @Override
     public Object getParent(Object element) {
         return ((TmfStatisticsTreeNode) element).getParent();
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.jface.viewers.ITreeContentProvider#hasChildren(java.lang.Object)
-     */
     @Override
     public boolean hasChildren(Object element) {
         return ((TmfStatisticsTreeNode) element).hasChildren();
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.jface.viewers.IStructuredContentProvider#getElements(java.lang.Object)
-     */
     @Override
     public Object[] getElements(Object inputElement) {
         return getChildren(inputElement);
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.jface.viewers.IContentProvider#dispose()
-     */
     @Override
     public void dispose() {
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
-     */
     @Override
     public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
     }
index 45ca2dc1066c7fcca58f0eb67168c7e9db565328..0005dc3c09c16427d8d04b477c1b45cbe0f3cdc5 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson
+ * Copyright (c) 2009, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
index 44d0d04a5b445221999e999752a6bb8176738fd3..32382d0a2b3a2287894b9d9480a8e4222645bd06 100644 (file)
@@ -1,11 +1,11 @@
 /*******************************************************************************
- * Copyright (c) 2010, 2012 Ericsson
- * 
+ * Copyright (c) 2010, 2013 Ericsson
+ *
  * 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:
  *   Patrick Tasse - Initial API and implementation
  *   Bernd Hufmann - Updated to use RGB for the tick color
@@ -43,7 +43,7 @@ import org.xml.sax.helpers.DefaultHandler;
 
 /**
  * Class for saving and loading of color settings to/from file.
- * 
+ *
  * @version 1.0
  * @author Patrick Tasse
  *
@@ -51,174 +51,171 @@ import org.xml.sax.helpers.DefaultHandler;
 public class ColorSettingsXML {
 
     // XML Tags and attributes
-       private static final String COLOR_SETTINGS_TAG = "COLOR_SETTINGS"; //$NON-NLS-1$
-       private static final String COLOR_SETTING_TAG = "COLOR_SETTING"; //$NON-NLS-1$
-       private static final String FG_TAG = "FG"; //$NON-NLS-1$
-       private static final String BG_TAG = "BG"; //$NON-NLS-1$
-       private static final String R_ATTR = "R"; //$NON-NLS-1$
-       private static final String G_ATTR = "G"; //$NON-NLS-1$
-       private static final String B_ATTR = "B"; //$NON-NLS-1$
-       private static final String TICK_TAG = "TICK"; //$NON-NLS-1$
-       private static final String FILTER_TAG = "FILTER"; //$NON-NLS-1$
-
-       /**
-        * Saves the given color settings to file.
-        * 
-        * @param pathName A file name with path 
-        * @param colorSettings -An array of color settings to save.
-        */
-       public static void save(String pathName, ColorSetting[] colorSettings) {
-               try {
-                       DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
-                       DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
-                       Document document = documentBuilder.newDocument();
-                       
-                       Element rootElement = document.createElement(COLOR_SETTINGS_TAG);
-                       document.appendChild(rootElement);
-       
-                       for (ColorSetting colorSetting : colorSettings) {
-                               Element colorSettingElement = document.createElement(COLOR_SETTING_TAG);
-                               rootElement.appendChild(colorSettingElement);
-                               
-                               Element fgElement = document.createElement(FG_TAG);
-                               colorSettingElement.appendChild(fgElement);
-                               RGB foreground = colorSetting.getForegroundRGB();
-                               fgElement.setAttribute(R_ATTR, Integer.toString(foreground.red));
-                               fgElement.setAttribute(G_ATTR, Integer.toString(foreground.green));
-                               fgElement.setAttribute(B_ATTR, Integer.toString(foreground.blue));
-                               
-                               Element bgElement = document.createElement(BG_TAG);
-                               colorSettingElement.appendChild(bgElement);
-                               RGB background = colorSetting.getBackgroundRGB();
-                               bgElement.setAttribute(R_ATTR, Integer.toString(background.red));
-                               bgElement.setAttribute(G_ATTR, Integer.toString(background.green));
-                               bgElement.setAttribute(B_ATTR, Integer.toString(background.blue));
-                               
-                               Element tickColorElement = document.createElement(TICK_TAG);
-                               colorSettingElement.appendChild(tickColorElement);
+    private static final String COLOR_SETTINGS_TAG = "COLOR_SETTINGS"; //$NON-NLS-1$
+    private static final String COLOR_SETTING_TAG = "COLOR_SETTING"; //$NON-NLS-1$
+    private static final String FG_TAG = "FG"; //$NON-NLS-1$
+    private static final String BG_TAG = "BG"; //$NON-NLS-1$
+    private static final String R_ATTR = "R"; //$NON-NLS-1$
+    private static final String G_ATTR = "G"; //$NON-NLS-1$
+    private static final String B_ATTR = "B"; //$NON-NLS-1$
+    private static final String TICK_TAG = "TICK"; //$NON-NLS-1$
+    private static final String FILTER_TAG = "FILTER"; //$NON-NLS-1$
+
+    /**
+     * Saves the given color settings to file.
+     *
+     * @param pathName
+     *            A file name with path
+     * @param colorSettings
+     *            -An array of color settings to save.
+     */
+    public static void save(String pathName, ColorSetting[] colorSettings) {
+        try {
+            DocumentBuilderFactory documentBuilderFactory = DocumentBuilderFactory.newInstance();
+            DocumentBuilder documentBuilder = documentBuilderFactory.newDocumentBuilder();
+            Document document = documentBuilder.newDocument();
+
+            Element rootElement = document.createElement(COLOR_SETTINGS_TAG);
+            document.appendChild(rootElement);
+
+            for (ColorSetting colorSetting : colorSettings) {
+                Element colorSettingElement = document.createElement(COLOR_SETTING_TAG);
+                rootElement.appendChild(colorSettingElement);
+
+                Element fgElement = document.createElement(FG_TAG);
+                colorSettingElement.appendChild(fgElement);
+                RGB foreground = colorSetting.getForegroundRGB();
+                fgElement.setAttribute(R_ATTR, Integer.toString(foreground.red));
+                fgElement.setAttribute(G_ATTR, Integer.toString(foreground.green));
+                fgElement.setAttribute(B_ATTR, Integer.toString(foreground.blue));
+
+                Element bgElement = document.createElement(BG_TAG);
+                colorSettingElement.appendChild(bgElement);
+                RGB background = colorSetting.getBackgroundRGB();
+                bgElement.setAttribute(R_ATTR, Integer.toString(background.red));
+                bgElement.setAttribute(G_ATTR, Integer.toString(background.green));
+                bgElement.setAttribute(B_ATTR, Integer.toString(background.blue));
+
+                Element tickColorElement = document.createElement(TICK_TAG);
+                colorSettingElement.appendChild(tickColorElement);
                 RGB tickColor = colorSetting.getTickColorRGB();
                 tickColorElement.setAttribute(R_ATTR, Integer.toString(tickColor.red));
                 tickColorElement.setAttribute(G_ATTR, Integer.toString(tickColor.green));
                 tickColorElement.setAttribute(B_ATTR, Integer.toString(tickColor.blue));
 
-                               if (colorSetting.getFilter() != null) {
-                                       Element filterElement = document.createElement(FILTER_TAG);
-                                       colorSettingElement.appendChild(filterElement);
-                                       TmfFilterXMLWriter.buildXMLTree(document, colorSetting.getFilter(), filterElement);
-                               }
-                       }
-       
-                       TransformerFactory transformerFactory = TransformerFactory.newInstance();
-               
-                       Transformer transformer = transformerFactory.newTransformer();
-               DOMSource source = new DOMSource(document);
-               StreamResult result =  new StreamResult(new File(pathName));
-                       transformer.transform(source, result);
-               } catch (ParserConfigurationException e) {
-                   Activator.getDefault().logError("Error saving color xml file: " + pathName, e); //$NON-NLS-1$
-               } catch (TransformerConfigurationException e) {
-                   Activator.getDefault().logError("Error saving color xml file: " + pathName, e); //$NON-NLS-1$
-               } catch (TransformerException e) {
-                   Activator.getDefault().logError("Error saving color xml file: " + pathName, e); //$NON-NLS-1$
-               }
-       }
-       
-       /**
-        * Loads color settings from file and returns it in an array.
-        * 
-        * @param pathName A file name with path
-        * 
-        * @return the color settings array loaded from file
-        */
-       public static ColorSetting[] load(String pathName) {
-               if (! new File(pathName).canRead()) {
-                       return new ColorSetting[0];
-               }
-               SAXParserFactory parserFactory = SAXParserFactory.newInstance(); 
-        parserFactory.setNamespaceAware(true); 
+                if (colorSetting.getFilter() != null) {
+                    Element filterElement = document.createElement(FILTER_TAG);
+                    colorSettingElement.appendChild(filterElement);
+                    TmfFilterXMLWriter.buildXMLTree(document, colorSetting.getFilter(), filterElement);
+                }
+            }
+
+            TransformerFactory transformerFactory = TransformerFactory.newInstance();
+
+            Transformer transformer = transformerFactory.newTransformer();
+            DOMSource source = new DOMSource(document);
+            StreamResult result = new StreamResult(new File(pathName));
+            transformer.transform(source, result);
+        } catch (ParserConfigurationException e) {
+            Activator.getDefault().logError("Error saving color xml file: " + pathName, e); //$NON-NLS-1$
+        } catch (TransformerConfigurationException e) {
+            Activator.getDefault().logError("Error saving color xml file: " + pathName, e); //$NON-NLS-1$
+        } catch (TransformerException e) {
+            Activator.getDefault().logError("Error saving color xml file: " + pathName, e); //$NON-NLS-1$
+        }
+    }
+
+    /**
+     * Loads color settings from file and returns it in an array.
+     *
+     * @param pathName
+     *            A file name with path
+     *
+     * @return the color settings array loaded from file
+     */
+    public static ColorSetting[] load(String pathName) {
+        if (!new File(pathName).canRead()) {
+            return new ColorSetting[0];
+        }
+        SAXParserFactory parserFactory = SAXParserFactory.newInstance();
+        parserFactory.setNamespaceAware(true);
 
         ColorSettingsContentHandler handler = new ColorSettingsContentHandler();
-               try {
-                       XMLReader saxReader = parserFactory.newSAXParser().getXMLReader();
-               saxReader.setContentHandler(handler);
-               saxReader.parse(pathName);
-               return handler.colorSettings.toArray(new ColorSetting[0]);
-               } catch (ParserConfigurationException e) {
-                   Activator.getDefault().logError("Error loading color xml file: " + pathName, e); //$NON-NLS-1$
-               } catch (SAXException e) {
-                   Activator.getDefault().logError("Error loading color xml file: " + pathName, e); //$NON-NLS-1$
-               } catch (IOException e) {
-                   Activator.getDefault().logError("Error loading color xml file: " + pathName, e); //$NON-NLS-1$
-               }
-               // In case of error, dispose the partial list of color settings
-               for (ColorSetting colorSetting : handler.colorSettings) {
-                       colorSetting.dispose();
-               }
-               return new ColorSetting[0];
-       }
-       
-       // Helper class
-       private static class ColorSettingsContentHandler extends DefaultHandler {
-
-               private List<ColorSetting> colorSettings = new ArrayList<ColorSetting>(0);
-               private RGB fg = new RGB(0, 0, 0);
-               private RGB bg = new RGB(255, 255, 255);
-               private RGB tickColor = new RGB(0, 0, 0);
-               private ITmfFilterTreeNode filter;
-               private TmfFilterContentHandler filterContentHandler;
-               
-               /* (non-Javadoc)
-                * @see org.xml.sax.helpers.DefaultHandler#startElement(java.lang.String, java.lang.String, java.lang.String, org.xml.sax.Attributes)
-                */
-               @Override
-               public void startElement(String uri, String localName, String qName, Attributes attributes)
-                               throws SAXException {
-                       if (localName.equals(COLOR_SETTINGS_TAG)) {
-                               colorSettings = new ArrayList<ColorSetting>();
-                       } else if (localName.equals(COLOR_SETTING_TAG)) {
-                               fg = null;
-                               bg = null;
-                               filter = null;
-                       } else if (localName.equals(FG_TAG)) {
-                               int r = Integer.valueOf(attributes.getValue(R_ATTR));
-                               int g = Integer.valueOf(attributes.getValue(G_ATTR));
-                               int b = Integer.valueOf(attributes.getValue(B_ATTR));
-                               fg = new RGB(r, g, b);
-                       } else if (localName.equals(BG_TAG)) {
-                               int r = Integer.valueOf(attributes.getValue(R_ATTR));
-                               int g = Integer.valueOf(attributes.getValue(G_ATTR));
-                               int b = Integer.valueOf(attributes.getValue(B_ATTR));
-                               bg = new RGB(r, g, b);
+        try {
+            XMLReader saxReader = parserFactory.newSAXParser().getXMLReader();
+            saxReader.setContentHandler(handler);
+            saxReader.parse(pathName);
+            return handler.colorSettings.toArray(new ColorSetting[0]);
+        } catch (ParserConfigurationException e) {
+            Activator.getDefault().logError("Error loading color xml file: " + pathName, e); //$NON-NLS-1$
+        } catch (SAXException e) {
+            Activator.getDefault().logError("Error loading color xml file: " + pathName, e); //$NON-NLS-1$
+        } catch (IOException e) {
+            Activator.getDefault().logError("Error loading color xml file: " + pathName, e); //$NON-NLS-1$
+        }
+        // In case of error, dispose the partial list of color settings
+        for (ColorSetting colorSetting : handler.colorSettings) {
+            colorSetting.dispose();
+        }
+        return new ColorSetting[0];
+    }
+
+    // Helper class
+    private static class ColorSettingsContentHandler extends DefaultHandler {
+
+        private List<ColorSetting> colorSettings = new ArrayList<ColorSetting>(0);
+        private RGB fg = new RGB(0, 0, 0);
+        private RGB bg = new RGB(255, 255, 255);
+        private RGB tickColor = new RGB(0, 0, 0);
+        private ITmfFilterTreeNode filter;
+        private TmfFilterContentHandler filterContentHandler;
+
+        @Override
+        public void startElement(String uri, String localName, String qName, Attributes attributes)
+                throws SAXException {
+            if (localName.equals(COLOR_SETTINGS_TAG)) {
+                colorSettings = new ArrayList<ColorSetting>();
+            } else if (localName.equals(COLOR_SETTING_TAG)) {
+                fg = null;
+                bg = null;
+                filter = null;
+            } else if (localName.equals(FG_TAG)) {
+                int r = Integer.valueOf(attributes.getValue(R_ATTR));
+                int g = Integer.valueOf(attributes.getValue(G_ATTR));
+                int b = Integer.valueOf(attributes.getValue(B_ATTR));
+                fg = new RGB(r, g, b);
+            } else if (localName.equals(BG_TAG)) {
+                int r = Integer.valueOf(attributes.getValue(R_ATTR));
+                int g = Integer.valueOf(attributes.getValue(G_ATTR));
+                int b = Integer.valueOf(attributes.getValue(B_ATTR));
+                bg = new RGB(r, g, b);
             } else if (localName.equals(TICK_TAG)) {
                 int r = Integer.valueOf(attributes.getValue(R_ATTR));
                 int g = Integer.valueOf(attributes.getValue(G_ATTR));
                 int b = Integer.valueOf(attributes.getValue(B_ATTR));
                 tickColor = new RGB(r, g, b);
-                       } else if (localName.equals(FILTER_TAG)) {
-                               filterContentHandler = new TmfFilterContentHandler();
-                       } else if (filterContentHandler != null) {
-                               filterContentHandler.startElement(uri, localName, qName, attributes);
-                       }
-               }
-
-               /* (non-Javadoc)
-                * @see org.xml.sax.helpers.DefaultHandler#endElement(java.lang.String, java.lang.String, java.lang.String)
-                */
-               @Override
-               public void endElement(String uri, String localName, String qName)
-                               throws SAXException {
-                       if (localName.equals(COLOR_SETTINGS_TAG)) {
-                           // Nothing to do
-                       } else if (localName.equals(COLOR_SETTING_TAG)) {
-                               ColorSetting colorSetting = new ColorSetting(fg, bg, tickColor, filter);
-                               colorSettings.add(colorSetting);
-                       } else if (localName.equals(FILTER_TAG)) {
-                               filter = filterContentHandler.getTree();
-                               filterContentHandler = null;
-                       } else if (filterContentHandler != null) {
-                               filterContentHandler.endElement(uri, localName, qName);
-                       }
-               }
-
-       }
+            } else if (localName.equals(FILTER_TAG)) {
+                filterContentHandler = new TmfFilterContentHandler();
+            } else if (filterContentHandler != null) {
+                filterContentHandler.startElement(uri, localName, qName, attributes);
+            }
+        }
+
+        @Override
+        public void endElement(String uri, String localName, String qName)
+                throws SAXException {
+            if (localName.equals(COLOR_SETTINGS_TAG)) {
+                // Nothing to do
+            } else if (localName.equals(COLOR_SETTING_TAG)) {
+                ColorSetting colorSetting = new ColorSetting(fg, bg, tickColor, filter);
+                colorSettings.add(colorSetting);
+            } else if (localName.equals(FILTER_TAG)) {
+                filter = filterContentHandler.getTree();
+                filterContentHandler = null;
+            } else if (filterContentHandler != null) {
+                filterContentHandler.endElement(uri, localName, qName);
+            }
+        }
+
+    }
 }
index 6f52b3a00b0136a9dd5a5016c1c5ff45f104a79a..eabe4ffaa5848e20ba38d4dba96ae52ab589780c 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2010, 2012 Ericsson
+ * Copyright (c) 2010, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -142,9 +142,6 @@ public class ColorsView extends TmfView {
         super("Colors"); //$NON-NLS-1$
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.ui.part.WorkbenchPart#createPartControl(Composite)
-     */
     @Override
     public void createPartControl(Composite parent) {
         fShell = parent.getShell();
@@ -205,9 +202,6 @@ public class ColorsView extends TmfView {
         fillToolBar();
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.ui.part.WorkbenchPart#setFocus()
-     */
     @Override
     public void setFocus() {
         fScrolledComposite.setFocus();
index aa95186b982c7ff825972f6cd529008afa7e53e3..0c04c52ac76f95e0512babaeccf055e7df3b13bf 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -101,9 +101,6 @@ public class TmfEnvironmentView extends TmfView {
         }
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.ui.part.WorkbenchPart#setFocus()
-     */
     @Override
     public void setFocus() {
         fTree.setFocus();
index 3880dc6e00c86c35fee75f64737d21e9469b8247..d573c1760d03606aa491cf684eeb332c9a6b64fd 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2010, 2012 Ericsson
+ * Copyright (c) 2010, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -29,8 +29,8 @@ import org.eclipse.swt.widgets.Shell;
  */
 public class FilterDialog extends Dialog {
 
-       TmfFilterNode fRoot;
-       FilterViewer fViewer;
+    TmfFilterNode fRoot;
+    FilterViewer fViewer;
 
     /**
      * Constructor.
@@ -38,46 +38,44 @@ public class FilterDialog extends Dialog {
      * @param shell
      *            The shell to which this dialog is attached
      */
-       public FilterDialog(Shell shell) {
-               super(shell);
-               setShellStyle(getShellStyle() | SWT.RESIZE | SWT.MAX);
-       }
+    public FilterDialog(Shell shell) {
+        super(shell);
+        setShellStyle(getShellStyle() | SWT.RESIZE | SWT.MAX);
+    }
 
-       /* (non-Javadoc)
-        * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
-        */
-       @Override
-       protected Control createDialogArea(Composite parent) {
+    @Override
+    protected Control createDialogArea(Composite parent) {
         getShell().setText(Messages.FilterDialog_FilterDialogTitle);
-               getShell().setMinimumSize(getShell().computeSize(500, 200));
+        getShell().setMinimumSize(getShell().computeSize(500, 200));
         Composite composite = (Composite) super.createDialogArea(parent);
 
         fViewer = new FilterViewer(composite, SWT.BORDER);
         fViewer.setInput(fRoot);
         return composite;
-       }
+    }
 
-       /**
-        * @param filter the filter to set
-        */
-       public void setFilter(ITmfFilterTreeNode filter) {
-               fRoot = new TmfFilterNode(null);
-               if (filter != null) {
-                       fRoot.addChild(filter.clone());
-               }
-               if (fViewer != null) {
-                       fViewer.setInput(fRoot);
-               }
-       }
+    /**
+     * @param filter
+     *            the filter to set
+     */
+    public void setFilter(ITmfFilterTreeNode filter) {
+        fRoot = new TmfFilterNode(null);
+        if (filter != null) {
+            fRoot.addChild(filter.clone());
+        }
+        if (fViewer != null) {
+            fViewer.setInput(fRoot);
+        }
+    }
 
-       /**
-        * @return the filter
-        */
-       public ITmfFilterTreeNode getFilter() {
-               if (fRoot != null && fRoot.hasChildren()) {
-                       return fRoot.getChild(0).clone();
-               }
-               return null;
-       }
+    /**
+     * @return the filter
+     */
+    public ITmfFilterTreeNode getFilter() {
+        if (fRoot != null && fRoot.hasChildren()) {
+            return fRoot.getChild(0).clone();
+        }
+        return null;
+    }
 
 }
index 70f65d8e2bc88de6ae5673084814b0a9456a2cb8..df038d4aa87d3a67499f0d2521ca15e86587dca5 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2010, 2012 Ericsson
+ * Copyright (c) 2010, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -26,70 +26,46 @@ import org.eclipse.linuxtools.tmf.core.filter.model.ITmfFilterTreeNode;
  */
 public class FilterTreeContentProvider implements ITreeContentProvider {
 
-       /*
-        * (non-Javadoc)
-        * @see org.eclipse.jface.viewers.IContentProvider#dispose()
-        */
-       @Override
+    @Override
     public void dispose() {
-               // TODO Auto-generated method stub
-       }
+        // TODO Auto-generated method stub
+    }
 
-       /*
-        * (non-Javadoc)
-        * @see org.eclipse.jface.viewers.IContentProvider#inputChanged(org.eclipse.jface.viewers.Viewer, java.lang.Object, java.lang.Object)
-        */
-       @Override
+    @Override
     public void inputChanged(Viewer viewer, Object oldInput, Object newInput) {
-               // TODO Auto-generated method stub
-       }
+        // TODO Auto-generated method stub
+    }
 
-       /*
-        * (non-Javadoc)
-        * @see org.eclipse.jface.viewers.ITreeContentProvider#getElements(java.lang.Object)
-        */
-       @Override
+    @Override
     public Object[] getElements(Object inputElement) {
-               if (inputElement instanceof ITmfFilterTreeNode) {
-                       ArrayList<ITmfFilterTreeNode> result = new ArrayList<ITmfFilterTreeNode>();
-                       for(int i = 0; i < ((ITmfFilterTreeNode)inputElement).getChildrenCount(); i++) {
-                               result.add(((ITmfFilterTreeNode)inputElement).getChild(i));
-                       }
+        if (inputElement instanceof ITmfFilterTreeNode) {
+            ArrayList<ITmfFilterTreeNode> result = new ArrayList<ITmfFilterTreeNode>();
+            for (int i = 0; i < ((ITmfFilterTreeNode) inputElement).getChildrenCount(); i++) {
+                result.add(((ITmfFilterTreeNode) inputElement).getChild(i));
+            }
 
-                       return result.toArray();
-               }
+            return result.toArray();
+        }
         return null;
-       }
+    }
 
-       /*
-        * (non-Javadoc)
-        * @see org.eclipse.jface.viewers.ITreeContentProvider#getChildren(java.lang.Object)
-        */
-       @Override
+    @Override
     public Object[] getChildren(Object parentElement) {
-               ArrayList<ITmfFilterTreeNode> result = new ArrayList<ITmfFilterTreeNode>();
-               for(int i = 0; i < ((ITmfFilterTreeNode)parentElement).getChildrenCount(); i++) {
-                       result.add(((ITmfFilterTreeNode)parentElement).getChild(i));
-               }
-               return result.toArray();
-       }
+        ArrayList<ITmfFilterTreeNode> result = new ArrayList<ITmfFilterTreeNode>();
+        for (int i = 0; i < ((ITmfFilterTreeNode) parentElement).getChildrenCount(); i++) {
+            result.add(((ITmfFilterTreeNode) parentElement).getChild(i));
+        }
+        return result.toArray();
+    }
 
-       /*
-        * (non-Javadoc)
-        * @see org.eclipse.jface.viewers.ITreeContentProvider#getParent(java.lang.Object)
-        */
-       @Override
+    @Override
     public Object getParent(Object element) {
-               return ((ITmfFilterTreeNode) element).getParent();
-       }
+        return ((ITmfFilterTreeNode) element).getParent();
+    }
 
-       /*
-        * (non-Javadoc)
-        * @see org.eclipse.jface.viewers.ITreeContentProvider#hasChildren(java.lang.Object)
-        */
-       @Override
+    @Override
     public boolean hasChildren(Object element) {
-               return ((ITmfFilterTreeNode) element).hasChildren();
-       }
+        return ((ITmfFilterTreeNode) element).hasChildren();
+    }
 
 }
index db0f79075cf04ac752a56146f75409091cbfc741..4657a34b324da049a524e2246e6cfdf19799a0fa 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2010, 2012 Ericsson
+ * Copyright (c) 2010, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -33,118 +33,94 @@ import org.eclipse.swt.graphics.Image;
  */
 public class FilterTreeLabelProvider implements ILabelProvider {
 
-       /*
-        * (non-Javadoc)
-        * @see org.eclipse.jface.viewers.IBaseLabelProvider#addListener(org.eclipse.jface.viewers.ILabelProviderListener)
-        */
-       @Override
+    @Override
     public void addListener(ILabelProviderListener listener) {
-               // TODO Auto-generated method stub
-       }
-
-       /*
-        * (non-Javadoc)
-        * @see org.eclipse.jface.viewers.IBaseLabelProvider#dispose()
-        */
-       @Override
+        // TODO Auto-generated method stub
+    }
+
+    @Override
     public void dispose() {
-               // TODO Auto-generated method stub
-       }
-
-       /*
-        * (non-Javadoc)
-        * @see org.eclipse.jface.viewers.IBaseLabelProvider#isLabelProperty(java.lang.Object, java.lang.String)
-        */
-       @Override
+        // TODO Auto-generated method stub
+    }
+
+    @Override
     public boolean isLabelProperty(Object element, String property) {
-               // TODO Auto-generated method stub
-               return false;
-       }
-
-       /*
-        * (non-Javadoc)
-        * @see org.eclipse.jface.viewers.IBaseLabelProvider#removeListener(org.eclipse.jface.viewers.ILabelProviderListener)
-        */
-       @Override
+        // TODO Auto-generated method stub
+        return false;
+    }
+
+    @Override
     public void removeListener(ILabelProviderListener listener) {
-               // TODO Auto-generated method stub
-       }
-
-       /*
-        * (non-Javadoc)
-        * @see org.eclipse.jface.viewers.ILabelProvider#getImage(java.lang.Object)
-        */
-       @Override
+        // TODO Auto-generated method stub
+    }
+
+    @Override
     public Image getImage(Object element) {
-               // TODO Auto-generated method stub
-               return null;
-       }
-
-       /*
-        * (non-Javadoc)
-        * @see org.eclipse.jface.viewers.ILabelProvider#getText(java.lang.Object)
-        */
-       @Override
+        // TODO Auto-generated method stub
+        return null;
+    }
+
+    @Override
     public String getText(Object element) {
-               String label = null;
+        String label = null;
 
-               if (element instanceof TmfFilterNode) {
+        if (element instanceof TmfFilterNode) {
 
-                       TmfFilterNode node = (TmfFilterNode) element;
-                       label = node.getNodeName() + " " + node.getFilterName(); //$NON-NLS-1$
+            TmfFilterNode node = (TmfFilterNode) element;
+            label = node.getNodeName() + " " + node.getFilterName(); //$NON-NLS-1$
 
-               } else if (element instanceof TmfFilterEventTypeNode) {
+        } else if (element instanceof TmfFilterEventTypeNode) {
 
-                       TmfFilterEventTypeNode node = (TmfFilterEventTypeNode) element;
-                       label = "WITH " + node.getNodeName() + (node.getName() != null ? " " + node.getName() : ""); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+            TmfFilterEventTypeNode node = (TmfFilterEventTypeNode) element;
+            label = "WITH " + node.getNodeName() + (node.getName() != null ? " " + node.getName() : ""); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
 
-               } else if (element instanceof TmfFilterAndNode) {
+        } else if (element instanceof TmfFilterAndNode) {
 
-                       TmfFilterAndNode node = (TmfFilterAndNode) element;
-                       label = (node.isNot() ? "NOT " : "") + node.getNodeName(); //$NON-NLS-1$ //$NON-NLS-2$
+            TmfFilterAndNode node = (TmfFilterAndNode) element;
+            label = (node.isNot() ? "NOT " : "") + node.getNodeName(); //$NON-NLS-1$ //$NON-NLS-2$
 
-               } else if (element instanceof TmfFilterOrNode) {
+        } else if (element instanceof TmfFilterOrNode) {
 
-                       TmfFilterOrNode node = (TmfFilterOrNode) element;
-                       label = (node.isNot() ? "NOT " : "") + node.getNodeName(); //$NON-NLS-1$ //$NON-NLS-2$
+            TmfFilterOrNode node = (TmfFilterOrNode) element;
+            label = (node.isNot() ? "NOT " : "") + node.getNodeName(); //$NON-NLS-1$ //$NON-NLS-2$
 
-               } else if (element instanceof TmfFilterContainsNode) {
+        } else if (element instanceof TmfFilterContainsNode) {
 
-                       TmfFilterContainsNode node = (TmfFilterContainsNode) element;
-                       label = (node.isNot() ? "NOT " : "") + //$NON-NLS-1$ //$NON-NLS-2$
-                                       (node.getField() != null ? node.getField() + " " : "") + //$NON-NLS-1$ //$NON-NLS-2$
-                                       node.getNodeName() +
-                                       (node.getValue() != null && node.getValue().length() > 0 ? " \"" + node.getValue() + "\"" : ""); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+            TmfFilterContainsNode node = (TmfFilterContainsNode) element;
+            label = (node.isNot() ? "NOT " : "") + //$NON-NLS-1$ //$NON-NLS-2$
+                    (node.getField() != null ? node.getField() + " " : "") + //$NON-NLS-1$ //$NON-NLS-2$
+                    node.getNodeName() +
+                    (node.getValue() != null && node.getValue().length() > 0 ? " \"" + node.getValue() + "\"" : ""); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
 
-               } else if (element instanceof TmfFilterEqualsNode) {
+        } else if (element instanceof TmfFilterEqualsNode) {
 
-                       TmfFilterEqualsNode node = (TmfFilterEqualsNode) element;
-                       label = (node.isNot() ? "NOT " : "") + //$NON-NLS-1$ //$NON-NLS-2$
-                                       (node.getField() != null ? node.getField() + " " : "") + //$NON-NLS-1$ //$NON-NLS-2$
-                                       node.getNodeName() +
-                                       (node.getValue() != null && node.getValue().length() > 0 ? " \"" + node.getValue() + "\"" : ""); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+            TmfFilterEqualsNode node = (TmfFilterEqualsNode) element;
+            label = (node.isNot() ? "NOT " : "") + //$NON-NLS-1$ //$NON-NLS-2$
+                    (node.getField() != null ? node.getField() + " " : "") + //$NON-NLS-1$ //$NON-NLS-2$
+                    node.getNodeName() +
+                    (node.getValue() != null && node.getValue().length() > 0 ? " \"" + node.getValue() + "\"" : ""); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
 
-               } else if (element instanceof TmfFilterMatchesNode) {
+        } else if (element instanceof TmfFilterMatchesNode) {
 
-                       TmfFilterMatchesNode node = (TmfFilterMatchesNode) element;
-                       label = (node.isNot() ? "NOT " : "") + //$NON-NLS-1$ //$NON-NLS-2$
-                                       (node.getField() != null ? node.getField() + " " : "") + //$NON-NLS-1$ //$NON-NLS-2$
-                                       node.getNodeName() +
-                                       (node.getRegex() != null && node.getRegex().length() > 0 ? " \"" + node.getRegex() + "\"" : ""); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+            TmfFilterMatchesNode node = (TmfFilterMatchesNode) element;
+            label = (node.isNot() ? "NOT " : "") + //$NON-NLS-1$ //$NON-NLS-2$
+                    (node.getField() != null ? node.getField() + " " : "") + //$NON-NLS-1$ //$NON-NLS-2$
+                    node.getNodeName() +
+                    (node.getRegex() != null && node.getRegex().length() > 0 ? " \"" + node.getRegex() + "\"" : ""); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
 
-               } else if (element instanceof TmfFilterCompareNode) {
+        } else if (element instanceof TmfFilterCompareNode) {
 
-                       TmfFilterCompareNode node = (TmfFilterCompareNode) element;
-                       label = (node.isNot() ? "NOT " : "") + //$NON-NLS-1$ //$NON-NLS-2$
-                                       (node.getField() != null ? node.getField() + " " : "") + //$NON-NLS-1$ //$NON-NLS-2$
-                                       (node.getResult() < 0 ? "<" : (node.getResult() > 0 ? ">" : "=")) + //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
-                                       (node.getValue() != null && node.getValue().length() > 0 ?
-                                                       (node.getType() == Type.ALPHA ? " \"" + node.getValue() + "\"" : //$NON-NLS-1$ //$NON-NLS-2$
-                                                       (node.getType() == Type.TIMESTAMP ? " [" + node.getValue() + "]" : //$NON-NLS-1$ //$NON-NLS-2$
-                                                               " " + node.getValue())) : "");  //$NON-NLS-1$//$NON-NLS-2$
+            TmfFilterCompareNode node = (TmfFilterCompareNode) element;
+            label = (node.isNot() ? "NOT " : "") + //$NON-NLS-1$ //$NON-NLS-2$
+                    (node.getField() != null ? node.getField() + " " : "") + //$NON-NLS-1$ //$NON-NLS-2$
+                    (node.getResult() < 0 ? "<" : (node.getResult() > 0 ? ">" : "=")) + //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
+                    (node.getValue() != null && node.getValue().length() > 0 ?
+                            (node.getType() == Type.ALPHA ? " \"" + node.getValue() + "\"" : //$NON-NLS-1$ //$NON-NLS-2$
+                                    (node.getType() == Type.TIMESTAMP ? " [" + node.getValue() + "]" : //$NON-NLS-1$ //$NON-NLS-2$
+                                            " " + node.getValue())) : ""); //$NON-NLS-1$//$NON-NLS-2$
 
-               }
-               return label;
-       }
+        }
+        return label;
+    }
 
 }
index fabdead18b78896a250351aa845259cb44f2a4cc..d37a8adb930f61696a406cdf8c31f17c31774621 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2010, 2012 Ericsson
+ * Copyright (c) 2010, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -82,10 +82,9 @@ public class FilterView extends TmfView {
      * @return The root of builded tree
      */
     public ITmfFilterTreeNode getFilterRoot() {
-       return fRoot;
+        return fRoot;
     }
 
-
     // ------------------------------------------------------------------------
     // Constructor
     // ------------------------------------------------------------------------
@@ -105,203 +104,192 @@ public class FilterView extends TmfView {
 
         fRoot = new TmfFilterRootNode();
         for (ITmfFilterTreeNode node : FilterManager.getSavedFilters()) {
-               fRoot.addChild(node);
+            fRoot.addChild(node);
         }
-       }
-
-
-       /**
-        * Refresh the tree widget
-        */
-       public void refresh() {
-               fViewer.refresh();
-       }
-
-       /**
-        * Setter for selection
-        *
-        * @param node The node to select
-        */
-       public void setSelection(ITmfFilterTreeNode node) {
-               fViewer.setSelection(node, true);
-       }
-
-       // ------------------------------------------------------------------------
-       // ViewPart
-       // ------------------------------------------------------------------------
-
-    /* (non-Javadoc)
-     * @see org.eclipse.ui.part.WorkbenchPart#createPartControl(Composite)
+    }
+
+    /**
+     * Refresh the tree widget
      */
-       @Override
-       public void createPartControl(Composite parent) {
-
-               fViewer = new FilterViewer(parent, SWT.NONE);
-               fViewer.setInput(fRoot);
-
-               contributeToActionBars();
-
-               fViewer.addSelectionChangedListener(new ISelectionChangedListener() {
-                       @Override
-                       public void selectionChanged(SelectionChangedEvent event) {
-                               if (!(event.getSelection().isEmpty()) && event.getSelection() instanceof IStructuredSelection) {
-                                       fDeleteAction.setEnabled(true);
-                                       fExportAction.setEnabled(true);
-                               } else {
-                                       fDeleteAction.setEnabled(false);
-                                       fExportAction.setEnabled(false);
-                               }
-                       }
-               });
-       }
-
-    /* (non-Javadoc)
-     * @see org.eclipse.ui.part.WorkbenchPart#setFocus()
+    public void refresh() {
+        fViewer.refresh();
+    }
+
+    /**
+     * Setter for selection
+     *
+     * @param node
+     *            The node to select
      */
+    public void setSelection(ITmfFilterTreeNode node) {
+        fViewer.setSelection(node, true);
+    }
+
+    // ------------------------------------------------------------------------
+    // ViewPart
+    // ------------------------------------------------------------------------
+
+    @Override
+    public void createPartControl(Composite parent) {
+
+        fViewer = new FilterViewer(parent, SWT.NONE);
+        fViewer.setInput(fRoot);
+
+        contributeToActionBars();
+
+        fViewer.addSelectionChangedListener(new ISelectionChangedListener() {
+            @Override
+            public void selectionChanged(SelectionChangedEvent event) {
+                if (!(event.getSelection().isEmpty()) && event.getSelection() instanceof IStructuredSelection) {
+                    fDeleteAction.setEnabled(true);
+                    fExportAction.setEnabled(true);
+                } else {
+                    fDeleteAction.setEnabled(false);
+                    fExportAction.setEnabled(false);
+                }
+            }
+        });
+    }
+
     @Override
     public void setFocus() {
         fViewer.setFocus();
     }
 
-       /*
-        * (non-Javadoc)
-        * @see java.lang.Object#toString()
-        */
-       @Override
-       public String toString() {
-               return "[FilterView]"; //$NON-NLS-1$
-       }
-
+    @Override
+    public String toString() {
+        return "[FilterView]"; //$NON-NLS-1$
+    }
 
     /**
      * Builds the menu toolbar
      */
-       private void contributeToActionBars() {
-               IActionBars bars = getViewSite().getActionBars();
-               //fillLocalPullDown(bars.getMenuManager());
-               fillLocalToolBar(bars.getToolBarManager());
-       }
-
-
-       /**
-        * Build the popup menu
-        *
-        * @param manager The manager to build
-        */
-       private void fillLocalToolBar(IToolBarManager manager) {
-
-               fSaveAction = new SaveAction();
-               fSaveAction.setImageDescriptor(ImageDescriptor.createFromImage(SAVE_IMAGE));
-               fSaveAction.setToolTipText(Messages.FilterView_SaveActionToolTipText);
-
-               fAddAction = new AddAction();
-               fAddAction.setImageDescriptor(ImageDescriptor.createFromImage(ADD_IMAGE));
-               fAddAction.setToolTipText(Messages.FilterView_AddActionToolTipText);
-
-               fDeleteAction = new DeleteAction();
-               fDeleteAction.setImageDescriptor(ImageDescriptor.createFromImage(DELETE_IMAGE));
-               fDeleteAction.setToolTipText(Messages.FilterView_DeleteActionToolTipText);
-               fDeleteAction.setEnabled(false);
-
-               fExportAction = new ExportAction();
-               fExportAction.setImageDescriptor(ImageDescriptor.createFromImage(EXPORT_IMAGE));
-               fExportAction.setToolTipText(Messages.FilterView_ExportActionToolTipText);
-
-               fImportAction = new ImportAction();
-               fImportAction.setImageDescriptor(ImageDescriptor.createFromImage(IMPORT_IMAGE));
-               fImportAction.setToolTipText(Messages.FilterView_ImportActionToolTipText);
-
-               manager.add(fSaveAction);
-               manager.add(new Separator());
-               manager.add(fAddAction);
-               manager.add(fDeleteAction);
-               manager.add(new Separator());
-               manager.add(fExportAction);
-               manager.add(fImportAction);
-       }
-
-       private class SaveAction extends Action {
-               @Override
-               public void run() {
-                       FilterManager.setSavedFilters(fRoot.getChildren());
-               }
-       }
-
-       private class AddAction extends Action {
-               @Override
-               public void run() {
-
-                       TmfFilterNode newNode = new TmfFilterNode(fRoot, ""); //$NON-NLS-1$
-                       refresh();
-                       setSelection(newNode);
-               }
-       }
-
-       private class DeleteAction extends Action {
-               @Override
-               public void run() {
-                       ITmfFilterTreeNode node = fViewer.getSelection();
-                       if (node != null) {
-                               node.remove();
-                       }
-                       refresh();
-               }
-       }
-
-       private class ExportAction extends Action {
-               @Override
-               public void run() {
-                       try {
-                               FileDialog dlg = new FileDialog(new Shell(), SWT.SAVE);
-                               dlg.setFilterNames(new String[] {Messages.FilterView_FileDialogFilterName + " (*.filter.xml)"}); //$NON-NLS-1$
-                               dlg.setFilterExtensions(new String[] {"*.filter.xml"}); //$NON-NLS-1$
-
-                               String fn = dlg.open();
-                       if (fn != null) {
-                                       TmfFilterXMLWriter writerXML = new TmfFilterXMLWriter(fRoot);
-                                       writerXML.saveTree(fn);
-                       }
-
-                       } catch (ParserConfigurationException e) {
-                           Activator.getDefault().logError("Error parsing filter xml file", e); //$NON-NLS-1$
-                       }
-               }
-       }
-
-       private class ImportAction extends Action {
-               @Override
-               public void run() {
-                       if (fViewer != null) {
-                               ITmfFilterTreeNode root = null;
-                               try {
-                                       FileDialog dlg = new FileDialog(new Shell(), SWT.OPEN);
-                                       dlg.setFilterNames(new String[] {Messages.FilterView_FileDialogFilterName + " (*.filter.xml)"}); //$NON-NLS-1$
-                                       dlg.setFilterExtensions(new String[] {"*.filter.xml"}); //$NON-NLS-1$
-
-                                       TmfFilterXMLParser parserXML = null;
-                                       String fn = dlg.open();
-                               if (fn != null) {
-                                       parserXML = new TmfFilterXMLParser(fn);
-                                               root = parserXML.getTree();
-                               }
-
-                               } catch (SAXException e) {
-                                   Activator.getDefault().logError("Error importing filter xml file", e); //$NON-NLS-1$
-                               } catch (IOException e) {
-                                   Activator.getDefault().logError("Error importing filter xml file", e); //$NON-NLS-1$
-                               }
-
-                               if (root != null) {
-                               for (ITmfFilterTreeNode node : root.getChildren()) {
-                                       if (node instanceof TmfFilterNode) {
-                                               fRoot.addChild(node);
-                                               refresh();
-                                               fViewer.setSelection(node);
-                                       }
-                               }
-                               }
-                       }
-               }
-       }
+    private void contributeToActionBars() {
+        IActionBars bars = getViewSite().getActionBars();
+        // fillLocalPullDown(bars.getMenuManager());
+        fillLocalToolBar(bars.getToolBarManager());
+    }
+
+    /**
+     * Build the popup menu
+     *
+     * @param manager
+     *            The manager to build
+     */
+    private void fillLocalToolBar(IToolBarManager manager) {
+
+        fSaveAction = new SaveAction();
+        fSaveAction.setImageDescriptor(ImageDescriptor.createFromImage(SAVE_IMAGE));
+        fSaveAction.setToolTipText(Messages.FilterView_SaveActionToolTipText);
+
+        fAddAction = new AddAction();
+        fAddAction.setImageDescriptor(ImageDescriptor.createFromImage(ADD_IMAGE));
+        fAddAction.setToolTipText(Messages.FilterView_AddActionToolTipText);
+
+        fDeleteAction = new DeleteAction();
+        fDeleteAction.setImageDescriptor(ImageDescriptor.createFromImage(DELETE_IMAGE));
+        fDeleteAction.setToolTipText(Messages.FilterView_DeleteActionToolTipText);
+        fDeleteAction.setEnabled(false);
+
+        fExportAction = new ExportAction();
+        fExportAction.setImageDescriptor(ImageDescriptor.createFromImage(EXPORT_IMAGE));
+        fExportAction.setToolTipText(Messages.FilterView_ExportActionToolTipText);
+
+        fImportAction = new ImportAction();
+        fImportAction.setImageDescriptor(ImageDescriptor.createFromImage(IMPORT_IMAGE));
+        fImportAction.setToolTipText(Messages.FilterView_ImportActionToolTipText);
+
+        manager.add(fSaveAction);
+        manager.add(new Separator());
+        manager.add(fAddAction);
+        manager.add(fDeleteAction);
+        manager.add(new Separator());
+        manager.add(fExportAction);
+        manager.add(fImportAction);
+    }
+
+    private class SaveAction extends Action {
+        @Override
+        public void run() {
+            FilterManager.setSavedFilters(fRoot.getChildren());
+        }
+    }
+
+    private class AddAction extends Action {
+        @Override
+        public void run() {
+
+            TmfFilterNode newNode = new TmfFilterNode(fRoot, ""); //$NON-NLS-1$
+            refresh();
+            setSelection(newNode);
+        }
+    }
+
+    private class DeleteAction extends Action {
+        @Override
+        public void run() {
+            ITmfFilterTreeNode node = fViewer.getSelection();
+            if (node != null) {
+                node.remove();
+            }
+            refresh();
+        }
+    }
+
+    private class ExportAction extends Action {
+        @Override
+        public void run() {
+            try {
+                FileDialog dlg = new FileDialog(new Shell(), SWT.SAVE);
+                dlg.setFilterNames(new String[] { Messages.FilterView_FileDialogFilterName + " (*.filter.xml)" }); //$NON-NLS-1$
+                dlg.setFilterExtensions(new String[] { "*.filter.xml" }); //$NON-NLS-1$
+
+                String fn = dlg.open();
+                if (fn != null) {
+                    TmfFilterXMLWriter writerXML = new TmfFilterXMLWriter(fRoot);
+                    writerXML.saveTree(fn);
+                }
+
+            } catch (ParserConfigurationException e) {
+                Activator.getDefault().logError("Error parsing filter xml file", e); //$NON-NLS-1$
+            }
+        }
+    }
+
+    private class ImportAction extends Action {
+        @Override
+        public void run() {
+            if (fViewer != null) {
+                ITmfFilterTreeNode root = null;
+                try {
+                    FileDialog dlg = new FileDialog(new Shell(), SWT.OPEN);
+                    dlg.setFilterNames(new String[] { Messages.FilterView_FileDialogFilterName + " (*.filter.xml)" }); //$NON-NLS-1$
+                    dlg.setFilterExtensions(new String[] { "*.filter.xml" }); //$NON-NLS-1$
+
+                    TmfFilterXMLParser parserXML = null;
+                    String fn = dlg.open();
+                    if (fn != null) {
+                        parserXML = new TmfFilterXMLParser(fn);
+                        root = parserXML.getTree();
+                    }
+
+                } catch (SAXException e) {
+                    Activator.getDefault().logError("Error importing filter xml file", e); //$NON-NLS-1$
+                } catch (IOException e) {
+                    Activator.getDefault().logError("Error importing filter xml file", e); //$NON-NLS-1$
+                }
+
+                if (root != null) {
+                    for (ITmfFilterTreeNode node : root.getChildren()) {
+                        if (node instanceof TmfFilterNode) {
+                            fRoot.addChild(node);
+                            refresh();
+                            fViewer.setSelection(node);
+                        }
+                    }
+                }
+            }
+        }
+    }
 
 }
\ No newline at end of file
index 829e82ca1452df67dfb7bffd627cdf921ee5a70c..9560e297d5fdeaa0a1634b329ad78cc241f76d7e 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2011, 2012 Ericsson
+ * Copyright (c) 2011, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -75,9 +75,6 @@ public class FullTraceHistogram extends Histogram implements MouseMoveListener {
     // Operations
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.histogram.Histogram#clear()
-     */
     @Override
     public void clear() {
         fRangeStartTime = 0L;
@@ -112,9 +109,6 @@ public class FullTraceHistogram extends Histogram implements MouseMoveListener {
         fDataModel.complete();
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.histogram.Histogram#updateTimeRange(long, long)
-     */
     @Override
     public void updateTimeRange(long startTime, long endTime) {
         ((HistogramView) fParentView).updateTimeRange(startTime, endTime);
index 0ddc726e9893314d319423eeb04e5b7e5991c5f0..8b049675a9342ad96632faeaa132d2a283e16043 100644 (file)
@@ -54,9 +54,6 @@ public class HistogramCurrentTimeControl extends HistogramTextControl {
         TmfSignalManager.register(this);
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.histogram.HistogramTextControl#dispose()
-     */
     @Override
     public void dispose() {
         TmfSignalManager.deregister(this);
index 1dbd20dd15ff1d8c1354e22d731be9a7bfb5968a..4246b42737a661af0d864c5a65577a3503d5ae1c 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2011, 2012 Ericsson
+ * Copyright (c) 2011, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -286,10 +286,6 @@ public class HistogramDataModel implements IHistogramDataModel {
     // Operations
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.distribution.model.IBaseDistributionModel#complete()
-     */
     @Override
     public void complete() {
         fireModelUpdateNotification();
index 85694196638173d00ce68ce994ea7166cfeb9ab3..3a1177988bc903ff7477b13ff89ccf4b06ae06a2 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson
+ * Copyright (c) 2009, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -205,18 +205,10 @@ public abstract class HistogramTextControl implements FocusListener, KeyListener
     // FocusListener
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.swt.events.FocusListener#focusGained(org.eclipse.swt.events.FocusEvent)
-     */
     @Override
     public void focusGained(FocusEvent event) {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.swt.events.FocusListener#focusLost(org.eclipse.swt.events.FocusEvent)
-     */
     @Override
     public void focusLost(FocusEvent event) {
         updateValue();
@@ -226,10 +218,6 @@ public abstract class HistogramTextControl implements FocusListener, KeyListener
     // KeyListener
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.swt.events.KeyListener#keyPressed(org.eclipse.swt.events.KeyEvent)
-     */
     @Override
     public void keyPressed(KeyEvent event) {
         switch (event.keyCode) {
@@ -241,10 +229,6 @@ public abstract class HistogramTextControl implements FocusListener, KeyListener
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.swt.events.KeyListener#keyReleased(org.eclipse.swt.events.KeyEvent)
-     */
     @Override
     public void keyReleased(KeyEvent e) {
     }
index 9f0d12cf9f438f0e9e761c327a5bae1107c711d9..cbb07f3cf2f2f38323546f42dbca0b2342476dde 100644 (file)
@@ -52,9 +52,6 @@ public class HistogramTimeRangeControl extends HistogramTextControl {
         TmfSignalManager.register(this);
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.histogram.HistogramTextControl#dispose()
-     */
     @Override
     public void dispose() {
         TmfSignalManager.deregister(this);
@@ -64,10 +61,6 @@ public class HistogramTimeRangeControl extends HistogramTextControl {
     // Operations
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.histogram.HistogramTextControl#updateValue()
-     */
     @Override
     protected void updateValue() {
         if (getValue() == Long.MIN_VALUE) {
index 7660923baf11c17c144e4c55f01eb2eb1f15fe3f..e5c520ec916260b94bbe655c4b8c5d8c0c7af775 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson
+ * Copyright (c) 2009, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
index 9c64a084a7c0c9016e7ce82320ef08afeb0cd5a1..3aed94c38c595abc41e5a27aae7953b4e250feeb 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2011, 2012 Ericsson
+ * Copyright (c) 2011, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -52,19 +52,11 @@ public class TimeRangeHistogram extends Histogram {
     // Operations
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.histogram.Histogram#updateTimeRange(long, long)
-     */
     @Override
     public void updateTimeRange(long startTime, long endTime) {
         ((HistogramView) fParentView).updateTimeRange(startTime, endTime);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.histogram.Histogram#clear()
-     */
     @Override
     public synchronized void clear() {
         if (fZoom != null) {
index da24ea62b969a4d8237cf12743d05140aedb653b..8284082f764129ee93857d02e3b6613022ba588b 100755 (executable)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2011, 2012 Ericsson
+ * Copyright (c) 2011, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
index 8fd763493eabf5691f336c1bf48790ce9778db3b..0ce1d073e6073d885e59c9be113cbcd3a65eee6c 100755 (executable)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2011, 2012 Ericsson
+ * Copyright (c) 2011, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -92,12 +92,6 @@ public class TmfStatisticsView extends TmfView {
         this(TMF_STATISTICS_VIEW);
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see
-     * org.eclipse.ui.part.WorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     public void createPartControl(Composite parent) {
         fStatsViewers.setParent(parent);
@@ -109,11 +103,6 @@ public class TmfStatisticsView extends TmfView {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.linuxtools.tmf.ui.views.TmfView#dispose()
-     */
     @Override
     public void dispose() {
         super.dispose();
@@ -210,11 +199,6 @@ public class TmfStatisticsView extends TmfView {
         fStatsViewers.layout();
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.ui.part.WorkbenchPart#setFocus()
-     */
     @Override
     public void setFocus() {
         fStatsViewers.setFocus();
index 6cf63f694feb5a16b548f0468ed968bc703331a3..7e0f50bd8c9a42ec5677f242491dc7ea9f6e88ad 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2010, 2012 Ericsson
+ * Copyright (c) 2010, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
index 9201357831378d24faa382c99716ea4798dc3984..fbeeb451be0b0bd3ddb40b774133e51ce690df30 100755 (executable)
@@ -241,10 +241,6 @@ public class DrawableToolTip implements PaintListener {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.swt.events.PaintListener#paintControl(org.eclipse.swt.events.PaintEvent)
-     */
     @Override
     public void paintControl(PaintEvent event) {
         fMessage = SDMessages._138 + " " +  fCurrentValue.toString(); //$NON-NLS-1$
index db6a21348371baff4b14df30355d81e37ad31280..9869074255136840f36caaa6f2b8a21371e1db54 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -112,73 +112,41 @@ public class NGC implements IGC {
     // Methods
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#setLineStyle(int)
-     */
     @Override
     public void setLineStyle(int style) {
         fContext.setLineStyle(style);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#getLineStyle()
-     */
     @Override
     public int getLineStyle() {
         return fContext.getLineStyle();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#getContentsX()
-     */
     @Override
     public int getContentsX() {
         return Math.round(fView.getContentsX() / fView.fZoomValue);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#getContentsY()
-     */
     @Override
     public int getContentsY() {
         return Math.round(fView.getContentsY() / fView.fZoomValue);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#getVisibleWidth()
-     */
     @Override
     public int getVisibleWidth() {
         return Math.round(fView.getVisibleWidth() / fView.fZoomValue);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#getVisibleHeight()
-     */
     @Override
     public int getVisibleHeight() {
         return Math.round(fView.getVisibleHeight() / fView.fZoomValue);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#contentsToViewX(int)
-     */
     @Override
     public int contentsToViewX(int x) {
         return fView.contentsToViewX(x);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#contentsToViewY(int)
-     */
     @Override
     public int contentsToViewY(int y) {
         return fView.contentsToViewY(y);
@@ -211,10 +179,6 @@ public class NGC implements IGC {
         return c;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#drawLine(int, int, int, int)
-     */
     @Override
     public void drawLine(int x1, int y1, int x2, int y2) {
         int localX1 = x1;
@@ -277,10 +241,6 @@ public class NGC implements IGC {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#drawRectangle(int, int, int, int)
-     */
     @Override
     public void drawRectangle(int x, int y, int width, int height) {
         int localX = x;
@@ -321,10 +281,6 @@ public class NGC implements IGC {
         fContext.drawRectangle(localX, localY, localWidth, localHeight);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#drawFocus(int, int, int, int)
-     */
     @Override
     public void drawFocus(int x, int y, int width, int height) {
         int localX = x;
@@ -359,10 +315,6 @@ public class NGC implements IGC {
         setForeground(fC);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#fillPolygon(int[])
-     */
     @Override
     public void fillPolygon(int[] points) {
         int len = (points.length / 2) * 2;
@@ -380,10 +332,6 @@ public class NGC implements IGC {
         fContext.fillPolygon(localPoint);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#drawPolygon(int[])
-     */
     @Override
     public void drawPolygon(int[] points) {
         int len = (points.length / 2) * 2;
@@ -401,10 +349,6 @@ public class NGC implements IGC {
         fContext.drawPolygon(localPoint);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#fillRectangle(int, int, int, int)
-     */
     @Override
     public void fillRectangle(int x, int y, int width, int height) {
         int localX = x;
@@ -442,13 +386,8 @@ public class NGC implements IGC {
             localHeight = fView.getVisibleHeight() + fVisibleScreenBounds - localY;
         }
         fContext.fillRectangle(localX, localY, localWidth, localHeight);
-
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#fillGradientRectangle(int, int, int, int, boolean)
-     */
     @Override
     public void fillGradientRectangle(int x, int y, int width, int height, boolean isVertical) {
         int localX = x;
@@ -493,20 +432,11 @@ public class NGC implements IGC {
         setForeground(tempColor);
     }
 
-
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#textExtent(java.lang.String)
-     */
     @Override
     public int textExtent(String name) {
         return fContext.textExtent(name).x;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#drawText(java.lang.String, int, int, boolean)
-     */
     @Override
     public void drawText(String string, int x, int y, boolean isTrans) {
         int localX = x;
@@ -521,10 +451,6 @@ public class NGC implements IGC {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#drawText(java.lang.String, int, int)
-     */
     @Override
     public void drawText(String string, int x, int y) {
         int localX = x;
@@ -539,10 +465,6 @@ public class NGC implements IGC {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#fillOval(int, int, int, int)
-     */
     @Override
     public void fillOval(int x, int y, int width, int height) {
         int localX = x;
@@ -557,10 +479,6 @@ public class NGC implements IGC {
         fContext.fillOval(fView.contentsToViewX(localX), fView.contentsToViewY(localY), localWidth, localHeight);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#getBackground()
-     */
     @Override
     public IColor getBackground() {
         if ((fBackground != null) && (fBackground.getColor() instanceof Color) && (!((Color) (fBackground.getColor())).isDisposed())) {
@@ -569,10 +487,6 @@ public class NGC implements IGC {
         return ColorImpl.getSystemColor(SWT.COLOR_WHITE);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#getForeground()
-     */
     @Override
     public IColor getForeground() {
         if ((fForeground != null) && (fForeground.getColor() instanceof Color) && (!((Color) (fForeground.getColor())).isDisposed())) {
@@ -581,10 +495,6 @@ public class NGC implements IGC {
         return ColorImpl.getSystemColor(SWT.COLOR_WHITE);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#setBackground(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IColor)
-     */
     @Override
     public void setBackground(IColor color) {
         if (color == null) {
@@ -596,10 +506,6 @@ public class NGC implements IGC {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#setForeground(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IColor)
-     */
     @Override
     public void setForeground(IColor color) {
         if (color == null) {
@@ -614,10 +520,6 @@ public class NGC implements IGC {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#setGradientColor(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IColor)
-     */
     @Override
     public void setGradientColor(IColor color) {
         if (color == null) {
@@ -628,10 +530,6 @@ public class NGC implements IGC {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#setLineWidth(int)
-     */
     @Override
     public void setLineWidth(int width) {
         if (fView.isPrinting()) {
@@ -642,10 +540,6 @@ public class NGC implements IGC {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#getLineWidth()
-     */
     @Override
     public int getLineWidth() {
         return fContext.getLineWidth();
@@ -670,10 +564,6 @@ public class NGC implements IGC {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#drawTextTruncatedCentred(java.lang.String, int, int, int, int, boolean)
-     */
     @Override
     public void drawTextTruncatedCentred(String name, int xValue, int yValue, int width, int height, boolean trans) {
         int localX = xValue;
@@ -728,10 +618,6 @@ public class NGC implements IGC {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#drawTextTruncated(java.lang.String, int, int, int, int, boolean)
-     */
     @Override
     public void drawTextTruncated(String name, int xValue, int yValue, int width, int height, boolean trans) {
         int localX = xValue;
@@ -768,10 +654,6 @@ public class NGC implements IGC {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#drawImage(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IImage, int, int, int, int)
-     */
     @Override
     public void drawImage(IImage image, int xValue, int yValue, int maxWith, int maxHeight) {
         int localX = xValue;
@@ -823,10 +705,6 @@ public class NGC implements IGC {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#drawArc(int, int, int, int, int, int)
-     */
     @Override
     public void drawArc(int x, int y, int width, int height, int startAngle, int endAngle) {
         int localX = x;
@@ -844,10 +722,6 @@ public class NGC implements IGC {
         fContext.drawArc(fView.contentsToViewX(localX), fView.contentsToViewY(localY), localWidth, localHeight, startAngle, endAngle);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#setFont(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IFont)
-     */
     @Override
     public void setFont(IFont font) {
         if (font.getFont() != null && ((Font) font.getFont()).getFontData().length > 0) {
@@ -866,10 +740,6 @@ public class NGC implements IGC {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#getFontHeight(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IFont)
-     */
     @Override
     public int getFontHeight(IFont font) {
         if (font.getFont() != null && (font.getFont() instanceof Font) && ((Font) font.getFont()).getFontData().length > 0) {
@@ -891,10 +761,6 @@ public class NGC implements IGC {
         return fContext.textExtent("lp").y; //$NON-NLS-1$
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#getFontWidth(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IFont)
-     */
     @Override
     public int getFontWidth(IFont font) {
         if ((font.getFont() != null) && (font.getFont() instanceof Font)) {
@@ -921,10 +787,6 @@ public class NGC implements IGC {
         fContext = null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#getZoom()
-     */
     @Override
     public float getZoom() {
         if (fView != null) {
@@ -933,46 +795,26 @@ public class NGC implements IGC {
         return 1;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#getLineDotStyle()
-     */
     @Override
     public int getLineDotStyle() {
         return SWT.LINE_DOT;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#getLineDashStyle()
-     */
     @Override
     public int getLineDashStyle() {
         return SWT.LINE_DASH;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#getLineSolidStyle()
-     */
     @Override
     public int getLineSolidStyle() {
         return SWT.LINE_SOLID;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#createColor(int, int, int)
-     */
     @Override
     public IColor createColor(int r, int g, int b) {
         return new ColorImpl(Display.getDefault(), r, g, b);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC#setDrawTextWithFocusStyle(boolean)
-     */
     @Override
     public void setDrawTextWithFocusStyle(boolean focus) {
         fDrawWithFocus = focus;
index 963170488b199942e4ba8c58b95146fc0b706002..05993f9bd3b6802453348cf5ac41878fbc64474f 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -157,10 +157,6 @@ public class SDView extends ViewPart {
     // Methods
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.part.WorkbenchPart#createPartControl(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     public void createPartControl(Composite c) {
         Composite parent = new Composite(c, SWT.NONE);
@@ -205,10 +201,6 @@ public class SDView extends ViewPart {
         setContentDescription(loader.getTitleString());
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.part.WorkbenchPart#setFocus()
-     */
     @Override
     public void setFocus() {
         if (fSdWidget != null) {
@@ -221,10 +213,6 @@ public class SDView extends ViewPart {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.part.WorkbenchPart#dispose()
-     */
     @Override
     public void dispose() {
         KeyBindingsManager.getInstance().remove(this.getSite().getId());
@@ -1055,11 +1043,6 @@ public class SDView extends ViewPart {
         bar.getMenuManager().add(new Separator("UML2SD_OTHER_PLUGINS_COMMANDS")); //$NON-NLS-1$
     }
 
-    /*
-     * Gets adapter for this view for properties.
-     * (non-Javadoc)
-     * @see org.eclipse.ui.part.WorkbenchPart#getAdapter(java.lang.Class)
-     */
     @Override
     public Object getAdapter(Class adapter) {
         Object obj = super.getAdapter(adapter);
@@ -1076,10 +1059,6 @@ public class SDView extends ViewPart {
      * @version 1.0
      */
     public static class BlankUml2SdLoader implements IUml2SDLoader {
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.load.IUml2SDLoader#setViewer(org.eclipse.linuxtools.tmf.ui.views.uml2sd.SDView)
-         */
         @Override
         public void setViewer(SDView viewer) {
             // Nothing to do
@@ -1088,19 +1067,11 @@ public class SDView extends ViewPart {
             viewer.setFrame(f);
         }
 
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.load.IUml2SDLoader#getTitleString()
-         */
         @Override
         public String getTitleString() {
             return ""; //$NON-NLS-1$
         }
 
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.load.IUml2SDLoader#dispose()
-         */
         @Override
         public void dispose() {
         }
index 3001b30e845b69748a8af721876c755d00d7a63c..25c8039a92ea0741a445fc9a5934b923f31bb3f9 100755 (executable)
@@ -276,10 +276,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
         fAccessible = getViewControl().getAccessible();
 
         fAccessible.addAccessibleListener(new AccessibleAdapter() {
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.accessibility.AccessibleAdapter#getName(org.eclipse.swt.accessibility.AccessibleEvent)
-             */
             @Override
             public void getName(AccessibleEvent e) {
                 // Case toolTip
@@ -321,10 +317,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
         });
 
         fAccessible.addAccessibleControlListener(new AccessibleControlAdapter() {
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.accessibility.AccessibleControlAdapter#getFocus(org.eclipse.swt.accessibility.AccessibleControlEvent)
-             */
             @Override
             public void getFocus(AccessibleControlEvent e) {
                 if (fFocusedWidget == -1) {
@@ -334,10 +326,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
                 }
             }
 
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.accessibility.AccessibleControlAdapter#getRole(org.eclipse.swt.accessibility.AccessibleControlEvent)
-             */
             @Override
             public void getRole(AccessibleControlEvent e) {
                 switch (e.childID) {
@@ -355,10 +343,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
                 }
             }
 
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.accessibility.AccessibleControlAdapter#getState(org.eclipse.swt.accessibility.AccessibleControlEvent)
-             */
             @Override
             public void getState(AccessibleControlEvent e) {
                 e.detail = ACC.STATE_FOCUSABLE;
@@ -386,10 +370,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
 
         getViewControl().addFocusListener(new FocusListener() {
 
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.FocusListener#focusGained(org.eclipse.swt.events.FocusEvent)
-             */
             @Override
             public void focusGained(FocusEvent e) {
                 SDViewPref.getInstance().setNoFocusSelection(false);
@@ -398,10 +378,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
                 redraw();
             }
 
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.FocusListener#focusLost(org.eclipse.swt.events.FocusEvent)
-             */
             @Override
             public void focusLost(FocusEvent e) {
                 SDViewPref.getInstance().setNoFocusSelection(true);
@@ -413,6 +389,7 @@ public class SDWidget extends ScrollView implements SelectionListener,
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
+
     /**
      * Sets the time compression bar.
      *
@@ -1354,10 +1331,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
         return dbuffer;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#keyPressedEvent(org.eclipse.swt.events.KeyEvent)
-     */
     @Override
     protected void keyPressedEvent(KeyEvent event) {
         if (!(isFocusControl() || getViewControl().isFocusControl())) {
@@ -1466,10 +1439,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#keyReleasedEvent(org.eclipse.swt.events.KeyEvent)
-     */
     @Override
     protected void keyReleasedEvent(KeyEvent event) {
         setFocus(-1);
@@ -1483,10 +1452,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
         setFocus(1);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.swt.widgets.Control#isFocusControl()
-     */
     @Override
     public boolean isFocusControl() {
         Control[] child = getChildren();
@@ -1499,10 +1464,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
         return false;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#setContentsPos(int, int)
-     */
     @Override
     public boolean setContentsPos(int x, int y) {
         int localX = x;
@@ -1536,10 +1497,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
         return super.setContentsPos(localX, localY);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#contentsMouseHover(org.eclipse.swt.events.MouseEvent)
-     */
     @Override
     protected void contentsMouseHover(MouseEvent event) {
         GraphNode graphNode = null;
@@ -1564,10 +1521,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#contentsMouseMoveEvent(org.eclipse.swt.events.MouseEvent)
-     */
     @Override
     protected void contentsMouseMoveEvent(MouseEvent e) {
         fScrollToolTip.hideToolTip();
@@ -1686,10 +1639,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#contentsMouseUpEvent(org.eclipse.swt.events.MouseEvent)
-     */
     @Override
     protected void contentsMouseUpEvent(MouseEvent event) {
         // Just in case the diagram highlight a time compression region
@@ -1738,10 +1687,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
         super.contentsMouseUpEvent(event);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#contentsMouseDownEvent(org.eclipse.swt.events.MouseEvent)
-     */
     @Override
     protected void contentsMouseDownEvent(MouseEvent event) {
         if (fCurrentGraphNode != null) {
@@ -1839,10 +1784,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
             fDeltaY = dy;
         }
 
-        /*
-         * (non-Javadoc)
-         * @see java.util.TimerTask#run()
-         */
         @Override
         public void run() {
             Display.getDefault().asyncExec(new Runnable() {
@@ -1859,10 +1800,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#drawContents(org.eclipse.swt.graphics.GC, int, int, int, int)
-     */
     @Override
     protected void drawContents(GC gc, int clipx, int clipy, int clipw, int cliph) {
         if (fFrame == null) {
@@ -1901,18 +1838,10 @@ public class SDWidget extends ScrollView implements SelectionListener,
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
-     */
     @Override
     public void widgetDefaultSelected(SelectionEvent event) {
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
-     */
     @Override
     public void widgetSelected(SelectionEvent event) {
         if (event.widget == fZoomIn) {
@@ -1923,11 +1852,9 @@ public class SDWidget extends ScrollView implements SelectionListener,
         redraw();
     }
 
-    /*
-     * Called when property changed occurs in the preference page. "PREFOK" is fired when the user press the ok or apply button
-     *
-     * (non-Javadoc)
-     * @see org.eclipse.jface.util.IPropertyChangeListener#propertyChange(org.eclipse.jface.util.PropertyChangeEvent)
+    /**
+     * Called when property changed occurs in the preference page. "PREFOK" is
+     * fired when the user press the ok or apply button
      */
     @Override
     public void propertyChange(PropertyChangeEvent e) {
@@ -1946,10 +1873,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.swt.events.DisposeListener#widgetDisposed(org.eclipse.swt.events.DisposeEvent)
-     */
     @Override
     public void widgetDisposed(DisposeEvent e) {
         if (fOverView != null) {
@@ -1975,10 +1898,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#drawOverview(org.eclipse.swt.graphics.GC, org.eclipse.swt.graphics.Rectangle)
-     */
     @Override
     protected void drawOverview(GC gc, Rectangle r) {
         float oldzoom = fZoomValue;
@@ -2013,10 +1932,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
         super.drawOverview(gc, r);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ITimeCompressionListener#deltaSelected(org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.Lifeline, int, int, org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IColor)
-     */
     @Override
     public void deltaSelected(Lifeline lifeline, int startEvent, int nbEvent, IColor color) {
         fFrame.highlightTimeCompression(lifeline, startEvent, nbEvent, color);
@@ -2028,10 +1943,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
         update();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#getVisibleWidth()
-     */
     @Override
     public int getVisibleWidth() {
         if (fIsPrinting) {
@@ -2040,10 +1951,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
         return super.getVisibleWidth();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#getVisibleHeight()
-     */
     @Override
     public int getVisibleHeight() {
         if (fIsPrinting) {
@@ -2052,10 +1959,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
         return super.getVisibleHeight();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#contentsToViewX(int)
-     */
     @Override
     public int contentsToViewX(int x) {
         if (fIsPrinting) {
@@ -2065,10 +1968,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
         return x - getContentsX();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#contentsToViewY(int)
-     */
     @Override
     public int contentsToViewY(int y) {
         if (fIsPrinting) {
@@ -2078,23 +1977,14 @@ public class SDWidget extends ScrollView implements SelectionListener,
         return y - getContentsY();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#getContentsX()
-     */
     @Override
     public int getContentsX() {
         if (fIsPrinting) {
             return Math.round(fPrinterX * fPrinterZoom);
         }
         return super.getContentsX();
-
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#getContentsY()
-     */
     @Override
     public int getContentsY() {
         if (fIsPrinting) {
@@ -2107,11 +1997,6 @@ public class SDWidget extends ScrollView implements SelectionListener,
      * Traverse Listener implementation.
      */
     protected static class LocalTraverseListener implements TraverseListener {
-
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.swt.events.TraverseListener#keyTraversed(org.eclipse.swt.events.TraverseEvent)
-         */
         @Override
         public void keyTraversed(TraverseEvent e) {
             if ((e.detail == SWT.TRAVERSE_TAB_NEXT) || (e.detail == SWT.TRAVERSE_TAB_PREVIOUS)) {
index c1b4c60e82d630ec86f66f53209d65460548ec75..87d053213134e68dba6260c4ab14c6748535a056 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -38,6 +38,7 @@ public class SDWidgetSelectionProvider implements ISelectionProvider {
      * The listener list
      */
     protected List<ISelectionChangedListener> fListenerList = null;
+
     /**
      * The current selection
      */
@@ -46,6 +47,7 @@ public class SDWidgetSelectionProvider implements ISelectionProvider {
     // ------------------------------------------------------------------------
     // Constructor
     // ------------------------------------------------------------------------
+
     /**
      * Standard constructor
      */
@@ -57,10 +59,6 @@ public class SDWidgetSelectionProvider implements ISelectionProvider {
     // Methods
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ISelectionProvider#addSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener)
-     */
     @Override
     public void addSelectionChangedListener(ISelectionChangedListener listener) {
         if (!fListenerList.contains(listener)) {
@@ -68,19 +66,11 @@ public class SDWidgetSelectionProvider implements ISelectionProvider {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ISelectionProvider#removeSelectionChangedListener(org.eclipse.jface.viewers.ISelectionChangedListener)
-     */
     @Override
     public void removeSelectionChangedListener(ISelectionChangedListener listener) {
         fListenerList.remove(listener);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ISelectionProvider#setSelection(org.eclipse.jface.viewers.ISelection)
-     */
     @Override
     public void setSelection(ISelection selection) {
         fCurrentSelection = selection;
@@ -90,10 +80,6 @@ public class SDWidgetSelectionProvider implements ISelectionProvider {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.viewers.ISelectionProvider#getSelection()
-     */
     @Override
     public ISelection getSelection() {
         return fCurrentSelection;
index d30ad37900be686658d19a414f7053ad3d6cb53a..c9c6f33fa1cd63596e0567132da7dee7ab59f313 100755 (executable)
@@ -407,30 +407,16 @@ public class ScrollView extends Composite {
     // Methods
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.swt.widgets.Composite#setFocus()
-     */
     @Override
     public boolean setFocus() {
         return fViewControl.forceFocus();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.swt.widgets.Control#setCursor(org.eclipse.swt.graphics.Cursor)
-     */
     @Override
     public void setCursor(Cursor cursor) {
         fViewControl.setCursor(cursor);
     }
 
-    /*
-     * Dispose controls used in scroll view
-     *
-     * (non-Javadoc)
-     * @see org.eclipse.swt.widgets.Widget#dispose()
-     */
     @Override
     public void dispose() {
         if (fAutoScroll != null) {
@@ -460,29 +446,17 @@ public class ScrollView extends Composite {
         super.dispose();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.swt.widgets.Composite#getClientArea()
-     */
     @Override
     public Rectangle getClientArea() {
         return fViewControl.getClientArea();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.swt.widgets.Control#setBackground(org.eclipse.swt.graphics.Color)
-     */
     @Override
     public void setBackground(Color c) {
         super.setBackground(c);
         fViewControl.setBackground(c);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.swt.widgets.Control#setToolTipText(java.lang.String)
-     */
     @Override
     public void setToolTipText(String text) {
         fViewControl.setToolTipText(text);
@@ -1316,21 +1290,11 @@ public class ScrollView extends Composite {
         return true;
     }
 
-    // redefined to return our vertical bar
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.swt.widgets.Scrollable#getVerticalBar()
-     */
     @Override
     public ScrollBar getVerticalBar() {
         return fVertScrollBar.getVerticalBar();
     }
 
-    // redefined to return out horizontal bar
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.swt.widgets.Scrollable#getHorizontalBar()
-     */
     @Override
     public ScrollBar getHorizontalBar() {
         return fHorScrollBar.getHorizontalBar();
@@ -1627,10 +1591,6 @@ public class ScrollView extends Composite {
         return bh + 1;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.swt.widgets.Scrollable#computeTrim(int, int, int, int)
-     */
     @Override
     public Rectangle computeTrim(int x, int y, int w, int h) {
         Rectangle r = new Rectangle(x, y, w, h);
@@ -1657,10 +1617,6 @@ public class ScrollView extends Composite {
          */
         boolean dontLayout = false;
 
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.swt.widgets.Layout#computeSize(org.eclipse.swt.widgets.Composite, int, int, boolean)
-         */
         @Override
         protected Point computeSize(Composite composite, int wHint, int hHint, boolean flushCache) {
             Point p = new Point(250, 250);
@@ -1673,10 +1629,6 @@ public class ScrollView extends Composite {
             return p;
         }
 
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.swt.widgets.Layout#layout(org.eclipse.swt.widgets.Composite, boolean)
-         */
         @Override
         protected void layout(Composite composite, boolean flushCache) {
             if (dontLayout) {
index 5e2eba1d355edc625eb3167e84d64884536dadaa..16b60b7bc0a0774119fb870ad3a61f3b9ae791d8 100755 (executable)
@@ -184,10 +184,6 @@ public class TimeCompressionBar extends ScrollView implements DisposeListener {
         });
 
         fAccessible.addAccessibleControlListener(new AccessibleControlAdapter() {
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.accessibility.AccessibleControlAdapter#getFocus(org.eclipse.swt.accessibility.AccessibleControlEvent)
-             */
             @Override
             public void getFocus(AccessibleControlEvent e) {
                 if (fFocusedWidget == -1) {
@@ -198,10 +194,6 @@ public class TimeCompressionBar extends ScrollView implements DisposeListener {
                 }
             }
 
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.accessibility.AccessibleControlAdapter#getRole(org.eclipse.swt.accessibility.AccessibleControlEvent)
-             */
             @Override
             public void getRole(AccessibleControlEvent e) {
                 switch (e.childID) {
@@ -219,10 +211,6 @@ public class TimeCompressionBar extends ScrollView implements DisposeListener {
                 }
             }
 
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.accessibility.AccessibleControlAdapter#getState(org.eclipse.swt.accessibility.AccessibleControlEvent)
-             */
             @Override
             public void getState(AccessibleControlEvent e) {
                 e.detail = ACC.STATE_FOCUSABLE;
@@ -242,20 +230,11 @@ public class TimeCompressionBar extends ScrollView implements DisposeListener {
         addTraverseListener(new LocalTraverseListener());
 
         getViewControl().addFocusListener(new FocusListener() {
-
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.FocusListener#focusGained(org.eclipse.swt.events.FocusEvent)
-             */
             @Override
             public void focusGained(FocusEvent e) {
                 redraw();
             }
 
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.FocusListener#focusLost(org.eclipse.swt.events.FocusEvent)
-             */
             @Override
             public void focusLost(FocusEvent e) {
                 redraw();
@@ -292,10 +271,6 @@ public class TimeCompressionBar extends ScrollView implements DisposeListener {
         fMaxTime = fFrame.getMaxTime();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#drawContents(org.eclipse.swt.graphics.GC, int, int, int, int)
-     */
     @Override
     protected void drawContents(GC gc, int clipx, int clipy, int clipw, int cliph) {
         if (fFrame == null) {
@@ -499,10 +474,6 @@ public class TimeCompressionBar extends ScrollView implements DisposeListener {
         return false;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.swt.widgets.Control#isFocusControl()
-     */
     @Override
     public boolean isFocusControl() {
         Control[] child = getChildren();
@@ -515,10 +486,6 @@ public class TimeCompressionBar extends ScrollView implements DisposeListener {
         return false;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#contentsMouseMoveEvent(org.eclipse.swt.events.MouseEvent)
-     */
     @Override
     protected void contentsMouseMoveEvent(MouseEvent event) {
         if (fTooltip != null) {
@@ -536,10 +503,6 @@ public class TimeCompressionBar extends ScrollView implements DisposeListener {
         setFocus(-1);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#contentsMouseHover(org.eclipse.swt.events.MouseEvent)
-     */
     @Override
     protected void contentsMouseHover(MouseEvent e) {
         if (fTooltip == null) {
@@ -599,10 +562,6 @@ public class TimeCompressionBar extends ScrollView implements DisposeListener {
         setFocus(0);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#contentsMouseExit(org.eclipse.swt.events.MouseEvent)
-     */
     @Override
     protected void contentsMouseExit(MouseEvent e) {
         if (fTooltip != null) {
@@ -610,10 +569,6 @@ public class TimeCompressionBar extends ScrollView implements DisposeListener {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#contentsMouseUpEvent(org.eclipse.swt.events.MouseEvent)
-     */
     @Override
     protected void contentsMouseUpEvent(MouseEvent event) {
         selectTimeDelta(event.y, 0);
@@ -743,10 +698,6 @@ public class TimeCompressionBar extends ScrollView implements DisposeListener {
         });
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#scrollBy(int, int)
-     */
     @Override
     public void scrollBy(int x, int y) {
     }
@@ -781,10 +732,6 @@ public class TimeCompressionBar extends ScrollView implements DisposeListener {
         fListenerList.remove(listener);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.swt.events.DisposeListener#widgetDisposed(org.eclipse.swt.events.DisposeEvent)
-     */
     @Override
     public void widgetDisposed(DisposeEvent e) {
         if (fTooltip != null) {
@@ -796,10 +743,6 @@ public class TimeCompressionBar extends ScrollView implements DisposeListener {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#keyPressedEvent(org.eclipse.swt.events.KeyEvent)
-     */
     @Override
     protected void keyPressedEvent(KeyEvent event) {
         if (fTooltip != null) {
@@ -1083,11 +1026,6 @@ public class TimeCompressionBar extends ScrollView implements DisposeListener {
      * Traverse Listener implementation.
      */
     protected static class LocalTraverseListener implements TraverseListener {
-
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.swt.events.TraverseListener#keyTraversed(org.eclipse.swt.events.TraverseEvent)
-         */
         @Override
         public void keyTraversed(TraverseEvent e) {
             if ((e.detail == SWT.TRAVERSE_TAB_NEXT) || (e.detail == SWT.TRAVERSE_TAB_PREVIOUS)) {
index 750b0b4a0fd44b3538c281a0f56d30fc9e4db315..6b6e226025b3b777d5f60a1c3860c59a2f5e6921 100755 (executable)
@@ -94,10 +94,7 @@ public class AsyncMessage extends BaseMessage implements ITimeRange {
     // ------------------------------------------------------------------------
     // Methods
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.BaseMessage#getX()
-     */
+
     @Override
     public int getX() {
         int x = super.getX(true);
@@ -112,10 +109,6 @@ public class AsyncMessage extends BaseMessage implements ITimeRange {
         return x;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.BaseMessage#getY()
-     */
     @Override
     public int getY() {
         if ((fStartLifeline != null) && (fEndLifeline != null)) {
@@ -124,10 +117,6 @@ public class AsyncMessage extends BaseMessage implements ITimeRange {
         return super.getY();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.BaseMessage#getWidth()
-     */
     @Override
     public int getWidth() {
         int width = super.getWidth(true);
@@ -147,10 +136,6 @@ public class AsyncMessage extends BaseMessage implements ITimeRange {
         return width;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.BaseMessage#getHeight()
-     */
     @Override
     public int getHeight() {
         if ((fStartLifeline != null) && (fEndLifeline != null)) {
@@ -230,10 +215,6 @@ public class AsyncMessage extends BaseMessage implements ITimeRange {
         setEndLifeline(lifeline);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.BaseMessage#setStartLifeline(org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.Lifeline)
-     */
     @Override
     public void setStartLifeline(Lifeline lifeline) {
         super.setStartLifeline(lifeline);
@@ -243,10 +224,6 @@ public class AsyncMessage extends BaseMessage implements ITimeRange {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.BaseMessage#setEndLifeline(org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.Lifeline)
-     */
     @Override
     public void setEndLifeline(Lifeline lifeline) {
         super.setEndLifeline(lifeline);
@@ -287,10 +264,6 @@ public class AsyncMessage extends BaseMessage implements ITimeRange {
         return false;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.BaseMessage#contains(int, int)
-     */
     @Override
     public boolean contains(int x, int y) {
         // Is it a self message?
@@ -359,10 +332,6 @@ public class AsyncMessage extends BaseMessage implements ITimeRange {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.BaseMessage#draw(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC)
-     */
     @Override
     public void draw(IGC context) {
         if (!isVisible()) {
@@ -450,10 +419,6 @@ public class AsyncMessage extends BaseMessage implements ITimeRange {
         return fHasTime;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.BaseMessage#isVisible(int, int, int, int)
-     */
     @Override
     public boolean isVisible(int x, int y, int width, int height) {
         int toDrawY = getY();
@@ -467,37 +432,21 @@ public class AsyncMessage extends BaseMessage implements ITimeRange {
         return super.isVisible(x, y, width, height);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getComparator()
-     */
     @Override
     public Comparator<GraphNode> getComparator() {
         return new SortAsyncMessageComparator();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getArrayId()
-     */
     @Override
     public String getArrayId() {
         return ASYNC_MESS_TAG;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getBackComparator()
-     */
     @Override
     public Comparator<GraphNode> getBackComparator() {
         return new SortAsyncForBackward();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#positiveDistanceToPoint(int, int)
-     */
     @Override
     public boolean positiveDistanceToPoint(int x, int y) {
         int mY = getY();
index 3ac93854112eac5c909a6e0edffce2da5946903d..80dd448800d18958da754e748d8747d6c742c0cd 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -74,10 +74,6 @@ public class AsyncMessageReturn extends AsyncMessage {
         fMessage = parentMessage;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.AsyncMessage#draw(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC)
-     */
     @Override
     public void draw(IGC context) {
         if (!isVisible()) {
@@ -99,10 +95,6 @@ public class AsyncMessageReturn extends AsyncMessage {
         context.setLineStyle(oldStyle);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.AsyncMessage#getArrayId()
-     */
     @Override
     public String getArrayId() {
         return ASYNC_MESS_RET_TAG;
index 195289b833df61aad92c9cbb21a915c6cebb29ad..ff24c32151fbd3ebeb279ee0f36f3918cad2f2ee 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -51,20 +51,13 @@ public abstract class BaseMessage extends GraphNode {
     // ------------------------------------------------------------------------
     // Methods
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getX()
-     */
+
     @Override
     public int getX() {
         // returns the exact x coordinate
         return getX(false);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getY()
-     */
     @Override
     public int getY() {
         /*
@@ -96,20 +89,12 @@ public abstract class BaseMessage extends GraphNode {
         return 0;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getWidth()
-     */
     @Override
     public int getWidth() {
         // Returns the exact width
         return getWidth(false);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getHeight()
-     */
     @Override
     public int getHeight() {
         return 0;
@@ -212,10 +197,6 @@ public abstract class BaseMessage extends GraphNode {
         return width;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#isVisible(int, int, int, int)
-     */
     @Override
     public boolean isVisible(int x, int y, int width, int height) {
         // ***Common*** syncMessages visibility
@@ -368,10 +349,6 @@ public abstract class BaseMessage extends GraphNode {
         return inActivation;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#contains(int, int)
-     */
     @Override
     public boolean contains(int xValue, int yValue) {
         int x = getX();
@@ -627,10 +604,6 @@ public abstract class BaseMessage extends GraphNode {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNodee#draw(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC)
-     */
     @Override
     public void draw(IGC context) {
         if (!isVisible()) {
@@ -723,10 +696,6 @@ public abstract class BaseMessage extends GraphNode {
         context.drawPolygon(points);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#drawFocus(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC)
-     */
     @Override
     public void drawFocus(IGC context) {
 
index 72dd896f5cdc254e1c682fa71d1c00f12d28815e..d915069f124a9252fa6fc490c9f6d0dba37875ff 100755 (executable)
@@ -59,10 +59,6 @@ public class BasicExecutionOccurrence extends GraphNode {
     // Constants
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getX()
-     */
     @Override
     public int getX() {
         if (fLifeline == null) {
@@ -71,10 +67,6 @@ public class BasicExecutionOccurrence extends GraphNode {
         return fLifeline.getX() + Metrics.getLifelineWidth() / 2 - Metrics.EXECUTION_OCCURRENCE_WIDTH / 2;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getY()
-     */
     @Override
     public int getY() {
         if (fLifeline == null) {
@@ -83,10 +75,6 @@ public class BasicExecutionOccurrence extends GraphNode {
         return fLifeline.getY() + fLifeline.getHeight() + (Metrics.getMessageFontHeigth() + Metrics.getMessagesSpacing()) * fStartEventOccurrence;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getWidth()
-     */
     @Override
     public int getWidth() {
         if (fLifeline == null) {
@@ -95,10 +83,6 @@ public class BasicExecutionOccurrence extends GraphNode {
         return Metrics.EXECUTION_OCCURRENCE_WIDTH;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getHeight()
-     */
     @Override
     public int getHeight() {
         if (fLifeline == null) {
@@ -107,10 +91,6 @@ public class BasicExecutionOccurrence extends GraphNode {
         return ((Metrics.getMessageFontHeigth() + Metrics.getMessagesSpacing())) * (fEndEventOccurrence - fStartEventOccurrence);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#contains(int, int)
-     */
     @Override
     public boolean contains(int xValue, int yValue) {
         int x = getX();
@@ -128,10 +108,6 @@ public class BasicExecutionOccurrence extends GraphNode {
         return false;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getName()
-     */
     @Override
     public String getName() {
         if (super.getName() == null || super.getName().equals("")) { //$NON-NLS-1$
@@ -196,10 +172,6 @@ public class BasicExecutionOccurrence extends GraphNode {
         fEndEventOccurrence = occurrence;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#draw(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC)
-     */
     @Override
     public void draw(IGC context) {
         int x = getX();
@@ -268,19 +240,11 @@ public class BasicExecutionOccurrence extends GraphNode {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getArrayId()
-     */
     @Override
     public String getArrayId() {
         return EXEC_OCC_TAG;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#positiveDistanceToPoint(int, int)
-     */
     @Override
     public boolean positiveDistanceToPoint(int x, int y) {
         if (getY() + getHeight() > y) {
@@ -289,10 +253,6 @@ public class BasicExecutionOccurrence extends GraphNode {
         return false;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#isVisible(int, int, int, int)
-     */
     @Override
     public boolean isVisible(int x, int y, int width, int height) {
         if ((getLifeline() != null) && (getLifeline().isVisible(x, y, width, height))) {
index d17bcbcb27f0b4794b71128b1518cca5f14e7aae..bcb89ea1e9861ff6be0c03ac5476420369769a5f 100755 (executable)
@@ -163,39 +163,22 @@ public class BasicFrame extends GraphNode {
         return fHorizontalIndex;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#addNode(org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode)
-     */
     @Override
     public void addNode(GraphNode nodeToAdd) {
         fComputeMinMax = true;
         super.addNode(nodeToAdd);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getX()
-     */
     @Override
     public int getX() {
         return Metrics.FRAME_H_MARGIN;
     }
 
-
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getY()
-     */
     @Override
     public int getY() {
         return Metrics.FRAME_V_MARGIN;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getWidth()
-     */
     @Override
     public int getWidth() {
         if (fHorizontalIndex == 0) {
@@ -204,10 +187,6 @@ public class BasicFrame extends GraphNode {
         return fHorizontalIndex * Metrics.swimmingLaneWidth() + Metrics.LIFELINE_H_MAGIN * 2 + 1 - Metrics.LIFELINE_SPACING;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getHeight()
-     */
     @Override
     public int getHeight() {
         // The Frame height depends on the maximum number of messages added to a lifeline
@@ -309,10 +288,6 @@ public class BasicFrame extends GraphNode {
         context.setForeground(pref.getForeGroundColor(ISDPreferences.PREF_FRAME));
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#draw(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC)
-     */
     @Override
     public void draw(IGC context) {
         draw(context, true);
@@ -581,19 +556,11 @@ public class BasicFrame extends GraphNode {
         return timeArray;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getArrayId()
-     */
     @Override
     public String getArrayId() {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#contains(int, int)
-     */
     @Override
     public boolean contains(int x, int y) {
         return false;
index a16aff81fb87474f93b88d15559423b4d8914daf..0af19ac7d3cdf46920b43b585bd9caf1ac4e5a3c 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -26,10 +26,6 @@ import org.eclipse.linuxtools.tmf.ui.views.uml2sd.preferences.SDViewPref;
  */
 public class EllipsisMessage extends AsyncMessage {
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.AsyncMessage#getX()
-     */
     @Override
     public int getX() {
         if (fStartLifeline == null) {
@@ -38,28 +34,16 @@ public class EllipsisMessage extends AsyncMessage {
         return super.getX();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.AsyncMessage#getY()
-     */
     @Override
     public int getY() {
         return super.getY() + 3;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.AsyncMessage#getWidth()
-     */
     @Override
     public int getWidth() {
         return 16;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.AsyncMessage#drawMessage(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC)
-     */
     @Override
     protected void drawMessage(IGC context) {
         // temporary store the coordinates to avoid more methods calls
@@ -119,10 +103,6 @@ public class EllipsisMessage extends AsyncMessage {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.AsyncMessage#draw(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC)
-     */
     @Override
     public void draw(IGC context) {
         if (!isVisible()) {
index 9b343c63a862f719466522ea37451173e54cdb10..acadb480b3fe6c30e0b6177cd693ab57a4c3f59f 100755 (executable)
@@ -33,6 +33,7 @@ public class ExecutionOccurrence extends BasicExecutionOccurrence implements ITi
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     /**
      * Set the red, green and blue value of the optional color to be used for filling the execution occurrence.
      */
@@ -65,10 +66,7 @@ public class ExecutionOccurrence extends BasicExecutionOccurrence implements ITi
     // ------------------------------------------------------------------------
     // Methods
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.BasicExecutionOccurrence#setLifeline(org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.Lifeline)
-     */
+
     @Override
     public void setLifeline(Lifeline theLifeline) {
         super.setLifeline(theLifeline);
@@ -170,19 +168,11 @@ public class ExecutionOccurrence extends BasicExecutionOccurrence implements ITi
         return fEndTime;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.ITimeRange#hasTimeInfo()
-     */
     @Override
     public boolean hasTimeInfo() {
         return fHasTimeInfo;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.BasicExecutionOccurrence#draw(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC)
-     */
     @Override
     public void draw(IGC context) {
         super.draw(context);
@@ -198,10 +188,6 @@ public class ExecutionOccurrence extends BasicExecutionOccurrence implements ITi
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.BasicExecutionOccurrence#setUnselectedFillColor(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC)
-     */
     @Override
     protected IColor setUnselectedFillColor(IGC context) {
         ISDPreferences pref = SDViewPref.getInstance();
@@ -219,10 +205,6 @@ public class ExecutionOccurrence extends BasicExecutionOccurrence implements ITi
         return super.setUnselectedFillColor(context);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.BasicExecutionOccurrence#setUnselectedStrokeColor(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC)
-     */
     @Override
     protected IColor setUnselectedStrokeColor(IGC context) {
         if (fStrokeRGB != null) {
index 2a98d2302adbf3f018f95ab5d3354df2b1a624a4..155df548a074f3341ba2251d255002911596ce90 100755 (executable)
@@ -517,10 +517,6 @@ public class Frame extends BasicFrame {
         fHighlightColor = null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.BasicFrame#computeMinMax()
-     */
     @Override
     protected void computeMinMax() {
         List<SDTimeEvent> timeArray = buildTimeArray();
@@ -645,10 +641,6 @@ public class Frame extends BasicFrame {
         addNode(message);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.BasicFrame#draw(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC)
-     */
     @Override
     public void draw(IGC context) {
         drawFrame(context);
@@ -709,10 +701,6 @@ public class Frame extends BasicFrame {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.BasicFrame#buildTimeArray()
-     */
     @Override
     protected List<SDTimeEvent> buildTimeArray() {
 
index e058affdf50ad3449251296429e033ee142345b8..03aa62260a946202558b5aeadfc96efd06156a5b 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -72,10 +72,6 @@ public class HotSpot extends GraphNode {
         fImage = img;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getX()
-     */
     @Override
     public int getX() {
         if (fExecOcc != null) {
@@ -84,10 +80,6 @@ public class HotSpot extends GraphNode {
         return 0;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getY()
-     */
     @Override
     public int getY() {
         if (fExecOcc != null){
@@ -96,10 +88,6 @@ public class HotSpot extends GraphNode {
         return 0;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getWidth()
-     */
     @Override
     public int getWidth() {
         if (fExecOcc != null) {
@@ -108,10 +96,6 @@ public class HotSpot extends GraphNode {
         return 0;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getHeight()
-     */
     @Override
     public int getHeight() {
         if (fExecOcc != null) {
@@ -157,10 +141,6 @@ public class HotSpot extends GraphNode {
         fOccurrence = occ;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#draw(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC)
-     */
     @Override
     public void draw(IGC context) {
 
@@ -178,28 +158,16 @@ public class HotSpot extends GraphNode {
         context.drawImage(fImage, getX(), getY(), getWidth(), getHeight());
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getArrayId()
-     */
     @Override
     public String getArrayId() {
         return GLYPH;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#isVisible(int, int, int, int)
-     */
     @Override
     public boolean isVisible(int x, int y, int width, int height) {
         return true;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#contains(int, int)
-     */
     @Override
     public boolean contains(int xValue, int yValue) {
         int x = getX();
index 959d44defbf130a189bb5bf254b315e57c2bb521..1755eda41bc9cb5ecf63dc6a8fb5b2333e002dbe 100755 (executable)
@@ -79,37 +79,22 @@ public class Lifeline extends GraphNode {
     // ------------------------------------------------------------------------
     // Methods
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getX()
-     */
+
     @Override
     public int getX() {
         return Metrics.FRAME_H_MARGIN + Metrics.LIFELINE_H_MAGIN + (fIndexInFrame - 1) * Metrics.swimmingLaneWidth();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getY()
-     */
     @Override
     public int getY() {
         return 2 * Metrics.FRAME_NAME_H_MARGIN + Metrics.LIFELINE_VT_MAGIN / 2 + Metrics.getFrameFontHeigth() + Metrics.getLifelineHeaderFontHeigth() + Metrics.FRAME_V_MARGIN + 2 * Metrics.LIFELINE_HEARDER_TEXT_V_MARGIN;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getWidth()
-     */
     @Override
     public int getWidth() {
         return Metrics.getLifelineWidth();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getHeight()
-     */
     @Override
     public int getHeight() {
         // Set room for two text lines
@@ -282,10 +267,6 @@ public class Lifeline extends GraphNode {
         return new ArrayList<GraphNode>();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#contains(int, int)
-     */
     @Override
     public boolean contains(int xValue, int yValue) {
         int x = getX();
@@ -488,28 +469,16 @@ public class Lifeline extends GraphNode {
         context.setBackground(backupColor);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#draw(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC)
-     */
     @Override
     public void draw(IGC context) {
         draw(context, getX(), getY());
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getArrayId()
-     */
     @Override
     public String getArrayId() {
         return LIFELINE_TAG;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#positiveDistanceToPoint(int, int)
-     */
     @Override
     public boolean positiveDistanceToPoint(int x, int y) {
         if (getX() > x - Metrics.swimmingLaneWidth()) {
@@ -518,10 +487,6 @@ public class Lifeline extends GraphNode {
         return false;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getNodeAt(int, int)
-     */
     @Override
     public GraphNode getNodeAt(int x, int y) {
         int vy = 0;
index 9ea41239f13a76ec9f610f1bfe1000fe69249506..bd06b7fffcb5dac6fa3d32db8e44990dae16f296 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -54,10 +54,6 @@ public class Stop extends GraphNode {
     // Methods
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getX()
-     */
     @Override
     public int getX() {
         if (fLifeline == null) {
@@ -66,10 +62,6 @@ public class Stop extends GraphNode {
         return fLifeline.getX() + Metrics.getLifelineWidth() / 2 - Metrics.STOP_WIDTH / 2;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getY()
-     */
     @Override
     public int getY() {
         if (fLifeline == null) {
@@ -78,10 +70,6 @@ public class Stop extends GraphNode {
         return fLifeline.getY() + fLifeline.getHeight() + (Metrics.getMessageFontHeigth() + Metrics.getMessagesSpacing()) * fEventOccurrence - Metrics.STOP_WIDTH / 2;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getWidth()
-     */
     @Override
     public int getWidth() {
         if (fLifeline == null) {
@@ -90,10 +78,6 @@ public class Stop extends GraphNode {
         return Metrics.STOP_WIDTH;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getHeight()
-     */
     @Override
     public int getHeight() {
         if (fLifeline == null) {
@@ -120,10 +104,6 @@ public class Stop extends GraphNode {
         fEventOccurrence = occurrence;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#draw(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC)
-     */
     @Override
     public void draw(IGC context) {
 
@@ -155,19 +135,11 @@ public class Stop extends GraphNode {
         context.setLineWidth(lastWidth);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getArrayId()
-     */
     @Override
     public String getArrayId() {
         return STOP;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#contains(int, int)
-     */
     @Override
     public boolean contains(int x, int y) {
         return false;
index 6744d908a64c8c88ce766374ac5df8ac2baf8249..a60386882ebc1ca9ea9f69624010102888670cce 100755 (executable)
@@ -236,19 +236,11 @@ public class SyncMessage extends BaseMessage implements ITimeRange {
         return fEventTime;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.ITimeRange#hasTimeInfo()
-     */
     @Override
     public boolean hasTimeInfo() {
         return fHasTimeInfo;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.BaseMessage#draw(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC)
-     */
     @Override
     public void draw(IGC context) {
         if (!isVisible()) {
@@ -265,10 +257,6 @@ public class SyncMessage extends BaseMessage implements ITimeRange {
         super.draw(context);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.BaseMessage#isVisible(int, int, int, int)
-     */
     @Override
     public boolean isVisible(int x, int y, int width, int height) {
         if (getY() > y + height +
@@ -288,28 +276,16 @@ public class SyncMessage extends BaseMessage implements ITimeRange {
         return super.isVisible(x, y, width, height);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getComparator()
-     */
     @Override
     public Comparator<GraphNode> getComparator() {
         return new SortSyncMessageComparator();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#getArrayId()
-     */
     @Override
     public String getArrayId() {
         return SYNC_MESS_TAG;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.GraphNode#positiveDistanceToPoint(int, int)
-     */
     @Override
     public boolean positiveDistanceToPoint(int x, int y) {
         if (getY() > y) {
index 30ee55a5a9e3e2b7410cc18215fbb090490c4cfa..c2a700f80f8b21d0070f974eec3dd7a132213e0d 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -84,10 +84,6 @@ public class SyncMessageReturn extends SyncMessage {
         return fMessage;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.SyncMessage#draw(org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IGC)
-     */
     @Override
     public void draw(IGC context) {
         if (!isVisible()) {
@@ -109,10 +105,6 @@ public class SyncMessageReturn extends SyncMessage {
         context.setLineStyle(oldStyle);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.core.SyncMessage#getArrayId()
-     */
     @Override
     public String getArrayId() {
         return SYNC_MESS_RET_TAG;
index cd8bfacfef262ca4c789f18226a9cf5f1f0113bb..ed2d78c3546a5ff7ff5ee80d240a1e525bb70c34 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -111,10 +111,7 @@ public class FilterCriteria {
     // ------------------------------------------------------------------------
     // Methods
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see java.lang.Object#toString()
-     */
+
     @Override
     public String toString() {
         StringBuffer sb = new StringBuffer(super.toString());
index 8a0d64035fcc099d3d077a84f56636dfb7627c07..bf01a9f649f9fed37607b432d5fdeec244368484 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -143,10 +143,6 @@ public class FilterListDialog extends Dialog {
         fRemove.setEnabled(count > 0);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     public Control createDialogArea(Composite parent) {
 
@@ -168,10 +164,7 @@ public class FilterListDialog extends Dialog {
         fTable.setLayoutData(new RowData(220, 84));
         fTable.setHeaderVisible(false);
         fTable.addSelectionListener(new SelectionListener() {
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
-             */
+
             @Override
             public void widgetDefaultSelected(SelectionEvent e) {
                 int count = fTable.getSelectionCount();
@@ -183,10 +176,6 @@ public class FilterListDialog extends Dialog {
                 }
             }
 
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
-             */
             @Override
             public void widgetSelected(SelectionEvent e) {
                 handleTableSelectionCount();
@@ -214,19 +203,12 @@ public class FilterListDialog extends Dialog {
         fAdd = new Button(commands, SWT.NONE);
         fAdd.setText(SDMessages._61);
         fAdd.addSelectionListener(new SelectionListener() {
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
-             */
+
             @Override
             public void widgetDefaultSelected(SelectionEvent e) {
                 // Nothing to do
             }
 
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
-             */
             @Override
             public void widgetSelected(SelectionEvent e) {
                 Criteria init = new Criteria();
@@ -240,19 +222,12 @@ public class FilterListDialog extends Dialog {
         fEdit = new Button(commands, SWT.NONE);
         fEdit.setText(SDMessages._60);
         fEdit.addSelectionListener(new SelectionListener() {
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
-             */
+
             @Override
             public void widgetDefaultSelected(SelectionEvent e) {
                 // Nothing to do
             }
 
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
-             */
             @Override
             public void widgetSelected(SelectionEvent e) {
                 Criteria c = openFilterDialog(((CriteriaTableItem) fTable.getSelection()[0].getData()).getCriteria(), SDMessages._63);
@@ -266,19 +241,12 @@ public class FilterListDialog extends Dialog {
         fRemove = new Button(commands, SWT.NONE);
         fRemove.setText(SDMessages._64);
         fRemove.addSelectionListener(new SelectionListener() {
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
-             */
+
             @Override
             public void widgetDefaultSelected(SelectionEvent e) {
                 // Nothing to do
             }
 
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
-             */
             @Override
             public void widgetSelected(SelectionEvent e) {
                 fTable.remove(fTable.getSelectionIndices());
@@ -311,10 +279,6 @@ public class FilterListDialog extends Dialog {
         return filter.getCriteria();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.window.Window#open()
-     */
     @Override
     public int open() {
         create();
@@ -324,10 +288,6 @@ public class FilterListDialog extends Dialog {
         return super.open();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#okPressed()
-     */
     @Override
     public void okPressed() {
         if (fTable.getItemCount() > 0) {
index 46705d20a4b16d898f851bcfb297fbc50199a87d..3da788b66387cd5aaa2ea88114b517115ce1abf3 100755 (executable)
@@ -107,10 +107,6 @@ public class MinMaxDialog extends Dialog {
         return data;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected Control createDialogArea(Composite p) {
         p.getShell().setText(SDMessages._123);
@@ -162,10 +158,6 @@ public class MinMaxDialog extends Dialog {
         return parent;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#okPressed()
-     */
     @Override
     protected void okPressed() {
         long min = 0;
@@ -189,19 +181,12 @@ public class MinMaxDialog extends Dialog {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected void createButtonsForButtonBar(Composite parent) {
         super.createButtonsForButtonBar(parent);
         createButton(parent, IDialogConstants.CLIENT_ID, SDMessages._126, false);
         getButton(IDialogConstants.CLIENT_ID).addSelectionListener(new SelectionListener() {
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
-             */
+
             @Override
             public void widgetSelected(SelectionEvent e) {
                 fSdWidget.getFrame().resetCustomMinMax();
@@ -212,10 +197,6 @@ public class MinMaxDialog extends Dialog {
                 fMaxText.getParent().layout(true);
             }
 
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
-             */
             @Override
             public void widgetDefaultSelected(SelectionEvent e) {
                 // nothing to do
index 5c144742c8035c79597be73187fa2970bfe0e497..062fe54b5fe8e2998b6a7749077cd3169dfffc0f 100755 (executable)
@@ -72,10 +72,6 @@ public class PagesDialog extends Dialog {
     // Methods
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     public Control createDialogArea(Composite parent) {
 
@@ -105,10 +101,6 @@ public class PagesDialog extends Dialog {
         return ret;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#okPressed()
-     */
     @Override
     public void okPressed() {
         int currentPageValue = fCurrentPage.getValue() - 1;
@@ -139,6 +131,7 @@ public class PagesDialog extends Dialog {
     // ------------------------------------------------------------------------
     // Helper classes
     // ------------------------------------------------------------------------
+
     /**
      * This is a Text Control that accepts only digits and ensures that bounds are respected
      */
index 6e184046a884b4dc1dffe3446641079732f13ac1..499c487a2fed588ad09833e93a977e10774fd775 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -78,10 +78,7 @@ public class SDPrintDialog extends Dialog {
     // ------------------------------------------------------------------------
     // Methods
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
-     */
+
     @Override
     protected Control createDialogArea(Composite p) {
         p.getShell().setText(SDMessages._114);
@@ -98,10 +95,6 @@ public class SDPrintDialog extends Dialog {
         return parent;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#okPressed()
-     */
     @Override
     protected void okPressed() {
 
@@ -110,10 +103,6 @@ public class SDPrintDialog extends Dialog {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createButtonsForButtonBar(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected void createButtonsForButtonBar(Composite parent) {
 
@@ -121,19 +110,11 @@ public class SDPrintDialog extends Dialog {
         createButton(parent, IDialogConstants.CLIENT_ID, SDMessages._115, false);
 
         getButton(IDialogConstants.CLIENT_ID).addSelectionListener(new SelectionListener() {
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
-             */
             @Override
             public void widgetSelected(SelectionEvent e) {
-
                 fDialogUI.printButtonSelected();
             }
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
-             */
+
             @Override
             public void widgetDefaultSelected(SelectionEvent e) {
             }
index 261ca3cadd3701abf91c612f87b53d48112b0974..32995be9287577e72c6a0bc6def7b5c7936e9b44 100755 (executable)
@@ -262,10 +262,6 @@ public class SDPrintDialogUI {
             super(c, s);
         }
 
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#getContentsHeight()
-         */
         @Override
         public int getContentsHeight() {
             if (fSdView.getContentsHeight() > fSdView.getContentsHeight()) {
@@ -274,10 +270,6 @@ public class SDPrintDialogUI {
             return super.getContentsHeight();
         }
 
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#getContentsWidth()
-         */
         @Override
         public int getContentsWidth() {
             if (fSdView.getVisibleWidth() > fSdView.getContentsWidth()) {
@@ -286,10 +278,6 @@ public class SDPrintDialogUI {
             return super.getContentsWidth();
         }
 
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.SDWidget#contentsMouseHover(org.eclipse.swt.events.MouseEvent)
-         */
         @Override
         protected void contentsMouseHover(MouseEvent event) {
         }
@@ -372,10 +360,6 @@ public class SDPrintDialogUI {
             return over;
         }
 
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.SDWidget#drawContents(org.eclipse.swt.graphics.GC, int, int, int, int)
-         */
         @Override
         protected void drawContents(GC gc, int clipx, int clipy, int clipw, int cliph) {
 
@@ -410,13 +394,8 @@ public class SDPrintDialogUI {
             dbuffer.dispose();
             d.dispose();
             gc.dispose();
-
         }
 
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.SDWidget#keyPressedEvent(org.eclipse.swt.events.KeyEvent)
-         */
         @Override
         protected void keyPressedEvent(KeyEvent e) {
             if (e.keyCode == SWT.CTRL) {
@@ -528,10 +507,6 @@ public class SDPrintDialogUI {
             fOverviewCanvas.redraw();
         }
 
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.SDWidget#keyReleasedEvent(org.eclipse.swt.events.KeyEvent)
-         */
         @Override
         protected void keyReleasedEvent(KeyEvent e) {
             if (e.keyCode == SWT.CTRL) {
@@ -542,10 +517,6 @@ public class SDPrintDialogUI {
             }
         }
 
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.SDWidget#contentsMouseDownEvent(org.eclipse.swt.events.MouseEvent)
-         */
         @Override
         protected void contentsMouseDownEvent(MouseEvent event) {
 
@@ -623,19 +594,11 @@ public class SDPrintDialogUI {
             redraw();
         }
 
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.SDWidget#contentsMouseMoveEvent(org.eclipse.swt.events.MouseEvent)
-         */
         @Override
         protected void contentsMouseMoveEvent(MouseEvent e) {
             fToolTip.hideToolTip();
         }
 
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.ScrollView#resizeContents(int, int)
-         */
         @Override
         public void resizeContents(int w, int h) {
             super.resizeContents(w, h);
@@ -647,10 +610,6 @@ public class SDPrintDialogUI {
      * A traverse listener implementation.
      */
     protected static class LocalTraverseListener implements TraverseListener {
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.swt.events.TraverseListener#keyTraversed(org.eclipse.swt.events.TraverseEvent)
-         */
         @Override
         public void keyTraversed(TraverseEvent e) {
             if ((e.detail == SWT.TRAVERSE_TAB_NEXT) || (e.detail == SWT.TRAVERSE_TAB_PREVIOUS)) {
@@ -755,10 +714,6 @@ public class SDPrintDialogUI {
                 fOverviewCanvas.update();
             }
 
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
-             */
             @Override
             public void widgetDefaultSelected(SelectionEvent e) {
                 fPagesList = new int[0];
@@ -769,10 +724,6 @@ public class SDPrintDialogUI {
         };
 
         fModifyListener = new ModifyListener() {
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.ModifyListener#modifyText(org.eclipse.swt.events.ModifyEvent)
-             */
             @Override
             public void modifyText(ModifyEvent e) {
                 fPagesList = new int[0];
@@ -940,28 +891,16 @@ public class SDPrintDialogUI {
         fToolTip = new DiagramToolTip(fOverviewCanvas);
 
         fOverviewCanvas.getViewControl().addMouseTrackListener(new MouseTrackListener() {
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.MouseTrackListener#mouseEnter(org.eclipse.swt.events.MouseEvent)
-             */
             @Override
             public void mouseEnter(MouseEvent e) {
                 fToolTip.hideToolTip();
             }
 
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.MouseTrackListener#mouseExit(org.eclipse.swt.events.MouseEvent)
-             */
             @Override
             public void mouseExit(MouseEvent e) {
                 fToolTip.hideToolTip();
             }
 
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.MouseTrackListener#mouseHover(org.eclipse.swt.events.MouseEvent)
-             */
             @Override
             public void mouseHover(MouseEvent e) {
                 int x1 = (int) (fOverviewCanvas.viewToContentsX(e.x) / fOverviewCanvas.fZoomValue / fStepX);
@@ -984,19 +923,11 @@ public class SDPrintDialogUI {
         fOverviewCanvas.addTraverseListener(new LocalTraverseListener());
 
         fOverviewCanvas.addFocusListener(new FocusListener() {
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.FocusListener#focusGained(org.eclipse.swt.events.FocusEvent)
-             */
             @Override
             public void focusGained(FocusEvent e) {
                 fOverviewCanvas.redraw();
             }
 
-            /*
-             * (non-Javadoc)
-             * @see org.eclipse.swt.events.FocusListener#focusLost(org.eclipse.swt.events.FocusEvent)
-             */
             @Override
             public void focusLost(FocusEvent e) {
                 fOverviewCanvas.redraw();
@@ -1018,20 +949,11 @@ public class SDPrintDialogUI {
             fPrinterDialog.setText(SDMessages._115);
 
             fPrinterDialog.addSelectionListener(new SelectionListener() {
-
-                /*
-                 * (non-Javadoc)
-                 * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
-                 */
                 @Override
                 public void widgetSelected(SelectionEvent e) {
                     printButtonSelected();
                 }
 
-                /*
-                 * (non-Javadoc)
-                 * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
-                 */
                 @Override
                 public void widgetDefaultSelected(SelectionEvent e) {
                 }
index 0826d4a1a27085edca9d141a262d25716f80b177..2863905f37e6810ea7eed08952096c28ec03830f 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -93,9 +93,10 @@ public class SearchFilterDialog extends Dialog {
     protected ISDGraphNodeSupporter fProvider = null;
 
     /**
-     * The okText is the text for the Ok button and title is the title of the dialog.<br>
-     * Both depend (okText and title (below)) on the usage that is done of this dialog
-     * (find or filter).
+     * The okText is the text for the Ok button and title is the title of the
+     * dialog.<br>
+     * Both depend (okText and title (below)) on the usage that is done of this
+     * dialog (find or filter).
      */
     protected String fOkText;
 
@@ -112,7 +113,8 @@ public class SearchFilterDialog extends Dialog {
     protected String[] fExpressionList;
 
     /**
-     * find is true if the dialog is for the find feature and false for filter feature
+     * find is true if the dialog is for the find feature and false for filter
+     * feature
      */
     protected boolean fIsFind;
 
@@ -122,10 +124,14 @@ public class SearchFilterDialog extends Dialog {
     /**
      * Standard constructor
      *
-     * @param view A sequence diagram view reference
-     * @param provider A graph node supporter provider
-     * @param filter A flag to indicate filtering (true) or finding (false)
-     * @param style Style bits
+     * @param view
+     *            A sequence diagram view reference
+     * @param provider
+     *            A graph node supporter provider
+     * @param filter
+     *            A flag to indicate filtering (true) or finding (false)
+     * @param style
+     *            Style bits
      */
     public SearchFilterDialog(SDView view, ISDGraphNodeSupporter provider, boolean filter, int style) {
         super(view.getSDWidget().getShell());
@@ -139,10 +145,6 @@ public class SearchFilterDialog extends Dialog {
     // Methods
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#createDialogArea(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     public Control createDialogArea(Composite arg0) {
         if (fIsFind) {
@@ -209,8 +211,8 @@ public class SearchFilterDialog extends Dialog {
     }
 
     /**
-        * Loads criteria from the dialog settings which are saved in the workspace.
-        */
+     * Loads criteria from the dialog settings which are saved in the workspace.
+     */
     @SuppressWarnings("rawtypes")
     protected void loadCriteria() {
 
@@ -248,8 +250,8 @@ public class SearchFilterDialog extends Dialog {
     }
 
     /**
-     * Called when the dialog box ok button is pressed and calls back
-     * the appropriate action provider (ISDFilterProvider or ISDFindProvider).
+     * Called when the dialog box ok button is pressed and calls back the
+     * appropriate action provider (ISDFilterProvider or ISDFindProvider).
      */
     @Override
     public void okPressed() {
@@ -265,10 +267,6 @@ public class SearchFilterDialog extends Dialog {
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.dialogs.Dialog#cancelPressed()
-     */
     @Override
     public void cancelPressed() {
         if (fIsFind) {
@@ -282,8 +280,8 @@ public class SearchFilterDialog extends Dialog {
     }
 
     /**
-        * Saves the criteria to the dialog settings within the workspace.
-        */
+     * Saves the criteria to the dialog settings within the workspace.
+     */
     public void saveCriteria() {
         String CRITERIA = FIND_CRITERIA;
         String EXPRESSION_LIST = FIND_EXPRESSION_LIST;
@@ -319,10 +317,10 @@ public class SearchFilterDialog extends Dialog {
     }
 
     /**
-        * Returns the criteria
-        *
-        * @return the criteria
-        */
+     * Returns the criteria
+     *
+     * @return the criteria
+     */
     public Criteria getCriteria() {
         return fCriteria;
     }
@@ -330,7 +328,8 @@ public class SearchFilterDialog extends Dialog {
     /**
      * Sets the criteria.
      *
-     * @param criteria the criteria to set.
+     * @param criteria
+     *            the criteria to set.
      */
     public void setCriteria(Criteria criteria) {
         fCriteria = criteria;
@@ -371,7 +370,8 @@ public class SearchFilterDialog extends Dialog {
      * Initialize the dialog with the settings of an existing Criteria<br>
      * Criteria must not be null and the TabContents must have been created
      *
-     * @param from the criteria to copy from
+     * @param from
+     *            the criteria to copy from
      */
     public void copyFromCriteria(Criteria from) {
         TabContents content = getTabContents();
@@ -390,7 +390,8 @@ public class SearchFilterDialog extends Dialog {
     /**
      * Sets the text to be used for the ok button
      *
-     * @param okText text to set
+     * @param okText
+     *            text to set
      */
     public void setOkText(String okText) {
         fOkText = okText;
@@ -399,7 +400,8 @@ public class SearchFilterDialog extends Dialog {
     /**
      * Sets the title to be used for the dialog box.
      *
-     * @param title The title to set
+     * @param title
+     *            The title to set
      */
     public void setTitle(String title) {
         fTitle = title;
index 3c94e55beb2c5a03d93005e21be02e117627d873..516b0b1d027116b310c2fa899e58662ca55ff01f 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -462,19 +462,11 @@ public class TabContents extends Composite {
      * @version 1.0
      */
     protected class GraphNodeTypeListener implements SelectionListener {
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
-         */
         @Override
         public void widgetDefaultSelected(SelectionEvent e) {
             // Nothing to do
         }
 
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
-         */
         @Override
         public void widgetSelected(SelectionEvent e) {
             updateOkButton();
@@ -487,11 +479,6 @@ public class TabContents extends Composite {
      * @version 1.0
      */
     protected class ExpressionListener implements ModifyListener {
-
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.swt.events.ModifyListener#modifyText(org.eclipse.swt.events.ModifyEvent)
-         */
         @Override
         public void modifyText(ModifyEvent e) {
             updateOkButton();
index b8887028f2ded7af29c16aba02ac0ca4f1d12c5c..413cecd6bc4b0b4282a5429e0cbdd2e78ebc8455 100755 (executable)
@@ -77,19 +77,11 @@ public class ColorImpl implements IColor {
         return new ColorImpl(Display.getDefault().getSystemColor(color));
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IColor#getColor()
-     */
     @Override
     public Object getColor() {
         return fColor;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IColor#dispose()
-     */
     @Override
     public void dispose() {
         if ((fColor != null) && (fManageColor)) {
index b0f935a9bb36b1f6e55cd8e22be17db90b7c9e4c..789dda7567f2583a06998084b9dafdf6488032cc 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -65,6 +65,7 @@ public class FontImpl implements IFont {
     // ------------------------------------------------------------------------
     // Methods
     // ------------------------------------------------------------------------
+
     /**
      * Returns a font implementation based system font.
      *
@@ -74,19 +75,11 @@ public class FontImpl implements IFont {
         return new FontImpl(Display.getDefault().getSystemFont());
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IFont#getFont()
-     */
     @Override
     public Object getFont() {
         return fFont;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IFont#dispose()
-     */
     @Override
     public void dispose() {
         if (fFont != null) {
index cbf60ecafff2e45e561ca1cd91f1fe346001bf30..64c7ec5d235df5f86c7e93b28415ad95e770d99c 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -72,19 +72,11 @@ public class ImageImpl implements IImage {
         return createResourceImage(name);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IImage#getImage()
-     */
     @Override
     public Object getImage() {
         return fImage;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.IImage#dispose()
-     */
     @Override
     public void dispose() {
         if (fImage != null) {
index cbac104692722ecffb9663ffa4acb82faf7f502f..ee0083339d7a386bcae3657eb70e70c510f2a3a7 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -54,10 +54,6 @@ public class ConfigureMinMax extends Action {
     // Methods
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#run()
-     */
     @Override
     public void run() {
         if ((fView != null) && (fView.getSDWidget() != null)) {
index 6f9a6ffc690569cb9c08c9dbcd78f187e1cf3ba5..f400bf887d6295dedeb56e8fb7f8eb23ded02ca8 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2011, 2012 Ericsson
- * 
+ * Copyright (c) 2011, 2013 Ericsson
+ *
  * 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: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers;
@@ -19,7 +19,7 @@ import org.eclipse.linuxtools.tmf.ui.views.uml2sd.util.SDMessages;
 
 /**
  * Action class implementation to move the focus to the first page of the whole sequence diagram.
- * 
+ *
  * @version 1.0
  * @author Bernd Hufmann
  */
@@ -28,6 +28,7 @@ public class FirstPage extends Action {
     // ------------------------------------------------------------------------
     // Constants
     // ------------------------------------------------------------------------
+
     /**
      * The action ID.
      */
@@ -36,17 +37,19 @@ public class FirstPage extends Action {
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     /**
      * The sequence diagram view reference
      */
     protected SDView fView = null;
-    
+
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
+
     /**
-     * Default constructor 
-     * 
+     * Default constructor
+     *
      * @param view the view reference
      */
     public FirstPage(SDView view) {
@@ -61,10 +64,7 @@ public class FirstPage extends Action {
     // ------------------------------------------------------------------------
     // Methods
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#run()
-     */
+
     @Override
     public void run() {
         if ((fView == null) || (fView.getSDWidget()) == null) {
index 5f3e184c309f6fb2ff9da029f31bd6cfce24b05c..222cedfb9b48207c5325bfa93322a3b88082b429 100644 (file)
@@ -1,12 +1,12 @@
 /**********************************************************************
- * Copyright (c) 2011, 2012 Ericsson
- * 
+ * Copyright (c) 2011, 2013 Ericsson
+ *
  * 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: 
+ *
+ * Contributors:
  *   Bernd Hufmann - Initial API and implementation
  **********************************************************************/
 package org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers;
@@ -19,7 +19,7 @@ import org.eclipse.linuxtools.tmf.ui.views.uml2sd.util.SDMessages;
 
 /**
  * Action class implementation to move the focus to the last page of the whole sequence diagram.
- * 
+ *
  * @version 1.0
  * @author Bernd Hufmann
  */
@@ -28,6 +28,7 @@ public class LastPage extends Action {
     // ------------------------------------------------------------------------
     // Constants
     // ------------------------------------------------------------------------
+
     /**
      * The action ID.
      */
@@ -36,6 +37,7 @@ public class LastPage extends Action {
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     /**
      * The sequence diagram view reference
      */
@@ -44,9 +46,10 @@ public class LastPage extends Action {
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
+
     /**
      * Standard constructor
-     *  
+     *
      * @param view the view reference
      */
     public LastPage(SDView view) {
@@ -61,10 +64,7 @@ public class LastPage extends Action {
     // ------------------------------------------------------------------------
     // Methods
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#run()
-     */
+
     @Override
     public void run() {
         if ((fView == null) || (fView.getSDWidget()) == null) {
index 4c083995cd827e17456da090a21996bb5a639ebd..04f859fcda6fb0f6b56aad45f81cd2c11e71b69e 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -66,10 +66,7 @@ public class MoveSDDown extends Action {
     // ------------------------------------------------------------------------
     // Methods
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#run()
-     */
+
     @Override
     public void run() {
         if (fView == null) {
index 4fa0e0009766d21a81f63aa49581c12b3341fcc8..17fd8c15e11533feacb34b0f39c2288aa654c751 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -66,10 +66,7 @@ public class MoveSDLeft extends Action {
    // ------------------------------------------------------------------------
    // Operations
    // ------------------------------------------------------------------------
-   /*
-    * (non-Javadoc)
-    * @see org.eclipse.jface.action.Action#run()
-    */
+
     @Override
     public void run() {
 
index 9a1f62cd181907079f5424d7249112cb9258f70e..4570a4e7f091077eb465d9cc3d0e817ab3093be8 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -67,10 +67,7 @@ public class MoveSDRight extends Action {
     // ------------------------------------------------------------------------
     // Methods
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#run()
-     */
+
     @Override
     public void run() {
 
index e8dbd45d32576b9098bbd38f4ca325883fb82e00..d0fa8482ebfb6ec9a9003f4a30abc2b7638df30a 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -66,10 +66,7 @@ public class MoveSDUp extends Action {
     // ------------------------------------------------------------------------
     // Methods
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#run()
-     */
+
     @Override
     public void run() {
         if (fView == null) {
index 5a1ba6d2f11b2cd3c91920301f8519efad1cfe71..3741071fc79dd61dfe905c2b561de6fd671029cd 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -79,10 +79,6 @@ public class MoveToMessage extends Action {
     // Methods
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#run()
-     */
     @Override
     public void run() {
         if (fView == null) {
index c4dd072b9d073cb5b385398d1328bbd60a8adfeb..9686a34c5425b9a82309d35f7923edf2841978ee 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -63,10 +63,7 @@ public class NextPage extends Action {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#run()
-     */
+
      @Override
     public void run() {
         if ((fView == null) || (fView.getSDWidget()) == null) {
index e424901f0522dfa674190fcc20b3c9c47150832e..392e32b602cf3532210c56f1b6b5927ea2a78b2e 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -72,10 +72,7 @@ public class OpenSDFiltersDialog extends Action {
     // ------------------------------------------------------------------------
     // Methods
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#run()
-     */
+
     @Override
     public void run() {
         if (fView == null) {
index 5362bac5b575fe7d1ed2b2b621ae50a1a4909b30..3a338342fee49f2122a778ed1fa86b937d4697b2 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -76,10 +76,7 @@ public class OpenSDFindDialog extends Action {
     // ------------------------------------------------------------------------
     // Methods
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#run()
-     */
+
     @Override
     public void run() {
         if (fView == null) {
index 5ce025c06bed840d906d8b3e0c489908064a8d58..9672ae75de85f621039a93cd8938c2b2f8d32d09 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -31,6 +31,7 @@ public class OpenSDPagesDialog extends Action {
     // ------------------------------------------------------------------------
     // Constants
     // ------------------------------------------------------------------------
+
     /**
      * The action ID.
      */
@@ -39,6 +40,7 @@ public class OpenSDPagesDialog extends Action {
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     /**
      * The sequence diagram view reference
      */
@@ -51,6 +53,7 @@ public class OpenSDPagesDialog extends Action {
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
+
     /**
      * Constructor
      *
@@ -70,10 +73,7 @@ public class OpenSDPagesDialog extends Action {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#run()
-     */
+
     @Override
     public void run() {
         if (fView == null) {
index 3778d846f2de8e24f6489b0f235b6c211de6f4fe..68fc56fdb2166b39135fbf8dec34030487a41f96 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -66,10 +66,7 @@ public class PrevPage extends Action {
     // ------------------------------------------------------------------------
     // Methods
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#run()
-     */
+
     @Override
     public void run() {
         if ((fView == null) || (fView.getSDWidget()) == null) {
index 5c006513aacc002979320ba0599b7ac9584e51a6..2b504b00803586884f47e032943cb647fcb631f8 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -26,6 +26,7 @@ public class Print extends Action {
     // ------------------------------------------------------------------------
     // Constants
     // ------------------------------------------------------------------------
+
     /**
      * The action ID.
      */
@@ -34,6 +35,7 @@ public class Print extends Action {
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     /**
      * The sequence diagram view reference
      */
@@ -42,6 +44,7 @@ public class Print extends Action {
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
+
     /**
      * Constructor
      *
@@ -56,10 +59,7 @@ public class Print extends Action {
     // ------------------------------------------------------------------------
     // Methods
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#run()
-     */
+
     @Override
     public void run() {
         if ((fView == null) || fView.getSDWidget() == null){
index e7a6a64a740c7fa8d5705a73f60ad24c75706e87..614e885812ecf16a6670eb76a5bbebdc5de25146 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -67,10 +67,7 @@ public class ShowNodeEnd extends Action {
     // ------------------------------------------------------------------------
     // Operations
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#run()
-     */
+
     @Override
     @SuppressWarnings("rawtypes")
     public void run() {
index 68fd0f3b6567720317fed9edd5494aacf26dea34..93ffafcd53e6d8ab551c24dd445142d3d77035bc 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -36,6 +36,7 @@ public class ShowNodeStart extends Action {
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     /**
      * The sequence diagram view reference
      */
@@ -44,6 +45,7 @@ public class ShowNodeStart extends Action {
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
+
     /**
      * Default constructor
      */
@@ -54,12 +56,13 @@ public class ShowNodeStart extends Action {
     /**
      * Constructor
      *
-     * @param view The sequence diagram view reference
+     * @param view
+     *            The sequence diagram view reference
      */
     public ShowNodeStart(IViewPart view) {
         super();
         if (view instanceof SDView) {
-            fView = (SDView)view;
+            fView = (SDView) view;
         }
         setImageDescriptor(Activator.getDefault().getImageDescripterFromPath(ITmfImageConstants.IMG_UI_NODE_START));
     }
@@ -67,11 +70,8 @@ public class ShowNodeStart extends Action {
     // ------------------------------------------------------------------------
     // Methods
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#run()
-     */
-   @Override
+
+    @Override
     @SuppressWarnings("rawtypes")
     public void run() {
         if (fView == null) {
@@ -101,12 +101,13 @@ public class ShowNodeStart extends Action {
         }
     }
 
-   /**
-    * Sets the active SD view.
-    *
-    * @param view The SD view.
-    */
-  public void setView(SDView view) {
-       fView = view;
-   }
+    /**
+     * Sets the active SD view.
+     *
+     * @param view
+     *            The SD view.
+     */
+    public void setView(SDView view) {
+        fView = view;
+    }
 }
index 23660aecff837439bfd1f09d7b530df31dd2b1cf..d1a9b1d25f3ec10d5c6e41f3cc7f5886cc215205 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -156,10 +156,7 @@ public class Zoom extends Action {
     // ------------------------------------------------------------------------
     // Methods
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.action.Action#run()
-     */
+
     @Override
     public void run() {
 
index 0e22b277b226f3540101cec1c83ff9f7f57a2c9a..d358b38f65b4960ccad2084b3c5cbb196081e10b 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2011, 2012 Ericsson
+ * Copyright (c) 2011, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -28,6 +28,7 @@ public class TmfAsyncMessage extends AsyncMessage implements ITmfAsyncSequenceDi
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     /**
      * A asynchronous sequence diagram event implementation
      */
@@ -36,6 +37,7 @@ public class TmfAsyncMessage extends AsyncMessage implements ITmfAsyncSequenceDi
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
+
     /**
      * Standard constructor
      *
@@ -54,19 +56,11 @@ public class TmfAsyncMessage extends AsyncMessage implements ITmfAsyncSequenceDi
     // Methods
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.ust.examples.event.ISequenceDiagramEvent#getSender()
-     */
     @Override
     public String getSender() {
         return fSdEvent.getSender();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.ust.examples.event.ISequenceDiagramEvent#getReceiver()
-     */
     @Override
     public String getReceiver() {
         return fSdEvent.getReceiver();
index be2a972896c5bd1fbf220995a774550fcb679d3b..bc07d3b41af1cac7fbe966e71e6acdf233027a4f 100644 (file)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2011, 2012 Ericsson
+ * Copyright (c) 2011, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -29,6 +29,7 @@ public class TmfSyncMessage extends SyncMessage implements ITmfSyncSequenceDiagr
     // ------------------------------------------------------------------------
     // Attributes
     // ------------------------------------------------------------------------
+
     /**
      * A synchronous sequence diagram event implementation
      */
@@ -37,6 +38,7 @@ public class TmfSyncMessage extends SyncMessage implements ITmfSyncSequenceDiagr
     // ------------------------------------------------------------------------
     // Constructors
     // ------------------------------------------------------------------------
+
     /**
      * Standard constructor
      *
@@ -53,21 +55,14 @@ public class TmfSyncMessage extends SyncMessage implements ITmfSyncSequenceDiagr
     // ------------------------------------------------------------------------
     // Methods
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.ust.examples.event.ISequenceDiagramEvent#getSender()
-     */
+
     @Override
     public String getSender() {
         return fSdEvent.getSender();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.ust.examples.event.ISequenceDiagramEvent#getReceiver()
-     */
     @Override
     public String getReceiver() {
         return fSdEvent.getReceiver();
     }
-}
\ No newline at end of file
+}
index 9f4029b98e6c9706d21f07f4e1052cbb86cf14ac..61adb82108b45e29693b1bfefeababa2afdc528f 100644 (file)
@@ -299,10 +299,6 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
                 private int fNbSeqEvents = 0;
                 private final List<ITmfSyncSequenceDiagramEvent> fSdEvents = new ArrayList<ITmfSyncSequenceDiagramEvent>(MAX_NUM_OF_MSG);
 
-                /*
-                 * (non-Javadoc)
-                 * @see org.eclipse.linuxtools.tmf.core.request.TmfDataRequest#handleData(org.eclipse.linuxtools.tmf.core.event.ITmfEvent)
-                 */
                 @Override
                 public void handleData(ITmfEvent event) {
                     super.handleData(event);
@@ -345,10 +341,6 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
                     }
                 }
 
-                /*
-                 * (non-Javadoc)
-                 * @see org.eclipse.linuxtools.tmf.core.request.TmfDataRequest#handleSuccess()
-                 */
                 @Override
                 public void handleSuccess() {
                     if ((fFirstTime != null) && (fLastTime != null)) {
@@ -371,10 +363,6 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
                     super.handleSuccess();
                 }
 
-                /*
-                 * (non-Javadoc)
-                 * @see org.eclipse.linuxtools.tmf.core.request.TmfDataRequest#handleCompleted()
-                 */
                 @Override
                 public void handleCompleted() {
                     if (fEvents.isEmpty()) {
@@ -477,10 +465,6 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
 
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.load.IUml2SDLoader#setViewer(org.eclipse.linuxtools.tmf.ui.views.uml2sd.SDView)
-     */
     @Override
     public void setViewer(SDView viewer) {
 
@@ -506,19 +490,11 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.load.IUml2SDLoader#getTitleString()
-     */
     @Override
     public String getTitleString() {
         return getName();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.component.TmfComponent#dispose()
-     */
     @Override
     public void dispose() {
        super.dispose();
@@ -547,10 +523,6 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
        }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.hyades.uml2sd.ui.actions.provider.ISDGraphNodeSupporter#isNodeSupported(int)
-     */
     @Override
     public boolean isNodeSupported(int nodeType) {
         switch (nodeType) {
@@ -564,10 +536,6 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
         return false;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDGraphNodeSupporter#getNodeName(int, java.lang.String)
-     */
     @Override
     public String getNodeName(int nodeType, String loaderClassName) {
         switch (nodeType) {
@@ -581,10 +549,6 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
         return ""; //$NON-NLS-1$
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.ISelectionListener#selectionChanged(org.eclipse.ui.IWorkbenchPart, org.eclipse.jface.viewers.ISelection)
-     */
     @Override
     public void selectionChanged(IWorkbenchPart part, ISelection selection) {
         ISelection sel = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getSelectionService().getSelection();
@@ -597,11 +561,6 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see
-     * org.eclipse.hyades.uml2sd.ui.actions.provider.ISDFindProvider#find(org.eclipse.hyades.uml2sd.ui.actions.widgets.Criteria)
-     */
     @Override
     public boolean find(Criteria toSearch) {
         fLock.lock();
@@ -658,19 +617,11 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDFindProvider#cancel()
-     */
     @Override
     public void cancel() {
         cancelOngoingRequests();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDFilterProvider#filter(java.util.List)
-     */
     @SuppressWarnings("unchecked")
     @Override
     public boolean filter(List<?> filters) {
@@ -693,10 +644,6 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
         return true;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDPagingProvider#hasNextPage()
-     */
     @Override
     public boolean hasNextPage() {
         fLock.lock();
@@ -711,10 +658,6 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
         return false;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDPagingProvider#hasPrevPage()
-     */
     @Override
     public boolean hasPrevPage() {
         fLock.lock();
@@ -725,10 +668,6 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDPagingProvider#nextPage()
-     */
     @Override
     public void nextPage() {
         fLock.lock();
@@ -747,10 +686,6 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDPagingProvider#prevPage()
-     */
     @Override
     public void prevPage() {
         fLock.lock();
@@ -769,10 +704,6 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDPagingProvider#firstPage()
-     */
     @Override
     public void firstPage() {
         fLock.lock();
@@ -787,10 +718,6 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDPagingProvider#lastPage()
-     */
     @Override
     public void lastPage() {
         fLock.lock();
@@ -804,10 +731,6 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDAdvancedPagingProvider#currentPage()
-     */
     @Override
     public int currentPage() {
         fLock.lock();
@@ -818,10 +741,6 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDAdvancedPagingProvider#pagesCount()
-     */
     @Override
     public int pagesCount() {
         fLock.lock();
@@ -832,10 +751,6 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.handlers.provider.ISDAdvancedPagingProvider#pageNumberChanged(int)
-     */
     @Override
     public void pageNumberChanged(int pagenNumber) {
         int localPageNumber = pagenNumber;
@@ -858,10 +773,6 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.component.TmfComponent#broadcast(org.eclipse.linuxtools.tmf.signal.TmfSignal)
-     */
     @Override
     public void broadcast(TmfSignal signal) {
         fIsSignalSent = true;
@@ -1311,10 +1222,6 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
             fSearchRequest = new SearchEventRequest(window, TmfDataRequest.ALL_DATA, 1, ITmfDataRequest.ExecutionType.FOREGROUND, findCriteria);
         }
 
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.core.runtime.jobs.Job#run(org.eclipse.core.runtime.IProgressMonitor)
-         */
         @Override
         protected IStatus run(IProgressMonitor monitor) {
             fSearchRequest.setMonitor(monitor);
@@ -1367,10 +1274,6 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
             return status;
         }
 
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.core.runtime.jobs.Job#canceling()
-         */
         @Override
         protected void canceling() {
             fSearchRequest.cancel();
@@ -1432,10 +1335,6 @@ public class TmfUml2SDSyncLoader extends TmfComponent implements IUml2SDLoader,
             fMonitor = monitor;
         }
 
-        /*
-         * (non-Javadoc)
-         * @see org.eclipse.linuxtools.tmf.request.TmfDataRequest#handleData(org.eclipse.linuxtools.tmf.event.TmfData)
-         */
         @Override
         public void handleData(ITmfEvent event) {
             super.handleData(event);
index 18c48b8c387c216d7967be9d163c3c295630ccf9..3fc4e272f0a9028b2836fa5c45aa1a83dd8d9b64 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -238,10 +238,6 @@ public class SDViewPref implements ISDPreferences, IPropertyChangeListener {
         return fHandle;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.ISDPreferences#getForeGroundColor(java.lang.String)
-     */
     @Override
     public IColor getForeGroundColor(String prefName) {
         if ((fForeColorPref.get(prefName + FORE_COLOR_POSTFIX) != null) && (fForeColorPref.get(prefName + FORE_COLOR_POSTFIX) instanceof ColorImpl)) {
@@ -250,10 +246,6 @@ public class SDViewPref implements ISDPreferences, IPropertyChangeListener {
         return ColorImpl.getSystemColor(SWT.COLOR_BLACK);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.ISDPreferences#getBackGroundColor(java.lang.String)
-     */
     @Override
     public IColor getBackGroundColor(String prefName) {
         if ((fBackColorPref.get(prefName + BACK_COLOR_POSTFIX) != null) && (fBackColorPref.get(prefName + BACK_COLOR_POSTFIX) instanceof ColorImpl)) {
@@ -262,10 +254,6 @@ public class SDViewPref implements ISDPreferences, IPropertyChangeListener {
         return ColorImpl.getSystemColor(SWT.COLOR_WHITE);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.ISDPreferences#getFontColor(java.lang.String)
-     */
     @Override
     public IColor getFontColor(String prefName) {
         if ((fTextColorPref.get(prefName + TEXT_COLOR_POSTFIX) != null) && (fTextColorPref.get(prefName + TEXT_COLOR_POSTFIX) instanceof ColorImpl)) {
@@ -274,10 +262,6 @@ public class SDViewPref implements ISDPreferences, IPropertyChangeListener {
         return ColorImpl.getSystemColor(SWT.COLOR_BLACK);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.ISDPreferences#getForeGroundColorSelection()
-     */
     @Override
     public IColor getForeGroundColorSelection() {
         if (fNoFocusSelection) {
@@ -286,10 +270,6 @@ public class SDViewPref implements ISDPreferences, IPropertyChangeListener {
         return ColorImpl.getSystemColor(SWT.COLOR_LIST_SELECTION_TEXT);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.ISDPreferences#getBackGroundColorSelection()
-     */
     @Override
     public IColor getBackGroundColorSelection() {
         if (fNoFocusSelection) {
@@ -298,10 +278,6 @@ public class SDViewPref implements ISDPreferences, IPropertyChangeListener {
         return ColorImpl.getSystemColor(SWT.COLOR_LIST_SELECTION);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.ISDPreferences#getFont(java.lang.String)
-     */
     @Override
     public IFont getFont(String prefName) {
         if (fFontPref.get(prefName) != null) {
@@ -347,19 +323,11 @@ public class SDViewPref implements ISDPreferences, IPropertyChangeListener {
         return fPrefStore.getBoolean(PREF_EXCLUDE_EXTERNAL_TIME);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.ISDPreferences#useGradienColor()
-     */
     @Override
     public boolean useGradienColor() {
         return fPrefStore.getBoolean(PREF_USE_GRADIENT);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.views.uml2sd.drawings.ISDPreferences#getTimeCompressionSelectionColor()
-     */
     @Override
     public IColor getTimeCompressionSelectionColor() {
         return fTimeCompressionSelectionColor;
@@ -431,10 +399,6 @@ public class SDViewPref implements ISDPreferences, IPropertyChangeListener {
         fPrefStore.removePropertyChangeListener(listener);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.util.IPropertyChangeListener#propertyChange(org.eclipse.jface.util.PropertyChangeEvent)
-     */
     @Override
     public void propertyChange(PropertyChangeEvent event) {
         if (!event.getProperty().equals("PREFOK")) { //$NON-NLS-1$
index 21c11c91df94c388ed79c3bd57b6e1d766d34f09..6e5e8f835f4ca385670e6882312e0ed947ddafbc 100755 (executable)
@@ -106,10 +106,6 @@ public class SDViewerPage extends PreferencePage implements IWorkbenchPreference
     // Methods
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.preference.PreferencePage#createContents(org.eclipse.swt.widgets.Composite)
-     */
     @Override
     protected Control createContents(Composite parent) {
         parent.setLayout(new GridLayout());
@@ -201,19 +197,11 @@ public class SDViewerPage extends PreferencePage implements IWorkbenchPreference
         return page;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.ui.IWorkbenchPreferencePage#init(org.eclipse.ui.IWorkbench)
-     */
     @Override
     public void init(IWorkbench workbench) {
         fPreferences = SDViewPref.getInstance();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.preference.PreferencePage#performApply()
-     */
     @Override
     protected void performApply() {
         // Store the prefrences in the PreferenceStore
@@ -236,20 +224,12 @@ public class SDViewerPage extends PreferencePage implements IWorkbenchPreference
         swapPref(true);
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.preference.PreferencePage#performOk()
-     */
     @Override
     public boolean performOk() {
         performApply();
         return true;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.jface.preference.PreferencePage#performDefaults()
-     */
     @Override
     protected void performDefaults() {
         fLink.loadDefault();
@@ -320,10 +300,6 @@ public class SDViewerPage extends PreferencePage implements IWorkbenchPreference
         fTextColor.load();
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.swt.events.SelectionListener#widgetSelected(org.eclipse.swt.events.SelectionEvent)
-     */
     @Override
     public void widgetSelected(SelectionEvent e) {
         // Store the past set font preference or else the
@@ -446,10 +422,6 @@ public class SDViewerPage extends PreferencePage implements IWorkbenchPreference
         }
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.swt.events.SelectionListener#widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent)
-     */
     @Override
     public void widgetDefaultSelected(SelectionEvent e) {
     }
index 7f162da3b4f21869d26f202390d83a2db01aa4bf..bbbd5df758776580e566035eaf6543b7cae530bc 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -44,10 +44,6 @@ public class SortAsyncForBackward implements Comparator<GraphNode>, Serializable
     // Methods
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see java.util.Comparator#compare(java.lang.Object, java.lang.Object)
-     */
     @Override
     public int compare(GraphNode arg0, GraphNode arg1) {
         if (arg0 instanceof AsyncMessage && arg1 instanceof AsyncMessage) {
index 0afe51d9a390d79f550d97f6452c84b0db4da003..ab04760b69537f44fcd5545757a6a12b4dc740fe 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -41,10 +41,7 @@ public class SortAsyncMessageComparator implements Comparator<GraphNode>, Serial
     // ------------------------------------------------------------------------
     // Methods
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see java.util.Comparator#compare(java.lang.Object, java.lang.Object)
-     */
+
     @Override
     public int compare(GraphNode arg0, GraphNode arg1) {
         if (arg0 instanceof AsyncMessage && arg1 instanceof AsyncMessage) {
index 3605722d0c2407868a93c68dbb772ebd143ebdba..24d5106f20687f5ae2ca27ab92640e2d13faba51 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -33,6 +33,7 @@ public class SortSyncMessageComparator implements Comparator<GraphNode>, Seriali
     // ------------------------------------------------------------------------
     // Constants
     // ------------------------------------------------------------------------
+
     /**
      * Serial version UID
      */
@@ -41,10 +42,7 @@ public class SortSyncMessageComparator implements Comparator<GraphNode>, Seriali
     // ------------------------------------------------------------------------
     // Methods
     // ------------------------------------------------------------------------
-    /*
-     * (non-Javadoc)
-     * @see java.util.Comparator#compare(java.lang.Object, java.lang.Object)
-     */
+
     @Override
     public int compare(GraphNode arg0, GraphNode arg1) {
         if (arg0 instanceof SyncMessage && arg1 instanceof SyncMessage) {
index a9bedf46ce616946940d6beb06de56833699d20d..f06aa783bbe6a7dd0638c05cee747f6d13ca9c49 100755 (executable)
@@ -1,5 +1,5 @@
 /**********************************************************************
- * Copyright (c) 2005, 2012 IBM Corporation, Ericsson
+ * Copyright (c) 2005, 2013 IBM Corporation, Ericsson
  * 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
@@ -38,10 +38,6 @@ public class TimeEventComparator implements Comparator<SDTimeEvent>, Serializabl
     // Methods
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see java.util.Comparator#compare(java.lang.Object, java.lang.Object)
-     */
     @Override
     public int compare(SDTimeEvent arg0, SDTimeEvent arg1) {
         SDTimeEvent t1 = arg0;
index 2b6e2b8fe52e1f8b7913266ba5c6d68c93eb26db..20048067d001e545d261c4d4ff4e1df4d53eea57 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2012 Ericsson
+ * Copyright (c) 2012, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -71,11 +71,6 @@ public class TmfViewerFolder extends Composite {
         initFolder();
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see org.eclipse.swt.widgets.Widget#dispose()
-     */
     @Override
     public void dispose() {
         super.dispose();
index cb753cc0676b86239bf5aaca38fff78189668bd7..e142ad48a4e1a44cf1220e73f0ba7d2a696c74dd 100644 (file)
@@ -694,9 +694,6 @@ public class TimeGraphCombo extends Composite {
     // Control
     // ------------------------------------------------------------------------
 
-    /* (non-Javadoc)
-     * @see org.eclipse.swt.widgets.Control#redraw()
-     */
     @Override
     public void redraw() {
         fTimeGraphViewer.getControl().redraw();
index 3d938aef803179917fe48ce97c149aa144098cf6..a33d6c1e58c33acdca24a7b87bcb513cd33bfb42 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson
+ * Copyright (c) 2009, 2013 Ericsson
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
@@ -40,10 +40,6 @@ public class TimeGraphPresentationProvider implements ITimeGraphPresentationProv
     // Operations
     // ------------------------------------------------------------------------
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.widgets.timegraph.ITimeGraphPresentationProvider#getStateTypeName()
-     */
     @Override
     public String getStateTypeName() {
         return Messages.TmfTimeLegend_TRACE_STATES;
@@ -57,90 +53,52 @@ public class TimeGraphPresentationProvider implements ITimeGraphPresentationProv
     public String getStateTypeName(ITimeGraphEntry entry) {
         return null;
     }
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.widgets.timegraph.ITimeGraphPresentationProvider#getStateTable()
-     */
+
     @Override
     public StateItem[] getStateTable() {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.widgets.timegraph.ITimeGraphPresentationProvider#getEventTableIndex(org.eclipse.linuxtools.tmf.ui.widgets.timegraph.model.ITimeEvent)
-     */
     @Override
     public int getStateTableIndex(ITimeEvent event) {
         return 0;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.widgets.timegraph.ITimeGraphPresentationProvider#postDrawControl(org.eclipse.swt.graphics.Rectangle, org.eclipse.swt.graphics.GC)
-     */
     @Override
     public void postDrawControl(Rectangle bounds, GC gc) {
         // Override to add own drawing code
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.widgets.timegraph.ITimeGraphPresentationProvider#postDrawEntry(org.eclipse.linuxtools.tmf.ui.widgets.timegraph.model.ITimeGraphEntry, org.eclipse.swt.graphics.Rectangle, org.eclipse.swt.graphics.GC)
-     */
     @Override
     public void postDrawEntry(ITimeGraphEntry entry, Rectangle bounds, GC gc) {
         // Override to add own drawing code
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.widgets.timegraph.ITimeGraphPresentationProvider#postDrawEvent(org.eclipse.linuxtools.tmf.ui.widgets.timegraph.model.ITimeEvent, org.eclipse.swt.graphics.Rectangle, org.eclipse.swt.graphics.GC)
-     */
     @Override
     public void postDrawEvent(ITimeEvent event, Rectangle bounds, GC gc) {
         // Override to add own drawing code
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.widgets.timegraph.ITimeGraphPresentationProvider#getItemHeight(org.eclipse.linuxtools.tmf.ui.widgets.timegraph.model.ITimeGraphEntry)
-     */
     @Override
     public int getItemHeight(ITimeGraphEntry entry) {
         return DEFAULT_ITEM_HEIGHT;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.widgets.timegraph.ITimeGraphPresentationProvider#getItemImage(org.eclipse.linuxtools.tmf.ui.widgets.timegraph.model.ITimeGraphEntry)
-     */
     @Override
     public Image getItemImage(ITimeGraphEntry entry) {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.widgets.timegraph.ITimeGraphPresentationProvider#getEventName(org.eclipse.linuxtools.tmf.ui.widgets.timegraph.model.ITimeEvent)
-     */
     @Override
     public String getEventName(ITimeEvent event) {
         return null;
     }
 
-    /*
-     * (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.widgets.timegraph.ITimeGraphPresentationProvider#getEventHoverToolTipInfo(org.eclipse.linuxtools.tmf.ui.widgets.timegraph.model.ITimeEvent)
-     */
     @Override
     public Map<String, String> getEventHoverToolTipInfo(ITimeEvent event) {
         return null;
     }
 
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.widgets.timegraph.ITimeGraphPresentationProvider#getEventHoverToolTipInfo(org.eclipse.linuxtools.tmf.ui.widgets.timegraph.model.ITimeEvent, long)
-     */
     /**
      * @since 2.0
      */
index 5f3c26bd069949f3135e4f50d197c4b2b3c76e87..06634b4a4e50344c8ca57987b2019c6d801b5a78 100644 (file)
@@ -541,35 +541,17 @@ public class TimeGraphViewer implements ITimeDataProvider, SelectionListener {
         return _time0_;
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see
-     * org.eclipse.linuxtools.tmf.ui.viewers.timeAnalysis.widgets.ITimeDataProvider
-     * #setStartFinishTimeNotify(long, long)
-     */
     @Override
     public void setStartFinishTimeNotify(long time0, long time1) {
         setStartFinishTime(time0, time1);
         notifyRangeListeners(time0, time1);
     }
 
-
-    /* (non-Javadoc)
-     * @see org.eclipse.linuxtools.tmf.ui.viewers.timeAnalysis.widgets.ITimeDataProvider#notifyStartFinishTime()
-     */
     @Override
     public void notifyStartFinishTime() {
         notifyRangeListeners(_time0, _time1);
     }
 
-    /*
-     * (non-Javadoc)
-     *
-     * @see
-     * org.eclipse.linuxtools.tmf.ui.viewers.timeAnalysis.widgets.ITimeDataProvider
-     * #setStartFinishTime(long, long)
-     */
     @Override
     public void setStartFinishTime(long time0, long time1) {
         _time0 = time0;
index 943f4bbd48425dd160e0aa08e1e327d657c7169c..5e2b084e8599e2a2aa722f21e2811dacd6615eb3 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2009, 2012 Ericsson.
+ * Copyright (c) 2009, 2013 Ericsson.
  *
  * All rights reserved. This program and the accompanying materials are
  * made available under the terms of the Eclipse Public License v1.0 which
This page took 0.300233 seconds and 5 git commands to generate.