Bug 255209 - [PHP Explorer] "Open with" becomes unavailable for some elements
Summary: [PHP Explorer] "Open with" becomes unavailable for some elements
Status: NEW
Alias: None
Product: DLTK
Classification: Technology
Component: Common (show other bugs)
Version: unspecified   Edit
Hardware: PC All
: P1 normal (vote)
Target Milestone: ---   Edit
Assignee: dltk.common-inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-13 11:06 EST by Sylvia Tancheva CLA
Modified: 2010-04-03 03:26 EDT (History)
1 user (show)

See Also:


Attachments
patch (1.24 KB, patch)
2010-03-19 10:58 EDT, Zhongwei Zhao CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sylvia Tancheva CLA 2008-11-13 11:06:08 EST
1. Have the following code:
<?php
class MyClass
{
	private $a=1234;
	protected $b;
	public $c;
	function __construct($a,$b)
	{
		$this->a=$a;
		$this->b=$b;
	}
	const CON=123;
	final function fun(){}
}
interface III
{	
}
?>
2. In the PHP Explorer right-click on a variable/function/constant and point to "Open With" option
Expected: The relevant sub-menu shows
Actual: At first the option seems enabled but as soon as you point it it becomes disabled.
Note: It works for classes and Interfaces though
Comment 1 Sylvia Tancheva CLA 2008-11-13 11:13:27 EST
Same about PHP Project Outline view
Comment 2 Kalin CLA 2008-12-11 10:18:27 EST
relevant to Search view as well. N20081210
Comment 3 Zhongwei Zhao CLA 2010-03-19 10:58:02 EDT
Created attachment 162528 [details]
patch

should move to dltk