]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.issues.ui/src/org/simantics/issues/ui/handler/Hide.java
Externalize strings
[simantics/platform.git] / bundles / org.simantics.issues.ui / src / org / simantics / issues / ui / handler / Hide.java
index c6886c1704c4a17c3f51cbca439ef6a8a8910dbd..b7861301051556d64ba881db354577bd6e7763e1 100644 (file)
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2007, 2011 Association for Decentralized Information Management
+ * Copyright (c) 2007, 2017 Association for Decentralized Information Management
  * in Industry THTH ry.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
@@ -8,19 +8,17 @@
  *
  * Contributors:
  *     VTT Technical Research Centre of Finland - initial API and implementation
+ *     Semantum Oy - #7594 introduced FunctionHandler
  *******************************************************************************/
 package org.simantics.issues.ui.handler;
 
-import org.simantics.issues.ontology.IssueResource;
-
-
 /**
  * @author Tuukka Lehtonen
  */
-public class Hide extends PreferenceHandler {
+public class Hide extends FunctionHandler {
 
     public Hide() {
-        super(null, IssueResource.URIs.Hidden, true);
+        super(null, "hider", Boolean.TRUE); //$NON-NLS-1$
     }
 
 }