Commit d5df2d89 authored by Liana Soima's avatar Liana Soima
Browse files

Fixed names



Fixed name: installAutomaticSetListeners
Signed-off-by: Liana Soima's avatarLiana Soima <soima@fortiss.org>
Issue-Ref: 3979
parent 5aed7fa7
AutomaticSetListener.java d2e2352471be958e166a12835daa6968869dd67f YELLOW
AutomaticSetListenerPersistency.java 0a8738a00e0a0466c475a0ce7458c497c41a1028 YELLOW
AutomaticSetListener.java a38b08cb17a570c0a8a8cbc8a61676b06c1d9cab YELLOW
AutomaticSetListenerPersistency.java cd198a3dfadbd3ea9b9ffceac54e3ca4945e0765 YELLOW
......@@ -63,7 +63,7 @@ public class AutomaticSetListener extends EContentAdapter {
* Installs {@code this} renaming listener to all that reside
* below the passed {@link ITopLevelElement}.
*/
public static void installRenamingListeners(ITopLevelElement element) {
public static void installAutomaticSetListeners(ITopLevelElement element) {
EObject rootElement = element.getRootModelElement();
if(!(rootElement instanceof FileProject)) {
warning(AF3SafetyCasesActivator.getDefault(),
......
......@@ -15,7 +15,7 @@
+--------------------------------------------------------------------------*/
package org.fortiss.af3.safetycases.listener;
import static org.fortiss.af3.safetycases.listener.AutomaticSetListener.installRenamingListeners;
import static org.fortiss.af3.safetycases.listener.AutomaticSetListener.installAutomaticSetListeners;
import org.fortiss.tooling.kernel.extension.data.ITopLevelElement;
import org.fortiss.tooling.kernel.service.listener.IPersistencyServiceListener;
......@@ -29,13 +29,13 @@ public class AutomaticSetListenerPersistency implements IPersistencyServiceListe
/** {@inheritDoc} */
@Override
public void topLevelElementLoaded(ITopLevelElement element) {
installRenamingListeners(element);
installAutomaticSetListeners(element);
}
/** {@inheritDoc} */
@Override
public void topLevelElementAdded(ITopLevelElement element) {
installRenamingListeners(element);
installAutomaticSetListeners(element);
}
/** {@inheritDoc} */
......@@ -47,6 +47,6 @@ public class AutomaticSetListenerPersistency implements IPersistencyServiceListe
/** {@inheritDoc} */
@Override
public void topLevelElementContentChanged(ITopLevelElement element) {
installRenamingListeners(element);
installAutomaticSetListeners(element);
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment