|Re: [equinox-dev] Extending Application Admin implementation|
I can obtain the state of the locked variable through the getProperties() method, which overwrites the value of APPLICATION_LOCKED property with the value I need.
Sorry for the noise.
Miguel García Longarón wrote:
Hi again: I have realize that I really don't need the isLocked method as it is. I would recommend rename the isLocked method to isPersistentlyLocked (and maintain it private), and create a new isLocked method which return the current value of locked; Now I'm using a local variable in the ApplicationDescriptor extension class, with the same purpose that locked has. I'd prefer to know the state of locked to avoid having the same state in two places. Best regards, Miguel Miguel García Longarón wrote:Hi all: I'm extending the Equinox Application Admin implementation to build my own application model. I'm wondering why the ApplicationDescriptor.isLocked() method is declared "private" instead of "protected". It'd would very useful to access this method from my extension of ApplicationDescriptor. Is there some reason to maintain this method private? Best regards, Miguel
-- Miguel García Longarón Ingeniero I+D División de Automóvil Conectado Telefónica Investigación y Desarrollo Emilio Vargas, 6 28043 Madrid España Tel: (+34) 91 337 99 91 Fax: (+34) 91 337 44 91 Correo-e: mgl@xxxxxx Internet: www.tid.es