Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[dsdp-dd-dev] DSF Memory Service?

I'm trying to understand how to implement a DSF memory service so I took the DSF PDA example plugin and made the following changes:

1) added a new class

public class PDAMemory extends AbstractDsfService
    implements IMemory, IEventListener {
  ...
}

2) in PDAServicesInitSequence, added a new initialization step for the memory service:

        new Step() {
            @Override
            public void execute(RequestMonitor requestMonitor) {
                // Start the service to access memory
                new PDAMemory(fSession).initialize(requestMonitor);
            }
        },

3) in PDAServicesShutdownSequence, added a new shutdown step:

        new Step() {
            @Override
            public void execute(RequestMonitor requestMonitor) {
                shutdownService(PDAMemory.class, requestMonitor);
            }
        },

When I launch the DSF PDA example and open a new memory view, the add memory monitor(the + button) in the memory view is disabled.  What am I missing?



Back to the top